move.h (swap(_Tp(&)[_Nm], _Tp(&)[_Nm])): Remove workaround for c++/49045.
[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 ENABLE_SYMVERS_SOL2_FALSE
649 ENABLE_SYMVERS_SOL2_TRUE
650 ENABLE_SYMVERS_SUN_FALSE
651 ENABLE_SYMVERS_SUN_TRUE
652 ENABLE_SYMVERS_DARWIN_FALSE
653 ENABLE_SYMVERS_DARWIN_TRUE
654 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
655 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
656 ENABLE_SYMVERS_GNU_FALSE
657 ENABLE_SYMVERS_GNU_TRUE
658 ENABLE_SYMVERS_FALSE
659 ENABLE_SYMVERS_TRUE
660 port_specific_symbol_files
661 SYMVER_FILE
662 CXXFILT
663 LTLIBICONV
664 LIBICONV
665 OPT_LDFLAGS
666 SECTION_LDFLAGS
667 GLIBCXX_LIBS
668 ENABLE_EXTERN_TEMPLATE_FALSE
669 ENABLE_EXTERN_TEMPLATE_TRUE
670 EXTRA_CXX_FLAGS
671 ENABLE_PARALLEL_FALSE
672 ENABLE_PARALLEL_TRUE
673 GLIBCXX_BUILD_DEBUG_FALSE
674 GLIBCXX_BUILD_DEBUG_TRUE
675 DEBUG_FLAGS
676 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
677 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
678 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
679 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
680 GLIBCXX_C_HEADERS_C_STD_FALSE
681 GLIBCXX_C_HEADERS_C_STD_TRUE
682 GLIBCXX_C_HEADERS_C_FALSE
683 GLIBCXX_C_HEADERS_C_TRUE
684 C_INCLUDE_DIR
685 ALLOCATOR_NAME
686 ALLOCATOR_H
687 CLOCALE_INTERNAL_H
688 CLOCALE_CC
689 CTIME_CC
690 CTIME_H
691 CNUMERIC_CC
692 CMONEY_CC
693 CMESSAGES_CC
694 CCTYPE_CC
695 CCOLLATE_CC
696 CCODECVT_CC
697 CMESSAGES_H
698 CLOCALE_H
699 USE_NLS
700 glibcxx_localedir
701 glibcxx_POFILES
702 glibcxx_MOFILES
703 check_msgfmt
704 BASIC_FILE_CC
705 BASIC_FILE_H
706 CSTDIO_H
707 SECTION_FLAGS
708 WERROR
709 glibcxx_thread_h
710 glibcxx_PCHFLAGS
711 GLIBCXX_BUILD_PCH_FALSE
712 GLIBCXX_BUILD_PCH_TRUE
713 GLIBCXX_HOSTED_FALSE
714 GLIBCXX_HOSTED_TRUE
715 enable_static
716 enable_shared
717 lt_host_flags
718 CXXCPP
719 OTOOL64
720 OTOOL
721 LIPO
722 NMEDIT
723 DSYMUTIL
724 OBJDUMP
725 NM
726 ac_ct_DUMPBIN
727 DUMPBIN
728 LD
729 FGREP
730 SED
731 LIBTOOL
732 EGREP
733 GREP
734 CPP
735 MAINT
736 MAINTAINER_MODE_FALSE
737 MAINTAINER_MODE_TRUE
738 RANLIB
739 AR
740 AS
741 LN_S
742 toplevel_srcdir
743 glibcxx_srcdir
744 glibcxx_builddir
745 ac_ct_CXX
746 CXXFLAGS
747 CXX
748 OBJEXT
749 EXEEXT
750 ac_ct_CC
751 CPPFLAGS
752 LDFLAGS
753 CFLAGS
754 CC
755 am__untar
756 am__tar
757 AMTAR
758 am__leading_dot
759 SET_MAKE
760 AWK
761 mkdir_p
762 MKDIR_P
763 INSTALL_STRIP_PROGRAM
764 STRIP
765 install_sh
766 MAKEINFO
767 AUTOHEADER
768 AUTOMAKE
769 AUTOCONF
770 ACLOCAL
771 VERSION
772 PACKAGE
773 CYGPATH_W
774 am__isrc
775 INSTALL_DATA
776 INSTALL_SCRIPT
777 INSTALL_PROGRAM
778 target_os
779 target_vendor
780 target_cpu
781 target
782 host_os
783 host_vendor
784 host_cpu
785 host
786 build_os
787 build_vendor
788 build_cpu
789 build
790 multi_basedir
791 libtool_VERSION
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 # For libtool versioning info, format is CURRENT:REVISION:AGE
2829 libtool_VERSION=6:17:0
2830
2831
2832 # Find the rest of the source tree framework.
2833 # Default to --enable-multilib
2834 # Check whether --enable-multilib was given.
2835 if test "${enable_multilib+set}" = set; then :
2836 enableval=$enable_multilib; case "$enableval" in
2837 yes) multilib=yes ;;
2838 no) multilib=no ;;
2839 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2840 esac
2841 else
2842 multilib=yes
2843 fi
2844
2845
2846 # We may get other options which we leave undocumented:
2847 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2848 # See config-ml.in if you want the gory details.
2849
2850 if test "$srcdir" = "."; then
2851 if test "$with_target_subdir" != "."; then
2852 multi_basedir="$srcdir/$with_multisrctop../.."
2853 else
2854 multi_basedir="$srcdir/$with_multisrctop.."
2855 fi
2856 else
2857 multi_basedir="$srcdir/.."
2858 fi
2859
2860
2861 # Even if the default multilib is not a cross compilation,
2862 # it may be that some of the other multilibs are.
2863 if test $cross_compiling = no && test $multilib = yes \
2864 && test "x${with_multisubdir}" != x ; then
2865 cross_compiling=maybe
2866 fi
2867
2868 ac_config_commands="$ac_config_commands default-1"
2869
2870
2871 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2872 #
2873 # You will slowly go insane if you do not grok the following fact: when
2874 # building v3 as part of the compiler, the top-level /target/ becomes the
2875 # library's /host/. configure then causes --target to default to --host,
2876 # exactly like any other package using autoconf. Therefore, 'target' and
2877 # 'host' will always be the same. This makes sense both for native and
2878 # cross compilers, just think about it for a little while. :-)
2879 #
2880 # Also, if v3 is being configured as part of a cross compiler, the top-level
2881 # configure script will pass the "real" host as $with_cross_host.
2882 #
2883 # Do not delete or change the following two lines. For why, see
2884 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2885 ac_aux_dir=
2886 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2887 for ac_t in install-sh install.sh shtool; do
2888 if test -f "$ac_dir/$ac_t"; then
2889 ac_aux_dir=$ac_dir
2890 ac_install_sh="$ac_aux_dir/$ac_t -c"
2891 break 2
2892 fi
2893 done
2894 done
2895 if test -z "$ac_aux_dir"; then
2896 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2897 fi
2898
2899 # These three variables are undocumented and unsupported,
2900 # and are intended to be withdrawn in a future Autoconf release.
2901 # They can cause serious problems if a builder's source tree is in a directory
2902 # whose full name contains unusual characters.
2903 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2904 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2905 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2906
2907
2908 # Make sure we can run config.sub.
2909 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2910 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2911
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2913 $as_echo_n "checking build system type... " >&6; }
2914 if test "${ac_cv_build+set}" = set; then :
2915 $as_echo_n "(cached) " >&6
2916 else
2917 ac_build_alias=$build_alias
2918 test "x$ac_build_alias" = x &&
2919 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2920 test "x$ac_build_alias" = x &&
2921 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2922 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2923 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2924
2925 fi
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2927 $as_echo "$ac_cv_build" >&6; }
2928 case $ac_cv_build in
2929 *-*-*) ;;
2930 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2931 esac
2932 build=$ac_cv_build
2933 ac_save_IFS=$IFS; IFS='-'
2934 set x $ac_cv_build
2935 shift
2936 build_cpu=$1
2937 build_vendor=$2
2938 shift; shift
2939 # Remember, the first character of IFS is used to create $*,
2940 # except with old shells:
2941 build_os=$*
2942 IFS=$ac_save_IFS
2943 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2944
2945
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2947 $as_echo_n "checking host system type... " >&6; }
2948 if test "${ac_cv_host+set}" = set; then :
2949 $as_echo_n "(cached) " >&6
2950 else
2951 if test "x$host_alias" = x; then
2952 ac_cv_host=$ac_cv_build
2953 else
2954 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2955 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2956 fi
2957
2958 fi
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2960 $as_echo "$ac_cv_host" >&6; }
2961 case $ac_cv_host in
2962 *-*-*) ;;
2963 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2964 esac
2965 host=$ac_cv_host
2966 ac_save_IFS=$IFS; IFS='-'
2967 set x $ac_cv_host
2968 shift
2969 host_cpu=$1
2970 host_vendor=$2
2971 shift; shift
2972 # Remember, the first character of IFS is used to create $*,
2973 # except with old shells:
2974 host_os=$*
2975 IFS=$ac_save_IFS
2976 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2977
2978
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2980 $as_echo_n "checking target system type... " >&6; }
2981 if test "${ac_cv_target+set}" = set; then :
2982 $as_echo_n "(cached) " >&6
2983 else
2984 if test "x$target_alias" = x; then
2985 ac_cv_target=$ac_cv_host
2986 else
2987 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2988 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2989 fi
2990
2991 fi
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2993 $as_echo "$ac_cv_target" >&6; }
2994 case $ac_cv_target in
2995 *-*-*) ;;
2996 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2997 esac
2998 target=$ac_cv_target
2999 ac_save_IFS=$IFS; IFS='-'
3000 set x $ac_cv_target
3001 shift
3002 target_cpu=$1
3003 target_vendor=$2
3004 shift; shift
3005 # Remember, the first character of IFS is used to create $*,
3006 # except with old shells:
3007 target_os=$*
3008 IFS=$ac_save_IFS
3009 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3010
3011
3012 # The aliases save the names the user supplied, while $host etc.
3013 # will get canonicalized.
3014 test -n "$target_alias" &&
3015 test "$program_prefix$program_suffix$program_transform_name" = \
3016 NONENONEs,x,x, &&
3017 program_prefix=${target_alias}-
3018
3019 target_alias=${target_alias-$host_alias}
3020
3021 # Handy for debugging:
3022 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3023
3024 if test "$build" != "$host"; then
3025 # We are being configured with some form of cross compiler.
3026 GLIBCXX_IS_NATIVE=false
3027 case "$host","$target" in
3028 # Darwin crosses can use the host system's libraries and headers,
3029 # because of the fat library support. Of course, it must be the
3030 # same version of Darwin on both sides. Allow the user to
3031 # just say --target=foo-darwin without a version number to mean
3032 # "the version on this system".
3033 *-*-darwin*,*-*-darwin*)
3034 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3035 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3036 if test $hostos = $targetos -o $targetos = darwin ; then
3037 GLIBCXX_IS_NATIVE=true
3038 fi
3039 ;;
3040
3041 *)
3042
3043 ;;
3044 esac
3045 else
3046 GLIBCXX_IS_NATIVE=true
3047 fi
3048
3049 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3050 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3051 # 1.x: minimum required version
3052 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3053 # of other PACKAGE_* variables will, however, and there's nothing
3054 # we can do about that; they come from AC_INIT).
3055 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3056 # file in the top srcdir, etc, etc), so stop complaining.
3057 # no-dependencies: turns off auto dependency generation (just for now)
3058 # no-dist: we don't want 'dist' and related rules.
3059 # -Wall: turns on all automake warnings...
3060 # -Wno-portability: ...except this one, since GNU make is now required.
3061 am__api_version='1.11'
3062
3063 # Find a good install program. We prefer a C program (faster),
3064 # so one script is as good as another. But avoid the broken or
3065 # incompatible versions:
3066 # SysV /etc/install, /usr/sbin/install
3067 # SunOS /usr/etc/install
3068 # IRIX /sbin/install
3069 # AIX /bin/install
3070 # AmigaOS /C/install, which installs bootblocks on floppy discs
3071 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3072 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3073 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3074 # OS/2's system install, which has a completely different semantic
3075 # ./install, which can be erroneously created by make from ./install.sh.
3076 # Reject install programs that cannot install multiple files.
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3078 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3079 if test -z "$INSTALL"; then
3080 if test "${ac_cv_path_install+set}" = set; then :
3081 $as_echo_n "(cached) " >&6
3082 else
3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 for as_dir in $PATH
3085 do
3086 IFS=$as_save_IFS
3087 test -z "$as_dir" && as_dir=.
3088 # Account for people who put trailing slashes in PATH elements.
3089 case $as_dir/ in #((
3090 ./ | .// | /[cC]/* | \
3091 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3092 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3093 /usr/ucb/* ) ;;
3094 *)
3095 # OSF1 and SCO ODT 3.0 have their own names for install.
3096 # Don't use installbsd from OSF since it installs stuff as root
3097 # by default.
3098 for ac_prog in ginstall scoinst install; do
3099 for ac_exec_ext in '' $ac_executable_extensions; do
3100 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3101 if test $ac_prog = install &&
3102 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3103 # AIX install. It has an incompatible calling convention.
3104 :
3105 elif test $ac_prog = install &&
3106 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3107 # program-specific install script used by HP pwplus--don't use.
3108 :
3109 else
3110 rm -rf conftest.one conftest.two conftest.dir
3111 echo one > conftest.one
3112 echo two > conftest.two
3113 mkdir conftest.dir
3114 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3115 test -s conftest.one && test -s conftest.two &&
3116 test -s conftest.dir/conftest.one &&
3117 test -s conftest.dir/conftest.two
3118 then
3119 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3120 break 3
3121 fi
3122 fi
3123 fi
3124 done
3125 done
3126 ;;
3127 esac
3128
3129 done
3130 IFS=$as_save_IFS
3131
3132 rm -rf conftest.one conftest.two conftest.dir
3133
3134 fi
3135 if test "${ac_cv_path_install+set}" = set; then
3136 INSTALL=$ac_cv_path_install
3137 else
3138 # As a last resort, use the slow shell script. Don't cache a
3139 # value for INSTALL within a source directory, because that will
3140 # break other packages using the cache if that directory is
3141 # removed, or if the value is a relative name.
3142 INSTALL=$ac_install_sh
3143 fi
3144 fi
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3146 $as_echo "$INSTALL" >&6; }
3147
3148 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3149 # It thinks the first close brace ends the variable substitution.
3150 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3151
3152 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3153
3154 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3155
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3157 $as_echo_n "checking whether build environment is sane... " >&6; }
3158 # Just in case
3159 sleep 1
3160 echo timestamp > conftest.file
3161 # Reject unsafe characters in $srcdir or the absolute working directory
3162 # name. Accept space and tab only in the latter.
3163 am_lf='
3164 '
3165 case `pwd` in
3166 *[\\\"\#\$\&\'\`$am_lf]*)
3167 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3168 esac
3169 case $srcdir in
3170 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3171 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3172 esac
3173
3174 # Do `set' in a subshell so we don't clobber the current shell's
3175 # arguments. Must try -L first in case configure is actually a
3176 # symlink; some systems play weird games with the mod time of symlinks
3177 # (eg FreeBSD returns the mod time of the symlink's containing
3178 # directory).
3179 if (
3180 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3181 if test "$*" = "X"; then
3182 # -L didn't work.
3183 set X `ls -t "$srcdir/configure" conftest.file`
3184 fi
3185 rm -f conftest.file
3186 if test "$*" != "X $srcdir/configure conftest.file" \
3187 && test "$*" != "X conftest.file $srcdir/configure"; then
3188
3189 # If neither matched, then we have a broken ls. This can happen
3190 # if, for instance, CONFIG_SHELL is bash and it inherits a
3191 # broken ls alias from the environment. This has actually
3192 # happened. Such a system could not be considered "sane".
3193 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3194 alias in your environment" "$LINENO" 5
3195 fi
3196
3197 test "$2" = conftest.file
3198 )
3199 then
3200 # Ok.
3201 :
3202 else
3203 as_fn_error "newly created file is older than distributed files!
3204 Check your system clock" "$LINENO" 5
3205 fi
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3207 $as_echo "yes" >&6; }
3208 test "$program_prefix" != NONE &&
3209 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3210 # Use a double $ so make ignores it.
3211 test "$program_suffix" != NONE &&
3212 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3213 # Double any \ or $.
3214 # By default was `s,x,x', remove it if useless.
3215 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3216 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3217
3218 # expand $ac_aux_dir to an absolute path
3219 am_aux_dir=`cd $ac_aux_dir && pwd`
3220
3221 if test x"${MISSING+set}" != xset; then
3222 case $am_aux_dir in
3223 *\ * | *\ *)
3224 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3225 *)
3226 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3227 esac
3228 fi
3229 # Use eval to expand $SHELL
3230 if eval "$MISSING --run true"; then
3231 am_missing_run="$MISSING --run "
3232 else
3233 am_missing_run=
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3235 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3236 fi
3237
3238 if test x"${install_sh}" != xset; then
3239 case $am_aux_dir in
3240 *\ * | *\ *)
3241 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3242 *)
3243 install_sh="\${SHELL} $am_aux_dir/install-sh"
3244 esac
3245 fi
3246
3247 # Installed binaries are usually stripped using `strip' when the user
3248 # run `make install-strip'. However `strip' might not be the right
3249 # tool to use in cross-compilation environments, therefore Automake
3250 # will honor the `STRIP' environment variable to overrule this program.
3251 if test "$cross_compiling" != no; then
3252 if test -n "$ac_tool_prefix"; then
3253 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3254 set dummy ${ac_tool_prefix}strip; ac_word=$2
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 $as_echo_n "checking for $ac_word... " >&6; }
3257 if test "${ac_cv_prog_STRIP+set}" = set; then :
3258 $as_echo_n "(cached) " >&6
3259 else
3260 if test -n "$STRIP"; then
3261 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3262 else
3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3264 for as_dir in $PATH
3265 do
3266 IFS=$as_save_IFS
3267 test -z "$as_dir" && as_dir=.
3268 for ac_exec_ext in '' $ac_executable_extensions; do
3269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3270 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3272 break 2
3273 fi
3274 done
3275 done
3276 IFS=$as_save_IFS
3277
3278 fi
3279 fi
3280 STRIP=$ac_cv_prog_STRIP
3281 if test -n "$STRIP"; then
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3283 $as_echo "$STRIP" >&6; }
3284 else
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3287 fi
3288
3289
3290 fi
3291 if test -z "$ac_cv_prog_STRIP"; then
3292 ac_ct_STRIP=$STRIP
3293 # Extract the first word of "strip", so it can be a program name with args.
3294 set dummy strip; ac_word=$2
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296 $as_echo_n "checking for $ac_word... " >&6; }
3297 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3298 $as_echo_n "(cached) " >&6
3299 else
3300 if test -n "$ac_ct_STRIP"; then
3301 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3302 else
3303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3304 for as_dir in $PATH
3305 do
3306 IFS=$as_save_IFS
3307 test -z "$as_dir" && as_dir=.
3308 for ac_exec_ext in '' $ac_executable_extensions; do
3309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3310 ac_cv_prog_ac_ct_STRIP="strip"
3311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3312 break 2
3313 fi
3314 done
3315 done
3316 IFS=$as_save_IFS
3317
3318 fi
3319 fi
3320 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3321 if test -n "$ac_ct_STRIP"; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3323 $as_echo "$ac_ct_STRIP" >&6; }
3324 else
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3327 fi
3328
3329 if test "x$ac_ct_STRIP" = x; then
3330 STRIP=":"
3331 else
3332 case $cross_compiling:$ac_tool_warned in
3333 yes:)
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3336 ac_tool_warned=yes ;;
3337 esac
3338 STRIP=$ac_ct_STRIP
3339 fi
3340 else
3341 STRIP="$ac_cv_prog_STRIP"
3342 fi
3343
3344 fi
3345 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3346
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3348 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3349 if test -z "$MKDIR_P"; then
3350 if test "${ac_cv_path_mkdir+set}" = set; then :
3351 $as_echo_n "(cached) " >&6
3352 else
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3355 do
3356 IFS=$as_save_IFS
3357 test -z "$as_dir" && as_dir=.
3358 for ac_prog in mkdir gmkdir; do
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3361 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3362 'mkdir (GNU coreutils) '* | \
3363 'mkdir (coreutils) '* | \
3364 'mkdir (fileutils) '4.1*)
3365 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3366 break 3;;
3367 esac
3368 done
3369 done
3370 done
3371 IFS=$as_save_IFS
3372
3373 fi
3374
3375 if test "${ac_cv_path_mkdir+set}" = set; then
3376 MKDIR_P="$ac_cv_path_mkdir -p"
3377 else
3378 # As a last resort, use the slow shell script. Don't cache a
3379 # value for MKDIR_P within a source directory, because that will
3380 # break other packages using the cache if that directory is
3381 # removed, or if the value is a relative name.
3382 test -d ./--version && rmdir ./--version
3383 MKDIR_P="$ac_install_sh -d"
3384 fi
3385 fi
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3387 $as_echo "$MKDIR_P" >&6; }
3388
3389 mkdir_p="$MKDIR_P"
3390 case $mkdir_p in
3391 [\\/$]* | ?:[\\/]*) ;;
3392 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3393 esac
3394
3395 for ac_prog in gawk mawk nawk awk
3396 do
3397 # Extract the first word of "$ac_prog", so it can be a program name with args.
3398 set dummy $ac_prog; ac_word=$2
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3400 $as_echo_n "checking for $ac_word... " >&6; }
3401 if test "${ac_cv_prog_AWK+set}" = set; then :
3402 $as_echo_n "(cached) " >&6
3403 else
3404 if test -n "$AWK"; then
3405 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3406 else
3407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3408 for as_dir in $PATH
3409 do
3410 IFS=$as_save_IFS
3411 test -z "$as_dir" && as_dir=.
3412 for ac_exec_ext in '' $ac_executable_extensions; do
3413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3414 ac_cv_prog_AWK="$ac_prog"
3415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3416 break 2
3417 fi
3418 done
3419 done
3420 IFS=$as_save_IFS
3421
3422 fi
3423 fi
3424 AWK=$ac_cv_prog_AWK
3425 if test -n "$AWK"; then
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3427 $as_echo "$AWK" >&6; }
3428 else
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 $as_echo "no" >&6; }
3431 fi
3432
3433
3434 test -n "$AWK" && break
3435 done
3436
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3438 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3439 set x ${MAKE-make}
3440 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3441 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3442 $as_echo_n "(cached) " >&6
3443 else
3444 cat >conftest.make <<\_ACEOF
3445 SHELL = /bin/sh
3446 all:
3447 @echo '@@@%%%=$(MAKE)=@@@%%%'
3448 _ACEOF
3449 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3450 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3451 *@@@%%%=?*=@@@%%%*)
3452 eval ac_cv_prog_make_${ac_make}_set=yes;;
3453 *)
3454 eval ac_cv_prog_make_${ac_make}_set=no;;
3455 esac
3456 rm -f conftest.make
3457 fi
3458 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3460 $as_echo "yes" >&6; }
3461 SET_MAKE=
3462 else
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3464 $as_echo "no" >&6; }
3465 SET_MAKE="MAKE=${MAKE-make}"
3466 fi
3467
3468 rm -rf .tst 2>/dev/null
3469 mkdir .tst 2>/dev/null
3470 if test -d .tst; then
3471 am__leading_dot=.
3472 else
3473 am__leading_dot=_
3474 fi
3475 rmdir .tst 2>/dev/null
3476
3477 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3478 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3479 # is not polluted with repeated "-I."
3480 am__isrc=' -I$(srcdir)'
3481 # test to see if srcdir already configured
3482 if test -f $srcdir/config.status; then
3483 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3484 fi
3485 fi
3486
3487 # test whether we have cygpath
3488 if test -z "$CYGPATH_W"; then
3489 if (cygpath --version) >/dev/null 2>/dev/null; then
3490 CYGPATH_W='cygpath -w'
3491 else
3492 CYGPATH_W=echo
3493 fi
3494 fi
3495
3496
3497 # Define the identity of the package.
3498 PACKAGE='libstdc++'
3499 VERSION='version-unused'
3500
3501
3502 # Some tools Automake needs.
3503
3504 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3505
3506
3507 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3508
3509
3510 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3511
3512
3513 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3514
3515
3516 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3517
3518 # We need awk for the "check" target. The system "awk" is bad on
3519 # some platforms.
3520 # Always define AMTAR for backward compatibility.
3521
3522 AMTAR=${AMTAR-"${am_missing_run}tar"}
3523
3524 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3525
3526
3527
3528
3529
3530
3531
3532
3533 # -fno-builtin must be present here so that a non-conflicting form of
3534 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3535
3536 save_CXXFLAGS="$CXXFLAGS"
3537 CXXFLAGS="$CXXFLAGS -fno-builtin"
3538 ac_ext=c
3539 ac_cpp='$CPP $CPPFLAGS'
3540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3543 if test -n "$ac_tool_prefix"; then
3544 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3545 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3547 $as_echo_n "checking for $ac_word... " >&6; }
3548 if test "${ac_cv_prog_CC+set}" = set; then :
3549 $as_echo_n "(cached) " >&6
3550 else
3551 if test -n "$CC"; then
3552 ac_cv_prog_CC="$CC" # Let the user override the test.
3553 else
3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3555 for as_dir in $PATH
3556 do
3557 IFS=$as_save_IFS
3558 test -z "$as_dir" && as_dir=.
3559 for ac_exec_ext in '' $ac_executable_extensions; do
3560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3561 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3563 break 2
3564 fi
3565 done
3566 done
3567 IFS=$as_save_IFS
3568
3569 fi
3570 fi
3571 CC=$ac_cv_prog_CC
3572 if test -n "$CC"; then
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3574 $as_echo "$CC" >&6; }
3575 else
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577 $as_echo "no" >&6; }
3578 fi
3579
3580
3581 fi
3582 if test -z "$ac_cv_prog_CC"; then
3583 ac_ct_CC=$CC
3584 # Extract the first word of "gcc", so it can be a program name with args.
3585 set dummy gcc; ac_word=$2
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3587 $as_echo_n "checking for $ac_word... " >&6; }
3588 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3589 $as_echo_n "(cached) " >&6
3590 else
3591 if test -n "$ac_ct_CC"; then
3592 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3593 else
3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595 for as_dir in $PATH
3596 do
3597 IFS=$as_save_IFS
3598 test -z "$as_dir" && as_dir=.
3599 for ac_exec_ext in '' $ac_executable_extensions; do
3600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3601 ac_cv_prog_ac_ct_CC="gcc"
3602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3603 break 2
3604 fi
3605 done
3606 done
3607 IFS=$as_save_IFS
3608
3609 fi
3610 fi
3611 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3612 if test -n "$ac_ct_CC"; then
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3614 $as_echo "$ac_ct_CC" >&6; }
3615 else
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3617 $as_echo "no" >&6; }
3618 fi
3619
3620 if test "x$ac_ct_CC" = x; then
3621 CC=""
3622 else
3623 case $cross_compiling:$ac_tool_warned in
3624 yes:)
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3627 ac_tool_warned=yes ;;
3628 esac
3629 CC=$ac_ct_CC
3630 fi
3631 else
3632 CC="$ac_cv_prog_CC"
3633 fi
3634
3635 if test -z "$CC"; then
3636 if test -n "$ac_tool_prefix"; then
3637 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3638 set dummy ${ac_tool_prefix}cc; ac_word=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if test "${ac_cv_prog_CC+set}" = set; then :
3642 $as_echo_n "(cached) " >&6
3643 else
3644 if test -n "$CC"; then
3645 ac_cv_prog_CC="$CC" # Let the user override the test.
3646 else
3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648 for as_dir in $PATH
3649 do
3650 IFS=$as_save_IFS
3651 test -z "$as_dir" && as_dir=.
3652 for ac_exec_ext in '' $ac_executable_extensions; do
3653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3654 ac_cv_prog_CC="${ac_tool_prefix}cc"
3655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3656 break 2
3657 fi
3658 done
3659 done
3660 IFS=$as_save_IFS
3661
3662 fi
3663 fi
3664 CC=$ac_cv_prog_CC
3665 if test -n "$CC"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3667 $as_echo "$CC" >&6; }
3668 else
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3671 fi
3672
3673
3674 fi
3675 fi
3676 if test -z "$CC"; then
3677 # Extract the first word of "cc", so it can be a program name with args.
3678 set dummy cc; ac_word=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if test "${ac_cv_prog_CC+set}" = set; then :
3682 $as_echo_n "(cached) " >&6
3683 else
3684 if test -n "$CC"; then
3685 ac_cv_prog_CC="$CC" # Let the user override the test.
3686 else
3687 ac_prog_rejected=no
3688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3689 for as_dir in $PATH
3690 do
3691 IFS=$as_save_IFS
3692 test -z "$as_dir" && as_dir=.
3693 for ac_exec_ext in '' $ac_executable_extensions; do
3694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3695 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3696 ac_prog_rejected=yes
3697 continue
3698 fi
3699 ac_cv_prog_CC="cc"
3700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3701 break 2
3702 fi
3703 done
3704 done
3705 IFS=$as_save_IFS
3706
3707 if test $ac_prog_rejected = yes; then
3708 # We found a bogon in the path, so make sure we never use it.
3709 set dummy $ac_cv_prog_CC
3710 shift
3711 if test $# != 0; then
3712 # We chose a different compiler from the bogus one.
3713 # However, it has the same basename, so the bogon will be chosen
3714 # first if we set CC to just the basename; use the full file name.
3715 shift
3716 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3717 fi
3718 fi
3719 fi
3720 fi
3721 CC=$ac_cv_prog_CC
3722 if test -n "$CC"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3724 $as_echo "$CC" >&6; }
3725 else
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3728 fi
3729
3730
3731 fi
3732 if test -z "$CC"; then
3733 if test -n "$ac_tool_prefix"; then
3734 for ac_prog in cl.exe
3735 do
3736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if test "${ac_cv_prog_CC+set}" = set; then :
3741 $as_echo_n "(cached) " >&6
3742 else
3743 if test -n "$CC"; then
3744 ac_cv_prog_CC="$CC" # Let the user override the test.
3745 else
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 for as_dir in $PATH
3748 do
3749 IFS=$as_save_IFS
3750 test -z "$as_dir" && as_dir=.
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3755 break 2
3756 fi
3757 done
3758 done
3759 IFS=$as_save_IFS
3760
3761 fi
3762 fi
3763 CC=$ac_cv_prog_CC
3764 if test -n "$CC"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3766 $as_echo "$CC" >&6; }
3767 else
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3770 fi
3771
3772
3773 test -n "$CC" && break
3774 done
3775 fi
3776 if test -z "$CC"; then
3777 ac_ct_CC=$CC
3778 for ac_prog in cl.exe
3779 do
3780 # Extract the first word of "$ac_prog", so it can be a program name with args.
3781 set dummy $ac_prog; ac_word=$2
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3783 $as_echo_n "checking for $ac_word... " >&6; }
3784 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3785 $as_echo_n "(cached) " >&6
3786 else
3787 if test -n "$ac_ct_CC"; then
3788 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3789 else
3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3791 for as_dir in $PATH
3792 do
3793 IFS=$as_save_IFS
3794 test -z "$as_dir" && as_dir=.
3795 for ac_exec_ext in '' $ac_executable_extensions; do
3796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3797 ac_cv_prog_ac_ct_CC="$ac_prog"
3798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3799 break 2
3800 fi
3801 done
3802 done
3803 IFS=$as_save_IFS
3804
3805 fi
3806 fi
3807 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3808 if test -n "$ac_ct_CC"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3810 $as_echo "$ac_ct_CC" >&6; }
3811 else
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3814 fi
3815
3816
3817 test -n "$ac_ct_CC" && break
3818 done
3819
3820 if test "x$ac_ct_CC" = x; then
3821 CC=""
3822 else
3823 case $cross_compiling:$ac_tool_warned in
3824 yes:)
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3827 ac_tool_warned=yes ;;
3828 esac
3829 CC=$ac_ct_CC
3830 fi
3831 fi
3832
3833 fi
3834
3835
3836 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3838 as_fn_error "no acceptable C compiler found in \$PATH
3839 See \`config.log' for more details." "$LINENO" 5; }
3840
3841 # Provide some information about the compiler.
3842 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3843 set X $ac_compile
3844 ac_compiler=$2
3845 for ac_option in --version -v -V -qversion; do
3846 { { ac_try="$ac_compiler $ac_option >&5"
3847 case "(($ac_try" in
3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3850 esac
3851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3852 $as_echo "$ac_try_echo"; } >&5
3853 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3854 ac_status=$?
3855 if test -s conftest.err; then
3856 sed '10a\
3857 ... rest of stderr output deleted ...
3858 10q' conftest.err >conftest.er1
3859 cat conftest.er1 >&5
3860 rm -f conftest.er1 conftest.err
3861 fi
3862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3863 test $ac_status = 0; }
3864 done
3865
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */
3868
3869 int
3870 main ()
3871 {
3872
3873 ;
3874 return 0;
3875 }
3876 _ACEOF
3877 # FIXME: Cleanup?
3878 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3879 (eval $ac_link) 2>&5
3880 ac_status=$?
3881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3882 test $ac_status = 0; }; then :
3883 gcc_no_link=no
3884 else
3885 gcc_no_link=yes
3886 fi
3887 if test x$gcc_no_link = xyes; then
3888 # Setting cross_compile will disable run tests; it will
3889 # also disable AC_CHECK_FILE but that's generally
3890 # correct if we can't link.
3891 cross_compiling=yes
3892 EXEEXT=
3893 else
3894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895 /* end confdefs.h. */
3896
3897 int
3898 main ()
3899 {
3900
3901 ;
3902 return 0;
3903 }
3904 _ACEOF
3905 ac_clean_files_save=$ac_clean_files
3906 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3907 # Try to create an executable without -o first, disregard a.out.
3908 # It will help us diagnose broken compilers, and finding out an intuition
3909 # of exeext.
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3911 $as_echo_n "checking for C compiler default output file name... " >&6; }
3912 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3913
3914 # The possible output files:
3915 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3916
3917 ac_rmfiles=
3918 for ac_file in $ac_files
3919 do
3920 case $ac_file in
3921 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3922 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3923 esac
3924 done
3925 rm -f $ac_rmfiles
3926
3927 if { { ac_try="$ac_link_default"
3928 case "(($ac_try" in
3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930 *) ac_try_echo=$ac_try;;
3931 esac
3932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3933 $as_echo "$ac_try_echo"; } >&5
3934 (eval "$ac_link_default") 2>&5
3935 ac_status=$?
3936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3937 test $ac_status = 0; }; then :
3938 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3939 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3940 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3941 # so that the user can short-circuit this test for compilers unknown to
3942 # Autoconf.
3943 for ac_file in $ac_files ''
3944 do
3945 test -f "$ac_file" || continue
3946 case $ac_file in
3947 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3948 ;;
3949 [ab].out )
3950 # We found the default executable, but exeext='' is most
3951 # certainly right.
3952 break;;
3953 *.* )
3954 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3955 then :; else
3956 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3957 fi
3958 # We set ac_cv_exeext here because the later test for it is not
3959 # safe: cross compilers may not add the suffix if given an `-o'
3960 # argument, so we may need to know it at that point already.
3961 # Even if this section looks crufty: it has the advantage of
3962 # actually working.
3963 break;;
3964 * )
3965 break;;
3966 esac
3967 done
3968 test "$ac_cv_exeext" = no && ac_cv_exeext=
3969
3970 else
3971 ac_file=''
3972 fi
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3974 $as_echo "$ac_file" >&6; }
3975 if test -z "$ac_file"; then :
3976 $as_echo "$as_me: failed program was:" >&5
3977 sed 's/^/| /' conftest.$ac_ext >&5
3978
3979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3981 { as_fn_set_status 77
3982 as_fn_error "C compiler cannot create executables
3983 See \`config.log' for more details." "$LINENO" 5; }; }
3984 fi
3985 ac_exeext=$ac_cv_exeext
3986
3987 # Check that the compiler produces executables we can run. If not, either
3988 # the compiler is broken, or we cross compile.
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3990 $as_echo_n "checking whether the C compiler works... " >&6; }
3991 # If not cross compiling, check that we can run a simple program.
3992 if test "$cross_compiling" != yes; then
3993 if { ac_try='./$ac_file'
3994 { { case "(($ac_try" in
3995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3996 *) ac_try_echo=$ac_try;;
3997 esac
3998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3999 $as_echo "$ac_try_echo"; } >&5
4000 (eval "$ac_try") 2>&5
4001 ac_status=$?
4002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4003 test $ac_status = 0; }; }; then
4004 cross_compiling=no
4005 else
4006 if test "$cross_compiling" = maybe; then
4007 cross_compiling=yes
4008 else
4009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011 as_fn_error "cannot run C compiled programs.
4012 If you meant to cross compile, use \`--host'.
4013 See \`config.log' for more details." "$LINENO" 5; }
4014 fi
4015 fi
4016 fi
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4018 $as_echo "yes" >&6; }
4019
4020 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4021 ac_clean_files=$ac_clean_files_save
4022 # Check that the compiler produces executables we can run. If not, either
4023 # the compiler is broken, or we cross compile.
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4025 $as_echo_n "checking whether we are cross compiling... " >&6; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4027 $as_echo "$cross_compiling" >&6; }
4028
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4030 $as_echo_n "checking for suffix of executables... " >&6; }
4031 if { { ac_try="$ac_link"
4032 case "(($ac_try" in
4033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4034 *) ac_try_echo=$ac_try;;
4035 esac
4036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4037 $as_echo "$ac_try_echo"; } >&5
4038 (eval "$ac_link") 2>&5
4039 ac_status=$?
4040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4041 test $ac_status = 0; }; then :
4042 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4043 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4044 # work properly (i.e., refer to `conftest.exe'), while it won't with
4045 # `rm'.
4046 for ac_file in conftest.exe conftest conftest.*; do
4047 test -f "$ac_file" || continue
4048 case $ac_file in
4049 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4050 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4051 break;;
4052 * ) break;;
4053 esac
4054 done
4055 else
4056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4058 as_fn_error "cannot compute suffix of executables: cannot compile and link
4059 See \`config.log' for more details." "$LINENO" 5; }
4060 fi
4061 rm -f conftest$ac_cv_exeext
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4063 $as_echo "$ac_cv_exeext" >&6; }
4064
4065 rm -f conftest.$ac_ext
4066 EXEEXT=$ac_cv_exeext
4067 ac_exeext=$EXEEXT
4068 fi
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4070 $as_echo_n "checking for suffix of object files... " >&6; }
4071 if test "${ac_cv_objext+set}" = set; then :
4072 $as_echo_n "(cached) " >&6
4073 else
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4076
4077 int
4078 main ()
4079 {
4080
4081 ;
4082 return 0;
4083 }
4084 _ACEOF
4085 rm -f conftest.o conftest.obj
4086 if { { ac_try="$ac_compile"
4087 case "(($ac_try" in
4088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4089 *) ac_try_echo=$ac_try;;
4090 esac
4091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4092 $as_echo "$ac_try_echo"; } >&5
4093 (eval "$ac_compile") 2>&5
4094 ac_status=$?
4095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4096 test $ac_status = 0; }; then :
4097 for ac_file in conftest.o conftest.obj conftest.*; do
4098 test -f "$ac_file" || continue;
4099 case $ac_file in
4100 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4101 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4102 break;;
4103 esac
4104 done
4105 else
4106 $as_echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.$ac_ext >&5
4108
4109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4111 as_fn_error "cannot compute suffix of object files: cannot compile
4112 See \`config.log' for more details." "$LINENO" 5; }
4113 fi
4114 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4115 fi
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4117 $as_echo "$ac_cv_objext" >&6; }
4118 OBJEXT=$ac_cv_objext
4119 ac_objext=$OBJEXT
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4121 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4122 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4123 $as_echo_n "(cached) " >&6
4124 else
4125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h. */
4127
4128 int
4129 main ()
4130 {
4131 #ifndef __GNUC__
4132 choke me
4133 #endif
4134
4135 ;
4136 return 0;
4137 }
4138 _ACEOF
4139 if ac_fn_c_try_compile "$LINENO"; then :
4140 ac_compiler_gnu=yes
4141 else
4142 ac_compiler_gnu=no
4143 fi
4144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4145 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4146
4147 fi
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4149 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4150 if test $ac_compiler_gnu = yes; then
4151 GCC=yes
4152 else
4153 GCC=
4154 fi
4155 ac_test_CFLAGS=${CFLAGS+set}
4156 ac_save_CFLAGS=$CFLAGS
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4158 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4159 if test "${ac_cv_prog_cc_g+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 ac_save_c_werror_flag=$ac_c_werror_flag
4163 ac_c_werror_flag=yes
4164 ac_cv_prog_cc_g=no
4165 CFLAGS="-g"
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4168
4169 int
4170 main ()
4171 {
4172
4173 ;
4174 return 0;
4175 }
4176 _ACEOF
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178 ac_cv_prog_cc_g=yes
4179 else
4180 CFLAGS=""
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4183
4184 int
4185 main ()
4186 {
4187
4188 ;
4189 return 0;
4190 }
4191 _ACEOF
4192 if ac_fn_c_try_compile "$LINENO"; then :
4193
4194 else
4195 ac_c_werror_flag=$ac_save_c_werror_flag
4196 CFLAGS="-g"
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4199
4200 int
4201 main ()
4202 {
4203
4204 ;
4205 return 0;
4206 }
4207 _ACEOF
4208 if ac_fn_c_try_compile "$LINENO"; then :
4209 ac_cv_prog_cc_g=yes
4210 fi
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 fi
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 fi
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216 ac_c_werror_flag=$ac_save_c_werror_flag
4217 fi
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4219 $as_echo "$ac_cv_prog_cc_g" >&6; }
4220 if test "$ac_test_CFLAGS" = set; then
4221 CFLAGS=$ac_save_CFLAGS
4222 elif test $ac_cv_prog_cc_g = yes; then
4223 if test "$GCC" = yes; then
4224 CFLAGS="-g -O2"
4225 else
4226 CFLAGS="-g"
4227 fi
4228 else
4229 if test "$GCC" = yes; then
4230 CFLAGS="-O2"
4231 else
4232 CFLAGS=
4233 fi
4234 fi
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4236 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4237 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4238 $as_echo_n "(cached) " >&6
4239 else
4240 ac_cv_prog_cc_c89=no
4241 ac_save_CC=$CC
4242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4243 /* end confdefs.h. */
4244 #include <stdarg.h>
4245 #include <stdio.h>
4246 #include <sys/types.h>
4247 #include <sys/stat.h>
4248 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4249 struct buf { int x; };
4250 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4251 static char *e (p, i)
4252 char **p;
4253 int i;
4254 {
4255 return p[i];
4256 }
4257 static char *f (char * (*g) (char **, int), char **p, ...)
4258 {
4259 char *s;
4260 va_list v;
4261 va_start (v,p);
4262 s = g (p, va_arg (v,int));
4263 va_end (v);
4264 return s;
4265 }
4266
4267 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4268 function prototypes and stuff, but not '\xHH' hex character constants.
4269 These don't provoke an error unfortunately, instead are silently treated
4270 as 'x'. The following induces an error, until -std is added to get
4271 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4272 array size at least. It's necessary to write '\x00'==0 to get something
4273 that's true only with -std. */
4274 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4275
4276 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4277 inside strings and character constants. */
4278 #define FOO(x) 'x'
4279 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4280
4281 int test (int i, double x);
4282 struct s1 {int (*f) (int a);};
4283 struct s2 {int (*f) (double a);};
4284 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4285 int argc;
4286 char **argv;
4287 int
4288 main ()
4289 {
4290 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4291 ;
4292 return 0;
4293 }
4294 _ACEOF
4295 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4296 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4297 do
4298 CC="$ac_save_CC $ac_arg"
4299 if ac_fn_c_try_compile "$LINENO"; then :
4300 ac_cv_prog_cc_c89=$ac_arg
4301 fi
4302 rm -f core conftest.err conftest.$ac_objext
4303 test "x$ac_cv_prog_cc_c89" != "xno" && break
4304 done
4305 rm -f conftest.$ac_ext
4306 CC=$ac_save_CC
4307
4308 fi
4309 # AC_CACHE_VAL
4310 case "x$ac_cv_prog_cc_c89" in
4311 x)
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4313 $as_echo "none needed" >&6; } ;;
4314 xno)
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4316 $as_echo "unsupported" >&6; } ;;
4317 *)
4318 CC="$CC $ac_cv_prog_cc_c89"
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4320 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4321 esac
4322 if test "x$ac_cv_prog_cc_c89" != xno; then :
4323
4324 fi
4325
4326 ac_ext=c
4327 ac_cpp='$CPP $CPPFLAGS'
4328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4331
4332 ac_ext=cpp
4333 ac_cpp='$CXXCPP $CPPFLAGS'
4334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4337 if test -z "$CXX"; then
4338 if test -n "$CCC"; then
4339 CXX=$CCC
4340 else
4341 if test -n "$ac_tool_prefix"; then
4342 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4343 do
4344 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4345 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4347 $as_echo_n "checking for $ac_word... " >&6; }
4348 if test "${ac_cv_prog_CXX+set}" = set; then :
4349 $as_echo_n "(cached) " >&6
4350 else
4351 if test -n "$CXX"; then
4352 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4353 else
4354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4355 for as_dir in $PATH
4356 do
4357 IFS=$as_save_IFS
4358 test -z "$as_dir" && as_dir=.
4359 for ac_exec_ext in '' $ac_executable_extensions; do
4360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4361 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4363 break 2
4364 fi
4365 done
4366 done
4367 IFS=$as_save_IFS
4368
4369 fi
4370 fi
4371 CXX=$ac_cv_prog_CXX
4372 if test -n "$CXX"; then
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4374 $as_echo "$CXX" >&6; }
4375 else
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4377 $as_echo "no" >&6; }
4378 fi
4379
4380
4381 test -n "$CXX" && break
4382 done
4383 fi
4384 if test -z "$CXX"; then
4385 ac_ct_CXX=$CXX
4386 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4387 do
4388 # Extract the first word of "$ac_prog", so it can be a program name with args.
4389 set dummy $ac_prog; ac_word=$2
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4391 $as_echo_n "checking for $ac_word... " >&6; }
4392 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4393 $as_echo_n "(cached) " >&6
4394 else
4395 if test -n "$ac_ct_CXX"; then
4396 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4397 else
4398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4399 for as_dir in $PATH
4400 do
4401 IFS=$as_save_IFS
4402 test -z "$as_dir" && as_dir=.
4403 for ac_exec_ext in '' $ac_executable_extensions; do
4404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4405 ac_cv_prog_ac_ct_CXX="$ac_prog"
4406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4407 break 2
4408 fi
4409 done
4410 done
4411 IFS=$as_save_IFS
4412
4413 fi
4414 fi
4415 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4416 if test -n "$ac_ct_CXX"; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4418 $as_echo "$ac_ct_CXX" >&6; }
4419 else
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4422 fi
4423
4424
4425 test -n "$ac_ct_CXX" && break
4426 done
4427
4428 if test "x$ac_ct_CXX" = x; then
4429 CXX="g++"
4430 else
4431 case $cross_compiling:$ac_tool_warned in
4432 yes:)
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4435 ac_tool_warned=yes ;;
4436 esac
4437 CXX=$ac_ct_CXX
4438 fi
4439 fi
4440
4441 fi
4442 fi
4443 # Provide some information about the compiler.
4444 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4445 set X $ac_compile
4446 ac_compiler=$2
4447 for ac_option in --version -v -V -qversion; do
4448 { { ac_try="$ac_compiler $ac_option >&5"
4449 case "(($ac_try" in
4450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4451 *) ac_try_echo=$ac_try;;
4452 esac
4453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4454 $as_echo "$ac_try_echo"; } >&5
4455 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4456 ac_status=$?
4457 if test -s conftest.err; then
4458 sed '10a\
4459 ... rest of stderr output deleted ...
4460 10q' conftest.err >conftest.er1
4461 cat conftest.er1 >&5
4462 rm -f conftest.er1 conftest.err
4463 fi
4464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4465 test $ac_status = 0; }
4466 done
4467
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4469 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4470 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4471 $as_echo_n "(cached) " >&6
4472 else
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4475
4476 int
4477 main ()
4478 {
4479 #ifndef __GNUC__
4480 choke me
4481 #endif
4482
4483 ;
4484 return 0;
4485 }
4486 _ACEOF
4487 if ac_fn_cxx_try_compile "$LINENO"; then :
4488 ac_compiler_gnu=yes
4489 else
4490 ac_compiler_gnu=no
4491 fi
4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4493 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4494
4495 fi
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4497 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4498 if test $ac_compiler_gnu = yes; then
4499 GXX=yes
4500 else
4501 GXX=
4502 fi
4503 ac_test_CXXFLAGS=${CXXFLAGS+set}
4504 ac_save_CXXFLAGS=$CXXFLAGS
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4506 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4507 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4508 $as_echo_n "(cached) " >&6
4509 else
4510 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4511 ac_cxx_werror_flag=yes
4512 ac_cv_prog_cxx_g=no
4513 CXXFLAGS="-g"
4514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4515 /* end confdefs.h. */
4516
4517 int
4518 main ()
4519 {
4520
4521 ;
4522 return 0;
4523 }
4524 _ACEOF
4525 if ac_fn_cxx_try_compile "$LINENO"; then :
4526 ac_cv_prog_cxx_g=yes
4527 else
4528 CXXFLAGS=""
4529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h. */
4531
4532 int
4533 main ()
4534 {
4535
4536 ;
4537 return 0;
4538 }
4539 _ACEOF
4540 if ac_fn_cxx_try_compile "$LINENO"; then :
4541
4542 else
4543 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4544 CXXFLAGS="-g"
4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4547
4548 int
4549 main ()
4550 {
4551
4552 ;
4553 return 0;
4554 }
4555 _ACEOF
4556 if ac_fn_cxx_try_compile "$LINENO"; then :
4557 ac_cv_prog_cxx_g=yes
4558 fi
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 fi
4561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4562 fi
4563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4564 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4565 fi
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4567 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4568 if test "$ac_test_CXXFLAGS" = set; then
4569 CXXFLAGS=$ac_save_CXXFLAGS
4570 elif test $ac_cv_prog_cxx_g = yes; then
4571 if test "$GXX" = yes; then
4572 CXXFLAGS="-g -O2"
4573 else
4574 CXXFLAGS="-g"
4575 fi
4576 else
4577 if test "$GXX" = yes; then
4578 CXXFLAGS="-O2"
4579 else
4580 CXXFLAGS=
4581 fi
4582 fi
4583 ac_ext=c
4584 ac_cpp='$CPP $CPPFLAGS'
4585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4588
4589 CXXFLAGS="$save_CXXFLAGS"
4590
4591 # Runs configure.host, and assorted other critical bits. Sets
4592 # up critical shell variables.
4593
4594 ac_ext=c
4595 ac_cpp='$CPP $CPPFLAGS'
4596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4600 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4601 # On Suns, sometimes $CPP names a directory.
4602 if test -n "$CPP" && test -d "$CPP"; then
4603 CPP=
4604 fi
4605 if test -z "$CPP"; then
4606 if test "${ac_cv_prog_CPP+set}" = set; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 # Double quotes because CPP needs to be expanded
4610 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4611 do
4612 ac_preproc_ok=false
4613 for ac_c_preproc_warn_flag in '' yes
4614 do
4615 # Use a header file that comes with gcc, so configuring glibc
4616 # with a fresh cross-compiler works.
4617 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4618 # <limits.h> exists even on freestanding compilers.
4619 # On the NeXT, cc -E runs the code through the compiler's parser,
4620 # not just through cpp. "Syntax error" is here to catch this case.
4621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h. */
4623 #ifdef __STDC__
4624 # include <limits.h>
4625 #else
4626 # include <assert.h>
4627 #endif
4628 Syntax error
4629 _ACEOF
4630 if ac_fn_c_try_cpp "$LINENO"; then :
4631
4632 else
4633 # Broken: fails on valid input.
4634 continue
4635 fi
4636 rm -f conftest.err conftest.$ac_ext
4637
4638 # OK, works on sane cases. Now check whether nonexistent headers
4639 # can be detected and how.
4640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4641 /* end confdefs.h. */
4642 #include <ac_nonexistent.h>
4643 _ACEOF
4644 if ac_fn_c_try_cpp "$LINENO"; then :
4645 # Broken: success on invalid input.
4646 continue
4647 else
4648 # Passes both tests.
4649 ac_preproc_ok=:
4650 break
4651 fi
4652 rm -f conftest.err conftest.$ac_ext
4653
4654 done
4655 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4656 rm -f conftest.err conftest.$ac_ext
4657 if $ac_preproc_ok; then :
4658 break
4659 fi
4660
4661 done
4662 ac_cv_prog_CPP=$CPP
4663
4664 fi
4665 CPP=$ac_cv_prog_CPP
4666 else
4667 ac_cv_prog_CPP=$CPP
4668 fi
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4670 $as_echo "$CPP" >&6; }
4671 ac_preproc_ok=false
4672 for ac_c_preproc_warn_flag in '' yes
4673 do
4674 # Use a header file that comes with gcc, so configuring glibc
4675 # with a fresh cross-compiler works.
4676 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4677 # <limits.h> exists even on freestanding compilers.
4678 # On the NeXT, cc -E runs the code through the compiler's parser,
4679 # not just through cpp. "Syntax error" is here to catch this case.
4680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4682 #ifdef __STDC__
4683 # include <limits.h>
4684 #else
4685 # include <assert.h>
4686 #endif
4687 Syntax error
4688 _ACEOF
4689 if ac_fn_c_try_cpp "$LINENO"; then :
4690
4691 else
4692 # Broken: fails on valid input.
4693 continue
4694 fi
4695 rm -f conftest.err conftest.$ac_ext
4696
4697 # OK, works on sane cases. Now check whether nonexistent headers
4698 # can be detected and how.
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4701 #include <ac_nonexistent.h>
4702 _ACEOF
4703 if ac_fn_c_try_cpp "$LINENO"; then :
4704 # Broken: success on invalid input.
4705 continue
4706 else
4707 # Passes both tests.
4708 ac_preproc_ok=:
4709 break
4710 fi
4711 rm -f conftest.err conftest.$ac_ext
4712
4713 done
4714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4715 rm -f conftest.err conftest.$ac_ext
4716 if $ac_preproc_ok; then :
4717
4718 else
4719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4721 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4722 See \`config.log' for more details." "$LINENO" 5; }
4723 fi
4724
4725 ac_ext=c
4726 ac_cpp='$CPP $CPPFLAGS'
4727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4730
4731
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4733 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4734 if test "${ac_cv_path_GREP+set}" = set; then :
4735 $as_echo_n "(cached) " >&6
4736 else
4737 if test -z "$GREP"; then
4738 ac_path_GREP_found=false
4739 # Loop through the user's path and test for each of PROGNAME-LIST
4740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4741 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4742 do
4743 IFS=$as_save_IFS
4744 test -z "$as_dir" && as_dir=.
4745 for ac_prog in grep ggrep; do
4746 for ac_exec_ext in '' $ac_executable_extensions; do
4747 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4748 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4749 # Check for GNU ac_path_GREP and select it if it is found.
4750 # Check for GNU $ac_path_GREP
4751 case `"$ac_path_GREP" --version 2>&1` in
4752 *GNU*)
4753 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4754 *)
4755 ac_count=0
4756 $as_echo_n 0123456789 >"conftest.in"
4757 while :
4758 do
4759 cat "conftest.in" "conftest.in" >"conftest.tmp"
4760 mv "conftest.tmp" "conftest.in"
4761 cp "conftest.in" "conftest.nl"
4762 $as_echo 'GREP' >> "conftest.nl"
4763 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4764 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4765 as_fn_arith $ac_count + 1 && ac_count=$as_val
4766 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4767 # Best one so far, save it but keep looking for a better one
4768 ac_cv_path_GREP="$ac_path_GREP"
4769 ac_path_GREP_max=$ac_count
4770 fi
4771 # 10*(2^10) chars as input seems more than enough
4772 test $ac_count -gt 10 && break
4773 done
4774 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4775 esac
4776
4777 $ac_path_GREP_found && break 3
4778 done
4779 done
4780 done
4781 IFS=$as_save_IFS
4782 if test -z "$ac_cv_path_GREP"; then
4783 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4784 fi
4785 else
4786 ac_cv_path_GREP=$GREP
4787 fi
4788
4789 fi
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4791 $as_echo "$ac_cv_path_GREP" >&6; }
4792 GREP="$ac_cv_path_GREP"
4793
4794
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4796 $as_echo_n "checking for egrep... " >&6; }
4797 if test "${ac_cv_path_EGREP+set}" = set; then :
4798 $as_echo_n "(cached) " >&6
4799 else
4800 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4801 then ac_cv_path_EGREP="$GREP -E"
4802 else
4803 if test -z "$EGREP"; then
4804 ac_path_EGREP_found=false
4805 # Loop through the user's path and test for each of PROGNAME-LIST
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4808 do
4809 IFS=$as_save_IFS
4810 test -z "$as_dir" && as_dir=.
4811 for ac_prog in egrep; do
4812 for ac_exec_ext in '' $ac_executable_extensions; do
4813 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4814 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4815 # Check for GNU ac_path_EGREP and select it if it is found.
4816 # Check for GNU $ac_path_EGREP
4817 case `"$ac_path_EGREP" --version 2>&1` in
4818 *GNU*)
4819 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4820 *)
4821 ac_count=0
4822 $as_echo_n 0123456789 >"conftest.in"
4823 while :
4824 do
4825 cat "conftest.in" "conftest.in" >"conftest.tmp"
4826 mv "conftest.tmp" "conftest.in"
4827 cp "conftest.in" "conftest.nl"
4828 $as_echo 'EGREP' >> "conftest.nl"
4829 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4830 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4831 as_fn_arith $ac_count + 1 && ac_count=$as_val
4832 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4833 # Best one so far, save it but keep looking for a better one
4834 ac_cv_path_EGREP="$ac_path_EGREP"
4835 ac_path_EGREP_max=$ac_count
4836 fi
4837 # 10*(2^10) chars as input seems more than enough
4838 test $ac_count -gt 10 && break
4839 done
4840 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4841 esac
4842
4843 $ac_path_EGREP_found && break 3
4844 done
4845 done
4846 done
4847 IFS=$as_save_IFS
4848 if test -z "$ac_cv_path_EGREP"; then
4849 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4850 fi
4851 else
4852 ac_cv_path_EGREP=$EGREP
4853 fi
4854
4855 fi
4856 fi
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4858 $as_echo "$ac_cv_path_EGREP" >&6; }
4859 EGREP="$ac_cv_path_EGREP"
4860
4861
4862
4863 # Keep these sync'd with the list in Makefile.am. The first provides an
4864 # expandable list at autoconf time; the second provides an expandable list
4865 # (i.e., shell variable) at configure time.
4866
4867 SUBDIRS='include libsupc++ python src doc po testsuite'
4868
4869 # These need to be absolute paths, yet at the same time need to
4870 # canonicalize only relative paths, because then amd will not unmount
4871 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4872 glibcxx_builddir=`${PWDCMD-pwd}`
4873 case $srcdir in
4874 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4875 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4876 esac
4877 toplevel_srcdir=${glibcxx_srcdir}/..
4878
4879
4880
4881
4882 # We use these options to decide which functions to include. They are
4883 # set from the top level.
4884
4885 # Check whether --with-target-subdir was given.
4886 if test "${with_target_subdir+set}" = set; then :
4887 withval=$with_target_subdir;
4888 fi
4889
4890
4891
4892 # Check whether --with-cross-host was given.
4893 if test "${with_cross_host+set}" = set; then :
4894 withval=$with_cross_host;
4895 fi
4896
4897
4898
4899 # Check whether --with-newlib was given.
4900 if test "${with_newlib+set}" = set; then :
4901 withval=$with_newlib;
4902 fi
4903
4904
4905 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4906 # available). Uncomment the next line to force a particular method.
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4908 $as_echo_n "checking whether ln -s works... " >&6; }
4909 LN_S=$as_ln_s
4910 if test "$LN_S" = "ln -s"; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4912 $as_echo "yes" >&6; }
4913 else
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4915 $as_echo "no, using $LN_S" >&6; }
4916 fi
4917
4918 #LN_S='cp -p'
4919
4920 if test -n "$ac_tool_prefix"; then
4921 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4922 set dummy ${ac_tool_prefix}as; ac_word=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if test "${ac_cv_prog_AS+set}" = set; then :
4926 $as_echo_n "(cached) " >&6
4927 else
4928 if test -n "$AS"; then
4929 ac_cv_prog_AS="$AS" # Let the user override the test.
4930 else
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 for as_dir in $PATH
4933 do
4934 IFS=$as_save_IFS
4935 test -z "$as_dir" && as_dir=.
4936 for ac_exec_ext in '' $ac_executable_extensions; do
4937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4938 ac_cv_prog_AS="${ac_tool_prefix}as"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 break 2
4941 fi
4942 done
4943 done
4944 IFS=$as_save_IFS
4945
4946 fi
4947 fi
4948 AS=$ac_cv_prog_AS
4949 if test -n "$AS"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4951 $as_echo "$AS" >&6; }
4952 else
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4955 fi
4956
4957
4958 fi
4959 if test -z "$ac_cv_prog_AS"; then
4960 ac_ct_AS=$AS
4961 # Extract the first word of "as", so it can be a program name with args.
4962 set dummy as; ac_word=$2
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4964 $as_echo_n "checking for $ac_word... " >&6; }
4965 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4966 $as_echo_n "(cached) " >&6
4967 else
4968 if test -n "$ac_ct_AS"; then
4969 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4970 else
4971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4972 for as_dir in $PATH
4973 do
4974 IFS=$as_save_IFS
4975 test -z "$as_dir" && as_dir=.
4976 for ac_exec_ext in '' $ac_executable_extensions; do
4977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4978 ac_cv_prog_ac_ct_AS="as"
4979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 break 2
4981 fi
4982 done
4983 done
4984 IFS=$as_save_IFS
4985
4986 fi
4987 fi
4988 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4989 if test -n "$ac_ct_AS"; then
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4991 $as_echo "$ac_ct_AS" >&6; }
4992 else
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4994 $as_echo "no" >&6; }
4995 fi
4996
4997 if test "x$ac_ct_AS" = x; then
4998 AS=""
4999 else
5000 case $cross_compiling:$ac_tool_warned in
5001 yes:)
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5004 ac_tool_warned=yes ;;
5005 esac
5006 AS=$ac_ct_AS
5007 fi
5008 else
5009 AS="$ac_cv_prog_AS"
5010 fi
5011
5012 if test -n "$ac_tool_prefix"; then
5013 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5014 set dummy ${ac_tool_prefix}ar; ac_word=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if test "${ac_cv_prog_AR+set}" = set; then :
5018 $as_echo_n "(cached) " >&6
5019 else
5020 if test -n "$AR"; then
5021 ac_cv_prog_AR="$AR" # Let the user override the test.
5022 else
5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 for as_dir in $PATH
5025 do
5026 IFS=$as_save_IFS
5027 test -z "$as_dir" && as_dir=.
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030 ac_cv_prog_AR="${ac_tool_prefix}ar"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 break 2
5033 fi
5034 done
5035 done
5036 IFS=$as_save_IFS
5037
5038 fi
5039 fi
5040 AR=$ac_cv_prog_AR
5041 if test -n "$AR"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5043 $as_echo "$AR" >&6; }
5044 else
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5047 fi
5048
5049
5050 fi
5051 if test -z "$ac_cv_prog_AR"; then
5052 ac_ct_AR=$AR
5053 # Extract the first word of "ar", so it can be a program name with args.
5054 set dummy ar; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5059 else
5060 if test -n "$ac_ct_AR"; then
5061 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5065 do
5066 IFS=$as_save_IFS
5067 test -z "$as_dir" && as_dir=.
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070 ac_cv_prog_ac_ct_AR="ar"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 break 2
5073 fi
5074 done
5075 done
5076 IFS=$as_save_IFS
5077
5078 fi
5079 fi
5080 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5081 if test -n "$ac_ct_AR"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5083 $as_echo "$ac_ct_AR" >&6; }
5084 else
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5087 fi
5088
5089 if test "x$ac_ct_AR" = x; then
5090 AR=""
5091 else
5092 case $cross_compiling:$ac_tool_warned in
5093 yes:)
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5096 ac_tool_warned=yes ;;
5097 esac
5098 AR=$ac_ct_AR
5099 fi
5100 else
5101 AR="$ac_cv_prog_AR"
5102 fi
5103
5104 if test -n "$ac_tool_prefix"; then
5105 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5106 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 if test -n "$RANLIB"; then
5113 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5114 else
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH
5117 do
5118 IFS=$as_save_IFS
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 break 2
5125 fi
5126 done
5127 done
5128 IFS=$as_save_IFS
5129
5130 fi
5131 fi
5132 RANLIB=$ac_cv_prog_RANLIB
5133 if test -n "$RANLIB"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5135 $as_echo "$RANLIB" >&6; }
5136 else
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5139 fi
5140
5141
5142 fi
5143 if test -z "$ac_cv_prog_RANLIB"; then
5144 ac_ct_RANLIB=$RANLIB
5145 # Extract the first word of "ranlib", so it can be a program name with args.
5146 set dummy ranlib; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$ac_ct_RANLIB"; then
5153 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5157 do
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_prog_ac_ct_RANLIB="ranlib"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5165 fi
5166 done
5167 done
5168 IFS=$as_save_IFS
5169
5170 fi
5171 fi
5172 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5173 if test -n "$ac_ct_RANLIB"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5175 $as_echo "$ac_ct_RANLIB" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5179 fi
5180
5181 if test "x$ac_ct_RANLIB" = x; then
5182 RANLIB="ranlib-not-found-in-path-error"
5183 else
5184 case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5188 ac_tool_warned=yes ;;
5189 esac
5190 RANLIB=$ac_ct_RANLIB
5191 fi
5192 else
5193 RANLIB="$ac_cv_prog_RANLIB"
5194 fi
5195
5196
5197
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5199 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5200 # Check whether --enable-maintainer-mode was given.
5201 if test "${enable_maintainer_mode+set}" = set; then :
5202 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5203 else
5204 USE_MAINTAINER_MODE=no
5205 fi
5206
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5208 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5209 if test $USE_MAINTAINER_MODE = yes; then
5210 MAINTAINER_MODE_TRUE=
5211 MAINTAINER_MODE_FALSE='#'
5212 else
5213 MAINTAINER_MODE_TRUE='#'
5214 MAINTAINER_MODE_FALSE=
5215 fi
5216
5217 MAINT=$MAINTAINER_MODE_TRUE
5218
5219
5220
5221 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5222 # which are themselves conditionally expanded.
5223 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5224 ## other macros from doing the same. This should be automated.) -pme
5225
5226 # Check for C library flavor since Linux platforms use different configuration
5227 # directories depending on the C library in use.
5228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5229 /* end confdefs.h. */
5230
5231 #include <stdio.h>
5232 #if __UCLIBC__
5233 _using_uclibc
5234 #endif
5235
5236 _ACEOF
5237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5238 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5239 uclibc=yes
5240 else
5241 uclibc=no
5242 fi
5243 rm -f conftest*
5244
5245
5246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h. */
5248
5249 #include <stdio.h>
5250 #if __BIONIC__
5251 _using_bionic
5252 #endif
5253
5254 _ACEOF
5255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5256 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5257 bionic=yes
5258 else
5259 bionic=no
5260 fi
5261 rm -f conftest*
5262
5263
5264 # Find platform-specific directories containing configuration info.
5265 # Also possibly modify flags used elsewhere, as needed by the platform.
5266
5267 . $glibcxx_srcdir/configure.host
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5269 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5271 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5272
5273
5274
5275 if test "x${with_newlib}" != "xyes"; then
5276 enable_dlopen=yes
5277
5278
5279
5280 fi
5281 case `pwd` in
5282 *\ * | *\ *)
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5284 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5285 esac
5286
5287
5288
5289 macro_version='2.2.7a'
5290 macro_revision='1.3134'
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304 ltmain="$ac_aux_dir/ltmain.sh"
5305
5306 # Backslashify metacharacters that are still active within
5307 # double-quoted strings.
5308 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5309
5310 # Same as above, but do not quote variable references.
5311 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5312
5313 # Sed substitution to delay expansion of an escaped shell variable in a
5314 # double_quote_subst'ed string.
5315 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5316
5317 # Sed substitution to delay expansion of an escaped single quote.
5318 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5319
5320 # Sed substitution to avoid accidental globbing in evaled expressions
5321 no_glob_subst='s/\*/\\\*/g'
5322
5323 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5324 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5325 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5326
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5328 $as_echo_n "checking how to print strings... " >&6; }
5329 # Test print first, because it will be a builtin if present.
5330 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5331 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5332 ECHO='print -r --'
5333 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5334 ECHO='printf %s\n'
5335 else
5336 # Use this function as a fallback that always works.
5337 func_fallback_echo ()
5338 {
5339 eval 'cat <<_LTECHO_EOF
5340 $1
5341 _LTECHO_EOF'
5342 }
5343 ECHO='func_fallback_echo'
5344 fi
5345
5346 # func_echo_all arg...
5347 # Invoke $ECHO with all args, space-separated.
5348 func_echo_all ()
5349 {
5350 $ECHO ""
5351 }
5352
5353 case "$ECHO" in
5354 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5355 $as_echo "printf" >&6; } ;;
5356 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5357 $as_echo "print -r" >&6; } ;;
5358 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5359 $as_echo "cat" >&6; } ;;
5360 esac
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5376 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5377 if test "${ac_cv_path_SED+set}" = set; then :
5378 $as_echo_n "(cached) " >&6
5379 else
5380 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5381 for ac_i in 1 2 3 4 5 6 7; do
5382 ac_script="$ac_script$as_nl$ac_script"
5383 done
5384 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5385 { ac_script=; unset ac_script;}
5386 if test -z "$SED"; then
5387 ac_path_SED_found=false
5388 # Loop through the user's path and test for each of PROGNAME-LIST
5389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5390 for as_dir in $PATH
5391 do
5392 IFS=$as_save_IFS
5393 test -z "$as_dir" && as_dir=.
5394 for ac_prog in sed gsed; do
5395 for ac_exec_ext in '' $ac_executable_extensions; do
5396 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5397 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5398 # Check for GNU ac_path_SED and select it if it is found.
5399 # Check for GNU $ac_path_SED
5400 case `"$ac_path_SED" --version 2>&1` in
5401 *GNU*)
5402 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5403 *)
5404 ac_count=0
5405 $as_echo_n 0123456789 >"conftest.in"
5406 while :
5407 do
5408 cat "conftest.in" "conftest.in" >"conftest.tmp"
5409 mv "conftest.tmp" "conftest.in"
5410 cp "conftest.in" "conftest.nl"
5411 $as_echo '' >> "conftest.nl"
5412 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5413 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5414 as_fn_arith $ac_count + 1 && ac_count=$as_val
5415 if test $ac_count -gt ${ac_path_SED_max-0}; then
5416 # Best one so far, save it but keep looking for a better one
5417 ac_cv_path_SED="$ac_path_SED"
5418 ac_path_SED_max=$ac_count
5419 fi
5420 # 10*(2^10) chars as input seems more than enough
5421 test $ac_count -gt 10 && break
5422 done
5423 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5424 esac
5425
5426 $ac_path_SED_found && break 3
5427 done
5428 done
5429 done
5430 IFS=$as_save_IFS
5431 if test -z "$ac_cv_path_SED"; then
5432 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5433 fi
5434 else
5435 ac_cv_path_SED=$SED
5436 fi
5437
5438 fi
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5440 $as_echo "$ac_cv_path_SED" >&6; }
5441 SED="$ac_cv_path_SED"
5442 rm -f conftest.sed
5443
5444 test -z "$SED" && SED=sed
5445 Xsed="$SED -e 1s/^X//"
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5458 $as_echo_n "checking for fgrep... " >&6; }
5459 if test "${ac_cv_path_FGREP+set}" = set; then :
5460 $as_echo_n "(cached) " >&6
5461 else
5462 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5463 then ac_cv_path_FGREP="$GREP -F"
5464 else
5465 if test -z "$FGREP"; then
5466 ac_path_FGREP_found=false
5467 # Loop through the user's path and test for each of PROGNAME-LIST
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5470 do
5471 IFS=$as_save_IFS
5472 test -z "$as_dir" && as_dir=.
5473 for ac_prog in fgrep; do
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5476 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5477 # Check for GNU ac_path_FGREP and select it if it is found.
5478 # Check for GNU $ac_path_FGREP
5479 case `"$ac_path_FGREP" --version 2>&1` in
5480 *GNU*)
5481 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5482 *)
5483 ac_count=0
5484 $as_echo_n 0123456789 >"conftest.in"
5485 while :
5486 do
5487 cat "conftest.in" "conftest.in" >"conftest.tmp"
5488 mv "conftest.tmp" "conftest.in"
5489 cp "conftest.in" "conftest.nl"
5490 $as_echo 'FGREP' >> "conftest.nl"
5491 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5492 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5493 as_fn_arith $ac_count + 1 && ac_count=$as_val
5494 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5495 # Best one so far, save it but keep looking for a better one
5496 ac_cv_path_FGREP="$ac_path_FGREP"
5497 ac_path_FGREP_max=$ac_count
5498 fi
5499 # 10*(2^10) chars as input seems more than enough
5500 test $ac_count -gt 10 && break
5501 done
5502 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5503 esac
5504
5505 $ac_path_FGREP_found && break 3
5506 done
5507 done
5508 done
5509 IFS=$as_save_IFS
5510 if test -z "$ac_cv_path_FGREP"; then
5511 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5512 fi
5513 else
5514 ac_cv_path_FGREP=$FGREP
5515 fi
5516
5517 fi
5518 fi
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5520 $as_echo "$ac_cv_path_FGREP" >&6; }
5521 FGREP="$ac_cv_path_FGREP"
5522
5523
5524 test -z "$GREP" && GREP=grep
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544 # Check whether --with-gnu-ld was given.
5545 if test "${with_gnu_ld+set}" = set; then :
5546 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5547 else
5548 with_gnu_ld=no
5549 fi
5550
5551 ac_prog=ld
5552 if test "$GCC" = yes; then
5553 # Check if gcc -print-prog-name=ld gives a path.
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5555 $as_echo_n "checking for ld used by $CC... " >&6; }
5556 case $host in
5557 *-*-mingw*)
5558 # gcc leaves a trailing carriage return which upsets mingw
5559 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5560 *)
5561 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5562 esac
5563 case $ac_prog in
5564 # Accept absolute paths.
5565 [\\/]* | ?:[\\/]*)
5566 re_direlt='/[^/][^/]*/\.\./'
5567 # Canonicalize the pathname of ld
5568 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5569 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5570 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5571 done
5572 test -z "$LD" && LD="$ac_prog"
5573 ;;
5574 "")
5575 # If it fails, then pretend we aren't using GCC.
5576 ac_prog=ld
5577 ;;
5578 *)
5579 # If it is relative, then search for the first ld in PATH.
5580 with_gnu_ld=unknown
5581 ;;
5582 esac
5583 elif test "$with_gnu_ld" = yes; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5585 $as_echo_n "checking for GNU ld... " >&6; }
5586 else
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5588 $as_echo_n "checking for non-GNU ld... " >&6; }
5589 fi
5590 if test "${lt_cv_path_LD+set}" = set; then :
5591 $as_echo_n "(cached) " >&6
5592 else
5593 if test -z "$LD"; then
5594 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5595 for ac_dir in $PATH; do
5596 IFS="$lt_save_ifs"
5597 test -z "$ac_dir" && ac_dir=.
5598 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5599 lt_cv_path_LD="$ac_dir/$ac_prog"
5600 # Check to see if the program is GNU ld. I'd rather use --version,
5601 # but apparently some variants of GNU ld only accept -v.
5602 # Break only if it was the GNU/non-GNU ld that we prefer.
5603 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5604 *GNU* | *'with BFD'*)
5605 test "$with_gnu_ld" != no && break
5606 ;;
5607 *)
5608 test "$with_gnu_ld" != yes && break
5609 ;;
5610 esac
5611 fi
5612 done
5613 IFS="$lt_save_ifs"
5614 else
5615 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5616 fi
5617 fi
5618
5619 LD="$lt_cv_path_LD"
5620 if test -n "$LD"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5622 $as_echo "$LD" >&6; }
5623 else
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5625 $as_echo "no" >&6; }
5626 fi
5627 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5629 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5630 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5631 $as_echo_n "(cached) " >&6
5632 else
5633 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5634 case `$LD -v 2>&1 </dev/null` in
5635 *GNU* | *'with BFD'*)
5636 lt_cv_prog_gnu_ld=yes
5637 ;;
5638 *)
5639 lt_cv_prog_gnu_ld=no
5640 ;;
5641 esac
5642 fi
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5644 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5645 with_gnu_ld=$lt_cv_prog_gnu_ld
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5656 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5657 if test "${lt_cv_path_NM+set}" = set; then :
5658 $as_echo_n "(cached) " >&6
5659 else
5660 if test -n "$NM"; then
5661 # Let the user override the test.
5662 lt_cv_path_NM="$NM"
5663 else
5664 lt_nm_to_check="${ac_tool_prefix}nm"
5665 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5666 lt_nm_to_check="$lt_nm_to_check nm"
5667 fi
5668 for lt_tmp_nm in $lt_nm_to_check; do
5669 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5670 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5671 IFS="$lt_save_ifs"
5672 test -z "$ac_dir" && ac_dir=.
5673 tmp_nm="$ac_dir/$lt_tmp_nm"
5674 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5675 # Check to see if the nm accepts a BSD-compat flag.
5676 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5677 # nm: unknown option "B" ignored
5678 # Tru64's nm complains that /dev/null is an invalid object file
5679 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5680 */dev/null* | *'Invalid file or object type'*)
5681 lt_cv_path_NM="$tmp_nm -B"
5682 break
5683 ;;
5684 *)
5685 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5686 */dev/null*)
5687 lt_cv_path_NM="$tmp_nm -p"
5688 break
5689 ;;
5690 *)
5691 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5692 continue # so that we can try to find one that supports BSD flags
5693 ;;
5694 esac
5695 ;;
5696 esac
5697 fi
5698 done
5699 IFS="$lt_save_ifs"
5700 done
5701 : ${lt_cv_path_NM=no}
5702 fi
5703 fi
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5705 $as_echo "$lt_cv_path_NM" >&6; }
5706 if test "$lt_cv_path_NM" != "no"; then
5707 NM="$lt_cv_path_NM"
5708 else
5709 # Didn't find any BSD compatible name lister, look for dumpbin.
5710 if test -n "$DUMPBIN"; then :
5711 # Let the user override the test.
5712 else
5713 if test -n "$ac_tool_prefix"; then
5714 for ac_prog in dumpbin "link -dump"
5715 do
5716 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5717 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5719 $as_echo_n "checking for $ac_word... " >&6; }
5720 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5721 $as_echo_n "(cached) " >&6
5722 else
5723 if test -n "$DUMPBIN"; then
5724 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5725 else
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 for as_dir in $PATH
5728 do
5729 IFS=$as_save_IFS
5730 test -z "$as_dir" && as_dir=.
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5733 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5735 break 2
5736 fi
5737 done
5738 done
5739 IFS=$as_save_IFS
5740
5741 fi
5742 fi
5743 DUMPBIN=$ac_cv_prog_DUMPBIN
5744 if test -n "$DUMPBIN"; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5746 $as_echo "$DUMPBIN" >&6; }
5747 else
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }
5750 fi
5751
5752
5753 test -n "$DUMPBIN" && break
5754 done
5755 fi
5756 if test -z "$DUMPBIN"; then
5757 ac_ct_DUMPBIN=$DUMPBIN
5758 for ac_prog in dumpbin "link -dump"
5759 do
5760 # Extract the first word of "$ac_prog", so it can be a program name with args.
5761 set dummy $ac_prog; ac_word=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5765 $as_echo_n "(cached) " >&6
5766 else
5767 if test -n "$ac_ct_DUMPBIN"; then
5768 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5769 else
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 for as_dir in $PATH
5772 do
5773 IFS=$as_save_IFS
5774 test -z "$as_dir" && as_dir=.
5775 for ac_exec_ext in '' $ac_executable_extensions; do
5776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5777 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 break 2
5780 fi
5781 done
5782 done
5783 IFS=$as_save_IFS
5784
5785 fi
5786 fi
5787 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5788 if test -n "$ac_ct_DUMPBIN"; then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5790 $as_echo "$ac_ct_DUMPBIN" >&6; }
5791 else
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5794 fi
5795
5796
5797 test -n "$ac_ct_DUMPBIN" && break
5798 done
5799
5800 if test "x$ac_ct_DUMPBIN" = x; then
5801 DUMPBIN=":"
5802 else
5803 case $cross_compiling:$ac_tool_warned in
5804 yes:)
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5807 ac_tool_warned=yes ;;
5808 esac
5809 DUMPBIN=$ac_ct_DUMPBIN
5810 fi
5811 fi
5812
5813 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5814 *COFF*)
5815 DUMPBIN="$DUMPBIN -symbols"
5816 ;;
5817 *)
5818 DUMPBIN=:
5819 ;;
5820 esac
5821 fi
5822
5823 if test "$DUMPBIN" != ":"; then
5824 NM="$DUMPBIN"
5825 fi
5826 fi
5827 test -z "$NM" && NM=nm
5828
5829
5830
5831
5832
5833
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5835 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5836 if test "${lt_cv_nm_interface+set}" = set; then :
5837 $as_echo_n "(cached) " >&6
5838 else
5839 lt_cv_nm_interface="BSD nm"
5840 echo "int some_variable = 0;" > conftest.$ac_ext
5841 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5842 (eval "$ac_compile" 2>conftest.err)
5843 cat conftest.err >&5
5844 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5845 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5846 cat conftest.err >&5
5847 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5848 cat conftest.out >&5
5849 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5850 lt_cv_nm_interface="MS dumpbin"
5851 fi
5852 rm -f conftest*
5853 fi
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5855 $as_echo "$lt_cv_nm_interface" >&6; }
5856
5857 # find the maximum length of command line arguments
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5859 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5860 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5861 $as_echo_n "(cached) " >&6
5862 else
5863 i=0
5864 teststring="ABCD"
5865
5866 case $build_os in
5867 msdosdjgpp*)
5868 # On DJGPP, this test can blow up pretty badly due to problems in libc
5869 # (any single argument exceeding 2000 bytes causes a buffer overrun
5870 # during glob expansion). Even if it were fixed, the result of this
5871 # check would be larger than it should be.
5872 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5873 ;;
5874
5875 gnu*)
5876 # Under GNU Hurd, this test is not required because there is
5877 # no limit to the length of command line arguments.
5878 # Libtool will interpret -1 as no limit whatsoever
5879 lt_cv_sys_max_cmd_len=-1;
5880 ;;
5881
5882 cygwin* | mingw* | cegcc*)
5883 # On Win9x/ME, this test blows up -- it succeeds, but takes
5884 # about 5 minutes as the teststring grows exponentially.
5885 # Worse, since 9x/ME are not pre-emptively multitasking,
5886 # you end up with a "frozen" computer, even though with patience
5887 # the test eventually succeeds (with a max line length of 256k).
5888 # Instead, let's just punt: use the minimum linelength reported by
5889 # all of the supported platforms: 8192 (on NT/2K/XP).
5890 lt_cv_sys_max_cmd_len=8192;
5891 ;;
5892
5893 mint*)
5894 # On MiNT this can take a long time and run out of memory.
5895 lt_cv_sys_max_cmd_len=8192;
5896 ;;
5897
5898 amigaos*)
5899 # On AmigaOS with pdksh, this test takes hours, literally.
5900 # So we just punt and use a minimum line length of 8192.
5901 lt_cv_sys_max_cmd_len=8192;
5902 ;;
5903
5904 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5905 # This has been around since 386BSD, at least. Likely further.
5906 if test -x /sbin/sysctl; then
5907 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5908 elif test -x /usr/sbin/sysctl; then
5909 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5910 else
5911 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5912 fi
5913 # And add a safety zone
5914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5915 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5916 ;;
5917
5918 interix*)
5919 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5920 lt_cv_sys_max_cmd_len=196608
5921 ;;
5922
5923 osf*)
5924 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5925 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5926 # nice to cause kernel panics so lets avoid the loop below.
5927 # First set a reasonable default.
5928 lt_cv_sys_max_cmd_len=16384
5929 #
5930 if test -x /sbin/sysconfig; then
5931 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5932 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5933 esac
5934 fi
5935 ;;
5936 sco3.2v5*)
5937 lt_cv_sys_max_cmd_len=102400
5938 ;;
5939 sysv5* | sco5v6* | sysv4.2uw2*)
5940 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5941 if test -n "$kargmax"; then
5942 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5943 else
5944 lt_cv_sys_max_cmd_len=32768
5945 fi
5946 ;;
5947 *)
5948 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5949 if test -n "$lt_cv_sys_max_cmd_len"; then
5950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5951 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5952 else
5953 # Make teststring a little bigger before we do anything with it.
5954 # a 1K string should be a reasonable start.
5955 for i in 1 2 3 4 5 6 7 8 ; do
5956 teststring=$teststring$teststring
5957 done
5958 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5959 # If test is not a shell built-in, we'll probably end up computing a
5960 # maximum length that is only half of the actual maximum length, but
5961 # we can't tell.
5962 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5963 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5964 test $i != 17 # 1/2 MB should be enough
5965 do
5966 i=`expr $i + 1`
5967 teststring=$teststring$teststring
5968 done
5969 # Only check the string length outside the loop.
5970 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5971 teststring=
5972 # Add a significant safety factor because C++ compilers can tack on
5973 # massive amounts of additional arguments before passing them to the
5974 # linker. It appears as though 1/2 is a usable value.
5975 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5976 fi
5977 ;;
5978 esac
5979
5980 fi
5981
5982 if test -n $lt_cv_sys_max_cmd_len ; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5984 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5985 else
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5987 $as_echo "none" >&6; }
5988 fi
5989 max_cmd_len=$lt_cv_sys_max_cmd_len
5990
5991
5992
5993
5994
5995
5996 : ${CP="cp -f"}
5997 : ${MV="mv -f"}
5998 : ${RM="rm -f"}
5999
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6001 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6002 # Try some XSI features
6003 xsi_shell=no
6004 ( _lt_dummy="a/b/c"
6005 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6006 = c,a/b,, \
6007 && eval 'test $(( 1 + 1 )) -eq 2 \
6008 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6009 && xsi_shell=yes
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6011 $as_echo "$xsi_shell" >&6; }
6012
6013
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6015 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6016 lt_shell_append=no
6017 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6018 >/dev/null 2>&1 \
6019 && lt_shell_append=yes
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6021 $as_echo "$lt_shell_append" >&6; }
6022
6023
6024 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6025 lt_unset=unset
6026 else
6027 lt_unset=false
6028 fi
6029
6030
6031
6032
6033
6034 # test EBCDIC or ASCII
6035 case `echo X|tr X '\101'` in
6036 A) # ASCII based system
6037 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6038 lt_SP2NL='tr \040 \012'
6039 lt_NL2SP='tr \015\012 \040\040'
6040 ;;
6041 *) # EBCDIC based system
6042 lt_SP2NL='tr \100 \n'
6043 lt_NL2SP='tr \r\n \100\100'
6044 ;;
6045 esac
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6056 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6057 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6058 $as_echo_n "(cached) " >&6
6059 else
6060 lt_cv_ld_reload_flag='-r'
6061 fi
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6063 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6064 reload_flag=$lt_cv_ld_reload_flag
6065 case $reload_flag in
6066 "" | " "*) ;;
6067 *) reload_flag=" $reload_flag" ;;
6068 esac
6069 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6070 case $host_os in
6071 darwin*)
6072 if test "$GCC" = yes; then
6073 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6074 else
6075 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6076 fi
6077 ;;
6078 esac
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088 if test -n "$ac_tool_prefix"; then
6089 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6090 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6092 $as_echo_n "checking for $ac_word... " >&6; }
6093 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6094 $as_echo_n "(cached) " >&6
6095 else
6096 if test -n "$OBJDUMP"; then
6097 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6098 else
6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 for as_dir in $PATH
6101 do
6102 IFS=$as_save_IFS
6103 test -z "$as_dir" && as_dir=.
6104 for ac_exec_ext in '' $ac_executable_extensions; do
6105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6106 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6108 break 2
6109 fi
6110 done
6111 done
6112 IFS=$as_save_IFS
6113
6114 fi
6115 fi
6116 OBJDUMP=$ac_cv_prog_OBJDUMP
6117 if test -n "$OBJDUMP"; then
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6119 $as_echo "$OBJDUMP" >&6; }
6120 else
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6122 $as_echo "no" >&6; }
6123 fi
6124
6125
6126 fi
6127 if test -z "$ac_cv_prog_OBJDUMP"; then
6128 ac_ct_OBJDUMP=$OBJDUMP
6129 # Extract the first word of "objdump", so it can be a program name with args.
6130 set dummy objdump; ac_word=$2
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6132 $as_echo_n "checking for $ac_word... " >&6; }
6133 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6134 $as_echo_n "(cached) " >&6
6135 else
6136 if test -n "$ac_ct_OBJDUMP"; then
6137 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6138 else
6139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140 for as_dir in $PATH
6141 do
6142 IFS=$as_save_IFS
6143 test -z "$as_dir" && as_dir=.
6144 for ac_exec_ext in '' $ac_executable_extensions; do
6145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6146 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6148 break 2
6149 fi
6150 done
6151 done
6152 IFS=$as_save_IFS
6153
6154 fi
6155 fi
6156 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6157 if test -n "$ac_ct_OBJDUMP"; then
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6159 $as_echo "$ac_ct_OBJDUMP" >&6; }
6160 else
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6162 $as_echo "no" >&6; }
6163 fi
6164
6165 if test "x$ac_ct_OBJDUMP" = x; then
6166 OBJDUMP="false"
6167 else
6168 case $cross_compiling:$ac_tool_warned in
6169 yes:)
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6172 ac_tool_warned=yes ;;
6173 esac
6174 OBJDUMP=$ac_ct_OBJDUMP
6175 fi
6176 else
6177 OBJDUMP="$ac_cv_prog_OBJDUMP"
6178 fi
6179
6180 test -z "$OBJDUMP" && OBJDUMP=objdump
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6191 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6192 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6193 $as_echo_n "(cached) " >&6
6194 else
6195 lt_cv_file_magic_cmd='$MAGIC_CMD'
6196 lt_cv_file_magic_test_file=
6197 lt_cv_deplibs_check_method='unknown'
6198 # Need to set the preceding variable on all platforms that support
6199 # interlibrary dependencies.
6200 # 'none' -- dependencies not supported.
6201 # `unknown' -- same as none, but documents that we really don't know.
6202 # 'pass_all' -- all dependencies passed with no checks.
6203 # 'test_compile' -- check by making test program.
6204 # 'file_magic [[regex]]' -- check by looking for files in library path
6205 # which responds to the $file_magic_cmd with a given extended regex.
6206 # If you have `file' or equivalent on your system and you're not sure
6207 # whether `pass_all' will *always* work, you probably want this one.
6208
6209 case $host_os in
6210 aix[4-9]*)
6211 lt_cv_deplibs_check_method=pass_all
6212 ;;
6213
6214 beos*)
6215 lt_cv_deplibs_check_method=pass_all
6216 ;;
6217
6218 bsdi[45]*)
6219 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6220 lt_cv_file_magic_cmd='/usr/bin/file -L'
6221 lt_cv_file_magic_test_file=/shlib/libc.so
6222 ;;
6223
6224 cygwin*)
6225 # func_win32_libid is a shell function defined in ltmain.sh
6226 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6227 lt_cv_file_magic_cmd='func_win32_libid'
6228 ;;
6229
6230 mingw* | pw32*)
6231 # Base MSYS/MinGW do not provide the 'file' command needed by
6232 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6233 # unless we find 'file', for example because we are cross-compiling.
6234 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6235 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6236 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6237 lt_cv_file_magic_cmd='func_win32_libid'
6238 else
6239 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6240 lt_cv_file_magic_cmd='$OBJDUMP -f'
6241 fi
6242 ;;
6243
6244 cegcc*)
6245 # use the weaker test based on 'objdump'. See mingw*.
6246 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6247 lt_cv_file_magic_cmd='$OBJDUMP -f'
6248 ;;
6249
6250 darwin* | rhapsody*)
6251 lt_cv_deplibs_check_method=pass_all
6252 ;;
6253
6254 freebsd* | dragonfly*)
6255 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6256 case $host_cpu in
6257 i*86 )
6258 # Not sure whether the presence of OpenBSD here was a mistake.
6259 # Let's accept both of them until this is cleared up.
6260 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6261 lt_cv_file_magic_cmd=/usr/bin/file
6262 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6263 ;;
6264 esac
6265 else
6266 lt_cv_deplibs_check_method=pass_all
6267 fi
6268 ;;
6269
6270 gnu*)
6271 lt_cv_deplibs_check_method=pass_all
6272 ;;
6273
6274 haiku*)
6275 lt_cv_deplibs_check_method=pass_all
6276 ;;
6277
6278 hpux10.20* | hpux11*)
6279 lt_cv_file_magic_cmd=/usr/bin/file
6280 case $host_cpu in
6281 ia64*)
6282 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6283 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6284 ;;
6285 hppa*64*)
6286 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]'
6287 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6288 ;;
6289 *)
6290 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6291 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6292 ;;
6293 esac
6294 ;;
6295
6296 interix[3-9]*)
6297 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6298 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6299 ;;
6300
6301 irix5* | irix6* | nonstopux*)
6302 case $LD in
6303 *-32|*"-32 ") libmagic=32-bit;;
6304 *-n32|*"-n32 ") libmagic=N32;;
6305 *-64|*"-64 ") libmagic=64-bit;;
6306 *) libmagic=never-match;;
6307 esac
6308 lt_cv_deplibs_check_method=pass_all
6309 ;;
6310
6311 # This must be Linux ELF.
6312 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6313 lt_cv_deplibs_check_method=pass_all
6314 ;;
6315
6316 netbsd*)
6317 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6318 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6319 else
6320 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6321 fi
6322 ;;
6323
6324 newos6*)
6325 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6326 lt_cv_file_magic_cmd=/usr/bin/file
6327 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6328 ;;
6329
6330 *nto* | *qnx*)
6331 lt_cv_deplibs_check_method=pass_all
6332 ;;
6333
6334 openbsd*)
6335 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6337 else
6338 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6339 fi
6340 ;;
6341
6342 osf3* | osf4* | osf5*)
6343 lt_cv_deplibs_check_method=pass_all
6344 ;;
6345
6346 rdos*)
6347 lt_cv_deplibs_check_method=pass_all
6348 ;;
6349
6350 solaris*)
6351 lt_cv_deplibs_check_method=pass_all
6352 ;;
6353
6354 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6355 lt_cv_deplibs_check_method=pass_all
6356 ;;
6357
6358 sysv4 | sysv4.3*)
6359 case $host_vendor in
6360 motorola)
6361 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]'
6362 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6363 ;;
6364 ncr)
6365 lt_cv_deplibs_check_method=pass_all
6366 ;;
6367 sequent)
6368 lt_cv_file_magic_cmd='/bin/file'
6369 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6370 ;;
6371 sni)
6372 lt_cv_file_magic_cmd='/bin/file'
6373 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6374 lt_cv_file_magic_test_file=/lib/libc.so
6375 ;;
6376 siemens)
6377 lt_cv_deplibs_check_method=pass_all
6378 ;;
6379 pc)
6380 lt_cv_deplibs_check_method=pass_all
6381 ;;
6382 esac
6383 ;;
6384
6385 tpf*)
6386 lt_cv_deplibs_check_method=pass_all
6387 ;;
6388 esac
6389
6390 fi
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6392 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6393 file_magic_cmd=$lt_cv_file_magic_cmd
6394 deplibs_check_method=$lt_cv_deplibs_check_method
6395 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408 if test -n "$ac_tool_prefix"; then
6409 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6410 set dummy ${ac_tool_prefix}ar; ac_word=$2
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6412 $as_echo_n "checking for $ac_word... " >&6; }
6413 if test "${ac_cv_prog_AR+set}" = set; then :
6414 $as_echo_n "(cached) " >&6
6415 else
6416 if test -n "$AR"; then
6417 ac_cv_prog_AR="$AR" # Let the user override the test.
6418 else
6419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 for as_dir in $PATH
6421 do
6422 IFS=$as_save_IFS
6423 test -z "$as_dir" && as_dir=.
6424 for ac_exec_ext in '' $ac_executable_extensions; do
6425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6426 ac_cv_prog_AR="${ac_tool_prefix}ar"
6427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6428 break 2
6429 fi
6430 done
6431 done
6432 IFS=$as_save_IFS
6433
6434 fi
6435 fi
6436 AR=$ac_cv_prog_AR
6437 if test -n "$AR"; then
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6439 $as_echo "$AR" >&6; }
6440 else
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6442 $as_echo "no" >&6; }
6443 fi
6444
6445
6446 fi
6447 if test -z "$ac_cv_prog_AR"; then
6448 ac_ct_AR=$AR
6449 # Extract the first word of "ar", so it can be a program name with args.
6450 set dummy ar; ac_word=$2
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6452 $as_echo_n "checking for $ac_word... " >&6; }
6453 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6454 $as_echo_n "(cached) " >&6
6455 else
6456 if test -n "$ac_ct_AR"; then
6457 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6458 else
6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6460 for as_dir in $PATH
6461 do
6462 IFS=$as_save_IFS
6463 test -z "$as_dir" && as_dir=.
6464 for ac_exec_ext in '' $ac_executable_extensions; do
6465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6466 ac_cv_prog_ac_ct_AR="ar"
6467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 break 2
6469 fi
6470 done
6471 done
6472 IFS=$as_save_IFS
6473
6474 fi
6475 fi
6476 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6477 if test -n "$ac_ct_AR"; then
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6479 $as_echo "$ac_ct_AR" >&6; }
6480 else
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6482 $as_echo "no" >&6; }
6483 fi
6484
6485 if test "x$ac_ct_AR" = x; then
6486 AR="false"
6487 else
6488 case $cross_compiling:$ac_tool_warned in
6489 yes:)
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6492 ac_tool_warned=yes ;;
6493 esac
6494 AR=$ac_ct_AR
6495 fi
6496 else
6497 AR="$ac_cv_prog_AR"
6498 fi
6499
6500 test -z "$AR" && AR=ar
6501 test -z "$AR_FLAGS" && AR_FLAGS=cru
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513 if test -n "$ac_tool_prefix"; then
6514 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6515 set dummy ${ac_tool_prefix}strip; ac_word=$2
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6517 $as_echo_n "checking for $ac_word... " >&6; }
6518 if test "${ac_cv_prog_STRIP+set}" = set; then :
6519 $as_echo_n "(cached) " >&6
6520 else
6521 if test -n "$STRIP"; then
6522 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6523 else
6524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525 for as_dir in $PATH
6526 do
6527 IFS=$as_save_IFS
6528 test -z "$as_dir" && as_dir=.
6529 for ac_exec_ext in '' $ac_executable_extensions; do
6530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6531 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6533 break 2
6534 fi
6535 done
6536 done
6537 IFS=$as_save_IFS
6538
6539 fi
6540 fi
6541 STRIP=$ac_cv_prog_STRIP
6542 if test -n "$STRIP"; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6544 $as_echo "$STRIP" >&6; }
6545 else
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6547 $as_echo "no" >&6; }
6548 fi
6549
6550
6551 fi
6552 if test -z "$ac_cv_prog_STRIP"; then
6553 ac_ct_STRIP=$STRIP
6554 # Extract the first word of "strip", so it can be a program name with args.
6555 set dummy strip; ac_word=$2
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6557 $as_echo_n "checking for $ac_word... " >&6; }
6558 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6559 $as_echo_n "(cached) " >&6
6560 else
6561 if test -n "$ac_ct_STRIP"; then
6562 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6563 else
6564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 for as_dir in $PATH
6566 do
6567 IFS=$as_save_IFS
6568 test -z "$as_dir" && as_dir=.
6569 for ac_exec_ext in '' $ac_executable_extensions; do
6570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6571 ac_cv_prog_ac_ct_STRIP="strip"
6572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 break 2
6574 fi
6575 done
6576 done
6577 IFS=$as_save_IFS
6578
6579 fi
6580 fi
6581 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6582 if test -n "$ac_ct_STRIP"; then
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6584 $as_echo "$ac_ct_STRIP" >&6; }
6585 else
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6587 $as_echo "no" >&6; }
6588 fi
6589
6590 if test "x$ac_ct_STRIP" = x; then
6591 STRIP=":"
6592 else
6593 case $cross_compiling:$ac_tool_warned in
6594 yes:)
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6597 ac_tool_warned=yes ;;
6598 esac
6599 STRIP=$ac_ct_STRIP
6600 fi
6601 else
6602 STRIP="$ac_cv_prog_STRIP"
6603 fi
6604
6605 test -z "$STRIP" && STRIP=:
6606
6607
6608
6609
6610
6611
6612 if test -n "$ac_tool_prefix"; then
6613 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6614 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6616 $as_echo_n "checking for $ac_word... " >&6; }
6617 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6618 $as_echo_n "(cached) " >&6
6619 else
6620 if test -n "$RANLIB"; then
6621 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6622 else
6623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6624 for as_dir in $PATH
6625 do
6626 IFS=$as_save_IFS
6627 test -z "$as_dir" && as_dir=.
6628 for ac_exec_ext in '' $ac_executable_extensions; do
6629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6630 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6632 break 2
6633 fi
6634 done
6635 done
6636 IFS=$as_save_IFS
6637
6638 fi
6639 fi
6640 RANLIB=$ac_cv_prog_RANLIB
6641 if test -n "$RANLIB"; then
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6643 $as_echo "$RANLIB" >&6; }
6644 else
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6646 $as_echo "no" >&6; }
6647 fi
6648
6649
6650 fi
6651 if test -z "$ac_cv_prog_RANLIB"; then
6652 ac_ct_RANLIB=$RANLIB
6653 # Extract the first word of "ranlib", so it can be a program name with args.
6654 set dummy ranlib; ac_word=$2
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6656 $as_echo_n "checking for $ac_word... " >&6; }
6657 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6658 $as_echo_n "(cached) " >&6
6659 else
6660 if test -n "$ac_ct_RANLIB"; then
6661 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6662 else
6663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6664 for as_dir in $PATH
6665 do
6666 IFS=$as_save_IFS
6667 test -z "$as_dir" && as_dir=.
6668 for ac_exec_ext in '' $ac_executable_extensions; do
6669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6670 ac_cv_prog_ac_ct_RANLIB="ranlib"
6671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6672 break 2
6673 fi
6674 done
6675 done
6676 IFS=$as_save_IFS
6677
6678 fi
6679 fi
6680 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6681 if test -n "$ac_ct_RANLIB"; then
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6683 $as_echo "$ac_ct_RANLIB" >&6; }
6684 else
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686 $as_echo "no" >&6; }
6687 fi
6688
6689 if test "x$ac_ct_RANLIB" = x; then
6690 RANLIB=":"
6691 else
6692 case $cross_compiling:$ac_tool_warned in
6693 yes:)
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6696 ac_tool_warned=yes ;;
6697 esac
6698 RANLIB=$ac_ct_RANLIB
6699 fi
6700 else
6701 RANLIB="$ac_cv_prog_RANLIB"
6702 fi
6703
6704 test -z "$RANLIB" && RANLIB=:
6705
6706
6707
6708
6709
6710
6711 # Determine commands to create old-style static archives.
6712 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6713 old_postinstall_cmds='chmod 644 $oldlib'
6714 old_postuninstall_cmds=
6715
6716 if test -n "$RANLIB"; then
6717 case $host_os in
6718 openbsd*)
6719 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6720 ;;
6721 *)
6722 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6723 ;;
6724 esac
6725 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6726 fi
6727
6728 case $host_os in
6729 darwin*)
6730 lock_old_archive_extraction=yes ;;
6731 *)
6732 lock_old_archive_extraction=no ;;
6733 esac
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
6770
6771
6772
6773 # If no C compiler was specified, use CC.
6774 LTCC=${LTCC-"$CC"}
6775
6776 # If no C compiler flags were specified, use CFLAGS.
6777 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6778
6779 # Allow CC to be a program name with arguments.
6780 compiler=$CC
6781
6782
6783 # Check for command to grab the raw symbol name followed by C symbol from nm.
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6785 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6786 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6787 $as_echo_n "(cached) " >&6
6788 else
6789
6790 # These are sane defaults that work on at least a few old systems.
6791 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6792
6793 # Character class describing NM global symbol codes.
6794 symcode='[BCDEGRST]'
6795
6796 # Regexp to match symbols that can be accessed directly from C.
6797 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6798
6799 # Define system-specific variables.
6800 case $host_os in
6801 aix*)
6802 symcode='[BCDT]'
6803 ;;
6804 cygwin* | mingw* | pw32* | cegcc*)
6805 symcode='[ABCDGISTW]'
6806 ;;
6807 hpux*)
6808 if test "$host_cpu" = ia64; then
6809 symcode='[ABCDEGRST]'
6810 fi
6811 ;;
6812 irix* | nonstopux*)
6813 symcode='[BCDEGRST]'
6814 ;;
6815 osf*)
6816 symcode='[BCDEGQRST]'
6817 ;;
6818 solaris*)
6819 symcode='[BDRT]'
6820 ;;
6821 sco3.2v5*)
6822 symcode='[DT]'
6823 ;;
6824 sysv4.2uw2*)
6825 symcode='[DT]'
6826 ;;
6827 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6828 symcode='[ABDT]'
6829 ;;
6830 sysv4)
6831 symcode='[DFNSTU]'
6832 ;;
6833 esac
6834
6835 # If we're using GNU nm, then use its standard symbol codes.
6836 case `$NM -V 2>&1` in
6837 *GNU* | *'with BFD'*)
6838 symcode='[ABCDGIRSTW]' ;;
6839 esac
6840
6841 # Transform an extracted symbol line into a proper C declaration.
6842 # Some systems (esp. on ia64) link data and code symbols differently,
6843 # so use this general approach.
6844 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6845
6846 # Transform an extracted symbol line into symbol name and symbol address
6847 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6848 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'"
6849
6850 # Handle CRLF in mingw tool chain
6851 opt_cr=
6852 case $build_os in
6853 mingw*)
6854 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6855 ;;
6856 esac
6857
6858 # Try without a prefix underscore, then with it.
6859 for ac_symprfx in "" "_"; do
6860
6861 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6862 symxfrm="\\1 $ac_symprfx\\2 \\2"
6863
6864 # Write the raw and C identifiers.
6865 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6866 # Fake it for dumpbin and say T for any non-static function
6867 # and D for any global variable.
6868 # Also find C++ and __fastcall symbols from MSVC++,
6869 # which start with @ or ?.
6870 lt_cv_sys_global_symbol_pipe="$AWK '"\
6871 " {last_section=section; section=\$ 3};"\
6872 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6873 " \$ 0!~/External *\|/{next};"\
6874 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6875 " {if(hide[section]) next};"\
6876 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6877 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6878 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6879 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6880 " ' prfx=^$ac_symprfx"
6881 else
6882 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6883 fi
6884
6885 # Check to see that the pipe works correctly.
6886 pipe_works=no
6887
6888 rm -f conftest*
6889 cat > conftest.$ac_ext <<_LT_EOF
6890 #ifdef __cplusplus
6891 extern "C" {
6892 #endif
6893 char nm_test_var;
6894 void nm_test_func(void);
6895 void nm_test_func(void){}
6896 #ifdef __cplusplus
6897 }
6898 #endif
6899 int main(){nm_test_var='a';nm_test_func();return(0);}
6900 _LT_EOF
6901
6902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6903 (eval $ac_compile) 2>&5
6904 ac_status=$?
6905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6906 test $ac_status = 0; }; then
6907 # Now try to grab the symbols.
6908 nlist=conftest.nm
6909 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6910 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6911 ac_status=$?
6912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6913 test $ac_status = 0; } && test -s "$nlist"; then
6914 # Try sorting and uniquifying the output.
6915 if sort "$nlist" | uniq > "$nlist"T; then
6916 mv -f "$nlist"T "$nlist"
6917 else
6918 rm -f "$nlist"T
6919 fi
6920
6921 # Make sure that we snagged all the symbols we need.
6922 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6923 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6924 cat <<_LT_EOF > conftest.$ac_ext
6925 #ifdef __cplusplus
6926 extern "C" {
6927 #endif
6928
6929 _LT_EOF
6930 # Now generate the symbol file.
6931 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6932
6933 cat <<_LT_EOF >> conftest.$ac_ext
6934
6935 /* The mapping between symbol names and symbols. */
6936 const struct {
6937 const char *name;
6938 void *address;
6939 }
6940 lt__PROGRAM__LTX_preloaded_symbols[] =
6941 {
6942 { "@PROGRAM@", (void *) 0 },
6943 _LT_EOF
6944 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6945 cat <<\_LT_EOF >> conftest.$ac_ext
6946 {0, (void *) 0}
6947 };
6948
6949 /* This works around a problem in FreeBSD linker */
6950 #ifdef FREEBSD_WORKAROUND
6951 static const void *lt_preloaded_setup() {
6952 return lt__PROGRAM__LTX_preloaded_symbols;
6953 }
6954 #endif
6955
6956 #ifdef __cplusplus
6957 }
6958 #endif
6959 _LT_EOF
6960 # Now try linking the two files.
6961 mv conftest.$ac_objext conftstm.$ac_objext
6962 lt_save_LIBS="$LIBS"
6963 lt_save_CFLAGS="$CFLAGS"
6964 LIBS="conftstm.$ac_objext"
6965 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6967 (eval $ac_link) 2>&5
6968 ac_status=$?
6969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6970 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6971 pipe_works=yes
6972 fi
6973 LIBS="$lt_save_LIBS"
6974 CFLAGS="$lt_save_CFLAGS"
6975 else
6976 echo "cannot find nm_test_func in $nlist" >&5
6977 fi
6978 else
6979 echo "cannot find nm_test_var in $nlist" >&5
6980 fi
6981 else
6982 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6983 fi
6984 else
6985 echo "$progname: failed program was:" >&5
6986 cat conftest.$ac_ext >&5
6987 fi
6988 rm -rf conftest* conftst*
6989
6990 # Do not use the global_symbol_pipe unless it works.
6991 if test "$pipe_works" = yes; then
6992 break
6993 else
6994 lt_cv_sys_global_symbol_pipe=
6995 fi
6996 done
6997
6998 fi
6999
7000 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7001 lt_cv_sys_global_symbol_to_cdecl=
7002 fi
7003 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7005 $as_echo "failed" >&6; }
7006 else
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7008 $as_echo "ok" >&6; }
7009 fi
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032 # Check whether --enable-libtool-lock was given.
7033 if test "${enable_libtool_lock+set}" = set; then :
7034 enableval=$enable_libtool_lock;
7035 fi
7036
7037 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7038
7039 # Some flags need to be propagated to the compiler or linker for good
7040 # libtool support.
7041 case $host in
7042 ia64-*-hpux*)
7043 # Find out which ABI we are using.
7044 echo 'int i;' > conftest.$ac_ext
7045 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7046 (eval $ac_compile) 2>&5
7047 ac_status=$?
7048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7049 test $ac_status = 0; }; then
7050 case `/usr/bin/file conftest.$ac_objext` in
7051 *ELF-32*)
7052 HPUX_IA64_MODE="32"
7053 ;;
7054 *ELF-64*)
7055 HPUX_IA64_MODE="64"
7056 ;;
7057 esac
7058 fi
7059 rm -rf conftest*
7060 ;;
7061 *-*-irix6*)
7062 # Find out which ABI we are using.
7063 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7064 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7065 (eval $ac_compile) 2>&5
7066 ac_status=$?
7067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7068 test $ac_status = 0; }; then
7069 if test "$lt_cv_prog_gnu_ld" = yes; then
7070 case `/usr/bin/file conftest.$ac_objext` in
7071 *32-bit*)
7072 LD="${LD-ld} -melf32bsmip"
7073 ;;
7074 *N32*)
7075 LD="${LD-ld} -melf32bmipn32"
7076 ;;
7077 *64-bit*)
7078 LD="${LD-ld} -melf64bmip"
7079 ;;
7080 esac
7081 else
7082 case `/usr/bin/file conftest.$ac_objext` in
7083 *32-bit*)
7084 LD="${LD-ld} -32"
7085 ;;
7086 *N32*)
7087 LD="${LD-ld} -n32"
7088 ;;
7089 *64-bit*)
7090 LD="${LD-ld} -64"
7091 ;;
7092 esac
7093 fi
7094 fi
7095 rm -rf conftest*
7096 ;;
7097
7098 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7099 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7100 # Find out which ABI we are using.
7101 echo 'int i;' > conftest.$ac_ext
7102 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7103 (eval $ac_compile) 2>&5
7104 ac_status=$?
7105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7106 test $ac_status = 0; }; then
7107 case `/usr/bin/file conftest.o` in
7108 *32-bit*)
7109 case $host in
7110 x86_64-*kfreebsd*-gnu)
7111 LD="${LD-ld} -m elf_i386_fbsd"
7112 ;;
7113 x86_64-*linux*)
7114 LD="${LD-ld} -m elf_i386"
7115 ;;
7116 ppc64-*linux*|powerpc64-*linux*)
7117 LD="${LD-ld} -m elf32ppclinux"
7118 ;;
7119 s390x-*linux*)
7120 LD="${LD-ld} -m elf_s390"
7121 ;;
7122 sparc64-*linux*)
7123 LD="${LD-ld} -m elf32_sparc"
7124 ;;
7125 esac
7126 ;;
7127 *64-bit*)
7128 case $host in
7129 x86_64-*kfreebsd*-gnu)
7130 LD="${LD-ld} -m elf_x86_64_fbsd"
7131 ;;
7132 x86_64-*linux*)
7133 LD="${LD-ld} -m elf_x86_64"
7134 ;;
7135 ppc*-*linux*|powerpc*-*linux*)
7136 LD="${LD-ld} -m elf64ppc"
7137 ;;
7138 s390*-*linux*|s390*-*tpf*)
7139 LD="${LD-ld} -m elf64_s390"
7140 ;;
7141 sparc*-*linux*)
7142 LD="${LD-ld} -m elf64_sparc"
7143 ;;
7144 esac
7145 ;;
7146 esac
7147 fi
7148 rm -rf conftest*
7149 ;;
7150
7151 *-*-sco3.2v5*)
7152 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7153 SAVE_CFLAGS="$CFLAGS"
7154 CFLAGS="$CFLAGS -belf"
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7156 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7157 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7158 $as_echo_n "(cached) " >&6
7159 else
7160 ac_ext=c
7161 ac_cpp='$CPP $CPPFLAGS'
7162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7165
7166 if test x$gcc_no_link = xyes; then
7167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7168 fi
7169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7170 /* end confdefs.h. */
7171
7172 int
7173 main ()
7174 {
7175
7176 ;
7177 return 0;
7178 }
7179 _ACEOF
7180 if ac_fn_c_try_link "$LINENO"; then :
7181 lt_cv_cc_needs_belf=yes
7182 else
7183 lt_cv_cc_needs_belf=no
7184 fi
7185 rm -f core conftest.err conftest.$ac_objext \
7186 conftest$ac_exeext conftest.$ac_ext
7187 ac_ext=c
7188 ac_cpp='$CPP $CPPFLAGS'
7189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7192
7193 fi
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7195 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7196 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7197 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7198 CFLAGS="$SAVE_CFLAGS"
7199 fi
7200 ;;
7201 sparc*-*solaris*)
7202 # Find out which ABI we are using.
7203 echo 'int i;' > conftest.$ac_ext
7204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7205 (eval $ac_compile) 2>&5
7206 ac_status=$?
7207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7208 test $ac_status = 0; }; then
7209 case `/usr/bin/file conftest.o` in
7210 *64-bit*)
7211 case $lt_cv_prog_gnu_ld in
7212 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7213 *)
7214 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7215 LD="${LD-ld} -64"
7216 fi
7217 ;;
7218 esac
7219 ;;
7220 esac
7221 fi
7222 rm -rf conftest*
7223 ;;
7224 esac
7225
7226 need_locks="$enable_libtool_lock"
7227
7228
7229 case $host_os in
7230 rhapsody* | darwin*)
7231 if test -n "$ac_tool_prefix"; then
7232 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7233 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7235 $as_echo_n "checking for $ac_word... " >&6; }
7236 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7237 $as_echo_n "(cached) " >&6
7238 else
7239 if test -n "$DSYMUTIL"; then
7240 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7241 else
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 for as_dir in $PATH
7244 do
7245 IFS=$as_save_IFS
7246 test -z "$as_dir" && as_dir=.
7247 for ac_exec_ext in '' $ac_executable_extensions; do
7248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7249 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7251 break 2
7252 fi
7253 done
7254 done
7255 IFS=$as_save_IFS
7256
7257 fi
7258 fi
7259 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7260 if test -n "$DSYMUTIL"; then
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7262 $as_echo "$DSYMUTIL" >&6; }
7263 else
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7265 $as_echo "no" >&6; }
7266 fi
7267
7268
7269 fi
7270 if test -z "$ac_cv_prog_DSYMUTIL"; then
7271 ac_ct_DSYMUTIL=$DSYMUTIL
7272 # Extract the first word of "dsymutil", so it can be a program name with args.
7273 set dummy dsymutil; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 $as_echo_n "checking for $ac_word... " >&6; }
7276 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7277 $as_echo_n "(cached) " >&6
7278 else
7279 if test -n "$ac_ct_DSYMUTIL"; then
7280 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7281 else
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 for as_dir in $PATH
7284 do
7285 IFS=$as_save_IFS
7286 test -z "$as_dir" && as_dir=.
7287 for ac_exec_ext in '' $ac_executable_extensions; do
7288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7289 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291 break 2
7292 fi
7293 done
7294 done
7295 IFS=$as_save_IFS
7296
7297 fi
7298 fi
7299 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7300 if test -n "$ac_ct_DSYMUTIL"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7302 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7303 else
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7306 fi
7307
7308 if test "x$ac_ct_DSYMUTIL" = x; then
7309 DSYMUTIL=":"
7310 else
7311 case $cross_compiling:$ac_tool_warned in
7312 yes:)
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7315 ac_tool_warned=yes ;;
7316 esac
7317 DSYMUTIL=$ac_ct_DSYMUTIL
7318 fi
7319 else
7320 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7321 fi
7322
7323 if test -n "$ac_tool_prefix"; then
7324 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7325 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7327 $as_echo_n "checking for $ac_word... " >&6; }
7328 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7329 $as_echo_n "(cached) " >&6
7330 else
7331 if test -n "$NMEDIT"; then
7332 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7333 else
7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 for as_dir in $PATH
7336 do
7337 IFS=$as_save_IFS
7338 test -z "$as_dir" && as_dir=.
7339 for ac_exec_ext in '' $ac_executable_extensions; do
7340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7341 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7343 break 2
7344 fi
7345 done
7346 done
7347 IFS=$as_save_IFS
7348
7349 fi
7350 fi
7351 NMEDIT=$ac_cv_prog_NMEDIT
7352 if test -n "$NMEDIT"; then
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7354 $as_echo "$NMEDIT" >&6; }
7355 else
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7357 $as_echo "no" >&6; }
7358 fi
7359
7360
7361 fi
7362 if test -z "$ac_cv_prog_NMEDIT"; then
7363 ac_ct_NMEDIT=$NMEDIT
7364 # Extract the first word of "nmedit", so it can be a program name with args.
7365 set dummy nmedit; ac_word=$2
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 $as_echo_n "checking for $ac_word... " >&6; }
7368 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7369 $as_echo_n "(cached) " >&6
7370 else
7371 if test -n "$ac_ct_NMEDIT"; then
7372 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7373 else
7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 for as_dir in $PATH
7376 do
7377 IFS=$as_save_IFS
7378 test -z "$as_dir" && as_dir=.
7379 for ac_exec_ext in '' $ac_executable_extensions; do
7380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7381 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7383 break 2
7384 fi
7385 done
7386 done
7387 IFS=$as_save_IFS
7388
7389 fi
7390 fi
7391 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7392 if test -n "$ac_ct_NMEDIT"; then
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7394 $as_echo "$ac_ct_NMEDIT" >&6; }
7395 else
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397 $as_echo "no" >&6; }
7398 fi
7399
7400 if test "x$ac_ct_NMEDIT" = x; then
7401 NMEDIT=":"
7402 else
7403 case $cross_compiling:$ac_tool_warned in
7404 yes:)
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7407 ac_tool_warned=yes ;;
7408 esac
7409 NMEDIT=$ac_ct_NMEDIT
7410 fi
7411 else
7412 NMEDIT="$ac_cv_prog_NMEDIT"
7413 fi
7414
7415 if test -n "$ac_tool_prefix"; then
7416 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7417 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7419 $as_echo_n "checking for $ac_word... " >&6; }
7420 if test "${ac_cv_prog_LIPO+set}" = set; then :
7421 $as_echo_n "(cached) " >&6
7422 else
7423 if test -n "$LIPO"; then
7424 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7425 else
7426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 for as_dir in $PATH
7428 do
7429 IFS=$as_save_IFS
7430 test -z "$as_dir" && as_dir=.
7431 for ac_exec_ext in '' $ac_executable_extensions; do
7432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7433 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7435 break 2
7436 fi
7437 done
7438 done
7439 IFS=$as_save_IFS
7440
7441 fi
7442 fi
7443 LIPO=$ac_cv_prog_LIPO
7444 if test -n "$LIPO"; then
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7446 $as_echo "$LIPO" >&6; }
7447 else
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7449 $as_echo "no" >&6; }
7450 fi
7451
7452
7453 fi
7454 if test -z "$ac_cv_prog_LIPO"; then
7455 ac_ct_LIPO=$LIPO
7456 # Extract the first word of "lipo", so it can be a program name with args.
7457 set dummy lipo; ac_word=$2
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7459 $as_echo_n "checking for $ac_word... " >&6; }
7460 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7461 $as_echo_n "(cached) " >&6
7462 else
7463 if test -n "$ac_ct_LIPO"; then
7464 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7465 else
7466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7467 for as_dir in $PATH
7468 do
7469 IFS=$as_save_IFS
7470 test -z "$as_dir" && as_dir=.
7471 for ac_exec_ext in '' $ac_executable_extensions; do
7472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7473 ac_cv_prog_ac_ct_LIPO="lipo"
7474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7475 break 2
7476 fi
7477 done
7478 done
7479 IFS=$as_save_IFS
7480
7481 fi
7482 fi
7483 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7484 if test -n "$ac_ct_LIPO"; then
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7486 $as_echo "$ac_ct_LIPO" >&6; }
7487 else
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7489 $as_echo "no" >&6; }
7490 fi
7491
7492 if test "x$ac_ct_LIPO" = x; then
7493 LIPO=":"
7494 else
7495 case $cross_compiling:$ac_tool_warned in
7496 yes:)
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7499 ac_tool_warned=yes ;;
7500 esac
7501 LIPO=$ac_ct_LIPO
7502 fi
7503 else
7504 LIPO="$ac_cv_prog_LIPO"
7505 fi
7506
7507 if test -n "$ac_tool_prefix"; then
7508 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7509 set dummy ${ac_tool_prefix}otool; ac_word=$2
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7511 $as_echo_n "checking for $ac_word... " >&6; }
7512 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7513 $as_echo_n "(cached) " >&6
7514 else
7515 if test -n "$OTOOL"; then
7516 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7517 else
7518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 for as_dir in $PATH
7520 do
7521 IFS=$as_save_IFS
7522 test -z "$as_dir" && as_dir=.
7523 for ac_exec_ext in '' $ac_executable_extensions; do
7524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7525 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7527 break 2
7528 fi
7529 done
7530 done
7531 IFS=$as_save_IFS
7532
7533 fi
7534 fi
7535 OTOOL=$ac_cv_prog_OTOOL
7536 if test -n "$OTOOL"; then
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7538 $as_echo "$OTOOL" >&6; }
7539 else
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7541 $as_echo "no" >&6; }
7542 fi
7543
7544
7545 fi
7546 if test -z "$ac_cv_prog_OTOOL"; then
7547 ac_ct_OTOOL=$OTOOL
7548 # Extract the first word of "otool", so it can be a program name with args.
7549 set dummy otool; ac_word=$2
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7551 $as_echo_n "checking for $ac_word... " >&6; }
7552 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7553 $as_echo_n "(cached) " >&6
7554 else
7555 if test -n "$ac_ct_OTOOL"; then
7556 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7557 else
7558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 for as_dir in $PATH
7560 do
7561 IFS=$as_save_IFS
7562 test -z "$as_dir" && as_dir=.
7563 for ac_exec_ext in '' $ac_executable_extensions; do
7564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7565 ac_cv_prog_ac_ct_OTOOL="otool"
7566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7567 break 2
7568 fi
7569 done
7570 done
7571 IFS=$as_save_IFS
7572
7573 fi
7574 fi
7575 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7576 if test -n "$ac_ct_OTOOL"; then
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7578 $as_echo "$ac_ct_OTOOL" >&6; }
7579 else
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7581 $as_echo "no" >&6; }
7582 fi
7583
7584 if test "x$ac_ct_OTOOL" = x; then
7585 OTOOL=":"
7586 else
7587 case $cross_compiling:$ac_tool_warned in
7588 yes:)
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7591 ac_tool_warned=yes ;;
7592 esac
7593 OTOOL=$ac_ct_OTOOL
7594 fi
7595 else
7596 OTOOL="$ac_cv_prog_OTOOL"
7597 fi
7598
7599 if test -n "$ac_tool_prefix"; then
7600 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7601 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7603 $as_echo_n "checking for $ac_word... " >&6; }
7604 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7605 $as_echo_n "(cached) " >&6
7606 else
7607 if test -n "$OTOOL64"; then
7608 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7609 else
7610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7611 for as_dir in $PATH
7612 do
7613 IFS=$as_save_IFS
7614 test -z "$as_dir" && as_dir=.
7615 for ac_exec_ext in '' $ac_executable_extensions; do
7616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7617 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7619 break 2
7620 fi
7621 done
7622 done
7623 IFS=$as_save_IFS
7624
7625 fi
7626 fi
7627 OTOOL64=$ac_cv_prog_OTOOL64
7628 if test -n "$OTOOL64"; then
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7630 $as_echo "$OTOOL64" >&6; }
7631 else
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7633 $as_echo "no" >&6; }
7634 fi
7635
7636
7637 fi
7638 if test -z "$ac_cv_prog_OTOOL64"; then
7639 ac_ct_OTOOL64=$OTOOL64
7640 # Extract the first word of "otool64", so it can be a program name with args.
7641 set dummy otool64; ac_word=$2
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7643 $as_echo_n "checking for $ac_word... " >&6; }
7644 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7645 $as_echo_n "(cached) " >&6
7646 else
7647 if test -n "$ac_ct_OTOOL64"; then
7648 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7649 else
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 for as_dir in $PATH
7652 do
7653 IFS=$as_save_IFS
7654 test -z "$as_dir" && as_dir=.
7655 for ac_exec_ext in '' $ac_executable_extensions; do
7656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7657 ac_cv_prog_ac_ct_OTOOL64="otool64"
7658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7659 break 2
7660 fi
7661 done
7662 done
7663 IFS=$as_save_IFS
7664
7665 fi
7666 fi
7667 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7668 if test -n "$ac_ct_OTOOL64"; then
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7670 $as_echo "$ac_ct_OTOOL64" >&6; }
7671 else
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7673 $as_echo "no" >&6; }
7674 fi
7675
7676 if test "x$ac_ct_OTOOL64" = x; then
7677 OTOOL64=":"
7678 else
7679 case $cross_compiling:$ac_tool_warned in
7680 yes:)
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7683 ac_tool_warned=yes ;;
7684 esac
7685 OTOOL64=$ac_ct_OTOOL64
7686 fi
7687 else
7688 OTOOL64="$ac_cv_prog_OTOOL64"
7689 fi
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7718 $as_echo_n "checking for -single_module linker flag... " >&6; }
7719 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7720 $as_echo_n "(cached) " >&6
7721 else
7722 lt_cv_apple_cc_single_mod=no
7723 if test -z "${LT_MULTI_MODULE}"; then
7724 # By default we will add the -single_module flag. You can override
7725 # by either setting the environment variable LT_MULTI_MODULE
7726 # non-empty at configure time, or by adding -multi_module to the
7727 # link flags.
7728 rm -rf libconftest.dylib*
7729 echo "int foo(void){return 1;}" > conftest.c
7730 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7731 -dynamiclib -Wl,-single_module conftest.c" >&5
7732 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7733 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7734 _lt_result=$?
7735 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7736 lt_cv_apple_cc_single_mod=yes
7737 else
7738 cat conftest.err >&5
7739 fi
7740 rm -rf libconftest.dylib*
7741 rm -f conftest.*
7742 fi
7743 fi
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7745 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7747 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7748 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7749 $as_echo_n "(cached) " >&6
7750 else
7751 lt_cv_ld_exported_symbols_list=no
7752 save_LDFLAGS=$LDFLAGS
7753 echo "_main" > conftest.sym
7754 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7755 if test x$gcc_no_link = xyes; then
7756 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7757 fi
7758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7759 /* end confdefs.h. */
7760
7761 int
7762 main ()
7763 {
7764
7765 ;
7766 return 0;
7767 }
7768 _ACEOF
7769 if ac_fn_c_try_link "$LINENO"; then :
7770 lt_cv_ld_exported_symbols_list=yes
7771 else
7772 lt_cv_ld_exported_symbols_list=no
7773 fi
7774 rm -f core conftest.err conftest.$ac_objext \
7775 conftest$ac_exeext conftest.$ac_ext
7776 LDFLAGS="$save_LDFLAGS"
7777
7778 fi
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7780 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7782 $as_echo_n "checking for -force_load linker flag... " >&6; }
7783 if test "${lt_cv_ld_force_load+set}" = set; then :
7784 $as_echo_n "(cached) " >&6
7785 else
7786 lt_cv_ld_force_load=no
7787 cat > conftest.c << _LT_EOF
7788 int forced_loaded() { return 2;}
7789 _LT_EOF
7790 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7791 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7792 echo "$AR cru libconftest.a conftest.o" >&5
7793 $AR cru libconftest.a conftest.o 2>&5
7794 cat > conftest.c << _LT_EOF
7795 int main() { return 0;}
7796 _LT_EOF
7797 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7798 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7799 _lt_result=$?
7800 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7801 lt_cv_ld_force_load=yes
7802 else
7803 cat conftest.err >&5
7804 fi
7805 rm -f conftest.err libconftest.a conftest conftest.c
7806 rm -rf conftest.dSYM
7807
7808 fi
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7810 $as_echo "$lt_cv_ld_force_load" >&6; }
7811 case $host_os in
7812 rhapsody* | darwin1.[012])
7813 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7814 darwin1.*)
7815 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7816 darwin*) # darwin 5.x on
7817 # if running on 10.5 or later, the deployment target defaults
7818 # to the OS version, if on x86, and 10.4, the deployment
7819 # target defaults to 10.4. Don't you love it?
7820 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7821 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7822 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7823 10.[012]*)
7824 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7825 10.*)
7826 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7827 esac
7828 ;;
7829 esac
7830 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7831 _lt_dar_single_mod='$single_module'
7832 fi
7833 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7834 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7835 else
7836 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7837 fi
7838 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7839 _lt_dsymutil='~$DSYMUTIL $lib || :'
7840 else
7841 _lt_dsymutil=
7842 fi
7843 ;;
7844 esac
7845
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7847 $as_echo_n "checking for ANSI C header files... " >&6; }
7848 if test "${ac_cv_header_stdc+set}" = set; then :
7849 $as_echo_n "(cached) " >&6
7850 else
7851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h. */
7853 #include <stdlib.h>
7854 #include <stdarg.h>
7855 #include <string.h>
7856 #include <float.h>
7857
7858 int
7859 main ()
7860 {
7861
7862 ;
7863 return 0;
7864 }
7865 _ACEOF
7866 if ac_fn_c_try_compile "$LINENO"; then :
7867 ac_cv_header_stdc=yes
7868 else
7869 ac_cv_header_stdc=no
7870 fi
7871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7872
7873 if test $ac_cv_header_stdc = yes; then
7874 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h. */
7877 #include <string.h>
7878
7879 _ACEOF
7880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7881 $EGREP "memchr" >/dev/null 2>&1; then :
7882
7883 else
7884 ac_cv_header_stdc=no
7885 fi
7886 rm -f conftest*
7887
7888 fi
7889
7890 if test $ac_cv_header_stdc = yes; then
7891 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7894 #include <stdlib.h>
7895
7896 _ACEOF
7897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7898 $EGREP "free" >/dev/null 2>&1; then :
7899
7900 else
7901 ac_cv_header_stdc=no
7902 fi
7903 rm -f conftest*
7904
7905 fi
7906
7907 if test $ac_cv_header_stdc = yes; then
7908 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7909 if test "$cross_compiling" = yes; then :
7910 :
7911 else
7912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7913 /* end confdefs.h. */
7914 #include <ctype.h>
7915 #include <stdlib.h>
7916 #if ((' ' & 0x0FF) == 0x020)
7917 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7918 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7919 #else
7920 # define ISLOWER(c) \
7921 (('a' <= (c) && (c) <= 'i') \
7922 || ('j' <= (c) && (c) <= 'r') \
7923 || ('s' <= (c) && (c) <= 'z'))
7924 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7925 #endif
7926
7927 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7928 int
7929 main ()
7930 {
7931 int i;
7932 for (i = 0; i < 256; i++)
7933 if (XOR (islower (i), ISLOWER (i))
7934 || toupper (i) != TOUPPER (i))
7935 return 2;
7936 return 0;
7937 }
7938 _ACEOF
7939 if ac_fn_c_try_run "$LINENO"; then :
7940
7941 else
7942 ac_cv_header_stdc=no
7943 fi
7944 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7945 conftest.$ac_objext conftest.beam conftest.$ac_ext
7946 fi
7947
7948 fi
7949 fi
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7951 $as_echo "$ac_cv_header_stdc" >&6; }
7952 if test $ac_cv_header_stdc = yes; then
7953
7954 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7955
7956 fi
7957
7958 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7959 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7960 inttypes.h stdint.h unistd.h
7961 do :
7962 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7963 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7964 "
7965 eval as_val=\$$as_ac_Header
7966 if test "x$as_val" = x""yes; then :
7967 cat >>confdefs.h <<_ACEOF
7968 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7969 _ACEOF
7970
7971 fi
7972
7973 done
7974
7975
7976 for ac_header in dlfcn.h
7977 do :
7978 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7979 "
7980 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7981 cat >>confdefs.h <<_ACEOF
7982 #define HAVE_DLFCN_H 1
7983 _ACEOF
7984
7985 fi
7986
7987 done
7988
7989
7990
7991
7992
7993
7994 # Set options
7995
7996
7997
7998
7999 enable_win32_dll=no
8000
8001
8002 # Check whether --enable-shared was given.
8003 if test "${enable_shared+set}" = set; then :
8004 enableval=$enable_shared; p=${PACKAGE-default}
8005 case $enableval in
8006 yes) enable_shared=yes ;;
8007 no) enable_shared=no ;;
8008 *)
8009 enable_shared=no
8010 # Look at the argument we got. We use all the common list separators.
8011 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8012 for pkg in $enableval; do
8013 IFS="$lt_save_ifs"
8014 if test "X$pkg" = "X$p"; then
8015 enable_shared=yes
8016 fi
8017 done
8018 IFS="$lt_save_ifs"
8019 ;;
8020 esac
8021 else
8022 enable_shared=yes
8023 fi
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033 # Check whether --enable-static was given.
8034 if test "${enable_static+set}" = set; then :
8035 enableval=$enable_static; p=${PACKAGE-default}
8036 case $enableval in
8037 yes) enable_static=yes ;;
8038 no) enable_static=no ;;
8039 *)
8040 enable_static=no
8041 # Look at the argument we got. We use all the common list separators.
8042 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8043 for pkg in $enableval; do
8044 IFS="$lt_save_ifs"
8045 if test "X$pkg" = "X$p"; then
8046 enable_static=yes
8047 fi
8048 done
8049 IFS="$lt_save_ifs"
8050 ;;
8051 esac
8052 else
8053 enable_static=yes
8054 fi
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065 # Check whether --with-pic was given.
8066 if test "${with_pic+set}" = set; then :
8067 withval=$with_pic; pic_mode="$withval"
8068 else
8069 pic_mode=default
8070 fi
8071
8072
8073 test -z "$pic_mode" && pic_mode=default
8074
8075
8076
8077
8078
8079
8080
8081 # Check whether --enable-fast-install was given.
8082 if test "${enable_fast_install+set}" = set; then :
8083 enableval=$enable_fast_install; p=${PACKAGE-default}
8084 case $enableval in
8085 yes) enable_fast_install=yes ;;
8086 no) enable_fast_install=no ;;
8087 *)
8088 enable_fast_install=no
8089 # Look at the argument we got. We use all the common list separators.
8090 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8091 for pkg in $enableval; do
8092 IFS="$lt_save_ifs"
8093 if test "X$pkg" = "X$p"; then
8094 enable_fast_install=yes
8095 fi
8096 done
8097 IFS="$lt_save_ifs"
8098 ;;
8099 esac
8100 else
8101 enable_fast_install=yes
8102 fi
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114 # This can be used to rebuild libtool when needed
8115 LIBTOOL_DEPS="$ltmain"
8116
8117 # Always use our own libtool.
8118 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145 test -z "$LN_S" && LN_S="ln -s"
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160 if test -n "${ZSH_VERSION+set}" ; then
8161 setopt NO_GLOB_SUBST
8162 fi
8163
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8165 $as_echo_n "checking for objdir... " >&6; }
8166 if test "${lt_cv_objdir+set}" = set; then :
8167 $as_echo_n "(cached) " >&6
8168 else
8169 rm -f .libs 2>/dev/null
8170 mkdir .libs 2>/dev/null
8171 if test -d .libs; then
8172 lt_cv_objdir=.libs
8173 else
8174 # MS-DOS does not allow filenames that begin with a dot.
8175 lt_cv_objdir=_libs
8176 fi
8177 rmdir .libs 2>/dev/null
8178 fi
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8180 $as_echo "$lt_cv_objdir" >&6; }
8181 objdir=$lt_cv_objdir
8182
8183
8184
8185
8186
8187 cat >>confdefs.h <<_ACEOF
8188 #define LT_OBJDIR "$lt_cv_objdir/"
8189 _ACEOF
8190
8191
8192
8193
8194 case $host_os in
8195 aix3*)
8196 # AIX sometimes has problems with the GCC collect2 program. For some
8197 # reason, if we set the COLLECT_NAMES environment variable, the problems
8198 # vanish in a puff of smoke.
8199 if test "X${COLLECT_NAMES+set}" != Xset; then
8200 COLLECT_NAMES=
8201 export COLLECT_NAMES
8202 fi
8203 ;;
8204 esac
8205
8206 # Global variables:
8207 ofile=libtool
8208 can_build_shared=yes
8209
8210 # All known linkers require a `.a' archive for static linking (except MSVC,
8211 # which needs '.lib').
8212 libext=a
8213
8214 with_gnu_ld="$lt_cv_prog_gnu_ld"
8215
8216 old_CC="$CC"
8217 old_CFLAGS="$CFLAGS"
8218
8219 # Set sane defaults for various variables
8220 test -z "$CC" && CC=cc
8221 test -z "$LTCC" && LTCC=$CC
8222 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8223 test -z "$LD" && LD=ld
8224 test -z "$ac_objext" && ac_objext=o
8225
8226 for cc_temp in $compiler""; do
8227 case $cc_temp in
8228 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8229 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8230 \-*) ;;
8231 *) break;;
8232 esac
8233 done
8234 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8235
8236
8237 # Only perform the check for file, if the check method requires it
8238 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8239 case $deplibs_check_method in
8240 file_magic*)
8241 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8243 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8244 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8245 $as_echo_n "(cached) " >&6
8246 else
8247 case $MAGIC_CMD in
8248 [\\/*] | ?:[\\/]*)
8249 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8250 ;;
8251 *)
8252 lt_save_MAGIC_CMD="$MAGIC_CMD"
8253 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8254 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8255 for ac_dir in $ac_dummy; do
8256 IFS="$lt_save_ifs"
8257 test -z "$ac_dir" && ac_dir=.
8258 if test -f $ac_dir/${ac_tool_prefix}file; then
8259 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8260 if test -n "$file_magic_test_file"; then
8261 case $deplibs_check_method in
8262 "file_magic "*)
8263 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8264 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8265 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8266 $EGREP "$file_magic_regex" > /dev/null; then
8267 :
8268 else
8269 cat <<_LT_EOF 1>&2
8270
8271 *** Warning: the command libtool uses to detect shared libraries,
8272 *** $file_magic_cmd, produces output that libtool cannot recognize.
8273 *** The result is that libtool may fail to recognize shared libraries
8274 *** as such. This will affect the creation of libtool libraries that
8275 *** depend on shared libraries, but programs linked with such libtool
8276 *** libraries will work regardless of this problem. Nevertheless, you
8277 *** may want to report the problem to your system manager and/or to
8278 *** bug-libtool@gnu.org
8279
8280 _LT_EOF
8281 fi ;;
8282 esac
8283 fi
8284 break
8285 fi
8286 done
8287 IFS="$lt_save_ifs"
8288 MAGIC_CMD="$lt_save_MAGIC_CMD"
8289 ;;
8290 esac
8291 fi
8292
8293 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8294 if test -n "$MAGIC_CMD"; then
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8296 $as_echo "$MAGIC_CMD" >&6; }
8297 else
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8299 $as_echo "no" >&6; }
8300 fi
8301
8302
8303
8304
8305
8306 if test -z "$lt_cv_path_MAGIC_CMD"; then
8307 if test -n "$ac_tool_prefix"; then
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8309 $as_echo_n "checking for file... " >&6; }
8310 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8311 $as_echo_n "(cached) " >&6
8312 else
8313 case $MAGIC_CMD in
8314 [\\/*] | ?:[\\/]*)
8315 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8316 ;;
8317 *)
8318 lt_save_MAGIC_CMD="$MAGIC_CMD"
8319 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8320 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8321 for ac_dir in $ac_dummy; do
8322 IFS="$lt_save_ifs"
8323 test -z "$ac_dir" && ac_dir=.
8324 if test -f $ac_dir/file; then
8325 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8326 if test -n "$file_magic_test_file"; then
8327 case $deplibs_check_method in
8328 "file_magic "*)
8329 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8330 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8331 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8332 $EGREP "$file_magic_regex" > /dev/null; then
8333 :
8334 else
8335 cat <<_LT_EOF 1>&2
8336
8337 *** Warning: the command libtool uses to detect shared libraries,
8338 *** $file_magic_cmd, produces output that libtool cannot recognize.
8339 *** The result is that libtool may fail to recognize shared libraries
8340 *** as such. This will affect the creation of libtool libraries that
8341 *** depend on shared libraries, but programs linked with such libtool
8342 *** libraries will work regardless of this problem. Nevertheless, you
8343 *** may want to report the problem to your system manager and/or to
8344 *** bug-libtool@gnu.org
8345
8346 _LT_EOF
8347 fi ;;
8348 esac
8349 fi
8350 break
8351 fi
8352 done
8353 IFS="$lt_save_ifs"
8354 MAGIC_CMD="$lt_save_MAGIC_CMD"
8355 ;;
8356 esac
8357 fi
8358
8359 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8360 if test -n "$MAGIC_CMD"; then
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8362 $as_echo "$MAGIC_CMD" >&6; }
8363 else
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8365 $as_echo "no" >&6; }
8366 fi
8367
8368
8369 else
8370 MAGIC_CMD=:
8371 fi
8372 fi
8373
8374 fi
8375 ;;
8376 esac
8377
8378 # Use C for the default configuration in the libtool script
8379
8380 lt_save_CC="$CC"
8381 ac_ext=c
8382 ac_cpp='$CPP $CPPFLAGS'
8383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8386
8387
8388 # Source file extension for C test sources.
8389 ac_ext=c
8390
8391 # Object file extension for compiled C test sources.
8392 objext=o
8393 objext=$objext
8394
8395 # Code to be used in simple compile tests
8396 lt_simple_compile_test_code="int some_variable = 0;"
8397
8398 # Code to be used in simple link tests
8399 lt_simple_link_test_code='int main(){return(0);}'
8400
8401
8402
8403
8404
8405
8406
8407 # If no C compiler was specified, use CC.
8408 LTCC=${LTCC-"$CC"}
8409
8410 # If no C compiler flags were specified, use CFLAGS.
8411 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8412
8413 # Allow CC to be a program name with arguments.
8414 compiler=$CC
8415
8416 # Save the default compiler, since it gets overwritten when the other
8417 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8418 compiler_DEFAULT=$CC
8419
8420 # save warnings/boilerplate of simple test code
8421 ac_outfile=conftest.$ac_objext
8422 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8423 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8424 _lt_compiler_boilerplate=`cat conftest.err`
8425 $RM conftest*
8426
8427 ac_outfile=conftest.$ac_objext
8428 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8429 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8430 _lt_linker_boilerplate=`cat conftest.err`
8431 $RM -r conftest*
8432
8433
8434 ## CAVEAT EMPTOR:
8435 ## There is no encapsulation within the following macros, do not change
8436 ## the running order or otherwise move them around unless you know exactly
8437 ## what you are doing...
8438 if test -n "$compiler"; then
8439
8440 lt_prog_compiler_no_builtin_flag=
8441
8442 if test "$GCC" = yes; then
8443 case $cc_basename in
8444 nvcc*)
8445 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8446 *)
8447 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8448 esac
8449
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8451 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8452 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8453 $as_echo_n "(cached) " >&6
8454 else
8455 lt_cv_prog_compiler_rtti_exceptions=no
8456 ac_outfile=conftest.$ac_objext
8457 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8458 lt_compiler_flag="-fno-rtti -fno-exceptions"
8459 # Insert the option either (1) after the last *FLAGS variable, or
8460 # (2) before a word containing "conftest.", or (3) at the end.
8461 # Note that $ac_compile itself does not contain backslashes and begins
8462 # with a dollar sign (not a hyphen), so the echo should work correctly.
8463 # The option is referenced via a variable to avoid confusing sed.
8464 lt_compile=`echo "$ac_compile" | $SED \
8465 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8466 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8467 -e 's:$: $lt_compiler_flag:'`
8468 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8469 (eval "$lt_compile" 2>conftest.err)
8470 ac_status=$?
8471 cat conftest.err >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 if (exit $ac_status) && test -s "$ac_outfile"; then
8474 # The compiler can only warn and ignore the option if not recognized
8475 # So say no if there are warnings other than the usual output.
8476 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8477 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8478 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8479 lt_cv_prog_compiler_rtti_exceptions=yes
8480 fi
8481 fi
8482 $RM conftest*
8483
8484 fi
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8486 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8487
8488 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8489 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8490 else
8491 :
8492 fi
8493
8494 fi
8495
8496
8497
8498
8499
8500
8501 lt_prog_compiler_wl=
8502 lt_prog_compiler_pic=
8503 lt_prog_compiler_static=
8504
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8506 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8507
8508 if test "$GCC" = yes; then
8509 lt_prog_compiler_wl='-Wl,'
8510 lt_prog_compiler_static='-static'
8511
8512 case $host_os in
8513 aix*)
8514 # All AIX code is PIC.
8515 if test "$host_cpu" = ia64; then
8516 # AIX 5 now supports IA64 processor
8517 lt_prog_compiler_static='-Bstatic'
8518 fi
8519 ;;
8520
8521 amigaos*)
8522 case $host_cpu in
8523 powerpc)
8524 # see comment about AmigaOS4 .so support
8525 lt_prog_compiler_pic='-fPIC'
8526 ;;
8527 m68k)
8528 # FIXME: we need at least 68020 code to build shared libraries, but
8529 # adding the `-m68020' flag to GCC prevents building anything better,
8530 # like `-m68040'.
8531 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8532 ;;
8533 esac
8534 ;;
8535
8536 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8537 # PIC is the default for these OSes.
8538 ;;
8539
8540 mingw* | cygwin* | pw32* | os2* | cegcc*)
8541 # This hack is so that the source file can tell whether it is being
8542 # built for inclusion in a dll (and should export symbols for example).
8543 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8544 # (--disable-auto-import) libraries
8545 lt_prog_compiler_pic='-DDLL_EXPORT'
8546 ;;
8547
8548 darwin* | rhapsody*)
8549 # PIC is the default on this platform
8550 # Common symbols not allowed in MH_DYLIB files
8551 lt_prog_compiler_pic='-fno-common'
8552 ;;
8553
8554 haiku*)
8555 # PIC is the default for Haiku.
8556 # The "-static" flag exists, but is broken.
8557 lt_prog_compiler_static=
8558 ;;
8559
8560 hpux*)
8561 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8562 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8563 # sets the default TLS model and affects inlining.
8564 case $host_cpu in
8565 hppa*64*)
8566 # +Z the default
8567 ;;
8568 *)
8569 lt_prog_compiler_pic='-fPIC'
8570 ;;
8571 esac
8572 ;;
8573
8574 interix[3-9]*)
8575 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8576 # Instead, we relocate shared libraries at runtime.
8577 ;;
8578
8579 msdosdjgpp*)
8580 # Just because we use GCC doesn't mean we suddenly get shared libraries
8581 # on systems that don't support them.
8582 lt_prog_compiler_can_build_shared=no
8583 enable_shared=no
8584 ;;
8585
8586 *nto* | *qnx*)
8587 # QNX uses GNU C++, but need to define -shared option too, otherwise
8588 # it will coredump.
8589 lt_prog_compiler_pic='-fPIC -shared'
8590 ;;
8591
8592 sysv4*MP*)
8593 if test -d /usr/nec; then
8594 lt_prog_compiler_pic=-Kconform_pic
8595 fi
8596 ;;
8597
8598 *)
8599 lt_prog_compiler_pic='-fPIC'
8600 ;;
8601 esac
8602
8603 case $cc_basename in
8604 nvcc*) # Cuda Compiler Driver 2.2
8605 lt_prog_compiler_wl='-Xlinker '
8606 lt_prog_compiler_pic='-Xcompiler -fPIC'
8607 ;;
8608 esac
8609 else
8610 # PORTME Check for flag to pass linker flags through the system compiler.
8611 case $host_os in
8612 aix*)
8613 lt_prog_compiler_wl='-Wl,'
8614 if test "$host_cpu" = ia64; then
8615 # AIX 5 now supports IA64 processor
8616 lt_prog_compiler_static='-Bstatic'
8617 else
8618 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8619 fi
8620 ;;
8621
8622 mingw* | cygwin* | pw32* | os2* | cegcc*)
8623 # This hack is so that the source file can tell whether it is being
8624 # built for inclusion in a dll (and should export symbols for example).
8625 lt_prog_compiler_pic='-DDLL_EXPORT'
8626 ;;
8627
8628 hpux9* | hpux10* | hpux11*)
8629 lt_prog_compiler_wl='-Wl,'
8630 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8631 # not for PA HP-UX.
8632 case $host_cpu in
8633 hppa*64*|ia64*)
8634 # +Z the default
8635 ;;
8636 *)
8637 lt_prog_compiler_pic='+Z'
8638 ;;
8639 esac
8640 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8641 lt_prog_compiler_static='${wl}-a ${wl}archive'
8642 ;;
8643
8644 irix5* | irix6* | nonstopux*)
8645 lt_prog_compiler_wl='-Wl,'
8646 # PIC (with -KPIC) is the default.
8647 lt_prog_compiler_static='-non_shared'
8648 ;;
8649
8650 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8651 case $cc_basename in
8652 # old Intel for x86_64 which still supported -KPIC.
8653 ecc*)
8654 lt_prog_compiler_wl='-Wl,'
8655 lt_prog_compiler_pic='-KPIC'
8656 lt_prog_compiler_static='-static'
8657 ;;
8658 # icc used to be incompatible with GCC.
8659 # ICC 10 doesn't accept -KPIC any more.
8660 icc* | ifort*)
8661 lt_prog_compiler_wl='-Wl,'
8662 lt_prog_compiler_pic='-fPIC'
8663 lt_prog_compiler_static='-static'
8664 ;;
8665 # Lahey Fortran 8.1.
8666 lf95*)
8667 lt_prog_compiler_wl='-Wl,'
8668 lt_prog_compiler_pic='--shared'
8669 lt_prog_compiler_static='--static'
8670 ;;
8671 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8672 # Portland Group compilers (*not* the Pentium gcc compiler,
8673 # which looks to be a dead project)
8674 lt_prog_compiler_wl='-Wl,'
8675 lt_prog_compiler_pic='-fpic'
8676 lt_prog_compiler_static='-Bstatic'
8677 ;;
8678 ccc*)
8679 lt_prog_compiler_wl='-Wl,'
8680 # All Alpha code is PIC.
8681 lt_prog_compiler_static='-non_shared'
8682 ;;
8683 xl* | bgxl* | bgf* | mpixl*)
8684 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='-qpic'
8687 lt_prog_compiler_static='-qstaticlink'
8688 ;;
8689 *)
8690 case `$CC -V 2>&1 | sed 5q` in
8691 *Sun\ F* | *Sun*Fortran*)
8692 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8693 lt_prog_compiler_pic='-KPIC'
8694 lt_prog_compiler_static='-Bstatic'
8695 lt_prog_compiler_wl=''
8696 ;;
8697 *Sun\ C*)
8698 # Sun C 5.9
8699 lt_prog_compiler_pic='-KPIC'
8700 lt_prog_compiler_static='-Bstatic'
8701 lt_prog_compiler_wl='-Wl,'
8702 ;;
8703 esac
8704 ;;
8705 esac
8706 ;;
8707
8708 newsos6)
8709 lt_prog_compiler_pic='-KPIC'
8710 lt_prog_compiler_static='-Bstatic'
8711 ;;
8712
8713 *nto* | *qnx*)
8714 # QNX uses GNU C++, but need to define -shared option too, otherwise
8715 # it will coredump.
8716 lt_prog_compiler_pic='-fPIC -shared'
8717 ;;
8718
8719 osf3* | osf4* | osf5*)
8720 lt_prog_compiler_wl='-Wl,'
8721 # All OSF/1 code is PIC.
8722 lt_prog_compiler_static='-non_shared'
8723 ;;
8724
8725 rdos*)
8726 lt_prog_compiler_static='-non_shared'
8727 ;;
8728
8729 solaris*)
8730 lt_prog_compiler_pic='-KPIC'
8731 lt_prog_compiler_static='-Bstatic'
8732 case $cc_basename in
8733 f77* | f90* | f95*)
8734 lt_prog_compiler_wl='-Qoption ld ';;
8735 *)
8736 lt_prog_compiler_wl='-Wl,';;
8737 esac
8738 ;;
8739
8740 sunos4*)
8741 lt_prog_compiler_wl='-Qoption ld '
8742 lt_prog_compiler_pic='-PIC'
8743 lt_prog_compiler_static='-Bstatic'
8744 ;;
8745
8746 sysv4 | sysv4.2uw2* | sysv4.3*)
8747 lt_prog_compiler_wl='-Wl,'
8748 lt_prog_compiler_pic='-KPIC'
8749 lt_prog_compiler_static='-Bstatic'
8750 ;;
8751
8752 sysv4*MP*)
8753 if test -d /usr/nec ;then
8754 lt_prog_compiler_pic='-Kconform_pic'
8755 lt_prog_compiler_static='-Bstatic'
8756 fi
8757 ;;
8758
8759 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8760 lt_prog_compiler_wl='-Wl,'
8761 lt_prog_compiler_pic='-KPIC'
8762 lt_prog_compiler_static='-Bstatic'
8763 ;;
8764
8765 unicos*)
8766 lt_prog_compiler_wl='-Wl,'
8767 lt_prog_compiler_can_build_shared=no
8768 ;;
8769
8770 uts4*)
8771 lt_prog_compiler_pic='-pic'
8772 lt_prog_compiler_static='-Bstatic'
8773 ;;
8774
8775 *)
8776 lt_prog_compiler_can_build_shared=no
8777 ;;
8778 esac
8779 fi
8780
8781 case $host_os in
8782 # For platforms which do not support PIC, -DPIC is meaningless:
8783 *djgpp*)
8784 lt_prog_compiler_pic=
8785 ;;
8786 *)
8787 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8788 ;;
8789 esac
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8791 $as_echo "$lt_prog_compiler_pic" >&6; }
8792
8793
8794
8795
8796
8797
8798 #
8799 # Check to make sure the PIC flag actually works.
8800 #
8801 if test -n "$lt_prog_compiler_pic"; then
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8803 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8804 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8805 $as_echo_n "(cached) " >&6
8806 else
8807 lt_cv_prog_compiler_pic_works=no
8808 ac_outfile=conftest.$ac_objext
8809 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8810 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8811 # Insert the option either (1) after the last *FLAGS variable, or
8812 # (2) before a word containing "conftest.", or (3) at the end.
8813 # Note that $ac_compile itself does not contain backslashes and begins
8814 # with a dollar sign (not a hyphen), so the echo should work correctly.
8815 # The option is referenced via a variable to avoid confusing sed.
8816 lt_compile=`echo "$ac_compile" | $SED \
8817 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8818 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8819 -e 's:$: $lt_compiler_flag:'`
8820 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8821 (eval "$lt_compile" 2>conftest.err)
8822 ac_status=$?
8823 cat conftest.err >&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 if (exit $ac_status) && test -s "$ac_outfile"; then
8826 # The compiler can only warn and ignore the option if not recognized
8827 # So say no if there are warnings other than the usual output.
8828 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8829 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8830 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8831 lt_cv_prog_compiler_pic_works=yes
8832 fi
8833 fi
8834 $RM conftest*
8835
8836 fi
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8838 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8839
8840 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8841 case $lt_prog_compiler_pic in
8842 "" | " "*) ;;
8843 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8844 esac
8845 else
8846 lt_prog_compiler_pic=
8847 lt_prog_compiler_can_build_shared=no
8848 fi
8849
8850 fi
8851
8852
8853
8854
8855
8856
8857 #
8858 # Check to make sure the static flag actually works.
8859 #
8860 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8862 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8863 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8864 $as_echo_n "(cached) " >&6
8865 else
8866 lt_cv_prog_compiler_static_works=no
8867 save_LDFLAGS="$LDFLAGS"
8868 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8869 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8870 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8871 # The linker can only warn and ignore the option if not recognized
8872 # So say no if there are warnings
8873 if test -s conftest.err; then
8874 # Append any errors to the config.log.
8875 cat conftest.err 1>&5
8876 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8877 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8878 if diff conftest.exp conftest.er2 >/dev/null; then
8879 lt_cv_prog_compiler_static_works=yes
8880 fi
8881 else
8882 lt_cv_prog_compiler_static_works=yes
8883 fi
8884 fi
8885 $RM -r conftest*
8886 LDFLAGS="$save_LDFLAGS"
8887
8888 fi
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8890 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8891
8892 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8893 :
8894 else
8895 lt_prog_compiler_static=
8896 fi
8897
8898
8899
8900
8901
8902
8903
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8905 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8906 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8907 $as_echo_n "(cached) " >&6
8908 else
8909 lt_cv_prog_compiler_c_o=no
8910 $RM -r conftest 2>/dev/null
8911 mkdir conftest
8912 cd conftest
8913 mkdir out
8914 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915
8916 lt_compiler_flag="-o out/conftest2.$ac_objext"
8917 # Insert the option either (1) after the last *FLAGS variable, or
8918 # (2) before a word containing "conftest.", or (3) at the end.
8919 # Note that $ac_compile itself does not contain backslashes and begins
8920 # with a dollar sign (not a hyphen), so the echo should work correctly.
8921 lt_compile=`echo "$ac_compile" | $SED \
8922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924 -e 's:$: $lt_compiler_flag:'`
8925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926 (eval "$lt_compile" 2>out/conftest.err)
8927 ac_status=$?
8928 cat out/conftest.err >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8931 then
8932 # The compiler can only warn and ignore the option if not recognized
8933 # So say no if there are warnings
8934 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8935 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8936 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8937 lt_cv_prog_compiler_c_o=yes
8938 fi
8939 fi
8940 chmod u+w . 2>&5
8941 $RM conftest*
8942 # SGI C++ compiler will create directory out/ii_files/ for
8943 # template instantiation
8944 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8945 $RM out/* && rmdir out
8946 cd ..
8947 $RM -r conftest
8948 $RM conftest*
8949
8950 fi
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8952 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8953
8954
8955
8956
8957
8958
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8960 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8961 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8962 $as_echo_n "(cached) " >&6
8963 else
8964 lt_cv_prog_compiler_c_o=no
8965 $RM -r conftest 2>/dev/null
8966 mkdir conftest
8967 cd conftest
8968 mkdir out
8969 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8970
8971 lt_compiler_flag="-o out/conftest2.$ac_objext"
8972 # Insert the option either (1) after the last *FLAGS variable, or
8973 # (2) before a word containing "conftest.", or (3) at the end.
8974 # Note that $ac_compile itself does not contain backslashes and begins
8975 # with a dollar sign (not a hyphen), so the echo should work correctly.
8976 lt_compile=`echo "$ac_compile" | $SED \
8977 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8978 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8979 -e 's:$: $lt_compiler_flag:'`
8980 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8981 (eval "$lt_compile" 2>out/conftest.err)
8982 ac_status=$?
8983 cat out/conftest.err >&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8986 then
8987 # The compiler can only warn and ignore the option if not recognized
8988 # So say no if there are warnings
8989 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8990 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8991 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8992 lt_cv_prog_compiler_c_o=yes
8993 fi
8994 fi
8995 chmod u+w . 2>&5
8996 $RM conftest*
8997 # SGI C++ compiler will create directory out/ii_files/ for
8998 # template instantiation
8999 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9000 $RM out/* && rmdir out
9001 cd ..
9002 $RM -r conftest
9003 $RM conftest*
9004
9005 fi
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9007 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9008
9009
9010
9011
9012 hard_links="nottested"
9013 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9014 # do not overwrite the value of need_locks provided by the user
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9016 $as_echo_n "checking if we can lock with hard links... " >&6; }
9017 hard_links=yes
9018 $RM conftest*
9019 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9020 touch conftest.a
9021 ln conftest.a conftest.b 2>&5 || hard_links=no
9022 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9024 $as_echo "$hard_links" >&6; }
9025 if test "$hard_links" = no; then
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9027 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9028 need_locks=warn
9029 fi
9030 else
9031 need_locks=no
9032 fi
9033
9034
9035
9036
9037
9038
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9040 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9041
9042 runpath_var=
9043 allow_undefined_flag=
9044 always_export_symbols=no
9045 archive_cmds=
9046 archive_expsym_cmds=
9047 compiler_needs_object=no
9048 enable_shared_with_static_runtimes=no
9049 export_dynamic_flag_spec=
9050 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9051 hardcode_automatic=no
9052 hardcode_direct=no
9053 hardcode_direct_absolute=no
9054 hardcode_libdir_flag_spec=
9055 hardcode_libdir_flag_spec_ld=
9056 hardcode_libdir_separator=
9057 hardcode_minus_L=no
9058 hardcode_shlibpath_var=unsupported
9059 inherit_rpath=no
9060 link_all_deplibs=unknown
9061 module_cmds=
9062 module_expsym_cmds=
9063 old_archive_from_new_cmds=
9064 old_archive_from_expsyms_cmds=
9065 thread_safe_flag_spec=
9066 whole_archive_flag_spec=
9067 # include_expsyms should be a list of space-separated symbols to be *always*
9068 # included in the symbol list
9069 include_expsyms=
9070 # exclude_expsyms can be an extended regexp of symbols to exclude
9071 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9072 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9073 # as well as any symbol that contains `d'.
9074 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9075 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9076 # platforms (ab)use it in PIC code, but their linkers get confused if
9077 # the symbol is explicitly referenced. Since portable code cannot
9078 # rely on this symbol name, it's probably fine to never include it in
9079 # preloaded symbol tables.
9080 # Exclude shared library initialization/finalization symbols.
9081 extract_expsyms_cmds=
9082
9083 case $host_os in
9084 cygwin* | mingw* | pw32* | cegcc*)
9085 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9086 # When not using gcc, we currently assume that we are using
9087 # Microsoft Visual C++.
9088 if test "$GCC" != yes; then
9089 with_gnu_ld=no
9090 fi
9091 ;;
9092 interix*)
9093 # we just hope/assume this is gcc and not c89 (= MSVC++)
9094 with_gnu_ld=yes
9095 ;;
9096 openbsd*)
9097 with_gnu_ld=no
9098 ;;
9099 esac
9100
9101 ld_shlibs=yes
9102
9103 # On some targets, GNU ld is compatible enough with the native linker
9104 # that we're better off using the native interface for both.
9105 lt_use_gnu_ld_interface=no
9106 if test "$with_gnu_ld" = yes; then
9107 case $host_os in
9108 aix*)
9109 # The AIX port of GNU ld has always aspired to compatibility
9110 # with the native linker. However, as the warning in the GNU ld
9111 # block says, versions before 2.19.5* couldn't really create working
9112 # shared libraries, regardless of the interface used.
9113 case `$LD -v 2>&1` in
9114 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9115 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9116 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9117 *)
9118 lt_use_gnu_ld_interface=yes
9119 ;;
9120 esac
9121 ;;
9122 *)
9123 lt_use_gnu_ld_interface=yes
9124 ;;
9125 esac
9126 fi
9127
9128 if test "$lt_use_gnu_ld_interface" = yes; then
9129 # If archive_cmds runs LD, not CC, wlarc should be empty
9130 wlarc='${wl}'
9131
9132 # Set some defaults for GNU ld with shared library support. These
9133 # are reset later if shared libraries are not supported. Putting them
9134 # here allows them to be overridden if necessary.
9135 runpath_var=LD_RUN_PATH
9136 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9137 export_dynamic_flag_spec='${wl}--export-dynamic'
9138 # ancient GNU ld didn't support --whole-archive et. al.
9139 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9140 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9141 else
9142 whole_archive_flag_spec=
9143 fi
9144 supports_anon_versioning=no
9145 case `$LD -v 2>&1` in
9146 *GNU\ gold*) supports_anon_versioning=yes ;;
9147 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9148 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9149 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9150 *\ 2.11.*) ;; # other 2.11 versions
9151 *) supports_anon_versioning=yes ;;
9152 esac
9153
9154 # See if GNU ld supports shared libraries.
9155 case $host_os in
9156 aix[3-9]*)
9157 # On AIX/PPC, the GNU linker is very broken
9158 if test "$host_cpu" != ia64; then
9159 ld_shlibs=no
9160 cat <<_LT_EOF 1>&2
9161
9162 *** Warning: the GNU linker, at least up to release 2.19, is reported
9163 *** to be unable to reliably create shared libraries on AIX.
9164 *** Therefore, libtool is disabling shared libraries support. If you
9165 *** really care for shared libraries, you may want to install binutils
9166 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9167 *** You will then need to restart the configuration process.
9168
9169 _LT_EOF
9170 fi
9171 ;;
9172
9173 amigaos*)
9174 case $host_cpu in
9175 powerpc)
9176 # see comment about AmigaOS4 .so support
9177 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9178 archive_expsym_cmds=''
9179 ;;
9180 m68k)
9181 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)'
9182 hardcode_libdir_flag_spec='-L$libdir'
9183 hardcode_minus_L=yes
9184 ;;
9185 esac
9186 ;;
9187
9188 beos*)
9189 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9190 allow_undefined_flag=unsupported
9191 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9192 # support --undefined. This deserves some investigation. FIXME
9193 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9194 else
9195 ld_shlibs=no
9196 fi
9197 ;;
9198
9199 cygwin* | mingw* | pw32* | cegcc*)
9200 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9201 # as there is no search path for DLLs.
9202 hardcode_libdir_flag_spec='-L$libdir'
9203 export_dynamic_flag_spec='${wl}--export-all-symbols'
9204 allow_undefined_flag=unsupported
9205 always_export_symbols=no
9206 enable_shared_with_static_runtimes=yes
9207 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9208
9209 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9210 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9211 # If the export-symbols file already is a .def file (1st line
9212 # is EXPORTS), use it as is; otherwise, prepend...
9213 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9214 cp $export_symbols $output_objdir/$soname.def;
9215 else
9216 echo EXPORTS > $output_objdir/$soname.def;
9217 cat $export_symbols >> $output_objdir/$soname.def;
9218 fi~
9219 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9220 else
9221 ld_shlibs=no
9222 fi
9223 ;;
9224
9225 haiku*)
9226 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9227 link_all_deplibs=yes
9228 ;;
9229
9230 interix[3-9]*)
9231 hardcode_direct=no
9232 hardcode_shlibpath_var=no
9233 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9234 export_dynamic_flag_spec='${wl}-E'
9235 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9236 # Instead, shared libraries are loaded at an image base (0x10000000 by
9237 # default) and relocated if they conflict, which is a slow very memory
9238 # consuming and fragmenting process. To avoid this, we pick a random,
9239 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9240 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9241 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9242 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'
9243 ;;
9244
9245 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9246 tmp_diet=no
9247 if test "$host_os" = linux-dietlibc; then
9248 case $cc_basename in
9249 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9250 esac
9251 fi
9252 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9253 && test "$tmp_diet" = no
9254 then
9255 tmp_addflag=
9256 tmp_sharedflag='-shared'
9257 case $cc_basename,$host_cpu in
9258 pgcc*) # Portland Group C compiler
9259 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'
9260 tmp_addflag=' $pic_flag'
9261 ;;
9262 pgf77* | pgf90* | pgf95* | pgfortran*)
9263 # Portland Group f77 and f90 compilers
9264 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'
9265 tmp_addflag=' $pic_flag -Mnomain' ;;
9266 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9267 tmp_addflag=' -i_dynamic' ;;
9268 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9269 tmp_addflag=' -i_dynamic -nofor_main' ;;
9270 ifc* | ifort*) # Intel Fortran compiler
9271 tmp_addflag=' -nofor_main' ;;
9272 lf95*) # Lahey Fortran 8.1
9273 whole_archive_flag_spec=
9274 tmp_sharedflag='--shared' ;;
9275 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9276 tmp_sharedflag='-qmkshrobj'
9277 tmp_addflag= ;;
9278 nvcc*) # Cuda Compiler Driver 2.2
9279 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'
9280 compiler_needs_object=yes
9281 ;;
9282 esac
9283 case `$CC -V 2>&1 | sed 5q` in
9284 *Sun\ C*) # Sun C 5.9
9285 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'
9286 compiler_needs_object=yes
9287 tmp_sharedflag='-G' ;;
9288 *Sun\ F*) # Sun Fortran 8.3
9289 tmp_sharedflag='-G' ;;
9290 esac
9291 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9292
9293 if test "x$supports_anon_versioning" = xyes; then
9294 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9295 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9296 echo "local: *; };" >> $output_objdir/$libname.ver~
9297 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9298 fi
9299
9300 case $cc_basename in
9301 xlf* | bgf* | bgxlf* | mpixlf*)
9302 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9303 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9304 hardcode_libdir_flag_spec=
9305 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9306 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9307 if test "x$supports_anon_versioning" = xyes; then
9308 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9309 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9310 echo "local: *; };" >> $output_objdir/$libname.ver~
9311 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9312 fi
9313 ;;
9314 esac
9315 else
9316 ld_shlibs=no
9317 fi
9318 ;;
9319
9320 netbsd*)
9321 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9322 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9323 wlarc=
9324 else
9325 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9326 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9327 fi
9328 ;;
9329
9330 solaris*)
9331 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9332 ld_shlibs=no
9333 cat <<_LT_EOF 1>&2
9334
9335 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9336 *** create shared libraries on Solaris systems. Therefore, libtool
9337 *** is disabling shared libraries support. We urge you to upgrade GNU
9338 *** binutils to release 2.9.1 or newer. Another option is to modify
9339 *** your PATH or compiler configuration so that the native linker is
9340 *** used, and then restart.
9341
9342 _LT_EOF
9343 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9344 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9345 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9346 else
9347 ld_shlibs=no
9348 fi
9349 ;;
9350
9351 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9352 case `$LD -v 2>&1` in
9353 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9354 ld_shlibs=no
9355 cat <<_LT_EOF 1>&2
9356
9357 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9358 *** reliably create shared libraries on SCO systems. Therefore, libtool
9359 *** is disabling shared libraries support. We urge you to upgrade GNU
9360 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9361 *** your PATH or compiler configuration so that the native linker is
9362 *** used, and then restart.
9363
9364 _LT_EOF
9365 ;;
9366 *)
9367 # For security reasons, it is highly recommended that you always
9368 # use absolute paths for naming shared libraries, and exclude the
9369 # DT_RUNPATH tag from executables and libraries. But doing so
9370 # requires that you compile everything twice, which is a pain.
9371 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9372 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9373 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9374 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9375 else
9376 ld_shlibs=no
9377 fi
9378 ;;
9379 esac
9380 ;;
9381
9382 sunos4*)
9383 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9384 wlarc=
9385 hardcode_direct=yes
9386 hardcode_shlibpath_var=no
9387 ;;
9388
9389 *)
9390 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9391 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9392 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9393 else
9394 ld_shlibs=no
9395 fi
9396 ;;
9397 esac
9398
9399 if test "$ld_shlibs" = no; then
9400 runpath_var=
9401 hardcode_libdir_flag_spec=
9402 export_dynamic_flag_spec=
9403 whole_archive_flag_spec=
9404 fi
9405 else
9406 # PORTME fill in a description of your system's linker (not GNU ld)
9407 case $host_os in
9408 aix3*)
9409 allow_undefined_flag=unsupported
9410 always_export_symbols=yes
9411 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'
9412 # Note: this linker hardcodes the directories in LIBPATH if there
9413 # are no directories specified by -L.
9414 hardcode_minus_L=yes
9415 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9416 # Neither direct hardcoding nor static linking is supported with a
9417 # broken collect2.
9418 hardcode_direct=unsupported
9419 fi
9420 ;;
9421
9422 aix[4-9]*)
9423 if test "$host_cpu" = ia64; then
9424 # On IA64, the linker does run time linking by default, so we don't
9425 # have to do anything special.
9426 aix_use_runtimelinking=no
9427 exp_sym_flag='-Bexport'
9428 no_entry_flag=""
9429 else
9430 # If we're using GNU nm, then we don't want the "-C" option.
9431 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9432 # Also, AIX nm treats weak defined symbols like other global
9433 # defined symbols, whereas GNU nm marks them as "W".
9434 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9435 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'
9436 else
9437 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'
9438 fi
9439 aix_use_runtimelinking=no
9440
9441 # Test if we are trying to use run time linking or normal
9442 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9443 # need to do runtime linking.
9444 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9445 for ld_flag in $LDFLAGS; do
9446 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9447 aix_use_runtimelinking=yes
9448 break
9449 fi
9450 done
9451 ;;
9452 esac
9453
9454 exp_sym_flag='-bexport'
9455 no_entry_flag='-bnoentry'
9456 fi
9457
9458 # When large executables or shared objects are built, AIX ld can
9459 # have problems creating the table of contents. If linking a library
9460 # or program results in "error TOC overflow" add -mminimal-toc to
9461 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9462 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9463
9464 archive_cmds=''
9465 hardcode_direct=yes
9466 hardcode_direct_absolute=yes
9467 hardcode_libdir_separator=':'
9468 link_all_deplibs=yes
9469 file_list_spec='${wl}-f,'
9470
9471 if test "$GCC" = yes; then
9472 case $host_os in aix4.[012]|aix4.[012].*)
9473 # We only want to do this on AIX 4.2 and lower, the check
9474 # below for broken collect2 doesn't work under 4.3+
9475 collect2name=`${CC} -print-prog-name=collect2`
9476 if test -f "$collect2name" &&
9477 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9478 then
9479 # We have reworked collect2
9480 :
9481 else
9482 # We have old collect2
9483 hardcode_direct=unsupported
9484 # It fails to find uninstalled libraries when the uninstalled
9485 # path is not listed in the libpath. Setting hardcode_minus_L
9486 # to unsupported forces relinking
9487 hardcode_minus_L=yes
9488 hardcode_libdir_flag_spec='-L$libdir'
9489 hardcode_libdir_separator=
9490 fi
9491 ;;
9492 esac
9493 shared_flag='-shared'
9494 if test "$aix_use_runtimelinking" = yes; then
9495 shared_flag="$shared_flag "'${wl}-G'
9496 fi
9497 else
9498 # not using gcc
9499 if test "$host_cpu" = ia64; then
9500 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9501 # chokes on -Wl,-G. The following line is correct:
9502 shared_flag='-G'
9503 else
9504 if test "$aix_use_runtimelinking" = yes; then
9505 shared_flag='${wl}-G'
9506 else
9507 shared_flag='${wl}-bM:SRE'
9508 fi
9509 fi
9510 fi
9511
9512 export_dynamic_flag_spec='${wl}-bexpall'
9513 # It seems that -bexpall does not export symbols beginning with
9514 # underscore (_), so it is better to generate a list of symbols to export.
9515 always_export_symbols=yes
9516 if test "$aix_use_runtimelinking" = yes; then
9517 # Warning - without using the other runtime loading flags (-brtl),
9518 # -berok will link without error, but may produce a broken library.
9519 allow_undefined_flag='-berok'
9520 # Determine the default libpath from the value encoded in an
9521 # empty executable.
9522 if test x$gcc_no_link = xyes; then
9523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9524 fi
9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9527
9528 int
9529 main ()
9530 {
9531
9532 ;
9533 return 0;
9534 }
9535 _ACEOF
9536 if ac_fn_c_try_link "$LINENO"; then :
9537
9538 lt_aix_libpath_sed='
9539 /Import File Strings/,/^$/ {
9540 /^0/ {
9541 s/^0 *\(.*\)$/\1/
9542 p
9543 }
9544 }'
9545 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9546 # Check for a 64-bit object if we didn't find anything.
9547 if test -z "$aix_libpath"; then
9548 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9549 fi
9550 fi
9551 rm -f core conftest.err conftest.$ac_objext \
9552 conftest$ac_exeext conftest.$ac_ext
9553 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9554
9555 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9556 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"
9557 else
9558 if test "$host_cpu" = ia64; then
9559 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9560 allow_undefined_flag="-z nodefs"
9561 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"
9562 else
9563 # Determine the default libpath from the value encoded in an
9564 # empty executable.
9565 if test x$gcc_no_link = xyes; then
9566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9567 fi
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h. */
9570
9571 int
9572 main ()
9573 {
9574
9575 ;
9576 return 0;
9577 }
9578 _ACEOF
9579 if ac_fn_c_try_link "$LINENO"; then :
9580
9581 lt_aix_libpath_sed='
9582 /Import File Strings/,/^$/ {
9583 /^0/ {
9584 s/^0 *\(.*\)$/\1/
9585 p
9586 }
9587 }'
9588 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9589 # Check for a 64-bit object if we didn't find anything.
9590 if test -z "$aix_libpath"; then
9591 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9592 fi
9593 fi
9594 rm -f core conftest.err conftest.$ac_objext \
9595 conftest$ac_exeext conftest.$ac_ext
9596 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9597
9598 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9599 # Warning - without using the other run time loading flags,
9600 # -berok will link without error, but may produce a broken library.
9601 no_undefined_flag=' ${wl}-bernotok'
9602 allow_undefined_flag=' ${wl}-berok'
9603 if test "$with_gnu_ld" = yes; then
9604 # We only use this code for GNU lds that support --whole-archive.
9605 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9606 else
9607 # Exported symbols can be pulled into shared objects from archives
9608 whole_archive_flag_spec='$convenience'
9609 fi
9610 archive_cmds_need_lc=yes
9611 # This is similar to how AIX traditionally builds its shared libraries.
9612 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'
9613 fi
9614 fi
9615 ;;
9616
9617 amigaos*)
9618 case $host_cpu in
9619 powerpc)
9620 # see comment about AmigaOS4 .so support
9621 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9622 archive_expsym_cmds=''
9623 ;;
9624 m68k)
9625 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)'
9626 hardcode_libdir_flag_spec='-L$libdir'
9627 hardcode_minus_L=yes
9628 ;;
9629 esac
9630 ;;
9631
9632 bsdi[45]*)
9633 export_dynamic_flag_spec=-rdynamic
9634 ;;
9635
9636 cygwin* | mingw* | pw32* | cegcc*)
9637 # When not using gcc, we currently assume that we are using
9638 # Microsoft Visual C++.
9639 # hardcode_libdir_flag_spec is actually meaningless, as there is
9640 # no search path for DLLs.
9641 hardcode_libdir_flag_spec=' '
9642 allow_undefined_flag=unsupported
9643 # Tell ltmain to make .lib files, not .a files.
9644 libext=lib
9645 # Tell ltmain to make .dll files, not .so files.
9646 shrext_cmds=".dll"
9647 # FIXME: Setting linknames here is a bad hack.
9648 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9649 # The linker will automatically build a .lib file if we build a DLL.
9650 old_archive_from_new_cmds='true'
9651 # FIXME: Should let the user specify the lib program.
9652 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9653 fix_srcfile_path='`cygpath -w "$srcfile"`'
9654 enable_shared_with_static_runtimes=yes
9655 ;;
9656
9657 darwin* | rhapsody*)
9658
9659
9660 archive_cmds_need_lc=no
9661 hardcode_direct=no
9662 hardcode_automatic=yes
9663 hardcode_shlibpath_var=unsupported
9664 if test "$lt_cv_ld_force_load" = "yes"; then
9665 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\"`'
9666 else
9667 whole_archive_flag_spec=''
9668 fi
9669 link_all_deplibs=yes
9670 allow_undefined_flag="$_lt_dar_allow_undefined"
9671 case $cc_basename in
9672 ifort*) _lt_dar_can_shared=yes ;;
9673 *) _lt_dar_can_shared=$GCC ;;
9674 esac
9675 if test "$_lt_dar_can_shared" = "yes"; then
9676 output_verbose_link_cmd=func_echo_all
9677 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9678 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9679 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}"
9680 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}"
9681
9682 else
9683 ld_shlibs=no
9684 fi
9685
9686 ;;
9687
9688 dgux*)
9689 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9690 hardcode_libdir_flag_spec='-L$libdir'
9691 hardcode_shlibpath_var=no
9692 ;;
9693
9694 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9695 # support. Future versions do this automatically, but an explicit c++rt0.o
9696 # does not break anything, and helps significantly (at the cost of a little
9697 # extra space).
9698 freebsd2.2*)
9699 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9700 hardcode_libdir_flag_spec='-R$libdir'
9701 hardcode_direct=yes
9702 hardcode_shlibpath_var=no
9703 ;;
9704
9705 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9706 freebsd2*)
9707 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9708 hardcode_direct=yes
9709 hardcode_minus_L=yes
9710 hardcode_shlibpath_var=no
9711 ;;
9712
9713 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9714 freebsd* | dragonfly*)
9715 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9716 hardcode_libdir_flag_spec='-R$libdir'
9717 hardcode_direct=yes
9718 hardcode_shlibpath_var=no
9719 ;;
9720
9721 hpux9*)
9722 if test "$GCC" = yes; then
9723 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'
9724 else
9725 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'
9726 fi
9727 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9728 hardcode_libdir_separator=:
9729 hardcode_direct=yes
9730
9731 # hardcode_minus_L: Not really in the search PATH,
9732 # but as the default location of the library.
9733 hardcode_minus_L=yes
9734 export_dynamic_flag_spec='${wl}-E'
9735 ;;
9736
9737 hpux10*)
9738 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9739 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9740 else
9741 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9742 fi
9743 if test "$with_gnu_ld" = no; then
9744 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9745 hardcode_libdir_flag_spec_ld='+b $libdir'
9746 hardcode_libdir_separator=:
9747 hardcode_direct=yes
9748 hardcode_direct_absolute=yes
9749 export_dynamic_flag_spec='${wl}-E'
9750 # hardcode_minus_L: Not really in the search PATH,
9751 # but as the default location of the library.
9752 hardcode_minus_L=yes
9753 fi
9754 ;;
9755
9756 hpux11*)
9757 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9758 case $host_cpu in
9759 hppa*64*)
9760 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9761 ;;
9762 ia64*)
9763 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9764 ;;
9765 *)
9766 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9767 ;;
9768 esac
9769 else
9770 case $host_cpu in
9771 hppa*64*)
9772 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9773 ;;
9774 ia64*)
9775 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9776 ;;
9777 *)
9778
9779 # Older versions of the 11.00 compiler do not understand -b yet
9780 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9782 $as_echo_n "checking if $CC understands -b... " >&6; }
9783 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9784 $as_echo_n "(cached) " >&6
9785 else
9786 lt_cv_prog_compiler__b=no
9787 save_LDFLAGS="$LDFLAGS"
9788 LDFLAGS="$LDFLAGS -b"
9789 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9790 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9791 # The linker can only warn and ignore the option if not recognized
9792 # So say no if there are warnings
9793 if test -s conftest.err; then
9794 # Append any errors to the config.log.
9795 cat conftest.err 1>&5
9796 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9797 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9798 if diff conftest.exp conftest.er2 >/dev/null; then
9799 lt_cv_prog_compiler__b=yes
9800 fi
9801 else
9802 lt_cv_prog_compiler__b=yes
9803 fi
9804 fi
9805 $RM -r conftest*
9806 LDFLAGS="$save_LDFLAGS"
9807
9808 fi
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9810 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9811
9812 if test x"$lt_cv_prog_compiler__b" = xyes; then
9813 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9814 else
9815 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9816 fi
9817
9818 ;;
9819 esac
9820 fi
9821 if test "$with_gnu_ld" = no; then
9822 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9823 hardcode_libdir_separator=:
9824
9825 case $host_cpu in
9826 hppa*64*|ia64*)
9827 hardcode_direct=no
9828 hardcode_shlibpath_var=no
9829 ;;
9830 *)
9831 hardcode_direct=yes
9832 hardcode_direct_absolute=yes
9833 export_dynamic_flag_spec='${wl}-E'
9834
9835 # hardcode_minus_L: Not really in the search PATH,
9836 # but as the default location of the library.
9837 hardcode_minus_L=yes
9838 ;;
9839 esac
9840 fi
9841 ;;
9842
9843 irix5* | irix6* | nonstopux*)
9844 if test "$GCC" = yes; then
9845 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'
9846 # Try to use the -exported_symbol ld option, if it does not
9847 # work, assume that -exports_file does not work either and
9848 # implicitly export all symbols.
9849 save_LDFLAGS="$LDFLAGS"
9850 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9851 if test x$gcc_no_link = xyes; then
9852 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9853 fi
9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9856 int foo(void) {}
9857 _ACEOF
9858 if ac_fn_c_try_link "$LINENO"; then :
9859 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'
9860
9861 fi
9862 rm -f core conftest.err conftest.$ac_objext \
9863 conftest$ac_exeext conftest.$ac_ext
9864 LDFLAGS="$save_LDFLAGS"
9865 else
9866 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'
9867 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'
9868 fi
9869 archive_cmds_need_lc='no'
9870 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9871 hardcode_libdir_separator=:
9872 inherit_rpath=yes
9873 link_all_deplibs=yes
9874 ;;
9875
9876 netbsd*)
9877 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9878 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9879 else
9880 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9881 fi
9882 hardcode_libdir_flag_spec='-R$libdir'
9883 hardcode_direct=yes
9884 hardcode_shlibpath_var=no
9885 ;;
9886
9887 newsos6)
9888 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9889 hardcode_direct=yes
9890 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9891 hardcode_libdir_separator=:
9892 hardcode_shlibpath_var=no
9893 ;;
9894
9895 *nto* | *qnx*)
9896 ;;
9897
9898 openbsd*)
9899 if test -f /usr/libexec/ld.so; then
9900 hardcode_direct=yes
9901 hardcode_shlibpath_var=no
9902 hardcode_direct_absolute=yes
9903 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9904 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9905 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9906 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9907 export_dynamic_flag_spec='${wl}-E'
9908 else
9909 case $host_os in
9910 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9911 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9912 hardcode_libdir_flag_spec='-R$libdir'
9913 ;;
9914 *)
9915 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9916 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9917 ;;
9918 esac
9919 fi
9920 else
9921 ld_shlibs=no
9922 fi
9923 ;;
9924
9925 os2*)
9926 hardcode_libdir_flag_spec='-L$libdir'
9927 hardcode_minus_L=yes
9928 allow_undefined_flag=unsupported
9929 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'
9930 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9931 ;;
9932
9933 osf3*)
9934 if test "$GCC" = yes; then
9935 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9936 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'
9937 else
9938 allow_undefined_flag=' -expect_unresolved \*'
9939 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'
9940 fi
9941 archive_cmds_need_lc='no'
9942 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9943 hardcode_libdir_separator=:
9944 ;;
9945
9946 osf4* | osf5*) # as osf3* with the addition of -msym flag
9947 if test "$GCC" = yes; then
9948 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9949 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'
9950 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9951 else
9952 allow_undefined_flag=' -expect_unresolved \*'
9953 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'
9954 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~
9955 $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'
9956
9957 # Both c and cxx compiler support -rpath directly
9958 hardcode_libdir_flag_spec='-rpath $libdir'
9959 fi
9960 archive_cmds_need_lc='no'
9961 hardcode_libdir_separator=:
9962 ;;
9963
9964 solaris*)
9965 no_undefined_flag=' -z defs'
9966 if test "$GCC" = yes; then
9967 wlarc='${wl}'
9968 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9969 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9970 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9971 else
9972 case `$CC -V 2>&1` in
9973 *"Compilers 5.0"*)
9974 wlarc=''
9975 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9976 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9977 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9978 ;;
9979 *)
9980 wlarc='${wl}'
9981 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9982 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9983 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9984 ;;
9985 esac
9986 fi
9987 hardcode_libdir_flag_spec='-R$libdir'
9988 hardcode_shlibpath_var=no
9989 case $host_os in
9990 solaris2.[0-5] | solaris2.[0-5].*) ;;
9991 *)
9992 # The compiler driver will combine and reorder linker options,
9993 # but understands `-z linker_flag'. GCC discards it without `$wl',
9994 # but is careful enough not to reorder.
9995 # Supported since Solaris 2.6 (maybe 2.5.1?)
9996 if test "$GCC" = yes; then
9997 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9998 else
9999 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10000 fi
10001 ;;
10002 esac
10003 link_all_deplibs=yes
10004 ;;
10005
10006 sunos4*)
10007 if test "x$host_vendor" = xsequent; then
10008 # Use $CC to link under sequent, because it throws in some extra .o
10009 # files that make .init and .fini sections work.
10010 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10011 else
10012 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10013 fi
10014 hardcode_libdir_flag_spec='-L$libdir'
10015 hardcode_direct=yes
10016 hardcode_minus_L=yes
10017 hardcode_shlibpath_var=no
10018 ;;
10019
10020 sysv4)
10021 case $host_vendor in
10022 sni)
10023 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10024 hardcode_direct=yes # is this really true???
10025 ;;
10026 siemens)
10027 ## LD is ld it makes a PLAMLIB
10028 ## CC just makes a GrossModule.
10029 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10030 reload_cmds='$CC -r -o $output$reload_objs'
10031 hardcode_direct=no
10032 ;;
10033 motorola)
10034 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10035 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10036 ;;
10037 esac
10038 runpath_var='LD_RUN_PATH'
10039 hardcode_shlibpath_var=no
10040 ;;
10041
10042 sysv4.3*)
10043 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10044 hardcode_shlibpath_var=no
10045 export_dynamic_flag_spec='-Bexport'
10046 ;;
10047
10048 sysv4*MP*)
10049 if test -d /usr/nec; then
10050 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10051 hardcode_shlibpath_var=no
10052 runpath_var=LD_RUN_PATH
10053 hardcode_runpath_var=yes
10054 ld_shlibs=yes
10055 fi
10056 ;;
10057
10058 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10059 no_undefined_flag='${wl}-z,text'
10060 archive_cmds_need_lc=no
10061 hardcode_shlibpath_var=no
10062 runpath_var='LD_RUN_PATH'
10063
10064 if test "$GCC" = yes; then
10065 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067 else
10068 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070 fi
10071 ;;
10072
10073 sysv5* | sco3.2v5* | sco5v6*)
10074 # Note: We can NOT use -z defs as we might desire, because we do not
10075 # link with -lc, and that would cause any symbols used from libc to
10076 # always be unresolved, which means just about no library would
10077 # ever link correctly. If we're not using GNU ld we use -z text
10078 # though, which does catch some bad symbols but isn't as heavy-handed
10079 # as -z defs.
10080 no_undefined_flag='${wl}-z,text'
10081 allow_undefined_flag='${wl}-z,nodefs'
10082 archive_cmds_need_lc=no
10083 hardcode_shlibpath_var=no
10084 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10085 hardcode_libdir_separator=':'
10086 link_all_deplibs=yes
10087 export_dynamic_flag_spec='${wl}-Bexport'
10088 runpath_var='LD_RUN_PATH'
10089
10090 if test "$GCC" = yes; then
10091 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 else
10094 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10096 fi
10097 ;;
10098
10099 uts4*)
10100 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10101 hardcode_libdir_flag_spec='-L$libdir'
10102 hardcode_shlibpath_var=no
10103 ;;
10104
10105 *)
10106 ld_shlibs=no
10107 ;;
10108 esac
10109
10110 if test x$host_vendor = xsni; then
10111 case $host in
10112 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10113 export_dynamic_flag_spec='${wl}-Blargedynsym'
10114 ;;
10115 esac
10116 fi
10117 fi
10118
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10120 $as_echo "$ld_shlibs" >&6; }
10121 test "$ld_shlibs" = no && can_build_shared=no
10122
10123 with_gnu_ld=$with_gnu_ld
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139 #
10140 # Do we need to explicitly link libc?
10141 #
10142 case "x$archive_cmds_need_lc" in
10143 x|xyes)
10144 # Assume -lc should be added
10145 archive_cmds_need_lc=yes
10146
10147 if test "$enable_shared" = yes && test "$GCC" = yes; then
10148 case $archive_cmds in
10149 *'~'*)
10150 # FIXME: we may have to deal with multi-command sequences.
10151 ;;
10152 '$CC '*)
10153 # Test whether the compiler implicitly links with -lc since on some
10154 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10155 # to ld, don't add -lc before -lgcc.
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10157 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10158 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10159 $as_echo_n "(cached) " >&6
10160 else
10161 $RM conftest*
10162 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10163
10164 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10165 (eval $ac_compile) 2>&5
10166 ac_status=$?
10167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10168 test $ac_status = 0; } 2>conftest.err; then
10169 soname=conftest
10170 lib=conftest
10171 libobjs=conftest.$ac_objext
10172 deplibs=
10173 wl=$lt_prog_compiler_wl
10174 pic_flag=$lt_prog_compiler_pic
10175 compiler_flags=-v
10176 linker_flags=-v
10177 verstring=
10178 output_objdir=.
10179 libname=conftest
10180 lt_save_allow_undefined_flag=$allow_undefined_flag
10181 allow_undefined_flag=
10182 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10183 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10184 ac_status=$?
10185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10186 test $ac_status = 0; }
10187 then
10188 lt_cv_archive_cmds_need_lc=no
10189 else
10190 lt_cv_archive_cmds_need_lc=yes
10191 fi
10192 allow_undefined_flag=$lt_save_allow_undefined_flag
10193 else
10194 cat conftest.err 1>&5
10195 fi
10196 $RM conftest*
10197
10198 fi
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10200 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10201 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10202 ;;
10203 esac
10204 fi
10205 ;;
10206 esac
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
10361
10362
10363
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10365 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10366
10367 if test "$GCC" = yes; then
10368 case $host_os in
10369 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10370 *) lt_awk_arg="/^libraries:/" ;;
10371 esac
10372 case $host_os in
10373 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10374 *) lt_sed_strip_eq="s,=/,/,g" ;;
10375 esac
10376 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10377 case $lt_search_path_spec in
10378 *\;*)
10379 # if the path contains ";" then we assume it to be the separator
10380 # otherwise default to the standard path separator (i.e. ":") - it is
10381 # assumed that no part of a normal pathname contains ";" but that should
10382 # okay in the real world where ";" in dirpaths is itself problematic.
10383 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10384 ;;
10385 *)
10386 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10387 ;;
10388 esac
10389 # Ok, now we have the path, separated by spaces, we can step through it
10390 # and add multilib dir if necessary.
10391 lt_tmp_lt_search_path_spec=
10392 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10393 for lt_sys_path in $lt_search_path_spec; do
10394 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10395 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10396 else
10397 test -d "$lt_sys_path" && \
10398 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10399 fi
10400 done
10401 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10402 BEGIN {RS=" "; FS="/|\n";} {
10403 lt_foo="";
10404 lt_count=0;
10405 for (lt_i = NF; lt_i > 0; lt_i--) {
10406 if ($lt_i != "" && $lt_i != ".") {
10407 if ($lt_i == "..") {
10408 lt_count++;
10409 } else {
10410 if (lt_count == 0) {
10411 lt_foo="/" $lt_i lt_foo;
10412 } else {
10413 lt_count--;
10414 }
10415 }
10416 }
10417 }
10418 if (lt_foo != "") { lt_freq[lt_foo]++; }
10419 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10420 }'`
10421 # AWK program above erroneously prepends '/' to C:/dos/paths
10422 # for these hosts.
10423 case $host_os in
10424 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10425 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10426 esac
10427 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10428 else
10429 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10430 fi
10431 library_names_spec=
10432 libname_spec='lib$name'
10433 soname_spec=
10434 shrext_cmds=".so"
10435 postinstall_cmds=
10436 postuninstall_cmds=
10437 finish_cmds=
10438 finish_eval=
10439 shlibpath_var=
10440 shlibpath_overrides_runpath=unknown
10441 version_type=none
10442 dynamic_linker="$host_os ld.so"
10443 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10444 need_lib_prefix=unknown
10445 hardcode_into_libs=no
10446
10447 # when you set need_version to no, make sure it does not cause -set_version
10448 # flags to be left without arguments
10449 need_version=unknown
10450
10451 case $host_os in
10452 aix3*)
10453 version_type=linux
10454 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10455 shlibpath_var=LIBPATH
10456
10457 # AIX 3 has no versioning support, so we append a major version to the name.
10458 soname_spec='${libname}${release}${shared_ext}$major'
10459 ;;
10460
10461 aix[4-9]*)
10462 version_type=linux
10463 need_lib_prefix=no
10464 need_version=no
10465 hardcode_into_libs=yes
10466 if test "$host_cpu" = ia64; then
10467 # AIX 5 supports IA64
10468 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10469 shlibpath_var=LD_LIBRARY_PATH
10470 else
10471 # With GCC up to 2.95.x, collect2 would create an import file
10472 # for dependence libraries. The import file would start with
10473 # the line `#! .'. This would cause the generated library to
10474 # depend on `.', always an invalid library. This was fixed in
10475 # development snapshots of GCC prior to 3.0.
10476 case $host_os in
10477 aix4 | aix4.[01] | aix4.[01].*)
10478 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10479 echo ' yes '
10480 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10481 :
10482 else
10483 can_build_shared=no
10484 fi
10485 ;;
10486 esac
10487 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10488 # soname into executable. Probably we can add versioning support to
10489 # collect2, so additional links can be useful in future.
10490 if test "$aix_use_runtimelinking" = yes; then
10491 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10492 # instead of lib<name>.a to let people know that these are not
10493 # typical AIX shared libraries.
10494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10495 else
10496 # We preserve .a as extension for shared libraries through AIX4.2
10497 # and later when we are not doing run time linking.
10498 library_names_spec='${libname}${release}.a $libname.a'
10499 soname_spec='${libname}${release}${shared_ext}$major'
10500 fi
10501 shlibpath_var=LIBPATH
10502 fi
10503 ;;
10504
10505 amigaos*)
10506 case $host_cpu in
10507 powerpc)
10508 # Since July 2007 AmigaOS4 officially supports .so libraries.
10509 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10511 ;;
10512 m68k)
10513 library_names_spec='$libname.ixlibrary $libname.a'
10514 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10515 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'
10516 ;;
10517 esac
10518 ;;
10519
10520 beos*)
10521 library_names_spec='${libname}${shared_ext}'
10522 dynamic_linker="$host_os ld.so"
10523 shlibpath_var=LIBRARY_PATH
10524 ;;
10525
10526 bsdi[45]*)
10527 version_type=linux
10528 need_version=no
10529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530 soname_spec='${libname}${release}${shared_ext}$major'
10531 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10532 shlibpath_var=LD_LIBRARY_PATH
10533 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10534 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10535 # the default ld.so.conf also contains /usr/contrib/lib and
10536 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10537 # libtool to hard-code these into programs
10538 ;;
10539
10540 cygwin* | mingw* | pw32* | cegcc*)
10541 version_type=windows
10542 shrext_cmds=".dll"
10543 need_version=no
10544 need_lib_prefix=no
10545
10546 case $GCC,$host_os in
10547 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10548 library_names_spec='$libname.dll.a'
10549 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10550 postinstall_cmds='base_file=`basename \${file}`~
10551 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10552 dldir=$destdir/`dirname \$dlpath`~
10553 test -d \$dldir || mkdir -p \$dldir~
10554 $install_prog $dir/$dlname \$dldir/$dlname~
10555 chmod a+x \$dldir/$dlname~
10556 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10557 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10558 fi'
10559 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10560 dlpath=$dir/\$dldll~
10561 $RM \$dlpath'
10562 shlibpath_overrides_runpath=yes
10563
10564 case $host_os in
10565 cygwin*)
10566 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10567 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10568
10569 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10570 ;;
10571 mingw* | cegcc*)
10572 # MinGW DLLs use traditional 'lib' prefix
10573 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10574 ;;
10575 pw32*)
10576 # pw32 DLLs use 'pw' prefix rather than 'lib'
10577 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10578 ;;
10579 esac
10580 ;;
10581
10582 *)
10583 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10584 ;;
10585 esac
10586 dynamic_linker='Win32 ld.exe'
10587 # FIXME: first we should search . and the directory the executable is in
10588 shlibpath_var=PATH
10589 ;;
10590
10591 darwin* | rhapsody*)
10592 dynamic_linker="$host_os dyld"
10593 version_type=darwin
10594 need_lib_prefix=no
10595 need_version=no
10596 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10597 soname_spec='${libname}${release}${major}$shared_ext'
10598 shlibpath_overrides_runpath=yes
10599 shlibpath_var=DYLD_LIBRARY_PATH
10600 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10601
10602 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10603 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10604 ;;
10605
10606 dgux*)
10607 version_type=linux
10608 need_lib_prefix=no
10609 need_version=no
10610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10611 soname_spec='${libname}${release}${shared_ext}$major'
10612 shlibpath_var=LD_LIBRARY_PATH
10613 ;;
10614
10615 freebsd* | dragonfly*)
10616 # DragonFly does not have aout. When/if they implement a new
10617 # versioning mechanism, adjust this.
10618 if test -x /usr/bin/objformat; then
10619 objformat=`/usr/bin/objformat`
10620 else
10621 case $host_os in
10622 freebsd[123]*) objformat=aout ;;
10623 *) objformat=elf ;;
10624 esac
10625 fi
10626 version_type=freebsd-$objformat
10627 case $version_type in
10628 freebsd-elf*)
10629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10630 need_version=no
10631 need_lib_prefix=no
10632 ;;
10633 freebsd-*)
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10635 need_version=yes
10636 ;;
10637 esac
10638 shlibpath_var=LD_LIBRARY_PATH
10639 case $host_os in
10640 freebsd2*)
10641 shlibpath_overrides_runpath=yes
10642 ;;
10643 freebsd3.[01]* | freebsdelf3.[01]*)
10644 shlibpath_overrides_runpath=yes
10645 hardcode_into_libs=yes
10646 ;;
10647 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10648 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10649 shlibpath_overrides_runpath=no
10650 hardcode_into_libs=yes
10651 ;;
10652 *) # from 4.6 on, and DragonFly
10653 shlibpath_overrides_runpath=yes
10654 hardcode_into_libs=yes
10655 ;;
10656 esac
10657 ;;
10658
10659 gnu*)
10660 version_type=linux
10661 need_lib_prefix=no
10662 need_version=no
10663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10664 soname_spec='${libname}${release}${shared_ext}$major'
10665 shlibpath_var=LD_LIBRARY_PATH
10666 hardcode_into_libs=yes
10667 ;;
10668
10669 haiku*)
10670 version_type=linux
10671 need_lib_prefix=no
10672 need_version=no
10673 dynamic_linker="$host_os runtime_loader"
10674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10675 soname_spec='${libname}${release}${shared_ext}$major'
10676 shlibpath_var=LIBRARY_PATH
10677 shlibpath_overrides_runpath=yes
10678 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10679 hardcode_into_libs=yes
10680 ;;
10681
10682 hpux9* | hpux10* | hpux11*)
10683 # Give a soname corresponding to the major version so that dld.sl refuses to
10684 # link against other versions.
10685 version_type=sunos
10686 need_lib_prefix=no
10687 need_version=no
10688 case $host_cpu in
10689 ia64*)
10690 shrext_cmds='.so'
10691 hardcode_into_libs=yes
10692 dynamic_linker="$host_os dld.so"
10693 shlibpath_var=LD_LIBRARY_PATH
10694 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10696 soname_spec='${libname}${release}${shared_ext}$major'
10697 if test "X$HPUX_IA64_MODE" = X32; then
10698 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10699 else
10700 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10701 fi
10702 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10703 ;;
10704 hppa*64*)
10705 shrext_cmds='.sl'
10706 hardcode_into_libs=yes
10707 dynamic_linker="$host_os dld.sl"
10708 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10709 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10711 soname_spec='${libname}${release}${shared_ext}$major'
10712 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10713 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10714 ;;
10715 *)
10716 shrext_cmds='.sl'
10717 dynamic_linker="$host_os dld.sl"
10718 shlibpath_var=SHLIB_PATH
10719 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10721 soname_spec='${libname}${release}${shared_ext}$major'
10722 ;;
10723 esac
10724 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10725 postinstall_cmds='chmod 555 $lib'
10726 # or fails outright, so override atomically:
10727 install_override_mode=555
10728 ;;
10729
10730 interix[3-9]*)
10731 version_type=linux
10732 need_lib_prefix=no
10733 need_version=no
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10737 shlibpath_var=LD_LIBRARY_PATH
10738 shlibpath_overrides_runpath=no
10739 hardcode_into_libs=yes
10740 ;;
10741
10742 irix5* | irix6* | nonstopux*)
10743 case $host_os in
10744 nonstopux*) version_type=nonstopux ;;
10745 *)
10746 if test "$lt_cv_prog_gnu_ld" = yes; then
10747 version_type=linux
10748 else
10749 version_type=irix
10750 fi ;;
10751 esac
10752 need_lib_prefix=no
10753 need_version=no
10754 soname_spec='${libname}${release}${shared_ext}$major'
10755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10756 case $host_os in
10757 irix5* | nonstopux*)
10758 libsuff= shlibsuff=
10759 ;;
10760 *)
10761 case $LD in # libtool.m4 will add one of these switches to LD
10762 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10763 libsuff= shlibsuff= libmagic=32-bit;;
10764 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10765 libsuff=32 shlibsuff=N32 libmagic=N32;;
10766 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10767 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10768 *) libsuff= shlibsuff= libmagic=never-match;;
10769 esac
10770 ;;
10771 esac
10772 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10773 shlibpath_overrides_runpath=no
10774 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10775 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10776 hardcode_into_libs=yes
10777 ;;
10778
10779 # No shared lib support for Linux oldld, aout, or coff.
10780 linux*oldld* | linux*aout* | linux*coff*)
10781 dynamic_linker=no
10782 ;;
10783
10784 # This must be Linux ELF.
10785 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10786 version_type=linux
10787 need_lib_prefix=no
10788 need_version=no
10789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10790 soname_spec='${libname}${release}${shared_ext}$major'
10791 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10792 shlibpath_var=LD_LIBRARY_PATH
10793 shlibpath_overrides_runpath=no
10794
10795 # Some binutils ld are patched to set DT_RUNPATH
10796 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10797 $as_echo_n "(cached) " >&6
10798 else
10799 lt_cv_shlibpath_overrides_runpath=no
10800 save_LDFLAGS=$LDFLAGS
10801 save_libdir=$libdir
10802 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10803 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10804 if test x$gcc_no_link = xyes; then
10805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10806 fi
10807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10808 /* end confdefs.h. */
10809
10810 int
10811 main ()
10812 {
10813
10814 ;
10815 return 0;
10816 }
10817 _ACEOF
10818 if ac_fn_c_try_link "$LINENO"; then :
10819 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10820 lt_cv_shlibpath_overrides_runpath=yes
10821 fi
10822 fi
10823 rm -f core conftest.err conftest.$ac_objext \
10824 conftest$ac_exeext conftest.$ac_ext
10825 LDFLAGS=$save_LDFLAGS
10826 libdir=$save_libdir
10827
10828 fi
10829
10830 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10831
10832 # This implies no fast_install, which is unacceptable.
10833 # Some rework will be needed to allow for fast_install
10834 # before this can be enabled.
10835 hardcode_into_libs=yes
10836
10837 # Append ld.so.conf contents to the search path
10838 if test -f /etc/ld.so.conf; then
10839 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' ' '`
10840 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10841 fi
10842
10843 # We used to test for /lib/ld.so.1 and disable shared libraries on
10844 # powerpc, because MkLinux only supported shared libraries with the
10845 # GNU dynamic linker. Since this was broken with cross compilers,
10846 # most powerpc-linux boxes support dynamic linking these days and
10847 # people can always --disable-shared, the test was removed, and we
10848 # assume the GNU/Linux dynamic linker is in use.
10849 dynamic_linker='GNU/Linux ld.so'
10850 ;;
10851
10852 netbsd*)
10853 version_type=sunos
10854 need_lib_prefix=no
10855 need_version=no
10856 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10858 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10859 dynamic_linker='NetBSD (a.out) ld.so'
10860 else
10861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10862 soname_spec='${libname}${release}${shared_ext}$major'
10863 dynamic_linker='NetBSD ld.elf_so'
10864 fi
10865 shlibpath_var=LD_LIBRARY_PATH
10866 shlibpath_overrides_runpath=yes
10867 hardcode_into_libs=yes
10868 ;;
10869
10870 newsos6)
10871 version_type=linux
10872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873 shlibpath_var=LD_LIBRARY_PATH
10874 shlibpath_overrides_runpath=yes
10875 ;;
10876
10877 *nto* | *qnx*)
10878 version_type=qnx
10879 need_lib_prefix=no
10880 need_version=no
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10882 soname_spec='${libname}${release}${shared_ext}$major'
10883 shlibpath_var=LD_LIBRARY_PATH
10884 shlibpath_overrides_runpath=no
10885 hardcode_into_libs=yes
10886 dynamic_linker='ldqnx.so'
10887 ;;
10888
10889 openbsd*)
10890 version_type=sunos
10891 sys_lib_dlsearch_path_spec="/usr/lib"
10892 need_lib_prefix=no
10893 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10894 case $host_os in
10895 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10896 *) need_version=no ;;
10897 esac
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10899 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10900 shlibpath_var=LD_LIBRARY_PATH
10901 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10902 case $host_os in
10903 openbsd2.[89] | openbsd2.[89].*)
10904 shlibpath_overrides_runpath=no
10905 ;;
10906 *)
10907 shlibpath_overrides_runpath=yes
10908 ;;
10909 esac
10910 else
10911 shlibpath_overrides_runpath=yes
10912 fi
10913 ;;
10914
10915 os2*)
10916 libname_spec='$name'
10917 shrext_cmds=".dll"
10918 need_lib_prefix=no
10919 library_names_spec='$libname${shared_ext} $libname.a'
10920 dynamic_linker='OS/2 ld.exe'
10921 shlibpath_var=LIBPATH
10922 ;;
10923
10924 osf3* | osf4* | osf5*)
10925 version_type=osf
10926 need_lib_prefix=no
10927 need_version=no
10928 soname_spec='${libname}${release}${shared_ext}$major'
10929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10930 shlibpath_var=LD_LIBRARY_PATH
10931 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10932 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10933 ;;
10934
10935 rdos*)
10936 dynamic_linker=no
10937 ;;
10938
10939 solaris*)
10940 version_type=linux
10941 need_lib_prefix=no
10942 need_version=no
10943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10944 soname_spec='${libname}${release}${shared_ext}$major'
10945 shlibpath_var=LD_LIBRARY_PATH
10946 shlibpath_overrides_runpath=yes
10947 hardcode_into_libs=yes
10948 # ldd complains unless libraries are executable
10949 postinstall_cmds='chmod +x $lib'
10950 ;;
10951
10952 sunos4*)
10953 version_type=sunos
10954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10955 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10956 shlibpath_var=LD_LIBRARY_PATH
10957 shlibpath_overrides_runpath=yes
10958 if test "$with_gnu_ld" = yes; then
10959 need_lib_prefix=no
10960 fi
10961 need_version=yes
10962 ;;
10963
10964 sysv4 | sysv4.3*)
10965 version_type=linux
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10968 shlibpath_var=LD_LIBRARY_PATH
10969 case $host_vendor in
10970 sni)
10971 shlibpath_overrides_runpath=no
10972 need_lib_prefix=no
10973 runpath_var=LD_RUN_PATH
10974 ;;
10975 siemens)
10976 need_lib_prefix=no
10977 ;;
10978 motorola)
10979 need_lib_prefix=no
10980 need_version=no
10981 shlibpath_overrides_runpath=no
10982 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10983 ;;
10984 esac
10985 ;;
10986
10987 sysv4*MP*)
10988 if test -d /usr/nec ;then
10989 version_type=linux
10990 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10991 soname_spec='$libname${shared_ext}.$major'
10992 shlibpath_var=LD_LIBRARY_PATH
10993 fi
10994 ;;
10995
10996 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10997 version_type=freebsd-elf
10998 need_lib_prefix=no
10999 need_version=no
11000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11001 soname_spec='${libname}${release}${shared_ext}$major'
11002 shlibpath_var=LD_LIBRARY_PATH
11003 shlibpath_overrides_runpath=yes
11004 hardcode_into_libs=yes
11005 if test "$with_gnu_ld" = yes; then
11006 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11007 else
11008 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11009 case $host_os in
11010 sco3.2v5*)
11011 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11012 ;;
11013 esac
11014 fi
11015 sys_lib_dlsearch_path_spec='/usr/lib'
11016 ;;
11017
11018 tpf*)
11019 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11020 version_type=linux
11021 need_lib_prefix=no
11022 need_version=no
11023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11024 shlibpath_var=LD_LIBRARY_PATH
11025 shlibpath_overrides_runpath=no
11026 hardcode_into_libs=yes
11027 ;;
11028
11029 uts4*)
11030 version_type=linux
11031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11032 soname_spec='${libname}${release}${shared_ext}$major'
11033 shlibpath_var=LD_LIBRARY_PATH
11034 ;;
11035
11036 *)
11037 dynamic_linker=no
11038 ;;
11039 esac
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11041 $as_echo "$dynamic_linker" >&6; }
11042 test "$dynamic_linker" = no && can_build_shared=no
11043
11044 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11045 if test "$GCC" = yes; then
11046 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11047 fi
11048
11049 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11050 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11051 fi
11052 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11053 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11054 fi
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
11144
11145
11146
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11148 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11149 hardcode_action=
11150 if test -n "$hardcode_libdir_flag_spec" ||
11151 test -n "$runpath_var" ||
11152 test "X$hardcode_automatic" = "Xyes" ; then
11153
11154 # We can hardcode non-existent directories.
11155 if test "$hardcode_direct" != no &&
11156 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11157 # have to relink, otherwise we might link with an installed library
11158 # when we should be linking with a yet-to-be-installed one
11159 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11160 test "$hardcode_minus_L" != no; then
11161 # Linking always hardcodes the temporary library directory.
11162 hardcode_action=relink
11163 else
11164 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11165 hardcode_action=immediate
11166 fi
11167 else
11168 # We cannot hardcode anything, or else we can only hardcode existing
11169 # directories.
11170 hardcode_action=unsupported
11171 fi
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11173 $as_echo "$hardcode_action" >&6; }
11174
11175 if test "$hardcode_action" = relink ||
11176 test "$inherit_rpath" = yes; then
11177 # Fast installation is not supported
11178 enable_fast_install=no
11179 elif test "$shlibpath_overrides_runpath" = yes ||
11180 test "$enable_shared" = no; then
11181 # Fast installation is not necessary
11182 enable_fast_install=needless
11183 fi
11184
11185
11186
11187
11188
11189
11190 if test "x$enable_dlopen" != xyes; then
11191 enable_dlopen=unknown
11192 enable_dlopen_self=unknown
11193 enable_dlopen_self_static=unknown
11194 else
11195 lt_cv_dlopen=no
11196 lt_cv_dlopen_libs=
11197
11198 case $host_os in
11199 beos*)
11200 lt_cv_dlopen="load_add_on"
11201 lt_cv_dlopen_libs=
11202 lt_cv_dlopen_self=yes
11203 ;;
11204
11205 mingw* | pw32* | cegcc*)
11206 lt_cv_dlopen="LoadLibrary"
11207 lt_cv_dlopen_libs=
11208 ;;
11209
11210 cygwin*)
11211 lt_cv_dlopen="dlopen"
11212 lt_cv_dlopen_libs=
11213 ;;
11214
11215 darwin*)
11216 # if libdl is installed we need to link against it
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11218 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11219 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11220 $as_echo_n "(cached) " >&6
11221 else
11222 ac_check_lib_save_LIBS=$LIBS
11223 LIBS="-ldl $LIBS"
11224 if test x$gcc_no_link = xyes; then
11225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11226 fi
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11229
11230 /* Override any GCC internal prototype to avoid an error.
11231 Use char because int might match the return type of a GCC
11232 builtin and then its argument prototype would still apply. */
11233 #ifdef __cplusplus
11234 extern "C"
11235 #endif
11236 char dlopen ();
11237 int
11238 main ()
11239 {
11240 return dlopen ();
11241 ;
11242 return 0;
11243 }
11244 _ACEOF
11245 if ac_fn_c_try_link "$LINENO"; then :
11246 ac_cv_lib_dl_dlopen=yes
11247 else
11248 ac_cv_lib_dl_dlopen=no
11249 fi
11250 rm -f core conftest.err conftest.$ac_objext \
11251 conftest$ac_exeext conftest.$ac_ext
11252 LIBS=$ac_check_lib_save_LIBS
11253 fi
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11255 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11256 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11257 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11258 else
11259
11260 lt_cv_dlopen="dyld"
11261 lt_cv_dlopen_libs=
11262 lt_cv_dlopen_self=yes
11263
11264 fi
11265
11266 ;;
11267
11268 *)
11269 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11270 if test "x$ac_cv_func_shl_load" = x""yes; then :
11271 lt_cv_dlopen="shl_load"
11272 else
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11274 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11275 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11276 $as_echo_n "(cached) " >&6
11277 else
11278 ac_check_lib_save_LIBS=$LIBS
11279 LIBS="-ldld $LIBS"
11280 if test x$gcc_no_link = xyes; then
11281 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11282 fi
11283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11285
11286 /* Override any GCC internal prototype to avoid an error.
11287 Use char because int might match the return type of a GCC
11288 builtin and then its argument prototype would still apply. */
11289 #ifdef __cplusplus
11290 extern "C"
11291 #endif
11292 char shl_load ();
11293 int
11294 main ()
11295 {
11296 return shl_load ();
11297 ;
11298 return 0;
11299 }
11300 _ACEOF
11301 if ac_fn_c_try_link "$LINENO"; then :
11302 ac_cv_lib_dld_shl_load=yes
11303 else
11304 ac_cv_lib_dld_shl_load=no
11305 fi
11306 rm -f core conftest.err conftest.$ac_objext \
11307 conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_lib_save_LIBS
11309 fi
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11311 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11312 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11313 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11314 else
11315 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11316 if test "x$ac_cv_func_dlopen" = x""yes; then :
11317 lt_cv_dlopen="dlopen"
11318 else
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11320 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11321 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11322 $as_echo_n "(cached) " >&6
11323 else
11324 ac_check_lib_save_LIBS=$LIBS
11325 LIBS="-ldl $LIBS"
11326 if test x$gcc_no_link = xyes; then
11327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11328 fi
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11331
11332 /* Override any GCC internal prototype to avoid an error.
11333 Use char because int might match the return type of a GCC
11334 builtin and then its argument prototype would still apply. */
11335 #ifdef __cplusplus
11336 extern "C"
11337 #endif
11338 char dlopen ();
11339 int
11340 main ()
11341 {
11342 return dlopen ();
11343 ;
11344 return 0;
11345 }
11346 _ACEOF
11347 if ac_fn_c_try_link "$LINENO"; then :
11348 ac_cv_lib_dl_dlopen=yes
11349 else
11350 ac_cv_lib_dl_dlopen=no
11351 fi
11352 rm -f core conftest.err conftest.$ac_objext \
11353 conftest$ac_exeext conftest.$ac_ext
11354 LIBS=$ac_check_lib_save_LIBS
11355 fi
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11357 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11358 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11359 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11360 else
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11362 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11363 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11364 $as_echo_n "(cached) " >&6
11365 else
11366 ac_check_lib_save_LIBS=$LIBS
11367 LIBS="-lsvld $LIBS"
11368 if test x$gcc_no_link = xyes; then
11369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11370 fi
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11373
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 char dlopen ();
11381 int
11382 main ()
11383 {
11384 return dlopen ();
11385 ;
11386 return 0;
11387 }
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390 ac_cv_lib_svld_dlopen=yes
11391 else
11392 ac_cv_lib_svld_dlopen=no
11393 fi
11394 rm -f core conftest.err conftest.$ac_objext \
11395 conftest$ac_exeext conftest.$ac_ext
11396 LIBS=$ac_check_lib_save_LIBS
11397 fi
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11399 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11400 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11401 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11402 else
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11404 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11405 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11406 $as_echo_n "(cached) " >&6
11407 else
11408 ac_check_lib_save_LIBS=$LIBS
11409 LIBS="-ldld $LIBS"
11410 if test x$gcc_no_link = xyes; then
11411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11412 fi
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11415
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11419 #ifdef __cplusplus
11420 extern "C"
11421 #endif
11422 char dld_link ();
11423 int
11424 main ()
11425 {
11426 return dld_link ();
11427 ;
11428 return 0;
11429 }
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"; then :
11432 ac_cv_lib_dld_dld_link=yes
11433 else
11434 ac_cv_lib_dld_dld_link=no
11435 fi
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_lib_save_LIBS
11439 fi
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11441 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11442 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11443 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11444 fi
11445
11446
11447 fi
11448
11449
11450 fi
11451
11452
11453 fi
11454
11455
11456 fi
11457
11458
11459 fi
11460
11461 ;;
11462 esac
11463
11464 if test "x$lt_cv_dlopen" != xno; then
11465 enable_dlopen=yes
11466 else
11467 enable_dlopen=no
11468 fi
11469
11470 case $lt_cv_dlopen in
11471 dlopen)
11472 save_CPPFLAGS="$CPPFLAGS"
11473 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11474
11475 save_LDFLAGS="$LDFLAGS"
11476 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11477
11478 save_LIBS="$LIBS"
11479 LIBS="$lt_cv_dlopen_libs $LIBS"
11480
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11482 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11483 if test "${lt_cv_dlopen_self+set}" = set; then :
11484 $as_echo_n "(cached) " >&6
11485 else
11486 if test "$cross_compiling" = yes; then :
11487 lt_cv_dlopen_self=cross
11488 else
11489 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11490 lt_status=$lt_dlunknown
11491 cat > conftest.$ac_ext <<_LT_EOF
11492 #line 11492 "configure"
11493 #include "confdefs.h"
11494
11495 #if HAVE_DLFCN_H
11496 #include <dlfcn.h>
11497 #endif
11498
11499 #include <stdio.h>
11500
11501 #ifdef RTLD_GLOBAL
11502 # define LT_DLGLOBAL RTLD_GLOBAL
11503 #else
11504 # ifdef DL_GLOBAL
11505 # define LT_DLGLOBAL DL_GLOBAL
11506 # else
11507 # define LT_DLGLOBAL 0
11508 # endif
11509 #endif
11510
11511 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11512 find out it does not work in some platform. */
11513 #ifndef LT_DLLAZY_OR_NOW
11514 # ifdef RTLD_LAZY
11515 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11516 # else
11517 # ifdef DL_LAZY
11518 # define LT_DLLAZY_OR_NOW DL_LAZY
11519 # else
11520 # ifdef RTLD_NOW
11521 # define LT_DLLAZY_OR_NOW RTLD_NOW
11522 # else
11523 # ifdef DL_NOW
11524 # define LT_DLLAZY_OR_NOW DL_NOW
11525 # else
11526 # define LT_DLLAZY_OR_NOW 0
11527 # endif
11528 # endif
11529 # endif
11530 # endif
11531 #endif
11532
11533 /* When -fvisbility=hidden is used, assume the code has been annotated
11534 correspondingly for the symbols needed. */
11535 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11536 void fnord () __attribute__((visibility("default")));
11537 #endif
11538
11539 void fnord () { int i=42; }
11540 int main ()
11541 {
11542 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11543 int status = $lt_dlunknown;
11544
11545 if (self)
11546 {
11547 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11548 else
11549 {
11550 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11551 else puts (dlerror ());
11552 }
11553 /* dlclose (self); */
11554 }
11555 else
11556 puts (dlerror ());
11557
11558 return status;
11559 }
11560 _LT_EOF
11561 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11562 (eval $ac_link) 2>&5
11563 ac_status=$?
11564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11565 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11566 (./conftest; exit; ) >&5 2>/dev/null
11567 lt_status=$?
11568 case x$lt_status in
11569 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11570 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11571 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11572 esac
11573 else :
11574 # compilation failed
11575 lt_cv_dlopen_self=no
11576 fi
11577 fi
11578 rm -fr conftest*
11579
11580
11581 fi
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11583 $as_echo "$lt_cv_dlopen_self" >&6; }
11584
11585 if test "x$lt_cv_dlopen_self" = xyes; then
11586 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11588 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11589 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11590 $as_echo_n "(cached) " >&6
11591 else
11592 if test "$cross_compiling" = yes; then :
11593 lt_cv_dlopen_self_static=cross
11594 else
11595 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11596 lt_status=$lt_dlunknown
11597 cat > conftest.$ac_ext <<_LT_EOF
11598 #line 11598 "configure"
11599 #include "confdefs.h"
11600
11601 #if HAVE_DLFCN_H
11602 #include <dlfcn.h>
11603 #endif
11604
11605 #include <stdio.h>
11606
11607 #ifdef RTLD_GLOBAL
11608 # define LT_DLGLOBAL RTLD_GLOBAL
11609 #else
11610 # ifdef DL_GLOBAL
11611 # define LT_DLGLOBAL DL_GLOBAL
11612 # else
11613 # define LT_DLGLOBAL 0
11614 # endif
11615 #endif
11616
11617 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11618 find out it does not work in some platform. */
11619 #ifndef LT_DLLAZY_OR_NOW
11620 # ifdef RTLD_LAZY
11621 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11622 # else
11623 # ifdef DL_LAZY
11624 # define LT_DLLAZY_OR_NOW DL_LAZY
11625 # else
11626 # ifdef RTLD_NOW
11627 # define LT_DLLAZY_OR_NOW RTLD_NOW
11628 # else
11629 # ifdef DL_NOW
11630 # define LT_DLLAZY_OR_NOW DL_NOW
11631 # else
11632 # define LT_DLLAZY_OR_NOW 0
11633 # endif
11634 # endif
11635 # endif
11636 # endif
11637 #endif
11638
11639 /* When -fvisbility=hidden is used, assume the code has been annotated
11640 correspondingly for the symbols needed. */
11641 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11642 void fnord () __attribute__((visibility("default")));
11643 #endif
11644
11645 void fnord () { int i=42; }
11646 int main ()
11647 {
11648 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11649 int status = $lt_dlunknown;
11650
11651 if (self)
11652 {
11653 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11654 else
11655 {
11656 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11657 else puts (dlerror ());
11658 }
11659 /* dlclose (self); */
11660 }
11661 else
11662 puts (dlerror ());
11663
11664 return status;
11665 }
11666 _LT_EOF
11667 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11668 (eval $ac_link) 2>&5
11669 ac_status=$?
11670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11671 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11672 (./conftest; exit; ) >&5 2>/dev/null
11673 lt_status=$?
11674 case x$lt_status in
11675 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11676 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11677 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11678 esac
11679 else :
11680 # compilation failed
11681 lt_cv_dlopen_self_static=no
11682 fi
11683 fi
11684 rm -fr conftest*
11685
11686
11687 fi
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11689 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11690 fi
11691
11692 CPPFLAGS="$save_CPPFLAGS"
11693 LDFLAGS="$save_LDFLAGS"
11694 LIBS="$save_LIBS"
11695 ;;
11696 esac
11697
11698 case $lt_cv_dlopen_self in
11699 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11700 *) enable_dlopen_self=unknown ;;
11701 esac
11702
11703 case $lt_cv_dlopen_self_static in
11704 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11705 *) enable_dlopen_self_static=unknown ;;
11706 esac
11707 fi
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725 striplib=
11726 old_striplib=
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11728 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11729 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11730 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11731 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11733 $as_echo "yes" >&6; }
11734 else
11735 # FIXME - insert some real tests, host_os isn't really good enough
11736 case $host_os in
11737 darwin*)
11738 if test -n "$STRIP" ; then
11739 striplib="$STRIP -x"
11740 old_striplib="$STRIP -S"
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11742 $as_echo "yes" >&6; }
11743 else
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11745 $as_echo "no" >&6; }
11746 fi
11747 ;;
11748 *)
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11750 $as_echo "no" >&6; }
11751 ;;
11752 esac
11753 fi
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766 # Report which library types will actually be built
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11768 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11770 $as_echo "$can_build_shared" >&6; }
11771
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11773 $as_echo_n "checking whether to build shared libraries... " >&6; }
11774 test "$can_build_shared" = "no" && enable_shared=no
11775
11776 # On AIX, shared libraries and static libraries use the same namespace, and
11777 # are all built from PIC.
11778 case $host_os in
11779 aix3*)
11780 test "$enable_shared" = yes && enable_static=no
11781 if test -n "$RANLIB"; then
11782 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11783 postinstall_cmds='$RANLIB $lib'
11784 fi
11785 ;;
11786
11787 aix[4-9]*)
11788 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11789 test "$enable_shared" = yes && enable_static=no
11790 fi
11791 ;;
11792 esac
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11794 $as_echo "$enable_shared" >&6; }
11795
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11797 $as_echo_n "checking whether to build static libraries... " >&6; }
11798 # Make sure either enable_shared or enable_static is yes.
11799 test "$enable_shared" = yes || enable_static=yes
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11801 $as_echo "$enable_static" >&6; }
11802
11803
11804
11805
11806 fi
11807 ac_ext=c
11808 ac_cpp='$CPP $CPPFLAGS'
11809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11812
11813 CC="$lt_save_CC"
11814
11815 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11816 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11817 (test "X$CXX" != "Xg++"))) ; then
11818 ac_ext=cpp
11819 ac_cpp='$CXXCPP $CPPFLAGS'
11820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11824 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11825 if test -z "$CXXCPP"; then
11826 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11827 $as_echo_n "(cached) " >&6
11828 else
11829 # Double quotes because CXXCPP needs to be expanded
11830 for CXXCPP in "$CXX -E" "/lib/cpp"
11831 do
11832 ac_preproc_ok=false
11833 for ac_cxx_preproc_warn_flag in '' yes
11834 do
11835 # Use a header file that comes with gcc, so configuring glibc
11836 # with a fresh cross-compiler works.
11837 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11838 # <limits.h> exists even on freestanding compilers.
11839 # On the NeXT, cc -E runs the code through the compiler's parser,
11840 # not just through cpp. "Syntax error" is here to catch this case.
11841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h. */
11843 #ifdef __STDC__
11844 # include <limits.h>
11845 #else
11846 # include <assert.h>
11847 #endif
11848 Syntax error
11849 _ACEOF
11850 if ac_fn_cxx_try_cpp "$LINENO"; then :
11851
11852 else
11853 # Broken: fails on valid input.
11854 continue
11855 fi
11856 rm -f conftest.err conftest.$ac_ext
11857
11858 # OK, works on sane cases. Now check whether nonexistent headers
11859 # can be detected and how.
11860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11861 /* end confdefs.h. */
11862 #include <ac_nonexistent.h>
11863 _ACEOF
11864 if ac_fn_cxx_try_cpp "$LINENO"; then :
11865 # Broken: success on invalid input.
11866 continue
11867 else
11868 # Passes both tests.
11869 ac_preproc_ok=:
11870 break
11871 fi
11872 rm -f conftest.err conftest.$ac_ext
11873
11874 done
11875 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11876 rm -f conftest.err conftest.$ac_ext
11877 if $ac_preproc_ok; then :
11878 break
11879 fi
11880
11881 done
11882 ac_cv_prog_CXXCPP=$CXXCPP
11883
11884 fi
11885 CXXCPP=$ac_cv_prog_CXXCPP
11886 else
11887 ac_cv_prog_CXXCPP=$CXXCPP
11888 fi
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11890 $as_echo "$CXXCPP" >&6; }
11891 ac_preproc_ok=false
11892 for ac_cxx_preproc_warn_flag in '' yes
11893 do
11894 # Use a header file that comes with gcc, so configuring glibc
11895 # with a fresh cross-compiler works.
11896 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11897 # <limits.h> exists even on freestanding compilers.
11898 # On the NeXT, cc -E runs the code through the compiler's parser,
11899 # not just through cpp. "Syntax error" is here to catch this case.
11900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11902 #ifdef __STDC__
11903 # include <limits.h>
11904 #else
11905 # include <assert.h>
11906 #endif
11907 Syntax error
11908 _ACEOF
11909 if ac_fn_cxx_try_cpp "$LINENO"; then :
11910
11911 else
11912 # Broken: fails on valid input.
11913 continue
11914 fi
11915 rm -f conftest.err conftest.$ac_ext
11916
11917 # OK, works on sane cases. Now check whether nonexistent headers
11918 # can be detected and how.
11919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11921 #include <ac_nonexistent.h>
11922 _ACEOF
11923 if ac_fn_cxx_try_cpp "$LINENO"; then :
11924 # Broken: success on invalid input.
11925 continue
11926 else
11927 # Passes both tests.
11928 ac_preproc_ok=:
11929 break
11930 fi
11931 rm -f conftest.err conftest.$ac_ext
11932
11933 done
11934 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11935 rm -f conftest.err conftest.$ac_ext
11936 if $ac_preproc_ok; then :
11937
11938 else
11939 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11941 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11942 See \`config.log' for more details." "$LINENO" 5; }
11943 fi
11944
11945 ac_ext=c
11946 ac_cpp='$CPP $CPPFLAGS'
11947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11950
11951 else
11952 _lt_caught_CXX_error=yes
11953 fi
11954
11955 ac_ext=cpp
11956 ac_cpp='$CXXCPP $CPPFLAGS'
11957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11960
11961 archive_cmds_need_lc_CXX=no
11962 allow_undefined_flag_CXX=
11963 always_export_symbols_CXX=no
11964 archive_expsym_cmds_CXX=
11965 compiler_needs_object_CXX=no
11966 export_dynamic_flag_spec_CXX=
11967 hardcode_direct_CXX=no
11968 hardcode_direct_absolute_CXX=no
11969 hardcode_libdir_flag_spec_CXX=
11970 hardcode_libdir_flag_spec_ld_CXX=
11971 hardcode_libdir_separator_CXX=
11972 hardcode_minus_L_CXX=no
11973 hardcode_shlibpath_var_CXX=unsupported
11974 hardcode_automatic_CXX=no
11975 inherit_rpath_CXX=no
11976 module_cmds_CXX=
11977 module_expsym_cmds_CXX=
11978 link_all_deplibs_CXX=unknown
11979 old_archive_cmds_CXX=$old_archive_cmds
11980 reload_flag_CXX=$reload_flag
11981 reload_cmds_CXX=$reload_cmds
11982 no_undefined_flag_CXX=
11983 whole_archive_flag_spec_CXX=
11984 enable_shared_with_static_runtimes_CXX=no
11985
11986 # Source file extension for C++ test sources.
11987 ac_ext=cpp
11988
11989 # Object file extension for compiled C++ test sources.
11990 objext=o
11991 objext_CXX=$objext
11992
11993 # No sense in running all these tests if we already determined that
11994 # the CXX compiler isn't working. Some variables (like enable_shared)
11995 # are currently assumed to apply to all compilers on this platform,
11996 # and will be corrupted by setting them based on a non-working compiler.
11997 if test "$_lt_caught_CXX_error" != yes; then
11998 # Code to be used in simple compile tests
11999 lt_simple_compile_test_code="int some_variable = 0;"
12000
12001 # Code to be used in simple link tests
12002 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12003
12004 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12005
12006
12007
12008
12009
12010
12011 # If no C compiler was specified, use CC.
12012 LTCC=${LTCC-"$CC"}
12013
12014 # If no C compiler flags were specified, use CFLAGS.
12015 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12016
12017 # Allow CC to be a program name with arguments.
12018 compiler=$CC
12019
12020
12021 # save warnings/boilerplate of simple test code
12022 ac_outfile=conftest.$ac_objext
12023 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12024 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12025 _lt_compiler_boilerplate=`cat conftest.err`
12026 $RM conftest*
12027
12028 ac_outfile=conftest.$ac_objext
12029 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12030 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12031 _lt_linker_boilerplate=`cat conftest.err`
12032 $RM -r conftest*
12033
12034
12035 # Allow CC to be a program name with arguments.
12036 lt_save_CC=$CC
12037 lt_save_LD=$LD
12038 lt_save_GCC=$GCC
12039 GCC=$GXX
12040 lt_save_with_gnu_ld=$with_gnu_ld
12041 lt_save_path_LD=$lt_cv_path_LD
12042 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12043 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12044 else
12045 $as_unset lt_cv_prog_gnu_ld
12046 fi
12047 if test -n "${lt_cv_path_LDCXX+set}"; then
12048 lt_cv_path_LD=$lt_cv_path_LDCXX
12049 else
12050 $as_unset lt_cv_path_LD
12051 fi
12052 test -z "${LDCXX+set}" || LD=$LDCXX
12053 CC=${CXX-"c++"}
12054 compiler=$CC
12055 compiler_CXX=$CC
12056 for cc_temp in $compiler""; do
12057 case $cc_temp in
12058 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12059 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12060 \-*) ;;
12061 *) break;;
12062 esac
12063 done
12064 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12065
12066
12067 if test -n "$compiler"; then
12068 # We don't want -fno-exception when compiling C++ code, so set the
12069 # no_builtin_flag separately
12070 if test "$GXX" = yes; then
12071 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12072 else
12073 lt_prog_compiler_no_builtin_flag_CXX=
12074 fi
12075
12076 if test "$GXX" = yes; then
12077 # Set up default GNU C++ configuration
12078
12079
12080
12081 # Check whether --with-gnu-ld was given.
12082 if test "${with_gnu_ld+set}" = set; then :
12083 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12084 else
12085 with_gnu_ld=no
12086 fi
12087
12088 ac_prog=ld
12089 if test "$GCC" = yes; then
12090 # Check if gcc -print-prog-name=ld gives a path.
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12092 $as_echo_n "checking for ld used by $CC... " >&6; }
12093 case $host in
12094 *-*-mingw*)
12095 # gcc leaves a trailing carriage return which upsets mingw
12096 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12097 *)
12098 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12099 esac
12100 case $ac_prog in
12101 # Accept absolute paths.
12102 [\\/]* | ?:[\\/]*)
12103 re_direlt='/[^/][^/]*/\.\./'
12104 # Canonicalize the pathname of ld
12105 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12106 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12107 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12108 done
12109 test -z "$LD" && LD="$ac_prog"
12110 ;;
12111 "")
12112 # If it fails, then pretend we aren't using GCC.
12113 ac_prog=ld
12114 ;;
12115 *)
12116 # If it is relative, then search for the first ld in PATH.
12117 with_gnu_ld=unknown
12118 ;;
12119 esac
12120 elif test "$with_gnu_ld" = yes; then
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12122 $as_echo_n "checking for GNU ld... " >&6; }
12123 else
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12125 $as_echo_n "checking for non-GNU ld... " >&6; }
12126 fi
12127 if test "${lt_cv_path_LD+set}" = set; then :
12128 $as_echo_n "(cached) " >&6
12129 else
12130 if test -z "$LD"; then
12131 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12132 for ac_dir in $PATH; do
12133 IFS="$lt_save_ifs"
12134 test -z "$ac_dir" && ac_dir=.
12135 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12136 lt_cv_path_LD="$ac_dir/$ac_prog"
12137 # Check to see if the program is GNU ld. I'd rather use --version,
12138 # but apparently some variants of GNU ld only accept -v.
12139 # Break only if it was the GNU/non-GNU ld that we prefer.
12140 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12141 *GNU* | *'with BFD'*)
12142 test "$with_gnu_ld" != no && break
12143 ;;
12144 *)
12145 test "$with_gnu_ld" != yes && break
12146 ;;
12147 esac
12148 fi
12149 done
12150 IFS="$lt_save_ifs"
12151 else
12152 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12153 fi
12154 fi
12155
12156 LD="$lt_cv_path_LD"
12157 if test -n "$LD"; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12159 $as_echo "$LD" >&6; }
12160 else
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12162 $as_echo "no" >&6; }
12163 fi
12164 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12166 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12167 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12168 $as_echo_n "(cached) " >&6
12169 else
12170 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12171 case `$LD -v 2>&1 </dev/null` in
12172 *GNU* | *'with BFD'*)
12173 lt_cv_prog_gnu_ld=yes
12174 ;;
12175 *)
12176 lt_cv_prog_gnu_ld=no
12177 ;;
12178 esac
12179 fi
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12181 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12182 with_gnu_ld=$lt_cv_prog_gnu_ld
12183
12184
12185
12186
12187
12188
12189
12190 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12191 # archiving commands below assume that GNU ld is being used.
12192 if test "$with_gnu_ld" = yes; then
12193 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12194 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'
12195
12196 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12197 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12198
12199 # If archive_cmds runs LD, not CC, wlarc should be empty
12200 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12201 # investigate it a little bit more. (MM)
12202 wlarc='${wl}'
12203
12204 # ancient GNU ld didn't support --whole-archive et. al.
12205 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12206 $GREP 'no-whole-archive' > /dev/null; then
12207 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12208 else
12209 whole_archive_flag_spec_CXX=
12210 fi
12211 else
12212 with_gnu_ld=no
12213 wlarc=
12214
12215 # A generic and very simple default shared library creation
12216 # command for GNU C++ for the case where it uses the native
12217 # linker, instead of GNU ld. If possible, this setting should
12218 # overridden to take advantage of the native linker features on
12219 # the platform it is being used on.
12220 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12221 fi
12222
12223 # Commands to make compiler produce verbose output that lists
12224 # what "hidden" libraries, object files and flags are used when
12225 # linking a shared library.
12226 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12227
12228 else
12229 GXX=no
12230 with_gnu_ld=no
12231 wlarc=
12232 fi
12233
12234 # PORTME: fill in a description of your system's C++ link characteristics
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12236 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12237 ld_shlibs_CXX=yes
12238 case $host_os in
12239 aix3*)
12240 # FIXME: insert proper C++ library support
12241 ld_shlibs_CXX=no
12242 ;;
12243 aix[4-9]*)
12244 if test "$host_cpu" = ia64; then
12245 # On IA64, the linker does run time linking by default, so we don't
12246 # have to do anything special.
12247 aix_use_runtimelinking=no
12248 exp_sym_flag='-Bexport'
12249 no_entry_flag=""
12250 else
12251 aix_use_runtimelinking=no
12252
12253 # Test if we are trying to use run time linking or normal
12254 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12255 # need to do runtime linking.
12256 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12257 for ld_flag in $LDFLAGS; do
12258 case $ld_flag in
12259 *-brtl*)
12260 aix_use_runtimelinking=yes
12261 break
12262 ;;
12263 esac
12264 done
12265 ;;
12266 esac
12267
12268 exp_sym_flag='-bexport'
12269 no_entry_flag='-bnoentry'
12270 fi
12271
12272 # When large executables or shared objects are built, AIX ld can
12273 # have problems creating the table of contents. If linking a library
12274 # or program results in "error TOC overflow" add -mminimal-toc to
12275 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12276 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12277
12278 archive_cmds_CXX=''
12279 hardcode_direct_CXX=yes
12280 hardcode_direct_absolute_CXX=yes
12281 hardcode_libdir_separator_CXX=':'
12282 link_all_deplibs_CXX=yes
12283 file_list_spec_CXX='${wl}-f,'
12284
12285 if test "$GXX" = yes; then
12286 case $host_os in aix4.[012]|aix4.[012].*)
12287 # We only want to do this on AIX 4.2 and lower, the check
12288 # below for broken collect2 doesn't work under 4.3+
12289 collect2name=`${CC} -print-prog-name=collect2`
12290 if test -f "$collect2name" &&
12291 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12292 then
12293 # We have reworked collect2
12294 :
12295 else
12296 # We have old collect2
12297 hardcode_direct_CXX=unsupported
12298 # It fails to find uninstalled libraries when the uninstalled
12299 # path is not listed in the libpath. Setting hardcode_minus_L
12300 # to unsupported forces relinking
12301 hardcode_minus_L_CXX=yes
12302 hardcode_libdir_flag_spec_CXX='-L$libdir'
12303 hardcode_libdir_separator_CXX=
12304 fi
12305 esac
12306 shared_flag='-shared'
12307 if test "$aix_use_runtimelinking" = yes; then
12308 shared_flag="$shared_flag "'${wl}-G'
12309 fi
12310 else
12311 # not using gcc
12312 if test "$host_cpu" = ia64; then
12313 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12314 # chokes on -Wl,-G. The following line is correct:
12315 shared_flag='-G'
12316 else
12317 if test "$aix_use_runtimelinking" = yes; then
12318 shared_flag='${wl}-G'
12319 else
12320 shared_flag='${wl}-bM:SRE'
12321 fi
12322 fi
12323 fi
12324
12325 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12326 # It seems that -bexpall does not export symbols beginning with
12327 # underscore (_), so it is better to generate a list of symbols to
12328 # export.
12329 always_export_symbols_CXX=yes
12330 if test "$aix_use_runtimelinking" = yes; then
12331 # Warning - without using the other runtime loading flags (-brtl),
12332 # -berok will link without error, but may produce a broken library.
12333 allow_undefined_flag_CXX='-berok'
12334 # Determine the default libpath from the value encoded in an empty
12335 # executable.
12336 if test x$gcc_no_link = xyes; then
12337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12338 fi
12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12341
12342 int
12343 main ()
12344 {
12345
12346 ;
12347 return 0;
12348 }
12349 _ACEOF
12350 if ac_fn_cxx_try_link "$LINENO"; then :
12351
12352 lt_aix_libpath_sed='
12353 /Import File Strings/,/^$/ {
12354 /^0/ {
12355 s/^0 *\(.*\)$/\1/
12356 p
12357 }
12358 }'
12359 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12360 # Check for a 64-bit object if we didn't find anything.
12361 if test -z "$aix_libpath"; then
12362 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12363 fi
12364 fi
12365 rm -f core conftest.err conftest.$ac_objext \
12366 conftest$ac_exeext conftest.$ac_ext
12367 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12368
12369 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12370
12371 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"
12372 else
12373 if test "$host_cpu" = ia64; then
12374 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12375 allow_undefined_flag_CXX="-z nodefs"
12376 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"
12377 else
12378 # Determine the default libpath from the value encoded in an
12379 # empty executable.
12380 if test x$gcc_no_link = xyes; then
12381 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12382 fi
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12385
12386 int
12387 main ()
12388 {
12389
12390 ;
12391 return 0;
12392 }
12393 _ACEOF
12394 if ac_fn_cxx_try_link "$LINENO"; then :
12395
12396 lt_aix_libpath_sed='
12397 /Import File Strings/,/^$/ {
12398 /^0/ {
12399 s/^0 *\(.*\)$/\1/
12400 p
12401 }
12402 }'
12403 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12404 # Check for a 64-bit object if we didn't find anything.
12405 if test -z "$aix_libpath"; then
12406 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12407 fi
12408 fi
12409 rm -f core conftest.err conftest.$ac_objext \
12410 conftest$ac_exeext conftest.$ac_ext
12411 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12412
12413 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12414 # Warning - without using the other run time loading flags,
12415 # -berok will link without error, but may produce a broken library.
12416 no_undefined_flag_CXX=' ${wl}-bernotok'
12417 allow_undefined_flag_CXX=' ${wl}-berok'
12418 if test "$with_gnu_ld" = yes; then
12419 # We only use this code for GNU lds that support --whole-archive.
12420 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12421 else
12422 # Exported symbols can be pulled into shared objects from archives
12423 whole_archive_flag_spec_CXX='$convenience'
12424 fi
12425 archive_cmds_need_lc_CXX=yes
12426 # This is similar to how AIX traditionally builds its shared
12427 # libraries.
12428 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'
12429 fi
12430 fi
12431 ;;
12432
12433 beos*)
12434 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12435 allow_undefined_flag_CXX=unsupported
12436 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12437 # support --undefined. This deserves some investigation. FIXME
12438 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12439 else
12440 ld_shlibs_CXX=no
12441 fi
12442 ;;
12443
12444 chorus*)
12445 case $cc_basename in
12446 *)
12447 # FIXME: insert proper C++ library support
12448 ld_shlibs_CXX=no
12449 ;;
12450 esac
12451 ;;
12452
12453 cygwin* | mingw* | pw32* | cegcc*)
12454 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12455 # as there is no search path for DLLs.
12456 hardcode_libdir_flag_spec_CXX='-L$libdir'
12457 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12458 allow_undefined_flag_CXX=unsupported
12459 always_export_symbols_CXX=no
12460 enable_shared_with_static_runtimes_CXX=yes
12461
12462 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12463 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'
12464 # If the export-symbols file already is a .def file (1st line
12465 # is EXPORTS), use it as is; otherwise, prepend...
12466 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12467 cp $export_symbols $output_objdir/$soname.def;
12468 else
12469 echo EXPORTS > $output_objdir/$soname.def;
12470 cat $export_symbols >> $output_objdir/$soname.def;
12471 fi~
12472 $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'
12473 else
12474 ld_shlibs_CXX=no
12475 fi
12476 ;;
12477 darwin* | rhapsody*)
12478
12479
12480 archive_cmds_need_lc_CXX=no
12481 hardcode_direct_CXX=no
12482 hardcode_automatic_CXX=yes
12483 hardcode_shlibpath_var_CXX=unsupported
12484 if test "$lt_cv_ld_force_load" = "yes"; then
12485 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\"`'
12486 else
12487 whole_archive_flag_spec_CXX=''
12488 fi
12489 link_all_deplibs_CXX=yes
12490 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12491 case $cc_basename in
12492 ifort*) _lt_dar_can_shared=yes ;;
12493 *) _lt_dar_can_shared=$GCC ;;
12494 esac
12495 if test "$_lt_dar_can_shared" = "yes"; then
12496 output_verbose_link_cmd=func_echo_all
12497 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}"
12498 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12499 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}"
12500 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}"
12501 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12502 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}"
12503 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}"
12504 fi
12505
12506 else
12507 ld_shlibs_CXX=no
12508 fi
12509
12510 ;;
12511
12512 dgux*)
12513 case $cc_basename in
12514 ec++*)
12515 # FIXME: insert proper C++ library support
12516 ld_shlibs_CXX=no
12517 ;;
12518 ghcx*)
12519 # Green Hills C++ Compiler
12520 # FIXME: insert proper C++ library support
12521 ld_shlibs_CXX=no
12522 ;;
12523 *)
12524 # FIXME: insert proper C++ library support
12525 ld_shlibs_CXX=no
12526 ;;
12527 esac
12528 ;;
12529
12530 freebsd[12]*)
12531 # C++ shared libraries reported to be fairly broken before
12532 # switch to ELF
12533 ld_shlibs_CXX=no
12534 ;;
12535
12536 freebsd-elf*)
12537 archive_cmds_need_lc_CXX=no
12538 ;;
12539
12540 freebsd* | dragonfly*)
12541 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12542 # conventions
12543 ld_shlibs_CXX=yes
12544 ;;
12545
12546 gnu*)
12547 ;;
12548
12549 haiku*)
12550 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12551 link_all_deplibs_CXX=yes
12552 ;;
12553
12554 hpux9*)
12555 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12556 hardcode_libdir_separator_CXX=:
12557 export_dynamic_flag_spec_CXX='${wl}-E'
12558 hardcode_direct_CXX=yes
12559 hardcode_minus_L_CXX=yes # Not in the search PATH,
12560 # but as the default
12561 # location of the library.
12562
12563 case $cc_basename in
12564 CC*)
12565 # FIXME: insert proper C++ library support
12566 ld_shlibs_CXX=no
12567 ;;
12568 aCC*)
12569 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'
12570 # Commands to make compiler produce verbose output that lists
12571 # what "hidden" libraries, object files and flags are used when
12572 # linking a shared library.
12573 #
12574 # There doesn't appear to be a way to prevent this compiler from
12575 # explicitly linking system object files so we need to strip them
12576 # from the output so that they don't get included in the library
12577 # dependencies.
12578 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"'
12579 ;;
12580 *)
12581 if test "$GXX" = yes; then
12582 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'
12583 else
12584 # FIXME: insert proper C++ library support
12585 ld_shlibs_CXX=no
12586 fi
12587 ;;
12588 esac
12589 ;;
12590
12591 hpux10*|hpux11*)
12592 if test $with_gnu_ld = no; then
12593 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12594 hardcode_libdir_separator_CXX=:
12595
12596 case $host_cpu in
12597 hppa*64*|ia64*)
12598 ;;
12599 *)
12600 export_dynamic_flag_spec_CXX='${wl}-E'
12601 ;;
12602 esac
12603 fi
12604 case $host_cpu in
12605 hppa*64*|ia64*)
12606 hardcode_direct_CXX=no
12607 hardcode_shlibpath_var_CXX=no
12608 ;;
12609 *)
12610 hardcode_direct_CXX=yes
12611 hardcode_direct_absolute_CXX=yes
12612 hardcode_minus_L_CXX=yes # Not in the search PATH,
12613 # but as the default
12614 # location of the library.
12615 ;;
12616 esac
12617
12618 case $cc_basename in
12619 CC*)
12620 # FIXME: insert proper C++ library support
12621 ld_shlibs_CXX=no
12622 ;;
12623 aCC*)
12624 case $host_cpu in
12625 hppa*64*)
12626 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12627 ;;
12628 ia64*)
12629 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12630 ;;
12631 *)
12632 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12633 ;;
12634 esac
12635 # Commands to make compiler produce verbose output that lists
12636 # what "hidden" libraries, object files and flags are used when
12637 # linking a shared library.
12638 #
12639 # There doesn't appear to be a way to prevent this compiler from
12640 # explicitly linking system object files so we need to strip them
12641 # from the output so that they don't get included in the library
12642 # dependencies.
12643 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"'
12644 ;;
12645 *)
12646 if test "$GXX" = yes; then
12647 if test $with_gnu_ld = no; then
12648 case $host_cpu in
12649 hppa*64*)
12650 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12651 ;;
12652 ia64*)
12653 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12654 ;;
12655 *)
12656 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'
12657 ;;
12658 esac
12659 fi
12660 else
12661 # FIXME: insert proper C++ library support
12662 ld_shlibs_CXX=no
12663 fi
12664 ;;
12665 esac
12666 ;;
12667
12668 interix[3-9]*)
12669 hardcode_direct_CXX=no
12670 hardcode_shlibpath_var_CXX=no
12671 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12672 export_dynamic_flag_spec_CXX='${wl}-E'
12673 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12674 # Instead, shared libraries are loaded at an image base (0x10000000 by
12675 # default) and relocated if they conflict, which is a slow very memory
12676 # consuming and fragmenting process. To avoid this, we pick a random,
12677 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12678 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12679 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'
12680 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'
12681 ;;
12682 irix5* | irix6*)
12683 case $cc_basename in
12684 CC*)
12685 # SGI C++
12686 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'
12687
12688 # Archives containing C++ object files must be created using
12689 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12690 # necessary to make sure instantiated templates are included
12691 # in the archive.
12692 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12693 ;;
12694 *)
12695 if test "$GXX" = yes; then
12696 if test "$with_gnu_ld" = no; then
12697 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'
12698 else
12699 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'
12700 fi
12701 fi
12702 link_all_deplibs_CXX=yes
12703 ;;
12704 esac
12705 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12706 hardcode_libdir_separator_CXX=:
12707 inherit_rpath_CXX=yes
12708 ;;
12709
12710 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12711 case $cc_basename in
12712 KCC*)
12713 # Kuck and Associates, Inc. (KAI) C++ Compiler
12714
12715 # KCC will only create a shared library if the output file
12716 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12717 # to its proper name (with version) after linking.
12718 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'
12719 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'
12720 # Commands to make compiler produce verbose output that lists
12721 # what "hidden" libraries, object files and flags are used when
12722 # linking a shared library.
12723 #
12724 # There doesn't appear to be a way to prevent this compiler from
12725 # explicitly linking system object files so we need to strip them
12726 # from the output so that they don't get included in the library
12727 # dependencies.
12728 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"'
12729
12730 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12731 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12732
12733 # Archives containing C++ object files must be created using
12734 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12735 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12736 ;;
12737 icpc* | ecpc* )
12738 # Intel C++
12739 with_gnu_ld=yes
12740 # version 8.0 and above of icpc choke on multiply defined symbols
12741 # if we add $predep_objects and $postdep_objects, however 7.1 and
12742 # earlier do not add the objects themselves.
12743 case `$CC -V 2>&1` in
12744 *"Version 7."*)
12745 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12746 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'
12747 ;;
12748 *) # Version 8.0 or newer
12749 tmp_idyn=
12750 case $host_cpu in
12751 ia64*) tmp_idyn=' -i_dynamic';;
12752 esac
12753 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12754 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'
12755 ;;
12756 esac
12757 archive_cmds_need_lc_CXX=no
12758 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12759 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12760 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12761 ;;
12762 pgCC* | pgcpp*)
12763 # Portland Group C++ compiler
12764 case `$CC -V` in
12765 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12766 prelink_cmds_CXX='tpldir=Template.dir~
12767 rm -rf $tpldir~
12768 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12769 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12770 old_archive_cmds_CXX='tpldir=Template.dir~
12771 rm -rf $tpldir~
12772 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12773 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12774 $RANLIB $oldlib'
12775 archive_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 -o $lib'
12779 archive_expsym_cmds_CXX='tpldir=Template.dir~
12780 rm -rf $tpldir~
12781 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12782 $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'
12783 ;;
12784 *) # Version 6 and above use weak symbols
12785 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12786 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'
12787 ;;
12788 esac
12789
12790 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12791 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12792 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'
12793 ;;
12794 cxx*)
12795 # Compaq C++
12796 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12797 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'
12798
12799 runpath_var=LD_RUN_PATH
12800 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12801 hardcode_libdir_separator_CXX=:
12802
12803 # Commands to make compiler produce verbose output that lists
12804 # what "hidden" libraries, object files and flags are used when
12805 # linking a shared library.
12806 #
12807 # There doesn't appear to be a way to prevent this compiler from
12808 # explicitly linking system object files so we need to strip them
12809 # from the output so that they don't get included in the library
12810 # dependencies.
12811 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'
12812 ;;
12813 xl* | mpixl* | bgxl*)
12814 # IBM XL 8.0 on PPC, with GNU ld
12815 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12816 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12817 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12818 if test "x$supports_anon_versioning" = xyes; then
12819 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12820 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12821 echo "local: *; };" >> $output_objdir/$libname.ver~
12822 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12823 fi
12824 ;;
12825 *)
12826 case `$CC -V 2>&1 | sed 5q` in
12827 *Sun\ C*)
12828 # Sun C++ 5.9
12829 no_undefined_flag_CXX=' -zdefs'
12830 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12831 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'
12832 hardcode_libdir_flag_spec_CXX='-R$libdir'
12833 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'
12834 compiler_needs_object_CXX=yes
12835
12836 # Not sure whether something based on
12837 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12838 # would be better.
12839 output_verbose_link_cmd='func_echo_all'
12840
12841 # Archives containing C++ object files must be created using
12842 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12843 # necessary to make sure instantiated templates are included
12844 # in the archive.
12845 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12846 ;;
12847 esac
12848 ;;
12849 esac
12850 ;;
12851
12852 lynxos*)
12853 # FIXME: insert proper C++ library support
12854 ld_shlibs_CXX=no
12855 ;;
12856
12857 m88k*)
12858 # FIXME: insert proper C++ library support
12859 ld_shlibs_CXX=no
12860 ;;
12861
12862 mvs*)
12863 case $cc_basename in
12864 cxx*)
12865 # FIXME: insert proper C++ library support
12866 ld_shlibs_CXX=no
12867 ;;
12868 *)
12869 # FIXME: insert proper C++ library support
12870 ld_shlibs_CXX=no
12871 ;;
12872 esac
12873 ;;
12874
12875 netbsd*)
12876 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12877 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12878 wlarc=
12879 hardcode_libdir_flag_spec_CXX='-R$libdir'
12880 hardcode_direct_CXX=yes
12881 hardcode_shlibpath_var_CXX=no
12882 fi
12883 # Workaround some broken pre-1.5 toolchains
12884 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12885 ;;
12886
12887 *nto* | *qnx*)
12888 ld_shlibs_CXX=yes
12889 ;;
12890
12891 openbsd2*)
12892 # C++ shared libraries are fairly broken
12893 ld_shlibs_CXX=no
12894 ;;
12895
12896 openbsd*)
12897 if test -f /usr/libexec/ld.so; then
12898 hardcode_direct_CXX=yes
12899 hardcode_shlibpath_var_CXX=no
12900 hardcode_direct_absolute_CXX=yes
12901 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12902 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12903 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12904 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12905 export_dynamic_flag_spec_CXX='${wl}-E'
12906 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12907 fi
12908 output_verbose_link_cmd=func_echo_all
12909 else
12910 ld_shlibs_CXX=no
12911 fi
12912 ;;
12913
12914 osf3* | osf4* | osf5*)
12915 case $cc_basename in
12916 KCC*)
12917 # Kuck and Associates, Inc. (KAI) C++ Compiler
12918
12919 # KCC will only create a shared library if the output file
12920 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12921 # to its proper name (with version) after linking.
12922 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'
12923
12924 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12925 hardcode_libdir_separator_CXX=:
12926
12927 # Archives containing C++ object files must be created using
12928 # the KAI C++ compiler.
12929 case $host in
12930 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12931 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12932 esac
12933 ;;
12934 RCC*)
12935 # Rational C++ 2.4.1
12936 # FIXME: insert proper C++ library support
12937 ld_shlibs_CXX=no
12938 ;;
12939 cxx*)
12940 case $host in
12941 osf3*)
12942 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12943 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'
12944 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12945 ;;
12946 *)
12947 allow_undefined_flag_CXX=' -expect_unresolved \*'
12948 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'
12949 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12950 echo "-hidden">> $lib.exp~
12951 $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~
12952 $RM $lib.exp'
12953 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12954 ;;
12955 esac
12956
12957 hardcode_libdir_separator_CXX=:
12958
12959 # Commands to make compiler produce verbose output that lists
12960 # what "hidden" libraries, object files and flags are used when
12961 # linking a shared library.
12962 #
12963 # There doesn't appear to be a way to prevent this compiler from
12964 # explicitly linking system object files so we need to strip them
12965 # from the output so that they don't get included in the library
12966 # dependencies.
12967 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"'
12968 ;;
12969 *)
12970 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12971 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12972 case $host in
12973 osf3*)
12974 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'
12975 ;;
12976 *)
12977 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'
12978 ;;
12979 esac
12980
12981 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12982 hardcode_libdir_separator_CXX=:
12983
12984 # Commands to make compiler produce verbose output that lists
12985 # what "hidden" libraries, object files and flags are used when
12986 # linking a shared library.
12987 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12988
12989 else
12990 # FIXME: insert proper C++ library support
12991 ld_shlibs_CXX=no
12992 fi
12993 ;;
12994 esac
12995 ;;
12996
12997 psos*)
12998 # FIXME: insert proper C++ library support
12999 ld_shlibs_CXX=no
13000 ;;
13001
13002 sunos4*)
13003 case $cc_basename in
13004 CC*)
13005 # Sun C++ 4.x
13006 # FIXME: insert proper C++ library support
13007 ld_shlibs_CXX=no
13008 ;;
13009 lcc*)
13010 # Lucid
13011 # FIXME: insert proper C++ library support
13012 ld_shlibs_CXX=no
13013 ;;
13014 *)
13015 # FIXME: insert proper C++ library support
13016 ld_shlibs_CXX=no
13017 ;;
13018 esac
13019 ;;
13020
13021 solaris*)
13022 case $cc_basename in
13023 CC*)
13024 # Sun C++ 4.2, 5.x and Centerline C++
13025 archive_cmds_need_lc_CXX=yes
13026 no_undefined_flag_CXX=' -zdefs'
13027 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13028 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13029 $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'
13030
13031 hardcode_libdir_flag_spec_CXX='-R$libdir'
13032 hardcode_shlibpath_var_CXX=no
13033 case $host_os in
13034 solaris2.[0-5] | solaris2.[0-5].*) ;;
13035 *)
13036 # The compiler driver will combine and reorder linker options,
13037 # but understands `-z linker_flag'.
13038 # Supported since Solaris 2.6 (maybe 2.5.1?)
13039 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13040 ;;
13041 esac
13042 link_all_deplibs_CXX=yes
13043
13044 output_verbose_link_cmd='func_echo_all'
13045
13046 # Archives containing C++ object files must be created using
13047 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13048 # necessary to make sure instantiated templates are included
13049 # in the archive.
13050 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13051 ;;
13052 gcx*)
13053 # Green Hills C++ Compiler
13054 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13055
13056 # The C++ compiler must be used to create the archive.
13057 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13058 ;;
13059 *)
13060 # GNU C++ compiler with Solaris linker
13061 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13062 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13063 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13064 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13065 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13066 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13067
13068 # Commands to make compiler produce verbose output that lists
13069 # what "hidden" libraries, object files and flags are used when
13070 # linking a shared library.
13071 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13072 else
13073 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13074 # platform.
13075 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13076 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13077 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13078
13079 # Commands to make compiler produce verbose output that lists
13080 # what "hidden" libraries, object files and flags are used when
13081 # linking a shared library.
13082 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13083 fi
13084
13085 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13086 case $host_os in
13087 solaris2.[0-5] | solaris2.[0-5].*) ;;
13088 *)
13089 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13090 ;;
13091 esac
13092 fi
13093 ;;
13094 esac
13095 ;;
13096
13097 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13098 no_undefined_flag_CXX='${wl}-z,text'
13099 archive_cmds_need_lc_CXX=no
13100 hardcode_shlibpath_var_CXX=no
13101 runpath_var='LD_RUN_PATH'
13102
13103 case $cc_basename in
13104 CC*)
13105 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13107 ;;
13108 *)
13109 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13110 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13111 ;;
13112 esac
13113 ;;
13114
13115 sysv5* | sco3.2v5* | sco5v6*)
13116 # Note: We can NOT use -z defs as we might desire, because we do not
13117 # link with -lc, and that would cause any symbols used from libc to
13118 # always be unresolved, which means just about no library would
13119 # ever link correctly. If we're not using GNU ld we use -z text
13120 # though, which does catch some bad symbols but isn't as heavy-handed
13121 # as -z defs.
13122 no_undefined_flag_CXX='${wl}-z,text'
13123 allow_undefined_flag_CXX='${wl}-z,nodefs'
13124 archive_cmds_need_lc_CXX=no
13125 hardcode_shlibpath_var_CXX=no
13126 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13127 hardcode_libdir_separator_CXX=':'
13128 link_all_deplibs_CXX=yes
13129 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13130 runpath_var='LD_RUN_PATH'
13131
13132 case $cc_basename in
13133 CC*)
13134 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13136 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13137 '"$old_archive_cmds_CXX"
13138 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13139 '"$reload_cmds_CXX"
13140 ;;
13141 *)
13142 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13144 ;;
13145 esac
13146 ;;
13147
13148 tandem*)
13149 case $cc_basename in
13150 NCC*)
13151 # NonStop-UX NCC 3.20
13152 # FIXME: insert proper C++ library support
13153 ld_shlibs_CXX=no
13154 ;;
13155 *)
13156 # FIXME: insert proper C++ library support
13157 ld_shlibs_CXX=no
13158 ;;
13159 esac
13160 ;;
13161
13162 vxworks*)
13163 # FIXME: insert proper C++ library support
13164 ld_shlibs_CXX=no
13165 ;;
13166
13167 *)
13168 # FIXME: insert proper C++ library support
13169 ld_shlibs_CXX=no
13170 ;;
13171 esac
13172
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13174 $as_echo "$ld_shlibs_CXX" >&6; }
13175 test "$ld_shlibs_CXX" = no && can_build_shared=no
13176
13177 GCC_CXX="$GXX"
13178 LD_CXX="$LD"
13179
13180 ## CAVEAT EMPTOR:
13181 ## There is no encapsulation within the following macros, do not change
13182 ## the running order or otherwise move them around unless you know exactly
13183 ## what you are doing...
13184 # Dependencies to place before and after the object being linked:
13185 predep_objects_CXX=
13186 postdep_objects_CXX=
13187 predeps_CXX=
13188 postdeps_CXX=
13189 compiler_lib_search_path_CXX=
13190
13191 cat > conftest.$ac_ext <<_LT_EOF
13192 class Foo
13193 {
13194 public:
13195 Foo (void) { a = 0; }
13196 private:
13197 int a;
13198 };
13199 _LT_EOF
13200
13201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13202 (eval $ac_compile) 2>&5
13203 ac_status=$?
13204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13205 test $ac_status = 0; }; then
13206 # Parse the compiler output and extract the necessary
13207 # objects, libraries and library flags.
13208
13209 # Sentinel used to keep track of whether or not we are before
13210 # the conftest object file.
13211 pre_test_object_deps_done=no
13212
13213 for p in `eval "$output_verbose_link_cmd"`; do
13214 case $p in
13215
13216 -L* | -R* | -l*)
13217 # Some compilers place space between "-{L,R}" and the path.
13218 # Remove the space.
13219 if test $p = "-L" ||
13220 test $p = "-R"; then
13221 prev=$p
13222 continue
13223 else
13224 prev=
13225 fi
13226
13227 if test "$pre_test_object_deps_done" = no; then
13228 case $p in
13229 -L* | -R*)
13230 # Internal compiler library paths should come after those
13231 # provided the user. The postdeps already come after the
13232 # user supplied libs so there is no need to process them.
13233 if test -z "$compiler_lib_search_path_CXX"; then
13234 compiler_lib_search_path_CXX="${prev}${p}"
13235 else
13236 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13237 fi
13238 ;;
13239 # The "-l" case would never come before the object being
13240 # linked, so don't bother handling this case.
13241 esac
13242 else
13243 if test -z "$postdeps_CXX"; then
13244 postdeps_CXX="${prev}${p}"
13245 else
13246 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13247 fi
13248 fi
13249 ;;
13250
13251 *.$objext)
13252 # This assumes that the test object file only shows up
13253 # once in the compiler output.
13254 if test "$p" = "conftest.$objext"; then
13255 pre_test_object_deps_done=yes
13256 continue
13257 fi
13258
13259 if test "$pre_test_object_deps_done" = no; then
13260 if test -z "$predep_objects_CXX"; then
13261 predep_objects_CXX="$p"
13262 else
13263 predep_objects_CXX="$predep_objects_CXX $p"
13264 fi
13265 else
13266 if test -z "$postdep_objects_CXX"; then
13267 postdep_objects_CXX="$p"
13268 else
13269 postdep_objects_CXX="$postdep_objects_CXX $p"
13270 fi
13271 fi
13272 ;;
13273
13274 *) ;; # Ignore the rest.
13275
13276 esac
13277 done
13278
13279 # Clean up.
13280 rm -f a.out a.exe
13281 else
13282 echo "libtool.m4: error: problem compiling CXX test program"
13283 fi
13284
13285 $RM -f confest.$objext
13286
13287 # PORTME: override above test on systems where it is broken
13288 case $host_os in
13289 interix[3-9]*)
13290 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13291 # hack all around it, let's just trust "g++" to DTRT.
13292 predep_objects_CXX=
13293 postdep_objects_CXX=
13294 postdeps_CXX=
13295 ;;
13296
13297 linux*)
13298 case `$CC -V 2>&1 | sed 5q` in
13299 *Sun\ C*)
13300 # Sun C++ 5.9
13301
13302 # The more standards-conforming stlport4 library is
13303 # incompatible with the Cstd library. Avoid specifying
13304 # it if it's in CXXFLAGS. Ignore libCrun as
13305 # -library=stlport4 depends on it.
13306 case " $CXX $CXXFLAGS " in
13307 *" -library=stlport4 "*)
13308 solaris_use_stlport4=yes
13309 ;;
13310 esac
13311
13312 if test "$solaris_use_stlport4" != yes; then
13313 postdeps_CXX='-library=Cstd -library=Crun'
13314 fi
13315 ;;
13316 esac
13317 ;;
13318
13319 solaris*)
13320 case $cc_basename in
13321 CC*)
13322 # The more standards-conforming stlport4 library is
13323 # incompatible with the Cstd library. Avoid specifying
13324 # it if it's in CXXFLAGS. Ignore libCrun as
13325 # -library=stlport4 depends on it.
13326 case " $CXX $CXXFLAGS " in
13327 *" -library=stlport4 "*)
13328 solaris_use_stlport4=yes
13329 ;;
13330 esac
13331
13332 # Adding this requires a known-good setup of shared libraries for
13333 # Sun compiler versions before 5.6, else PIC objects from an old
13334 # archive will be linked into the output, leading to subtle bugs.
13335 if test "$solaris_use_stlport4" != yes; then
13336 postdeps_CXX='-library=Cstd -library=Crun'
13337 fi
13338 ;;
13339 esac
13340 ;;
13341 esac
13342
13343
13344 case " $postdeps_CXX " in
13345 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13346 esac
13347 compiler_lib_search_dirs_CXX=
13348 if test -n "${compiler_lib_search_path_CXX}"; then
13349 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13350 fi
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
13379
13380
13381
13382 lt_prog_compiler_wl_CXX=
13383 lt_prog_compiler_pic_CXX=
13384 lt_prog_compiler_static_CXX=
13385
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13387 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13388
13389 # C++ specific cases for pic, static, wl, etc.
13390 if test "$GXX" = yes; then
13391 lt_prog_compiler_wl_CXX='-Wl,'
13392 lt_prog_compiler_static_CXX='-static'
13393
13394 case $host_os in
13395 aix*)
13396 # All AIX code is PIC.
13397 if test "$host_cpu" = ia64; then
13398 # AIX 5 now supports IA64 processor
13399 lt_prog_compiler_static_CXX='-Bstatic'
13400 fi
13401 ;;
13402
13403 amigaos*)
13404 case $host_cpu in
13405 powerpc)
13406 # see comment about AmigaOS4 .so support
13407 lt_prog_compiler_pic_CXX='-fPIC'
13408 ;;
13409 m68k)
13410 # FIXME: we need at least 68020 code to build shared libraries, but
13411 # adding the `-m68020' flag to GCC prevents building anything better,
13412 # like `-m68040'.
13413 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13414 ;;
13415 esac
13416 ;;
13417
13418 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13419 # PIC is the default for these OSes.
13420 ;;
13421 mingw* | cygwin* | os2* | pw32* | cegcc*)
13422 # This hack is so that the source file can tell whether it is being
13423 # built for inclusion in a dll (and should export symbols for example).
13424 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13425 # (--disable-auto-import) libraries
13426 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13427 ;;
13428 darwin* | rhapsody*)
13429 # PIC is the default on this platform
13430 # Common symbols not allowed in MH_DYLIB files
13431 lt_prog_compiler_pic_CXX='-fno-common'
13432 ;;
13433 *djgpp*)
13434 # DJGPP does not support shared libraries at all
13435 lt_prog_compiler_pic_CXX=
13436 ;;
13437 haiku*)
13438 # PIC is the default for Haiku.
13439 # The "-static" flag exists, but is broken.
13440 lt_prog_compiler_static_CXX=
13441 ;;
13442 interix[3-9]*)
13443 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13444 # Instead, we relocate shared libraries at runtime.
13445 ;;
13446 sysv4*MP*)
13447 if test -d /usr/nec; then
13448 lt_prog_compiler_pic_CXX=-Kconform_pic
13449 fi
13450 ;;
13451 hpux*)
13452 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13453 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13454 # sets the default TLS model and affects inlining.
13455 case $host_cpu in
13456 hppa*64*)
13457 ;;
13458 *)
13459 lt_prog_compiler_pic_CXX='-fPIC'
13460 ;;
13461 esac
13462 ;;
13463 *qnx* | *nto*)
13464 # QNX uses GNU C++, but need to define -shared option too, otherwise
13465 # it will coredump.
13466 lt_prog_compiler_pic_CXX='-fPIC -shared'
13467 ;;
13468 *)
13469 lt_prog_compiler_pic_CXX='-fPIC'
13470 ;;
13471 esac
13472 else
13473 case $host_os in
13474 aix[4-9]*)
13475 # All AIX code is PIC.
13476 if test "$host_cpu" = ia64; then
13477 # AIX 5 now supports IA64 processor
13478 lt_prog_compiler_static_CXX='-Bstatic'
13479 else
13480 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13481 fi
13482 ;;
13483 chorus*)
13484 case $cc_basename in
13485 cxch68*)
13486 # Green Hills C++ Compiler
13487 # _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"
13488 ;;
13489 esac
13490 ;;
13491 dgux*)
13492 case $cc_basename in
13493 ec++*)
13494 lt_prog_compiler_pic_CXX='-KPIC'
13495 ;;
13496 ghcx*)
13497 # Green Hills C++ Compiler
13498 lt_prog_compiler_pic_CXX='-pic'
13499 ;;
13500 *)
13501 ;;
13502 esac
13503 ;;
13504 freebsd* | dragonfly*)
13505 # FreeBSD uses GNU C++
13506 ;;
13507 hpux9* | hpux10* | hpux11*)
13508 case $cc_basename in
13509 CC*)
13510 lt_prog_compiler_wl_CXX='-Wl,'
13511 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13512 if test "$host_cpu" != ia64; then
13513 lt_prog_compiler_pic_CXX='+Z'
13514 fi
13515 ;;
13516 aCC*)
13517 lt_prog_compiler_wl_CXX='-Wl,'
13518 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13519 case $host_cpu in
13520 hppa*64*|ia64*)
13521 # +Z the default
13522 ;;
13523 *)
13524 lt_prog_compiler_pic_CXX='+Z'
13525 ;;
13526 esac
13527 ;;
13528 *)
13529 ;;
13530 esac
13531 ;;
13532 interix*)
13533 # This is c89, which is MS Visual C++ (no shared libs)
13534 # Anyone wants to do a port?
13535 ;;
13536 irix5* | irix6* | nonstopux*)
13537 case $cc_basename in
13538 CC*)
13539 lt_prog_compiler_wl_CXX='-Wl,'
13540 lt_prog_compiler_static_CXX='-non_shared'
13541 # CC pic flag -KPIC is the default.
13542 ;;
13543 *)
13544 ;;
13545 esac
13546 ;;
13547 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13548 case $cc_basename in
13549 KCC*)
13550 # KAI C++ Compiler
13551 lt_prog_compiler_wl_CXX='--backend -Wl,'
13552 lt_prog_compiler_pic_CXX='-fPIC'
13553 ;;
13554 ecpc* )
13555 # old Intel C++ for x86_64 which still supported -KPIC.
13556 lt_prog_compiler_wl_CXX='-Wl,'
13557 lt_prog_compiler_pic_CXX='-KPIC'
13558 lt_prog_compiler_static_CXX='-static'
13559 ;;
13560 icpc* )
13561 # Intel C++, used to be incompatible with GCC.
13562 # ICC 10 doesn't accept -KPIC any more.
13563 lt_prog_compiler_wl_CXX='-Wl,'
13564 lt_prog_compiler_pic_CXX='-fPIC'
13565 lt_prog_compiler_static_CXX='-static'
13566 ;;
13567 pgCC* | pgcpp*)
13568 # Portland Group C++ compiler
13569 lt_prog_compiler_wl_CXX='-Wl,'
13570 lt_prog_compiler_pic_CXX='-fpic'
13571 lt_prog_compiler_static_CXX='-Bstatic'
13572 ;;
13573 cxx*)
13574 # Compaq C++
13575 # Make sure the PIC flag is empty. It appears that all Alpha
13576 # Linux and Compaq Tru64 Unix objects are PIC.
13577 lt_prog_compiler_pic_CXX=
13578 lt_prog_compiler_static_CXX='-non_shared'
13579 ;;
13580 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13581 # IBM XL 8.0, 9.0 on PPC and BlueGene
13582 lt_prog_compiler_wl_CXX='-Wl,'
13583 lt_prog_compiler_pic_CXX='-qpic'
13584 lt_prog_compiler_static_CXX='-qstaticlink'
13585 ;;
13586 *)
13587 case `$CC -V 2>&1 | sed 5q` in
13588 *Sun\ C*)
13589 # Sun C++ 5.9
13590 lt_prog_compiler_pic_CXX='-KPIC'
13591 lt_prog_compiler_static_CXX='-Bstatic'
13592 lt_prog_compiler_wl_CXX='-Qoption ld '
13593 ;;
13594 esac
13595 ;;
13596 esac
13597 ;;
13598 lynxos*)
13599 ;;
13600 m88k*)
13601 ;;
13602 mvs*)
13603 case $cc_basename in
13604 cxx*)
13605 lt_prog_compiler_pic_CXX='-W c,exportall'
13606 ;;
13607 *)
13608 ;;
13609 esac
13610 ;;
13611 netbsd*)
13612 ;;
13613 *qnx* | *nto*)
13614 # QNX uses GNU C++, but need to define -shared option too, otherwise
13615 # it will coredump.
13616 lt_prog_compiler_pic_CXX='-fPIC -shared'
13617 ;;
13618 osf3* | osf4* | osf5*)
13619 case $cc_basename in
13620 KCC*)
13621 lt_prog_compiler_wl_CXX='--backend -Wl,'
13622 ;;
13623 RCC*)
13624 # Rational C++ 2.4.1
13625 lt_prog_compiler_pic_CXX='-pic'
13626 ;;
13627 cxx*)
13628 # Digital/Compaq C++
13629 lt_prog_compiler_wl_CXX='-Wl,'
13630 # Make sure the PIC flag is empty. It appears that all Alpha
13631 # Linux and Compaq Tru64 Unix objects are PIC.
13632 lt_prog_compiler_pic_CXX=
13633 lt_prog_compiler_static_CXX='-non_shared'
13634 ;;
13635 *)
13636 ;;
13637 esac
13638 ;;
13639 psos*)
13640 ;;
13641 solaris*)
13642 case $cc_basename in
13643 CC*)
13644 # Sun C++ 4.2, 5.x and Centerline C++
13645 lt_prog_compiler_pic_CXX='-KPIC'
13646 lt_prog_compiler_static_CXX='-Bstatic'
13647 lt_prog_compiler_wl_CXX='-Qoption ld '
13648 ;;
13649 gcx*)
13650 # Green Hills C++ Compiler
13651 lt_prog_compiler_pic_CXX='-PIC'
13652 ;;
13653 *)
13654 ;;
13655 esac
13656 ;;
13657 sunos4*)
13658 case $cc_basename in
13659 CC*)
13660 # Sun C++ 4.x
13661 lt_prog_compiler_pic_CXX='-pic'
13662 lt_prog_compiler_static_CXX='-Bstatic'
13663 ;;
13664 lcc*)
13665 # Lucid
13666 lt_prog_compiler_pic_CXX='-pic'
13667 ;;
13668 *)
13669 ;;
13670 esac
13671 ;;
13672 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13673 case $cc_basename in
13674 CC*)
13675 lt_prog_compiler_wl_CXX='-Wl,'
13676 lt_prog_compiler_pic_CXX='-KPIC'
13677 lt_prog_compiler_static_CXX='-Bstatic'
13678 ;;
13679 esac
13680 ;;
13681 tandem*)
13682 case $cc_basename in
13683 NCC*)
13684 # NonStop-UX NCC 3.20
13685 lt_prog_compiler_pic_CXX='-KPIC'
13686 ;;
13687 *)
13688 ;;
13689 esac
13690 ;;
13691 vxworks*)
13692 ;;
13693 *)
13694 lt_prog_compiler_can_build_shared_CXX=no
13695 ;;
13696 esac
13697 fi
13698
13699 case $host_os in
13700 # For platforms which do not support PIC, -DPIC is meaningless:
13701 *djgpp*)
13702 lt_prog_compiler_pic_CXX=
13703 ;;
13704 *)
13705 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13706 ;;
13707 esac
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13709 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13710
13711
13712
13713 #
13714 # Check to make sure the PIC flag actually works.
13715 #
13716 if test -n "$lt_prog_compiler_pic_CXX"; then
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13718 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13719 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13720 $as_echo_n "(cached) " >&6
13721 else
13722 lt_cv_prog_compiler_pic_works_CXX=no
13723 ac_outfile=conftest.$ac_objext
13724 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13725 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13726 # Insert the option either (1) after the last *FLAGS variable, or
13727 # (2) before a word containing "conftest.", or (3) at the end.
13728 # Note that $ac_compile itself does not contain backslashes and begins
13729 # with a dollar sign (not a hyphen), so the echo should work correctly.
13730 # The option is referenced via a variable to avoid confusing sed.
13731 lt_compile=`echo "$ac_compile" | $SED \
13732 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13733 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13734 -e 's:$: $lt_compiler_flag:'`
13735 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13736 (eval "$lt_compile" 2>conftest.err)
13737 ac_status=$?
13738 cat conftest.err >&5
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 if (exit $ac_status) && test -s "$ac_outfile"; then
13741 # The compiler can only warn and ignore the option if not recognized
13742 # So say no if there are warnings other than the usual output.
13743 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13744 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13745 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13746 lt_cv_prog_compiler_pic_works_CXX=yes
13747 fi
13748 fi
13749 $RM conftest*
13750
13751 fi
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13753 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13754
13755 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13756 case $lt_prog_compiler_pic_CXX in
13757 "" | " "*) ;;
13758 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13759 esac
13760 else
13761 lt_prog_compiler_pic_CXX=
13762 lt_prog_compiler_can_build_shared_CXX=no
13763 fi
13764
13765 fi
13766
13767
13768
13769 #
13770 # Check to make sure the static flag actually works.
13771 #
13772 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13774 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13775 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13776 $as_echo_n "(cached) " >&6
13777 else
13778 lt_cv_prog_compiler_static_works_CXX=no
13779 save_LDFLAGS="$LDFLAGS"
13780 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13781 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13782 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13783 # The linker can only warn and ignore the option if not recognized
13784 # So say no if there are warnings
13785 if test -s conftest.err; then
13786 # Append any errors to the config.log.
13787 cat conftest.err 1>&5
13788 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13789 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13790 if diff conftest.exp conftest.er2 >/dev/null; then
13791 lt_cv_prog_compiler_static_works_CXX=yes
13792 fi
13793 else
13794 lt_cv_prog_compiler_static_works_CXX=yes
13795 fi
13796 fi
13797 $RM -r conftest*
13798 LDFLAGS="$save_LDFLAGS"
13799
13800 fi
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13802 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13803
13804 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13805 :
13806 else
13807 lt_prog_compiler_static_CXX=
13808 fi
13809
13810
13811
13812
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13814 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13815 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13816 $as_echo_n "(cached) " >&6
13817 else
13818 lt_cv_prog_compiler_c_o_CXX=no
13819 $RM -r conftest 2>/dev/null
13820 mkdir conftest
13821 cd conftest
13822 mkdir out
13823 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13824
13825 lt_compiler_flag="-o out/conftest2.$ac_objext"
13826 # Insert the option either (1) after the last *FLAGS variable, or
13827 # (2) before a word containing "conftest.", or (3) at the end.
13828 # Note that $ac_compile itself does not contain backslashes and begins
13829 # with a dollar sign (not a hyphen), so the echo should work correctly.
13830 lt_compile=`echo "$ac_compile" | $SED \
13831 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13832 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13833 -e 's:$: $lt_compiler_flag:'`
13834 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13835 (eval "$lt_compile" 2>out/conftest.err)
13836 ac_status=$?
13837 cat out/conftest.err >&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13840 then
13841 # The compiler can only warn and ignore the option if not recognized
13842 # So say no if there are warnings
13843 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13844 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13845 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13846 lt_cv_prog_compiler_c_o_CXX=yes
13847 fi
13848 fi
13849 chmod u+w . 2>&5
13850 $RM conftest*
13851 # SGI C++ compiler will create directory out/ii_files/ for
13852 # template instantiation
13853 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13854 $RM out/* && rmdir out
13855 cd ..
13856 $RM -r conftest
13857 $RM conftest*
13858
13859 fi
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13861 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13862
13863
13864
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13866 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13867 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13868 $as_echo_n "(cached) " >&6
13869 else
13870 lt_cv_prog_compiler_c_o_CXX=no
13871 $RM -r conftest 2>/dev/null
13872 mkdir conftest
13873 cd conftest
13874 mkdir out
13875 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13876
13877 lt_compiler_flag="-o out/conftest2.$ac_objext"
13878 # Insert the option either (1) after the last *FLAGS variable, or
13879 # (2) before a word containing "conftest.", or (3) at the end.
13880 # Note that $ac_compile itself does not contain backslashes and begins
13881 # with a dollar sign (not a hyphen), so the echo should work correctly.
13882 lt_compile=`echo "$ac_compile" | $SED \
13883 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13884 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13885 -e 's:$: $lt_compiler_flag:'`
13886 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13887 (eval "$lt_compile" 2>out/conftest.err)
13888 ac_status=$?
13889 cat out/conftest.err >&5
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13892 then
13893 # The compiler can only warn and ignore the option if not recognized
13894 # So say no if there are warnings
13895 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13896 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13897 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13898 lt_cv_prog_compiler_c_o_CXX=yes
13899 fi
13900 fi
13901 chmod u+w . 2>&5
13902 $RM conftest*
13903 # SGI C++ compiler will create directory out/ii_files/ for
13904 # template instantiation
13905 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13906 $RM out/* && rmdir out
13907 cd ..
13908 $RM -r conftest
13909 $RM conftest*
13910
13911 fi
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13913 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13914
13915
13916
13917
13918 hard_links="nottested"
13919 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13920 # do not overwrite the value of need_locks provided by the user
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13922 $as_echo_n "checking if we can lock with hard links... " >&6; }
13923 hard_links=yes
13924 $RM conftest*
13925 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13926 touch conftest.a
13927 ln conftest.a conftest.b 2>&5 || hard_links=no
13928 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13930 $as_echo "$hard_links" >&6; }
13931 if test "$hard_links" = no; then
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13933 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13934 need_locks=warn
13935 fi
13936 else
13937 need_locks=no
13938 fi
13939
13940
13941
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13943 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13944
13945 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13946 case $host_os in
13947 aix[4-9]*)
13948 # If we're using GNU nm, then we don't want the "-C" option.
13949 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13950 # Also, AIX nm treats weak defined symbols like other global defined
13951 # symbols, whereas GNU nm marks them as "W".
13952 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13953 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'
13954 else
13955 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'
13956 fi
13957 ;;
13958 pw32*)
13959 export_symbols_cmds_CXX="$ltdll_cmds"
13960 ;;
13961 cygwin* | mingw* | cegcc*)
13962 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'
13963 ;;
13964 *)
13965 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13966 ;;
13967 esac
13968 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13969
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13971 $as_echo "$ld_shlibs_CXX" >&6; }
13972 test "$ld_shlibs_CXX" = no && can_build_shared=no
13973
13974 with_gnu_ld_CXX=$with_gnu_ld
13975
13976
13977
13978
13979
13980
13981 #
13982 # Do we need to explicitly link libc?
13983 #
13984 case "x$archive_cmds_need_lc_CXX" in
13985 x|xyes)
13986 # Assume -lc should be added
13987 archive_cmds_need_lc_CXX=yes
13988
13989 if test "$enable_shared" = yes && test "$GCC" = yes; then
13990 case $archive_cmds_CXX in
13991 *'~'*)
13992 # FIXME: we may have to deal with multi-command sequences.
13993 ;;
13994 '$CC '*)
13995 # Test whether the compiler implicitly links with -lc since on some
13996 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13997 # to ld, don't add -lc before -lgcc.
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13999 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14000 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 $RM conftest*
14004 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14005
14006 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14007 (eval $ac_compile) 2>&5
14008 ac_status=$?
14009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14010 test $ac_status = 0; } 2>conftest.err; then
14011 soname=conftest
14012 lib=conftest
14013 libobjs=conftest.$ac_objext
14014 deplibs=
14015 wl=$lt_prog_compiler_wl_CXX
14016 pic_flag=$lt_prog_compiler_pic_CXX
14017 compiler_flags=-v
14018 linker_flags=-v
14019 verstring=
14020 output_objdir=.
14021 libname=conftest
14022 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14023 allow_undefined_flag_CXX=
14024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14025 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14026 ac_status=$?
14027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14028 test $ac_status = 0; }
14029 then
14030 lt_cv_archive_cmds_need_lc_CXX=no
14031 else
14032 lt_cv_archive_cmds_need_lc_CXX=yes
14033 fi
14034 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14035 else
14036 cat conftest.err 1>&5
14037 fi
14038 $RM conftest*
14039
14040 fi
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14042 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14043 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14044 ;;
14045 esac
14046 fi
14047 ;;
14048 esac
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
14110
14111
14112
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14114 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14115
14116 library_names_spec=
14117 libname_spec='lib$name'
14118 soname_spec=
14119 shrext_cmds=".so"
14120 postinstall_cmds=
14121 postuninstall_cmds=
14122 finish_cmds=
14123 finish_eval=
14124 shlibpath_var=
14125 shlibpath_overrides_runpath=unknown
14126 version_type=none
14127 dynamic_linker="$host_os ld.so"
14128 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14129 need_lib_prefix=unknown
14130 hardcode_into_libs=no
14131
14132 # when you set need_version to no, make sure it does not cause -set_version
14133 # flags to be left without arguments
14134 need_version=unknown
14135
14136 case $host_os in
14137 aix3*)
14138 version_type=linux
14139 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14140 shlibpath_var=LIBPATH
14141
14142 # AIX 3 has no versioning support, so we append a major version to the name.
14143 soname_spec='${libname}${release}${shared_ext}$major'
14144 ;;
14145
14146 aix[4-9]*)
14147 version_type=linux
14148 need_lib_prefix=no
14149 need_version=no
14150 hardcode_into_libs=yes
14151 if test "$host_cpu" = ia64; then
14152 # AIX 5 supports IA64
14153 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14154 shlibpath_var=LD_LIBRARY_PATH
14155 else
14156 # With GCC up to 2.95.x, collect2 would create an import file
14157 # for dependence libraries. The import file would start with
14158 # the line `#! .'. This would cause the generated library to
14159 # depend on `.', always an invalid library. This was fixed in
14160 # development snapshots of GCC prior to 3.0.
14161 case $host_os in
14162 aix4 | aix4.[01] | aix4.[01].*)
14163 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14164 echo ' yes '
14165 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14166 :
14167 else
14168 can_build_shared=no
14169 fi
14170 ;;
14171 esac
14172 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14173 # soname into executable. Probably we can add versioning support to
14174 # collect2, so additional links can be useful in future.
14175 if test "$aix_use_runtimelinking" = yes; then
14176 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14177 # instead of lib<name>.a to let people know that these are not
14178 # typical AIX shared libraries.
14179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14180 else
14181 # We preserve .a as extension for shared libraries through AIX4.2
14182 # and later when we are not doing run time linking.
14183 library_names_spec='${libname}${release}.a $libname.a'
14184 soname_spec='${libname}${release}${shared_ext}$major'
14185 fi
14186 shlibpath_var=LIBPATH
14187 fi
14188 ;;
14189
14190 amigaos*)
14191 case $host_cpu in
14192 powerpc)
14193 # Since July 2007 AmigaOS4 officially supports .so libraries.
14194 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14196 ;;
14197 m68k)
14198 library_names_spec='$libname.ixlibrary $libname.a'
14199 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14200 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'
14201 ;;
14202 esac
14203 ;;
14204
14205 beos*)
14206 library_names_spec='${libname}${shared_ext}'
14207 dynamic_linker="$host_os ld.so"
14208 shlibpath_var=LIBRARY_PATH
14209 ;;
14210
14211 bsdi[45]*)
14212 version_type=linux
14213 need_version=no
14214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14215 soname_spec='${libname}${release}${shared_ext}$major'
14216 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14217 shlibpath_var=LD_LIBRARY_PATH
14218 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14219 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14220 # the default ld.so.conf also contains /usr/contrib/lib and
14221 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14222 # libtool to hard-code these into programs
14223 ;;
14224
14225 cygwin* | mingw* | pw32* | cegcc*)
14226 version_type=windows
14227 shrext_cmds=".dll"
14228 need_version=no
14229 need_lib_prefix=no
14230
14231 case $GCC,$host_os in
14232 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14233 library_names_spec='$libname.dll.a'
14234 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14235 postinstall_cmds='base_file=`basename \${file}`~
14236 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14237 dldir=$destdir/`dirname \$dlpath`~
14238 test -d \$dldir || mkdir -p \$dldir~
14239 $install_prog $dir/$dlname \$dldir/$dlname~
14240 chmod a+x \$dldir/$dlname~
14241 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14242 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14243 fi'
14244 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14245 dlpath=$dir/\$dldll~
14246 $RM \$dlpath'
14247 shlibpath_overrides_runpath=yes
14248
14249 case $host_os in
14250 cygwin*)
14251 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14252 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14253
14254 ;;
14255 mingw* | cegcc*)
14256 # MinGW DLLs use traditional 'lib' prefix
14257 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14258 ;;
14259 pw32*)
14260 # pw32 DLLs use 'pw' prefix rather than 'lib'
14261 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14262 ;;
14263 esac
14264 ;;
14265
14266 *)
14267 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14268 ;;
14269 esac
14270 dynamic_linker='Win32 ld.exe'
14271 # FIXME: first we should search . and the directory the executable is in
14272 shlibpath_var=PATH
14273 ;;
14274
14275 darwin* | rhapsody*)
14276 dynamic_linker="$host_os dyld"
14277 version_type=darwin
14278 need_lib_prefix=no
14279 need_version=no
14280 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14281 soname_spec='${libname}${release}${major}$shared_ext'
14282 shlibpath_overrides_runpath=yes
14283 shlibpath_var=DYLD_LIBRARY_PATH
14284 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14285
14286 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14287 ;;
14288
14289 dgux*)
14290 version_type=linux
14291 need_lib_prefix=no
14292 need_version=no
14293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14294 soname_spec='${libname}${release}${shared_ext}$major'
14295 shlibpath_var=LD_LIBRARY_PATH
14296 ;;
14297
14298 freebsd* | dragonfly*)
14299 # DragonFly does not have aout. When/if they implement a new
14300 # versioning mechanism, adjust this.
14301 if test -x /usr/bin/objformat; then
14302 objformat=`/usr/bin/objformat`
14303 else
14304 case $host_os in
14305 freebsd[123]*) objformat=aout ;;
14306 *) objformat=elf ;;
14307 esac
14308 fi
14309 version_type=freebsd-$objformat
14310 case $version_type in
14311 freebsd-elf*)
14312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14313 need_version=no
14314 need_lib_prefix=no
14315 ;;
14316 freebsd-*)
14317 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14318 need_version=yes
14319 ;;
14320 esac
14321 shlibpath_var=LD_LIBRARY_PATH
14322 case $host_os in
14323 freebsd2*)
14324 shlibpath_overrides_runpath=yes
14325 ;;
14326 freebsd3.[01]* | freebsdelf3.[01]*)
14327 shlibpath_overrides_runpath=yes
14328 hardcode_into_libs=yes
14329 ;;
14330 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14331 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14332 shlibpath_overrides_runpath=no
14333 hardcode_into_libs=yes
14334 ;;
14335 *) # from 4.6 on, and DragonFly
14336 shlibpath_overrides_runpath=yes
14337 hardcode_into_libs=yes
14338 ;;
14339 esac
14340 ;;
14341
14342 gnu*)
14343 version_type=linux
14344 need_lib_prefix=no
14345 need_version=no
14346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14347 soname_spec='${libname}${release}${shared_ext}$major'
14348 shlibpath_var=LD_LIBRARY_PATH
14349 hardcode_into_libs=yes
14350 ;;
14351
14352 haiku*)
14353 version_type=linux
14354 need_lib_prefix=no
14355 need_version=no
14356 dynamic_linker="$host_os runtime_loader"
14357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14358 soname_spec='${libname}${release}${shared_ext}$major'
14359 shlibpath_var=LIBRARY_PATH
14360 shlibpath_overrides_runpath=yes
14361 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14362 hardcode_into_libs=yes
14363 ;;
14364
14365 hpux9* | hpux10* | hpux11*)
14366 # Give a soname corresponding to the major version so that dld.sl refuses to
14367 # link against other versions.
14368 version_type=sunos
14369 need_lib_prefix=no
14370 need_version=no
14371 case $host_cpu in
14372 ia64*)
14373 shrext_cmds='.so'
14374 hardcode_into_libs=yes
14375 dynamic_linker="$host_os dld.so"
14376 shlibpath_var=LD_LIBRARY_PATH
14377 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14379 soname_spec='${libname}${release}${shared_ext}$major'
14380 if test "X$HPUX_IA64_MODE" = X32; then
14381 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14382 else
14383 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14384 fi
14385 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14386 ;;
14387 hppa*64*)
14388 shrext_cmds='.sl'
14389 hardcode_into_libs=yes
14390 dynamic_linker="$host_os dld.sl"
14391 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14392 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14394 soname_spec='${libname}${release}${shared_ext}$major'
14395 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14396 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14397 ;;
14398 *)
14399 shrext_cmds='.sl'
14400 dynamic_linker="$host_os dld.sl"
14401 shlibpath_var=SHLIB_PATH
14402 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404 soname_spec='${libname}${release}${shared_ext}$major'
14405 ;;
14406 esac
14407 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14408 postinstall_cmds='chmod 555 $lib'
14409 # or fails outright, so override atomically:
14410 install_override_mode=555
14411 ;;
14412
14413 interix[3-9]*)
14414 version_type=linux
14415 need_lib_prefix=no
14416 need_version=no
14417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14418 soname_spec='${libname}${release}${shared_ext}$major'
14419 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14420 shlibpath_var=LD_LIBRARY_PATH
14421 shlibpath_overrides_runpath=no
14422 hardcode_into_libs=yes
14423 ;;
14424
14425 irix5* | irix6* | nonstopux*)
14426 case $host_os in
14427 nonstopux*) version_type=nonstopux ;;
14428 *)
14429 if test "$lt_cv_prog_gnu_ld" = yes; then
14430 version_type=linux
14431 else
14432 version_type=irix
14433 fi ;;
14434 esac
14435 need_lib_prefix=no
14436 need_version=no
14437 soname_spec='${libname}${release}${shared_ext}$major'
14438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14439 case $host_os in
14440 irix5* | nonstopux*)
14441 libsuff= shlibsuff=
14442 ;;
14443 *)
14444 case $LD in # libtool.m4 will add one of these switches to LD
14445 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14446 libsuff= shlibsuff= libmagic=32-bit;;
14447 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14448 libsuff=32 shlibsuff=N32 libmagic=N32;;
14449 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14450 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14451 *) libsuff= shlibsuff= libmagic=never-match;;
14452 esac
14453 ;;
14454 esac
14455 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14456 shlibpath_overrides_runpath=no
14457 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14458 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14459 hardcode_into_libs=yes
14460 ;;
14461
14462 # No shared lib support for Linux oldld, aout, or coff.
14463 linux*oldld* | linux*aout* | linux*coff*)
14464 dynamic_linker=no
14465 ;;
14466
14467 # This must be Linux ELF.
14468 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14469 version_type=linux
14470 need_lib_prefix=no
14471 need_version=no
14472 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14473 soname_spec='${libname}${release}${shared_ext}$major'
14474 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14475 shlibpath_var=LD_LIBRARY_PATH
14476 shlibpath_overrides_runpath=no
14477
14478 # Some binutils ld are patched to set DT_RUNPATH
14479 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14480 $as_echo_n "(cached) " >&6
14481 else
14482 lt_cv_shlibpath_overrides_runpath=no
14483 save_LDFLAGS=$LDFLAGS
14484 save_libdir=$libdir
14485 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14486 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14487 if test x$gcc_no_link = xyes; then
14488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14489 fi
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14492
14493 int
14494 main ()
14495 {
14496
14497 ;
14498 return 0;
14499 }
14500 _ACEOF
14501 if ac_fn_cxx_try_link "$LINENO"; then :
14502 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14503 lt_cv_shlibpath_overrides_runpath=yes
14504 fi
14505 fi
14506 rm -f core conftest.err conftest.$ac_objext \
14507 conftest$ac_exeext conftest.$ac_ext
14508 LDFLAGS=$save_LDFLAGS
14509 libdir=$save_libdir
14510
14511 fi
14512
14513 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14514
14515 # This implies no fast_install, which is unacceptable.
14516 # Some rework will be needed to allow for fast_install
14517 # before this can be enabled.
14518 hardcode_into_libs=yes
14519
14520 # Append ld.so.conf contents to the search path
14521 if test -f /etc/ld.so.conf; then
14522 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' ' '`
14523 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14524 fi
14525
14526 # We used to test for /lib/ld.so.1 and disable shared libraries on
14527 # powerpc, because MkLinux only supported shared libraries with the
14528 # GNU dynamic linker. Since this was broken with cross compilers,
14529 # most powerpc-linux boxes support dynamic linking these days and
14530 # people can always --disable-shared, the test was removed, and we
14531 # assume the GNU/Linux dynamic linker is in use.
14532 dynamic_linker='GNU/Linux ld.so'
14533 ;;
14534
14535 netbsd*)
14536 version_type=sunos
14537 need_lib_prefix=no
14538 need_version=no
14539 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14541 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14542 dynamic_linker='NetBSD (a.out) ld.so'
14543 else
14544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14545 soname_spec='${libname}${release}${shared_ext}$major'
14546 dynamic_linker='NetBSD ld.elf_so'
14547 fi
14548 shlibpath_var=LD_LIBRARY_PATH
14549 shlibpath_overrides_runpath=yes
14550 hardcode_into_libs=yes
14551 ;;
14552
14553 newsos6)
14554 version_type=linux
14555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14556 shlibpath_var=LD_LIBRARY_PATH
14557 shlibpath_overrides_runpath=yes
14558 ;;
14559
14560 *nto* | *qnx*)
14561 version_type=qnx
14562 need_lib_prefix=no
14563 need_version=no
14564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14565 soname_spec='${libname}${release}${shared_ext}$major'
14566 shlibpath_var=LD_LIBRARY_PATH
14567 shlibpath_overrides_runpath=no
14568 hardcode_into_libs=yes
14569 dynamic_linker='ldqnx.so'
14570 ;;
14571
14572 openbsd*)
14573 version_type=sunos
14574 sys_lib_dlsearch_path_spec="/usr/lib"
14575 need_lib_prefix=no
14576 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14577 case $host_os in
14578 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14579 *) need_version=no ;;
14580 esac
14581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14582 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14583 shlibpath_var=LD_LIBRARY_PATH
14584 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14585 case $host_os in
14586 openbsd2.[89] | openbsd2.[89].*)
14587 shlibpath_overrides_runpath=no
14588 ;;
14589 *)
14590 shlibpath_overrides_runpath=yes
14591 ;;
14592 esac
14593 else
14594 shlibpath_overrides_runpath=yes
14595 fi
14596 ;;
14597
14598 os2*)
14599 libname_spec='$name'
14600 shrext_cmds=".dll"
14601 need_lib_prefix=no
14602 library_names_spec='$libname${shared_ext} $libname.a'
14603 dynamic_linker='OS/2 ld.exe'
14604 shlibpath_var=LIBPATH
14605 ;;
14606
14607 osf3* | osf4* | osf5*)
14608 version_type=osf
14609 need_lib_prefix=no
14610 need_version=no
14611 soname_spec='${libname}${release}${shared_ext}$major'
14612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14613 shlibpath_var=LD_LIBRARY_PATH
14614 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14615 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14616 ;;
14617
14618 rdos*)
14619 dynamic_linker=no
14620 ;;
14621
14622 solaris*)
14623 version_type=linux
14624 need_lib_prefix=no
14625 need_version=no
14626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14627 soname_spec='${libname}${release}${shared_ext}$major'
14628 shlibpath_var=LD_LIBRARY_PATH
14629 shlibpath_overrides_runpath=yes
14630 hardcode_into_libs=yes
14631 # ldd complains unless libraries are executable
14632 postinstall_cmds='chmod +x $lib'
14633 ;;
14634
14635 sunos4*)
14636 version_type=sunos
14637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14638 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14639 shlibpath_var=LD_LIBRARY_PATH
14640 shlibpath_overrides_runpath=yes
14641 if test "$with_gnu_ld" = yes; then
14642 need_lib_prefix=no
14643 fi
14644 need_version=yes
14645 ;;
14646
14647 sysv4 | sysv4.3*)
14648 version_type=linux
14649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14650 soname_spec='${libname}${release}${shared_ext}$major'
14651 shlibpath_var=LD_LIBRARY_PATH
14652 case $host_vendor in
14653 sni)
14654 shlibpath_overrides_runpath=no
14655 need_lib_prefix=no
14656 runpath_var=LD_RUN_PATH
14657 ;;
14658 siemens)
14659 need_lib_prefix=no
14660 ;;
14661 motorola)
14662 need_lib_prefix=no
14663 need_version=no
14664 shlibpath_overrides_runpath=no
14665 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14666 ;;
14667 esac
14668 ;;
14669
14670 sysv4*MP*)
14671 if test -d /usr/nec ;then
14672 version_type=linux
14673 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14674 soname_spec='$libname${shared_ext}.$major'
14675 shlibpath_var=LD_LIBRARY_PATH
14676 fi
14677 ;;
14678
14679 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14680 version_type=freebsd-elf
14681 need_lib_prefix=no
14682 need_version=no
14683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14684 soname_spec='${libname}${release}${shared_ext}$major'
14685 shlibpath_var=LD_LIBRARY_PATH
14686 shlibpath_overrides_runpath=yes
14687 hardcode_into_libs=yes
14688 if test "$with_gnu_ld" = yes; then
14689 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14690 else
14691 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14692 case $host_os in
14693 sco3.2v5*)
14694 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14695 ;;
14696 esac
14697 fi
14698 sys_lib_dlsearch_path_spec='/usr/lib'
14699 ;;
14700
14701 tpf*)
14702 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14703 version_type=linux
14704 need_lib_prefix=no
14705 need_version=no
14706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14707 shlibpath_var=LD_LIBRARY_PATH
14708 shlibpath_overrides_runpath=no
14709 hardcode_into_libs=yes
14710 ;;
14711
14712 uts4*)
14713 version_type=linux
14714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14715 soname_spec='${libname}${release}${shared_ext}$major'
14716 shlibpath_var=LD_LIBRARY_PATH
14717 ;;
14718
14719 *)
14720 dynamic_linker=no
14721 ;;
14722 esac
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14724 $as_echo "$dynamic_linker" >&6; }
14725 test "$dynamic_linker" = no && can_build_shared=no
14726
14727 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14728 if test "$GCC" = yes; then
14729 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14730 fi
14731
14732 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14733 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14734 fi
14735 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14736 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14737 fi
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
14773
14774
14775
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14777 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14778 hardcode_action_CXX=
14779 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14780 test -n "$runpath_var_CXX" ||
14781 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14782
14783 # We can hardcode non-existent directories.
14784 if test "$hardcode_direct_CXX" != no &&
14785 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14786 # have to relink, otherwise we might link with an installed library
14787 # when we should be linking with a yet-to-be-installed one
14788 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14789 test "$hardcode_minus_L_CXX" != no; then
14790 # Linking always hardcodes the temporary library directory.
14791 hardcode_action_CXX=relink
14792 else
14793 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14794 hardcode_action_CXX=immediate
14795 fi
14796 else
14797 # We cannot hardcode anything, or else we can only hardcode existing
14798 # directories.
14799 hardcode_action_CXX=unsupported
14800 fi
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14802 $as_echo "$hardcode_action_CXX" >&6; }
14803
14804 if test "$hardcode_action_CXX" = relink ||
14805 test "$inherit_rpath_CXX" = yes; then
14806 # Fast installation is not supported
14807 enable_fast_install=no
14808 elif test "$shlibpath_overrides_runpath" = yes ||
14809 test "$enable_shared" = no; then
14810 # Fast installation is not necessary
14811 enable_fast_install=needless
14812 fi
14813
14814
14815
14816
14817
14818
14819
14820 fi # test -n "$compiler"
14821
14822 CC=$lt_save_CC
14823 LDCXX=$LD
14824 LD=$lt_save_LD
14825 GCC=$lt_save_GCC
14826 with_gnu_ld=$lt_save_with_gnu_ld
14827 lt_cv_path_LDCXX=$lt_cv_path_LD
14828 lt_cv_path_LD=$lt_save_path_LD
14829 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14830 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14831 fi # test "$_lt_caught_CXX_error" != yes
14832
14833 ac_ext=c
14834 ac_cpp='$CPP $CPPFLAGS'
14835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851 ac_config_commands="$ac_config_commands libtool"
14852
14853
14854
14855
14856 # Only expand once:
14857
14858
14859
14860
14861
14862 case $host in
14863 *-cygwin* | *-mingw*)
14864 # 'host' will be top-level target in the case of a target lib,
14865 # we must compare to with_cross_host to decide if this is a native
14866 # or cross-compiler and select where to install dlls appropriately.
14867 if test -n "$with_cross_host" &&
14868 test x"$with_cross_host" != x"no"; then
14869 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14870 else
14871 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14872 fi
14873 ;;
14874 *)
14875 lt_host_flags=
14876 ;;
14877 esac
14878
14879
14880
14881
14882
14883
14884 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14885 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14886
14887 # Possibly disable most of the library.
14888 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14889 ## than just ignoring the results. Faster /and/ more correct, win win.
14890
14891 # Check whether --enable-hosted-libstdcxx was given.
14892 if test "${enable_hosted_libstdcxx+set}" = set; then :
14893 enableval=$enable_hosted_libstdcxx;
14894 else
14895 case "$host" in
14896 arm*-*-symbianelf*)
14897 enable_hosted_libstdcxx=no
14898 ;;
14899 *)
14900 enable_hosted_libstdcxx=yes
14901 ;;
14902 esac
14903 fi
14904
14905 if test "$enable_hosted_libstdcxx" = no; then
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14907 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14908 is_hosted=no
14909 hosted_define=0
14910 enable_abi_check=no
14911 enable_libstdcxx_pch=no
14912 else
14913 is_hosted=yes
14914 hosted_define=1
14915 fi
14916
14917
14918 cat >>confdefs.h <<_ACEOF
14919 #define _GLIBCXX_HOSTED $hosted_define
14920 _ACEOF
14921
14922
14923
14924 # Enable compiler support that doesn't require linking.
14925
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14927 $as_echo_n "checking for exception model to use... " >&6; }
14928
14929 ac_ext=cpp
14930 ac_cpp='$CXXCPP $CPPFLAGS'
14931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14934
14935 # Check whether --enable-sjlj-exceptions was given.
14936 if test "${enable_sjlj_exceptions+set}" = set; then :
14937 enableval=$enable_sjlj_exceptions;
14938 case "$enableval" in
14939 yes|no|auto) ;;
14940 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14941 esac
14942
14943 else
14944 enable_sjlj_exceptions=auto
14945 fi
14946
14947
14948
14949 if test $enable_sjlj_exceptions = auto; then
14950 # Botheration. Now we've got to detect the exception model. Link tests
14951 # against libgcc.a are problematic since we've not been given proper -L
14952 # bits for single-tree newlib and libgloss.
14953 #
14954 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14955 cat > conftest.$ac_ext << EOF
14956 #line 14956 "configure"
14957 struct S { ~S(); };
14958 void bar();
14959 void foo()
14960 {
14961 S s;
14962 bar();
14963 }
14964 EOF
14965 old_CXXFLAGS="$CXXFLAGS"
14966 CXXFLAGS=-S
14967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14968 (eval $ac_compile) 2>&5
14969 ac_status=$?
14970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14971 test $ac_status = 0; }; then
14972 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14973 enable_sjlj_exceptions=yes
14974 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14975 enable_sjlj_exceptions=no
14976 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14977 enable_sjlj_exceptions=no
14978 fi
14979 fi
14980 CXXFLAGS="$old_CXXFLAGS"
14981 rm -f conftest*
14982 fi
14983
14984 # This is a tad weird, for hysterical raisins. We have to map
14985 # enable/disable to two different models.
14986 case $enable_sjlj_exceptions in
14987 yes)
14988
14989 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14990
14991 ac_exception_model_name=sjlj
14992 ;;
14993 no)
14994 ac_exception_model_name="call frame"
14995 ;;
14996 *)
14997 as_fn_error "unable to detect exception model" "$LINENO" 5
14998 ;;
14999 esac
15000 ac_ext=c
15001 ac_cpp='$CPP $CPPFLAGS'
15002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15005
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15007 $as_echo "$ac_exception_model_name" >&6; }
15008
15009
15010 # Check whether --enable-libstdcxx-pch was given.
15011 if test "${enable_libstdcxx_pch+set}" = set; then :
15012 enableval=$enable_libstdcxx_pch;
15013 case "$enableval" in
15014 yes|no) ;;
15015 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15016 esac
15017
15018 else
15019 enable_libstdcxx_pch=$is_hosted
15020 fi
15021
15022
15023 if test $enable_libstdcxx_pch = yes; then
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15025 $as_echo_n "checking for compiler with PCH support... " >&6; }
15026 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15027 $as_echo_n "(cached) " >&6
15028 else
15029 ac_save_CXXFLAGS="$CXXFLAGS"
15030 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15031
15032 ac_ext=cpp
15033 ac_cpp='$CXXCPP $CPPFLAGS'
15034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15037
15038 echo '#include <math.h>' > conftest.h
15039 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15040 -o conftest.h.gch 1>&5 2>&1 &&
15041 echo '#error "pch failed"' > conftest.h &&
15042 echo '#include "conftest.h"' > conftest.cc &&
15043 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15044 then
15045 glibcxx_cv_prog_CXX_pch=yes
15046 else
15047 glibcxx_cv_prog_CXX_pch=no
15048 fi
15049 rm -f conftest*
15050 CXXFLAGS=$ac_save_CXXFLAGS
15051 ac_ext=c
15052 ac_cpp='$CPP $CPPFLAGS'
15053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15056
15057
15058 fi
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15060 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15061 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15062 fi
15063
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15065 $as_echo_n "checking for enabled PCH... " >&6; }
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15067 $as_echo "$enable_libstdcxx_pch" >&6; }
15068
15069
15070 if test $enable_libstdcxx_pch = yes; then
15071 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15072 else
15073 glibcxx_PCHFLAGS=""
15074 fi
15075
15076
15077
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15079 $as_echo_n "checking for thread model used by GCC... " >&6; }
15080 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15082 $as_echo "$target_thread_file" >&6; }
15083
15084 if test $target_thread_file != single; then
15085
15086 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15087
15088 fi
15089
15090 glibcxx_thread_h=gthr-$target_thread_file.h
15091
15092 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15093 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15094 enable_thread=yes
15095 else
15096 enable_thread=no
15097 fi
15098
15099
15100
15101
15102
15103 ac_ext=cpp
15104 ac_cpp='$CXXCPP $CPPFLAGS'
15105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15108
15109 old_CXXFLAGS="$CXXFLAGS"
15110
15111 # Do link tests if possible, instead asm tests, limited to some platforms
15112 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15113 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15114 atomic_builtins_link_tests=no
15115 if test x$gcc_no_link != xyes; then
15116 # Can do link tests. Limit to some tested platforms
15117 case "$host" in
15118 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15119 atomic_builtins_link_tests=yes
15120 ;;
15121 esac
15122 fi
15123
15124 if test x$atomic_builtins_link_tests = xyes; then
15125
15126 # Do link tests.
15127
15128 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15129
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15131 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15132 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15133 $as_echo_n "(cached) " >&6
15134 else
15135
15136 if test x$gcc_no_link = xyes; then
15137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15138 fi
15139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h. */
15141
15142 int
15143 main ()
15144 {
15145 typedef bool atomic_type;
15146 atomic_type c1;
15147 atomic_type c2;
15148 const atomic_type c3(0);
15149 __sync_fetch_and_add(&c1, c2);
15150 __sync_val_compare_and_swap(&c1, c3, c2);
15151 __sync_lock_test_and_set(&c1, c3);
15152 __sync_lock_release(&c1);
15153 __sync_synchronize();
15154 ;
15155 return 0;
15156 }
15157 _ACEOF
15158 if ac_fn_cxx_try_link "$LINENO"; then :
15159 glibcxx_cv_atomic_bool=yes
15160 else
15161 glibcxx_cv_atomic_bool=no
15162 fi
15163 rm -f core conftest.err conftest.$ac_objext \
15164 conftest$ac_exeext conftest.$ac_ext
15165
15166 fi
15167
15168 if test $glibcxx_cv_atomic_bool = yes; then
15169
15170 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15171
15172 fi
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15174 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15175
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15177 $as_echo_n "checking for atomic builtins for short... " >&6; }
15178 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15179 $as_echo_n "(cached) " >&6
15180 else
15181
15182 if test x$gcc_no_link = xyes; then
15183 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15184 fi
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15187
15188 int
15189 main ()
15190 {
15191 typedef short atomic_type;
15192 atomic_type c1;
15193 atomic_type c2;
15194 const atomic_type c3(0);
15195 __sync_fetch_and_add(&c1, c2);
15196 __sync_val_compare_and_swap(&c1, c3, c2);
15197 __sync_lock_test_and_set(&c1, c3);
15198 __sync_lock_release(&c1);
15199 __sync_synchronize();
15200 ;
15201 return 0;
15202 }
15203 _ACEOF
15204 if ac_fn_cxx_try_link "$LINENO"; then :
15205 glibcxx_cv_atomic_short=yes
15206 else
15207 glibcxx_cv_atomic_short=no
15208 fi
15209 rm -f core conftest.err conftest.$ac_objext \
15210 conftest$ac_exeext conftest.$ac_ext
15211
15212 fi
15213
15214 if test $glibcxx_cv_atomic_short = yes; then
15215
15216 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15217
15218 fi
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15220 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15221
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15223 $as_echo_n "checking for atomic builtins for int... " >&6; }
15224 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15225 $as_echo_n "(cached) " >&6
15226 else
15227
15228 if test x$gcc_no_link = xyes; then
15229 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15230 fi
15231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15232 /* end confdefs.h. */
15233
15234 int
15235 main ()
15236 {
15237 typedef int atomic_type;
15238 atomic_type c1;
15239 atomic_type c2;
15240 const atomic_type c3(0);
15241 __sync_fetch_and_add(&c1, c2);
15242 __sync_val_compare_and_swap(&c1, c3, c2);
15243 __sync_lock_test_and_set(&c1, c3);
15244 __sync_lock_release(&c1);
15245 __sync_synchronize();
15246 ;
15247 return 0;
15248 }
15249 _ACEOF
15250 if ac_fn_cxx_try_link "$LINENO"; then :
15251 glibcxx_cv_atomic_int=yes
15252 else
15253 glibcxx_cv_atomic_int=no
15254 fi
15255 rm -f core conftest.err conftest.$ac_objext \
15256 conftest$ac_exeext conftest.$ac_ext
15257
15258 fi
15259
15260 if test $glibcxx_cv_atomic_int = yes; then
15261
15262 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15263
15264 fi
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15266 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15267
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15269 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15270 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15271 $as_echo_n "(cached) " >&6
15272 else
15273
15274 if test x$gcc_no_link = xyes; then
15275 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15276 fi
15277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15279
15280 int
15281 main ()
15282 {
15283 typedef long long atomic_type;
15284 atomic_type c1;
15285 atomic_type c2;
15286 const atomic_type c3(0);
15287 __sync_fetch_and_add(&c1, c2);
15288 __sync_val_compare_and_swap(&c1, c3, c2);
15289 __sync_lock_test_and_set(&c1, c3);
15290 __sync_lock_release(&c1);
15291 __sync_synchronize();
15292 ;
15293 return 0;
15294 }
15295 _ACEOF
15296 if ac_fn_cxx_try_link "$LINENO"; then :
15297 glibcxx_cv_atomic_long_long=yes
15298 else
15299 glibcxx_cv_atomic_long_long=no
15300 fi
15301 rm -f core conftest.err conftest.$ac_objext \
15302 conftest$ac_exeext conftest.$ac_ext
15303
15304 fi
15305
15306 if test $glibcxx_cv_atomic_long_long = yes; then
15307
15308 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15309
15310 fi
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15312 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15313
15314 else
15315
15316 # Do asm tests.
15317
15318 # Compile unoptimized.
15319 CXXFLAGS='-O0 -S'
15320
15321 # Fake what AC_TRY_COMPILE does.
15322
15323 cat > conftest.$ac_ext << EOF
15324 #line 15324 "configure"
15325 int main()
15326 {
15327 typedef bool atomic_type;
15328 atomic_type c1;
15329 atomic_type c2;
15330 const atomic_type c3(0);
15331 __sync_fetch_and_add(&c1, c2);
15332 __sync_val_compare_and_swap(&c1, c3, c2);
15333 __sync_lock_test_and_set(&c1, c3);
15334 __sync_lock_release(&c1);
15335 __sync_synchronize();
15336 return 0;
15337 }
15338 EOF
15339
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15341 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15342 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15343 (eval $ac_compile) 2>&5
15344 ac_status=$?
15345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15346 test $ac_status = 0; }; then
15347 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15348 glibcxx_cv_atomic_bool=no
15349 else
15350
15351 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15352
15353 glibcxx_cv_atomic_bool=yes
15354 fi
15355 fi
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15357 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15358 rm -f conftest*
15359
15360 cat > conftest.$ac_ext << EOF
15361 #line 15361 "configure"
15362 int main()
15363 {
15364 typedef short atomic_type;
15365 atomic_type c1;
15366 atomic_type c2;
15367 const atomic_type c3(0);
15368 __sync_fetch_and_add(&c1, c2);
15369 __sync_val_compare_and_swap(&c1, c3, c2);
15370 __sync_lock_test_and_set(&c1, c3);
15371 __sync_lock_release(&c1);
15372 __sync_synchronize();
15373 return 0;
15374 }
15375 EOF
15376
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15378 $as_echo_n "checking for atomic builtins for short... " >&6; }
15379 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15380 (eval $ac_compile) 2>&5
15381 ac_status=$?
15382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15383 test $ac_status = 0; }; then
15384 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15385 glibcxx_cv_atomic_short=no
15386 else
15387
15388 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15389
15390 glibcxx_cv_atomic_short=yes
15391 fi
15392 fi
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15394 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15395 rm -f conftest*
15396
15397 cat > conftest.$ac_ext << EOF
15398 #line 15398 "configure"
15399 int main()
15400 {
15401 // NB: _Atomic_word not necessarily int.
15402 typedef int atomic_type;
15403 atomic_type c1;
15404 atomic_type c2;
15405 const atomic_type c3(0);
15406 __sync_fetch_and_add(&c1, c2);
15407 __sync_val_compare_and_swap(&c1, c3, c2);
15408 __sync_lock_test_and_set(&c1, c3);
15409 __sync_lock_release(&c1);
15410 __sync_synchronize();
15411 return 0;
15412 }
15413 EOF
15414
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15416 $as_echo_n "checking for atomic builtins for int... " >&6; }
15417 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15418 (eval $ac_compile) 2>&5
15419 ac_status=$?
15420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15421 test $ac_status = 0; }; then
15422 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15423 glibcxx_cv_atomic_int=no
15424 else
15425
15426 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15427
15428 glibcxx_cv_atomic_int=yes
15429 fi
15430 fi
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15432 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15433 rm -f conftest*
15434
15435 cat > conftest.$ac_ext << EOF
15436 #line 15436 "configure"
15437 int main()
15438 {
15439 typedef long long atomic_type;
15440 atomic_type c1;
15441 atomic_type c2;
15442 const atomic_type c3(0);
15443 __sync_fetch_and_add(&c1, c2);
15444 __sync_val_compare_and_swap(&c1, c3, c2);
15445 __sync_lock_test_and_set(&c1, c3);
15446 __sync_lock_release(&c1);
15447 __sync_synchronize();
15448 return 0;
15449 }
15450 EOF
15451
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15453 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15454 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15455 (eval $ac_compile) 2>&5
15456 ac_status=$?
15457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15458 test $ac_status = 0; }; then
15459 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15460 glibcxx_cv_atomic_long_long=no
15461 else
15462
15463 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15464
15465 glibcxx_cv_atomic_long_long=yes
15466 fi
15467 fi
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15469 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15470 rm -f conftest*
15471
15472 fi
15473
15474 CXXFLAGS="$old_CXXFLAGS"
15475 ac_ext=c
15476 ac_cpp='$CPP $CPPFLAGS'
15477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15480
15481
15482 # Set atomicity_dir to builtins if either of above tests pass.
15483 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15484 atomicity_dir=cpu/generic/atomicity_builtins
15485 fi
15486
15487 # If still generic, set to mutex.
15488 if test $atomicity_dir = "cpu/generic" ; then
15489 atomicity_dir=cpu/generic/atomicity_mutex
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15491 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15492 if test "x$target_thread_file" = xsingle; then
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15494 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15496 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15497 else
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15499 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15501 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15502 fi
15503 fi
15504
15505
15506
15507
15508 # Fake what AC_TRY_COMPILE does, without linking as this is
15509 # unnecessary for this test.
15510
15511 cat > conftest.$ac_ext << EOF
15512 #line 15512 "configure"
15513 int main()
15514 {
15515 _Decimal32 d1;
15516 _Decimal64 d2;
15517 _Decimal128 d3;
15518 return 0;
15519 }
15520 EOF
15521
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15523 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15524 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15525 (eval $ac_compile) 2>&5
15526 ac_status=$?
15527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15528 test $ac_status = 0; }; then
15529
15530 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15531
15532 enable_dfp=yes
15533 else
15534 enable_dfp=no
15535 fi
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15537 $as_echo "$enable_dfp" >&6; }
15538 rm -f conftest*
15539
15540
15541 # Checks for compiler support that doesn't require linking.
15542
15543 # All these tests are for C++; save the language and the compiler flags.
15544 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15545 # found in GLIBCXX_CONFIGURE.
15546
15547 ac_ext=cpp
15548 ac_cpp='$CXXCPP $CPPFLAGS'
15549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15552
15553 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15554 ac_save_CXXFLAGS="$CXXFLAGS"
15555
15556 # Check for maintainer-mode bits.
15557 if test x"$USE_MAINTAINER_MODE" = xno; then
15558 WERROR=''
15559 else
15560 WERROR='-Werror'
15561 fi
15562
15563 # Check for -ffunction-sections -fdata-sections
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15565 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15566 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15568 /* end confdefs.h. */
15569 int foo; void bar() { };
15570 int
15571 main ()
15572 {
15573
15574 ;
15575 return 0;
15576 }
15577 _ACEOF
15578 if ac_fn_cxx_try_compile "$LINENO"; then :
15579 ac_fdsections=yes
15580 else
15581 ac_fdsections=no
15582 fi
15583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15584 if test "$ac_test_CXXFLAGS" = set; then
15585 CXXFLAGS="$ac_save_CXXFLAGS"
15586 else
15587 # this is the suspicious part
15588 CXXFLAGS=''
15589 fi
15590 if test x"$ac_fdsections" = x"yes"; then
15591 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15592 fi
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15594 $as_echo "$ac_fdsections" >&6; }
15595
15596 ac_ext=c
15597 ac_cpp='$CPP $CPPFLAGS'
15598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15601
15602
15603
15604
15605
15606 # Enable all the variable C++ runtime options that don't require linking.
15607
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15609 $as_echo_n "checking for underlying I/O to use... " >&6; }
15610 # Check whether --enable-cstdio was given.
15611 if test "${enable_cstdio+set}" = set; then :
15612 enableval=$enable_cstdio;
15613 case "$enableval" in
15614 stdio) ;;
15615 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15616 esac
15617
15618 else
15619 enable_cstdio=stdio
15620 fi
15621
15622
15623
15624 # Now that libio has been removed, you can have any color you want as long
15625 # as it's black. This is one big no-op until other packages are added, but
15626 # showing the framework never hurts.
15627 case ${enable_cstdio} in
15628 stdio)
15629 CSTDIO_H=config/io/c_io_stdio.h
15630 BASIC_FILE_H=config/io/basic_file_stdio.h
15631 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15633 $as_echo "stdio" >&6; }
15634 ;;
15635 esac
15636
15637
15638
15639
15640
15641
15642 # Check whether --enable-clocale was given.
15643 if test "${enable_clocale+set}" = set; then :
15644 enableval=$enable_clocale;
15645 case "$enableval" in
15646 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15647 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15648 esac
15649
15650 else
15651 enable_clocale=auto
15652 fi
15653
15654
15655
15656 # Deal with gettext issues. Default to not using it (=no) until we detect
15657 # support for it later. Let the user turn it off via --e/d, but let that
15658 # default to on for easier handling.
15659 USE_NLS=no
15660 # Check whether --enable-nls was given.
15661 if test "${enable_nls+set}" = set; then :
15662 enableval=$enable_nls;
15663 else
15664 enable_nls=yes
15665 fi
15666
15667
15668 # Either a known package, or "auto"
15669 if test $enable_clocale = no || test $enable_clocale = yes; then
15670 enable_clocale=auto
15671 fi
15672 enable_clocale_flag=$enable_clocale
15673
15674 # Probe for locale model to use if none specified.
15675 # Default to "generic".
15676 if test $enable_clocale_flag = auto; then
15677 case ${target_os} in
15678 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15679 enable_clocale_flag=gnu
15680 ;;
15681 darwin* | freebsd*)
15682 enable_clocale_flag=darwin
15683 ;;
15684 *)
15685 if test x"$with_newlib" = x"yes"; then
15686 enable_clocale_flag=newlib
15687 else
15688 enable_clocale_flag=generic
15689 fi
15690 ;;
15691 esac
15692 fi
15693
15694 # Sanity check model, and test for special functionality.
15695 if test $enable_clocale_flag = gnu; then
15696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15697 /* end confdefs.h. */
15698
15699 #include <features.h>
15700 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15701 _GLIBCXX_ok
15702 #endif
15703
15704 _ACEOF
15705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15706 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15707 enable_clocale_flag=gnu
15708 else
15709 enable_clocale_flag=generic
15710 fi
15711 rm -f conftest*
15712
15713
15714 # Set it to scream when it hurts.
15715 ac_save_CFLAGS="$CFLAGS"
15716 CFLAGS="-Wimplicit-function-declaration -Werror"
15717
15718 # Use strxfrm_l if available.
15719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15720 /* end confdefs.h. */
15721 #define _GNU_SOURCE 1
15722 #include <string.h>
15723 #include <locale.h>
15724 int
15725 main ()
15726 {
15727 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15728 ;
15729 return 0;
15730 }
15731 _ACEOF
15732 if ac_fn_c_try_compile "$LINENO"; then :
15733
15734 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15735
15736 fi
15737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15738
15739 # Use strerror_l if available.
15740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15741 /* end confdefs.h. */
15742 #define _GNU_SOURCE 1
15743 #include <string.h>
15744 #include <locale.h>
15745 int
15746 main ()
15747 {
15748 __locale_t loc; strerror_l(5, loc);
15749 ;
15750 return 0;
15751 }
15752 _ACEOF
15753 if ac_fn_c_try_compile "$LINENO"; then :
15754
15755 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15756
15757 fi
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759
15760 CFLAGS="$ac_save_CFLAGS"
15761 fi
15762
15763 # Perhaps use strerror_r if available, and strerror_l isn't.
15764 ac_save_CFLAGS="$CFLAGS"
15765 CFLAGS="-Wimplicit-function-declaration -Werror"
15766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15767 /* end confdefs.h. */
15768 #define _GNU_SOURCE 1
15769 #include <string.h>
15770 #include <locale.h>
15771 int
15772 main ()
15773 {
15774 char s[128]; strerror_r(5, s, 128);
15775 ;
15776 return 0;
15777 }
15778 _ACEOF
15779 if ac_fn_c_try_compile "$LINENO"; then :
15780
15781 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15782
15783 fi
15784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15785 CFLAGS="$ac_save_CFLAGS"
15786
15787 # Set configure bits for specified locale package
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15789 $as_echo_n "checking for C locale to use... " >&6; }
15790 case ${enable_clocale_flag} in
15791 generic)
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15793 $as_echo "generic" >&6; }
15794
15795 CLOCALE_H=config/locale/generic/c_locale.h
15796 CLOCALE_CC=config/locale/generic/c_locale.cc
15797 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15798 CCOLLATE_CC=config/locale/generic/collate_members.cc
15799 CCTYPE_CC=config/locale/generic/ctype_members.cc
15800 CMESSAGES_H=config/locale/generic/messages_members.h
15801 CMESSAGES_CC=config/locale/generic/messages_members.cc
15802 CMONEY_CC=config/locale/generic/monetary_members.cc
15803 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15804 CTIME_H=config/locale/generic/time_members.h
15805 CTIME_CC=config/locale/generic/time_members.cc
15806 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15807 ;;
15808 darwin)
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15810 $as_echo "darwin or freebsd" >&6; }
15811
15812 CLOCALE_H=config/locale/generic/c_locale.h
15813 CLOCALE_CC=config/locale/generic/c_locale.cc
15814 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15815 CCOLLATE_CC=config/locale/generic/collate_members.cc
15816 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15817 CMESSAGES_H=config/locale/generic/messages_members.h
15818 CMESSAGES_CC=config/locale/generic/messages_members.cc
15819 CMONEY_CC=config/locale/generic/monetary_members.cc
15820 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15821 CTIME_H=config/locale/generic/time_members.h
15822 CTIME_CC=config/locale/generic/time_members.cc
15823 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15824 ;;
15825
15826 gnu)
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15828 $as_echo "gnu" >&6; }
15829
15830 # Declare intention to use gettext, and add support for specific
15831 # languages.
15832 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15833 ALL_LINGUAS="de fr"
15834
15835 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15836 # Extract the first word of "msgfmt", so it can be a program name with args.
15837 set dummy msgfmt; ac_word=$2
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15839 $as_echo_n "checking for $ac_word... " >&6; }
15840 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15841 $as_echo_n "(cached) " >&6
15842 else
15843 if test -n "$check_msgfmt"; then
15844 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15845 else
15846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15847 for as_dir in $PATH
15848 do
15849 IFS=$as_save_IFS
15850 test -z "$as_dir" && as_dir=.
15851 for ac_exec_ext in '' $ac_executable_extensions; do
15852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15853 ac_cv_prog_check_msgfmt="yes"
15854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15855 break 2
15856 fi
15857 done
15858 done
15859 IFS=$as_save_IFS
15860
15861 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15862 fi
15863 fi
15864 check_msgfmt=$ac_cv_prog_check_msgfmt
15865 if test -n "$check_msgfmt"; then
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15867 $as_echo "$check_msgfmt" >&6; }
15868 else
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15870 $as_echo "no" >&6; }
15871 fi
15872
15873
15874 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15875 USE_NLS=yes
15876 fi
15877 # Export the build objects.
15878 for ling in $ALL_LINGUAS; do \
15879 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15880 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15881 done
15882
15883
15884
15885 CLOCALE_H=config/locale/gnu/c_locale.h
15886 CLOCALE_CC=config/locale/gnu/c_locale.cc
15887 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15888 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15889 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15890 CMESSAGES_H=config/locale/gnu/messages_members.h
15891 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15892 CMONEY_CC=config/locale/gnu/monetary_members.cc
15893 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15894 CTIME_H=config/locale/gnu/time_members.h
15895 CTIME_CC=config/locale/gnu/time_members.cc
15896 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15897 ;;
15898 ieee_1003.1-2001)
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15900 $as_echo "IEEE 1003.1" >&6; }
15901
15902 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15903 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15904 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15905 CCOLLATE_CC=config/locale/generic/collate_members.cc
15906 CCTYPE_CC=config/locale/generic/ctype_members.cc
15907 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15908 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15909 CMONEY_CC=config/locale/generic/monetary_members.cc
15910 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15911 CTIME_H=config/locale/generic/time_members.h
15912 CTIME_CC=config/locale/generic/time_members.cc
15913 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15914 ;;
15915 newlib)
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15917 $as_echo "newlib" >&6; }
15918
15919 CLOCALE_H=config/locale/generic/c_locale.h
15920 CLOCALE_CC=config/locale/generic/c_locale.cc
15921 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15922 CCOLLATE_CC=config/locale/generic/collate_members.cc
15923 CCTYPE_CC=config/locale/newlib/ctype_members.cc
15924 CMESSAGES_H=config/locale/generic/messages_members.h
15925 CMESSAGES_CC=config/locale/generic/messages_members.cc
15926 CMONEY_CC=config/locale/generic/monetary_members.cc
15927 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15928 CTIME_H=config/locale/generic/time_members.h
15929 CTIME_CC=config/locale/generic/time_members.cc
15930 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15931 ;;
15932 esac
15933
15934 # This is where the testsuite looks for locale catalogs, using the
15935 # -DLOCALEDIR define during testsuite compilation.
15936 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15937
15938
15939 # A standalone libintl (e.g., GNU libintl) may be in use.
15940 if test $USE_NLS = yes; then
15941 for ac_header in libintl.h
15942 do :
15943 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15944 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15945 cat >>confdefs.h <<_ACEOF
15946 #define HAVE_LIBINTL_H 1
15947 _ACEOF
15948
15949 else
15950 USE_NLS=no
15951 fi
15952
15953 done
15954
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15956 $as_echo_n "checking for library containing gettext... " >&6; }
15957 if test "${ac_cv_search_gettext+set}" = set; then :
15958 $as_echo_n "(cached) " >&6
15959 else
15960 ac_func_search_save_LIBS=$LIBS
15961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15962 /* end confdefs.h. */
15963
15964 /* Override any GCC internal prototype to avoid an error.
15965 Use char because int might match the return type of a GCC
15966 builtin and then its argument prototype would still apply. */
15967 #ifdef __cplusplus
15968 extern "C"
15969 #endif
15970 char gettext ();
15971 int
15972 main ()
15973 {
15974 return gettext ();
15975 ;
15976 return 0;
15977 }
15978 _ACEOF
15979 for ac_lib in '' intl; do
15980 if test -z "$ac_lib"; then
15981 ac_res="none required"
15982 else
15983 ac_res=-l$ac_lib
15984 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15985 fi
15986 if test x$gcc_no_link = xyes; then
15987 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15988 fi
15989 if ac_fn_c_try_link "$LINENO"; then :
15990 ac_cv_search_gettext=$ac_res
15991 fi
15992 rm -f core conftest.err conftest.$ac_objext \
15993 conftest$ac_exeext
15994 if test "${ac_cv_search_gettext+set}" = set; then :
15995 break
15996 fi
15997 done
15998 if test "${ac_cv_search_gettext+set}" = set; then :
15999
16000 else
16001 ac_cv_search_gettext=no
16002 fi
16003 rm conftest.$ac_ext
16004 LIBS=$ac_func_search_save_LIBS
16005 fi
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16007 $as_echo "$ac_cv_search_gettext" >&6; }
16008 ac_res=$ac_cv_search_gettext
16009 if test "$ac_res" != no; then :
16010 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16011
16012 else
16013 USE_NLS=no
16014 fi
16015
16016 fi
16017 if test $USE_NLS = yes; then
16018
16019 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16020
16021 fi
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16039 $as_echo_n "checking for std::allocator base class... " >&6; }
16040 # Check whether --enable-libstdcxx-allocator was given.
16041 if test "${enable_libstdcxx_allocator+set}" = set; then :
16042 enableval=$enable_libstdcxx_allocator;
16043 case "$enableval" in
16044 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16045 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16046 esac
16047
16048 else
16049 enable_libstdcxx_allocator=auto
16050 fi
16051
16052
16053
16054 # If they didn't use this option switch, or if they specified --enable
16055 # with no specific model, we'll have to look for one. If they
16056 # specified --disable (???), do likewise.
16057 if test $enable_libstdcxx_allocator = no ||
16058 test $enable_libstdcxx_allocator = yes;
16059 then
16060 enable_libstdcxx_allocator=auto
16061 fi
16062
16063 # Either a known package, or "auto". Auto implies the default choice
16064 # for a particular platform.
16065 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16066
16067 # Probe for host-specific support if no specific model is specified.
16068 # Default to "new".
16069 if test $enable_libstdcxx_allocator_flag = auto; then
16070 case ${target_os} in
16071 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16072 enable_libstdcxx_allocator_flag=new
16073 ;;
16074 *)
16075 enable_libstdcxx_allocator_flag=new
16076 ;;
16077 esac
16078 fi
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16080 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16081
16082
16083 # Set configure bits for specified locale package
16084 case ${enable_libstdcxx_allocator_flag} in
16085 bitmap)
16086 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16087 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16088 ;;
16089 malloc)
16090 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16091 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16092 ;;
16093 mt)
16094 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16095 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16096 ;;
16097 new)
16098 ALLOCATOR_H=config/allocator/new_allocator_base.h
16099 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16100 ;;
16101 pool)
16102 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16103 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16104 ;;
16105 esac
16106
16107
16108
16109
16110
16111 # Check whether --enable-cheaders was given.
16112 if test "${enable_cheaders+set}" = set; then :
16113 enableval=$enable_cheaders;
16114 case "$enableval" in
16115 c|c_std|c_global) ;;
16116 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16117 esac
16118
16119 else
16120 enable_cheaders=$c_model
16121 fi
16122
16123
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16125 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16126
16127 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16128
16129 # Allow overrides to configure.host here.
16130 if test $enable_cheaders = c_global; then
16131 c_compatibility=yes
16132 fi
16133
16134
16135
16136
16137
16138
16139
16140 # Check whether --enable-long-long was given.
16141 if test "${enable_long_long+set}" = set; then :
16142 enableval=$enable_long_long;
16143 case "$enableval" in
16144 yes|no) ;;
16145 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16146 esac
16147
16148 else
16149 enable_long_long=yes
16150 fi
16151
16152
16153 if test $enable_long_long = yes; then
16154
16155 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16156
16157 fi
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16159 $as_echo_n "checking for enabled long long specializations... " >&6; }
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16161 $as_echo "$enable_long_long" >&6; }
16162
16163
16164 # Check whether --enable-wchar_t was given.
16165 if test "${enable_wchar_t+set}" = set; then :
16166 enableval=$enable_wchar_t;
16167 case "$enableval" in
16168 yes|no) ;;
16169 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16170 esac
16171
16172 else
16173 enable_wchar_t=yes
16174 fi
16175
16176
16177
16178 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16179 for ac_header in wchar.h
16180 do :
16181 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16182 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16183 cat >>confdefs.h <<_ACEOF
16184 #define HAVE_WCHAR_H 1
16185 _ACEOF
16186 ac_has_wchar_h=yes
16187 else
16188 ac_has_wchar_h=no
16189 fi
16190
16191 done
16192
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16194 $as_echo_n "checking for mbstate_t... " >&6; }
16195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16196 /* end confdefs.h. */
16197 #include <wchar.h>
16198 int
16199 main ()
16200 {
16201 mbstate_t teststate;
16202 ;
16203 return 0;
16204 }
16205 _ACEOF
16206 if ac_fn_c_try_compile "$LINENO"; then :
16207 have_mbstate_t=yes
16208 else
16209 have_mbstate_t=no
16210 fi
16211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16213 $as_echo "$have_mbstate_t" >&6; }
16214 if test x"$have_mbstate_t" = xyes; then
16215
16216 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16217
16218 fi
16219
16220 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16221 # ac_has_wchar_h.
16222 for ac_header in wctype.h
16223 do :
16224 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16225 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16226 cat >>confdefs.h <<_ACEOF
16227 #define HAVE_WCTYPE_H 1
16228 _ACEOF
16229 ac_has_wctype_h=yes
16230 else
16231 ac_has_wctype_h=no
16232 fi
16233
16234 done
16235
16236
16237 if test x"$enable_wchar_t" = x"yes"; then
16238
16239
16240 ac_ext=cpp
16241 ac_cpp='$CXXCPP $CPPFLAGS'
16242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16245
16246
16247 if test x"$ac_has_wchar_h" = xyes &&
16248 test x"$ac_has_wctype_h" = xyes; then
16249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16250 /* end confdefs.h. */
16251 #include <wchar.h>
16252 #include <stddef.h>
16253 wint_t i;
16254 long l = WEOF;
16255 long j = WCHAR_MIN;
16256 long k = WCHAR_MAX;
16257 namespace test
16258 {
16259 using ::btowc;
16260 using ::fgetwc;
16261 using ::fgetws;
16262 using ::fputwc;
16263 using ::fputws;
16264 using ::fwide;
16265 using ::fwprintf;
16266 using ::fwscanf;
16267 using ::getwc;
16268 using ::getwchar;
16269 using ::mbrlen;
16270 using ::mbrtowc;
16271 using ::mbsinit;
16272 using ::mbsrtowcs;
16273 using ::putwc;
16274 using ::putwchar;
16275 using ::swprintf;
16276 using ::swscanf;
16277 using ::ungetwc;
16278 using ::vfwprintf;
16279 using ::vswprintf;
16280 using ::vwprintf;
16281 using ::wcrtomb;
16282 using ::wcscat;
16283 using ::wcschr;
16284 using ::wcscmp;
16285 using ::wcscoll;
16286 using ::wcscpy;
16287 using ::wcscspn;
16288 using ::wcsftime;
16289 using ::wcslen;
16290 using ::wcsncat;
16291 using ::wcsncmp;
16292 using ::wcsncpy;
16293 using ::wcspbrk;
16294 using ::wcsrchr;
16295 using ::wcsrtombs;
16296 using ::wcsspn;
16297 using ::wcsstr;
16298 using ::wcstod;
16299 using ::wcstok;
16300 using ::wcstol;
16301 using ::wcstoul;
16302 using ::wcsxfrm;
16303 using ::wctob;
16304 using ::wmemchr;
16305 using ::wmemcmp;
16306 using ::wmemcpy;
16307 using ::wmemmove;
16308 using ::wmemset;
16309 using ::wprintf;
16310 using ::wscanf;
16311 }
16312
16313 int
16314 main ()
16315 {
16316
16317 ;
16318 return 0;
16319 }
16320 _ACEOF
16321 if ac_fn_cxx_try_compile "$LINENO"; then :
16322
16323 else
16324 enable_wchar_t=no
16325 fi
16326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16327 else
16328 enable_wchar_t=no
16329 fi
16330
16331 ac_ext=c
16332 ac_cpp='$CPP $CPPFLAGS'
16333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16336
16337 fi
16338
16339 if test x"$enable_wchar_t" = x"yes"; then
16340
16341 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16342
16343 fi
16344
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16346 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16348 $as_echo "$enable_wchar_t" >&6; }
16349
16350
16351
16352 # Check whether --enable-c99 was given.
16353 if test "${enable_c99+set}" = set; then :
16354 enableval=$enable_c99;
16355 case "$enableval" in
16356 yes|no) ;;
16357 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16358 esac
16359
16360 else
16361 enable_c99=yes
16362 fi
16363
16364
16365
16366 if test x"$enable_c99" = x"yes"; then
16367
16368
16369 ac_ext=cpp
16370 ac_cpp='$CXXCPP $CPPFLAGS'
16371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16374
16375
16376 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16377 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16378 # spuriously enabled.
16379 # Long term, -std=c++0x could be even better, could manage to explicitely
16380 # request C99 facilities to the underlying C headers.
16381 ac_save_CXXFLAGS="$CXXFLAGS"
16382 CXXFLAGS="$CXXFLAGS -std=c++98"
16383 ac_save_LIBS="$LIBS"
16384 ac_save_gcc_no_link="$gcc_no_link"
16385
16386 if test x$gcc_no_link != xyes; then
16387 # Use -fno-exceptions to that the C driver can link these tests without
16388 # hitting undefined references to personality routines.
16389 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16391 $as_echo_n "checking for sin in -lm... " >&6; }
16392 if test "${ac_cv_lib_m_sin+set}" = set; then :
16393 $as_echo_n "(cached) " >&6
16394 else
16395 ac_check_lib_save_LIBS=$LIBS
16396 LIBS="-lm $LIBS"
16397 if test x$gcc_no_link = xyes; then
16398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16399 fi
16400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16401 /* end confdefs.h. */
16402
16403 /* Override any GCC internal prototype to avoid an error.
16404 Use char because int might match the return type of a GCC
16405 builtin and then its argument prototype would still apply. */
16406 #ifdef __cplusplus
16407 extern "C"
16408 #endif
16409 char sin ();
16410 int
16411 main ()
16412 {
16413 return sin ();
16414 ;
16415 return 0;
16416 }
16417 _ACEOF
16418 if ac_fn_cxx_try_link "$LINENO"; then :
16419 ac_cv_lib_m_sin=yes
16420 else
16421 ac_cv_lib_m_sin=no
16422 fi
16423 rm -f core conftest.err conftest.$ac_objext \
16424 conftest$ac_exeext conftest.$ac_ext
16425 LIBS=$ac_check_lib_save_LIBS
16426 fi
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16428 $as_echo "$ac_cv_lib_m_sin" >&6; }
16429 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16430
16431 LIBS="$LIBS -lm"
16432
16433 else
16434
16435 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16436 gcc_no_link=yes
16437
16438 fi
16439
16440 fi
16441
16442 # Check for the existence of <math.h> functions used if C99 is enabled.
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16444 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16445 if test "${glibcxx_cv_c99_math+set}" = set; then :
16446 $as_echo_n "(cached) " >&6
16447 else
16448
16449 if test x$gcc_no_link = xyes; then
16450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h. */
16452 #include <math.h>
16453 volatile double d1, d2;
16454 volatile int i;
16455 int
16456 main ()
16457 {
16458 i = fpclassify(d1);
16459 i = isfinite(d1);
16460 i = isinf(d1);
16461 i = isnan(d1);
16462 i = isnormal(d1);
16463 i = signbit(d1);
16464 i = isgreater(d1, d2);
16465 i = isgreaterequal(d1, d2);
16466 i = isless(d1, d2);
16467 i = islessequal(d1, d2);
16468 i = islessgreater(d1, d2);
16469 i = islessgreater(d1, d2);
16470 i = isunordered(d1, d2);
16471
16472 ;
16473 return 0;
16474 }
16475 _ACEOF
16476 if ac_fn_cxx_try_compile "$LINENO"; then :
16477 glibcxx_cv_c99_math=yes
16478 else
16479 glibcxx_cv_c99_math=no
16480 fi
16481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16482 else
16483 if test x$gcc_no_link = xyes; then
16484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16485 fi
16486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16487 /* end confdefs.h. */
16488 #include <math.h>
16489 volatile double d1, d2;
16490 volatile int i;
16491 int
16492 main ()
16493 {
16494 i = fpclassify(d1);
16495 i = isfinite(d1);
16496 i = isinf(d1);
16497 i = isnan(d1);
16498 i = isnormal(d1);
16499 i = signbit(d1);
16500 i = isgreater(d1, d2);
16501 i = isgreaterequal(d1, d2);
16502 i = isless(d1, d2);
16503 i = islessequal(d1, d2);
16504 i = islessgreater(d1, d2);
16505 i = islessgreater(d1, d2);
16506 i = isunordered(d1, d2);
16507
16508 ;
16509 return 0;
16510 }
16511 _ACEOF
16512 if ac_fn_cxx_try_link "$LINENO"; then :
16513 glibcxx_cv_c99_math=yes
16514 else
16515 glibcxx_cv_c99_math=no
16516 fi
16517 rm -f core conftest.err conftest.$ac_objext \
16518 conftest$ac_exeext conftest.$ac_ext
16519 fi
16520
16521 fi
16522
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16524 $as_echo "$glibcxx_cv_c99_math" >&6; }
16525 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16526
16527 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16528
16529 fi
16530
16531 # Check for the existence of <complex.h> complex math functions.
16532 # This is necessary even though libstdc++ uses the builtin versions
16533 # of these functions, because if the builtin cannot be used, a reference
16534 # to the library function is emitted.
16535 for ac_header in tgmath.h
16536 do :
16537 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16538 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16539 cat >>confdefs.h <<_ACEOF
16540 #define HAVE_TGMATH_H 1
16541 _ACEOF
16542 ac_has_tgmath_h=yes
16543 else
16544 ac_has_tgmath_h=no
16545 fi
16546
16547 done
16548
16549 for ac_header in complex.h
16550 do :
16551 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16552 if test "x$ac_cv_header_complex_h" = x""yes; then :
16553 cat >>confdefs.h <<_ACEOF
16554 #define HAVE_COMPLEX_H 1
16555 _ACEOF
16556 ac_has_complex_h=yes
16557 else
16558 ac_has_complex_h=no
16559 fi
16560
16561 done
16562
16563 glibcxx_cv_c99_complex=no;
16564 if test x"$ac_has_complex_h" = x"yes"; then
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16566 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16567 if test x$gcc_no_link = xyes; then
16568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16569 /* end confdefs.h. */
16570 #include <complex.h>
16571 typedef __complex__ float float_type;
16572 typedef __complex__ double double_type;
16573 typedef __complex__ long double ld_type;
16574 volatile float_type tmpf;
16575 volatile double_type tmpd;
16576 volatile ld_type tmpld;
16577 volatile float f;
16578 volatile double d;
16579 volatile long double ld;
16580 int
16581 main ()
16582 {
16583 f = cabsf(tmpf);
16584 f = cargf(tmpf);
16585 tmpf = ccosf(tmpf);
16586 tmpf = ccoshf(tmpf);
16587 tmpf = cexpf(tmpf);
16588 tmpf = clogf(tmpf);
16589 tmpf = csinf(tmpf);
16590 tmpf = csinhf(tmpf);
16591 tmpf = csqrtf(tmpf);
16592 tmpf = ctanf(tmpf);
16593 tmpf = ctanhf(tmpf);
16594 tmpf = cpowf(tmpf, tmpf);
16595 tmpf = cprojf(tmpf);
16596 d = cabs(tmpd);
16597 d = carg(tmpd);
16598 tmpd = ccos(tmpd);
16599 tmpd = ccosh(tmpd);
16600 tmpd = cexp(tmpd);
16601 tmpd = clog(tmpd);
16602 tmpd = csin(tmpd);
16603 tmpd = csinh(tmpd);
16604 tmpd = csqrt(tmpd);
16605 tmpd = ctan(tmpd);
16606 tmpd = ctanh(tmpd);
16607 tmpd = cpow(tmpd, tmpd);
16608 tmpd = cproj(tmpd);
16609 ld = cabsl(tmpld);
16610 ld = cargl(tmpld);
16611 tmpld = ccosl(tmpld);
16612 tmpld = ccoshl(tmpld);
16613 tmpld = cexpl(tmpld);
16614 tmpld = clogl(tmpld);
16615 tmpld = csinl(tmpld);
16616 tmpld = csinhl(tmpld);
16617 tmpld = csqrtl(tmpld);
16618 tmpld = ctanl(tmpld);
16619 tmpld = ctanhl(tmpld);
16620 tmpld = cpowl(tmpld, tmpld);
16621 tmpld = cprojl(tmpld);
16622
16623 ;
16624 return 0;
16625 }
16626 _ACEOF
16627 if ac_fn_cxx_try_compile "$LINENO"; then :
16628 glibcxx_cv_c99_complex=yes
16629 else
16630 glibcxx_cv_c99_complex=no
16631 fi
16632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16633 else
16634 if test x$gcc_no_link = xyes; then
16635 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16636 fi
16637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16638 /* end confdefs.h. */
16639 #include <complex.h>
16640 typedef __complex__ float float_type;
16641 typedef __complex__ double double_type;
16642 typedef __complex__ long double ld_type;
16643 volatile float_type tmpf;
16644 volatile double_type tmpd;
16645 volatile ld_type tmpld;
16646 volatile float f;
16647 volatile double d;
16648 volatile long double ld;
16649 int
16650 main ()
16651 {
16652 f = cabsf(tmpf);
16653 f = cargf(tmpf);
16654 tmpf = ccosf(tmpf);
16655 tmpf = ccoshf(tmpf);
16656 tmpf = cexpf(tmpf);
16657 tmpf = clogf(tmpf);
16658 tmpf = csinf(tmpf);
16659 tmpf = csinhf(tmpf);
16660 tmpf = csqrtf(tmpf);
16661 tmpf = ctanf(tmpf);
16662 tmpf = ctanhf(tmpf);
16663 tmpf = cpowf(tmpf, tmpf);
16664 tmpf = cprojf(tmpf);
16665 d = cabs(tmpd);
16666 d = carg(tmpd);
16667 tmpd = ccos(tmpd);
16668 tmpd = ccosh(tmpd);
16669 tmpd = cexp(tmpd);
16670 tmpd = clog(tmpd);
16671 tmpd = csin(tmpd);
16672 tmpd = csinh(tmpd);
16673 tmpd = csqrt(tmpd);
16674 tmpd = ctan(tmpd);
16675 tmpd = ctanh(tmpd);
16676 tmpd = cpow(tmpd, tmpd);
16677 tmpd = cproj(tmpd);
16678 ld = cabsl(tmpld);
16679 ld = cargl(tmpld);
16680 tmpld = ccosl(tmpld);
16681 tmpld = ccoshl(tmpld);
16682 tmpld = cexpl(tmpld);
16683 tmpld = clogl(tmpld);
16684 tmpld = csinl(tmpld);
16685 tmpld = csinhl(tmpld);
16686 tmpld = csqrtl(tmpld);
16687 tmpld = ctanl(tmpld);
16688 tmpld = ctanhl(tmpld);
16689 tmpld = cpowl(tmpld, tmpld);
16690 tmpld = cprojl(tmpld);
16691
16692 ;
16693 return 0;
16694 }
16695 _ACEOF
16696 if ac_fn_cxx_try_link "$LINENO"; then :
16697 glibcxx_cv_c99_complex=yes
16698 else
16699 glibcxx_cv_c99_complex=no
16700 fi
16701 rm -f core conftest.err conftest.$ac_objext \
16702 conftest$ac_exeext conftest.$ac_ext
16703 fi
16704 fi
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16706 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16707 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16708
16709 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16710
16711 fi
16712
16713 # Check for the existence in <stdio.h> of vscanf, et. al.
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16715 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16716 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16717 $as_echo_n "(cached) " >&6
16718 else
16719
16720 if test x$gcc_no_link = xyes; then
16721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16723 #include <stdio.h>
16724 #include <stdarg.h>
16725 void foo(char* fmt, ...)
16726 {
16727 va_list args; va_start(args, fmt);
16728 vfscanf(stderr, "%i", args);
16729 vscanf("%i", args);
16730 vsnprintf(fmt, 0, "%i", args);
16731 vsscanf(fmt, "%i", args);
16732 }
16733 int
16734 main ()
16735 {
16736 snprintf("12", 0, "%i");
16737 ;
16738 return 0;
16739 }
16740 _ACEOF
16741 if ac_fn_cxx_try_compile "$LINENO"; then :
16742 glibcxx_cv_c99_stdio=yes
16743 else
16744 glibcxx_cv_c99_stdio=no
16745 fi
16746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16747 else
16748 if test x$gcc_no_link = xyes; then
16749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16750 fi
16751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16752 /* end confdefs.h. */
16753 #include <stdio.h>
16754 #include <stdarg.h>
16755 void foo(char* fmt, ...)
16756 {
16757 va_list args; va_start(args, fmt);
16758 vfscanf(stderr, "%i", args);
16759 vscanf("%i", args);
16760 vsnprintf(fmt, 0, "%i", args);
16761 vsscanf(fmt, "%i", args);
16762 }
16763 int
16764 main ()
16765 {
16766 snprintf("12", 0, "%i");
16767 ;
16768 return 0;
16769 }
16770 _ACEOF
16771 if ac_fn_cxx_try_link "$LINENO"; then :
16772 glibcxx_cv_c99_stdio=yes
16773 else
16774 glibcxx_cv_c99_stdio=no
16775 fi
16776 rm -f core conftest.err conftest.$ac_objext \
16777 conftest$ac_exeext conftest.$ac_ext
16778 fi
16779
16780 fi
16781
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16783 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16784
16785 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16787 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16788 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16789 $as_echo_n "(cached) " >&6
16790 else
16791
16792 if test x$gcc_no_link = xyes; then
16793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16794 /* end confdefs.h. */
16795 #include <stdlib.h>
16796 volatile float f;
16797 volatile long double ld;
16798 volatile unsigned long long ll;
16799 lldiv_t mydivt;
16800 int
16801 main ()
16802 {
16803 char* tmp;
16804 f = strtof("gnu", &tmp);
16805 ld = strtold("gnu", &tmp);
16806 ll = strtoll("gnu", &tmp, 10);
16807 ll = strtoull("gnu", &tmp, 10);
16808 ll = llabs(10);
16809 mydivt = lldiv(10,1);
16810 ll = mydivt.quot;
16811 ll = mydivt.rem;
16812 ll = atoll("10");
16813 _Exit(0);
16814
16815 ;
16816 return 0;
16817 }
16818 _ACEOF
16819 if ac_fn_cxx_try_compile "$LINENO"; then :
16820 glibcxx_cv_c99_stdlib=yes
16821 else
16822 glibcxx_cv_c99_stdlib=no
16823 fi
16824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16825 else
16826 if test x$gcc_no_link = xyes; then
16827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16828 fi
16829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16831 #include <stdlib.h>
16832 volatile float f;
16833 volatile long double ld;
16834 volatile unsigned long long ll;
16835 lldiv_t mydivt;
16836 int
16837 main ()
16838 {
16839 char* tmp;
16840 f = strtof("gnu", &tmp);
16841 ld = strtold("gnu", &tmp);
16842 ll = strtoll("gnu", &tmp, 10);
16843 ll = strtoull("gnu", &tmp, 10);
16844 ll = llabs(10);
16845 mydivt = lldiv(10,1);
16846 ll = mydivt.quot;
16847 ll = mydivt.rem;
16848 ll = atoll("10");
16849 _Exit(0);
16850
16851 ;
16852 return 0;
16853 }
16854 _ACEOF
16855 if ac_fn_cxx_try_link "$LINENO"; then :
16856 glibcxx_cv_c99_stdlib=yes
16857 else
16858 glibcxx_cv_c99_stdlib=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_stdlib" >&5
16867 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16868
16869 # Check for the existence in <wchar.h> of wcstold, etc.
16870 glibcxx_cv_c99_wchar=no;
16871 if test x"$ac_has_wchar_h" = xyes &&
16872 test x"$ac_has_wctype_h" = xyes; then
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16874 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16876 /* end confdefs.h. */
16877 #include <wchar.h>
16878 namespace test
16879 {
16880 using ::wcstold;
16881 using ::wcstoll;
16882 using ::wcstoull;
16883 }
16884
16885 int
16886 main ()
16887 {
16888
16889 ;
16890 return 0;
16891 }
16892 _ACEOF
16893 if ac_fn_cxx_try_compile "$LINENO"; then :
16894 glibcxx_cv_c99_wchar=yes
16895 else
16896 glibcxx_cv_c99_wchar=no
16897 fi
16898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16899
16900 # Checks for wide character functions that may not be present.
16901 # Injection of these is wrapped with guard macros.
16902 # NB: only put functions here, instead of immediately above, if
16903 # absolutely necessary.
16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16906 #include <wchar.h>
16907 namespace test { using ::vfwscanf; }
16908 int
16909 main ()
16910 {
16911
16912 ;
16913 return 0;
16914 }
16915 _ACEOF
16916 if ac_fn_cxx_try_compile "$LINENO"; then :
16917
16918 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16919
16920 fi
16921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16922
16923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16924 /* end confdefs.h. */
16925 #include <wchar.h>
16926 namespace test { using ::vswscanf; }
16927 int
16928 main ()
16929 {
16930
16931 ;
16932 return 0;
16933 }
16934 _ACEOF
16935 if ac_fn_cxx_try_compile "$LINENO"; then :
16936
16937 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16938
16939 fi
16940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16941
16942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16943 /* end confdefs.h. */
16944 #include <wchar.h>
16945 namespace test { using ::vwscanf; }
16946 int
16947 main ()
16948 {
16949
16950 ;
16951 return 0;
16952 }
16953 _ACEOF
16954 if ac_fn_cxx_try_compile "$LINENO"; then :
16955
16956 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16957
16958 fi
16959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16960
16961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16962 /* end confdefs.h. */
16963 #include <wchar.h>
16964 namespace test { using ::wcstof; }
16965 int
16966 main ()
16967 {
16968
16969 ;
16970 return 0;
16971 }
16972 _ACEOF
16973 if ac_fn_cxx_try_compile "$LINENO"; then :
16974
16975 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16976
16977 fi
16978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16979
16980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h. */
16982 #include <wctype.h>
16983 int
16984 main ()
16985 {
16986 wint_t t; int i = iswblank(t);
16987 ;
16988 return 0;
16989 }
16990 _ACEOF
16991 if ac_fn_cxx_try_compile "$LINENO"; then :
16992
16993 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16994
16995 fi
16996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16997
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16999 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17000 fi
17001
17002 # Option parsed, now set things appropriately.
17003 if test x"$glibcxx_cv_c99_math" = x"no" ||
17004 test x"$glibcxx_cv_c99_complex" = x"no" ||
17005 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17006 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17007 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17008 enable_c99=no;
17009 else
17010
17011 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17012
17013 fi
17014
17015 gcc_no_link="$ac_save_gcc_no_link"
17016 LIBS="$ac_save_LIBS"
17017 CXXFLAGS="$ac_save_CXXFLAGS"
17018 ac_ext=c
17019 ac_cpp='$CPP $CPPFLAGS'
17020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17023
17024 fi
17025
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17027 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17029 $as_echo "$enable_c99" >&6; }
17030
17031
17032 # Check whether --enable-concept-checks was given.
17033 if test "${enable_concept_checks+set}" = set; then :
17034 enableval=$enable_concept_checks;
17035 case "$enableval" in
17036 yes|no) ;;
17037 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17038 esac
17039
17040 else
17041 enable_concept_checks=no
17042 fi
17043
17044
17045 if test $enable_concept_checks = yes; then
17046
17047 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17048
17049 fi
17050
17051
17052 # Check whether --enable-libstdcxx-debug-flags was given.
17053 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17054 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17055 xno | x) enable_libstdcxx_debug_flags= ;;
17056 x-*) ;;
17057 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17058 esac
17059 else
17060 enable_libstdcxx_debug_flags="-g3 -O0"
17061 fi
17062
17063
17064
17065 # Option parsed, now set things appropriately
17066 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17067
17068
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17070 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17071
17072
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17074 $as_echo_n "checking for additional debug build... " >&6; }
17075 # Check whether --enable-libstdcxx-debug was given.
17076 if test "${enable_libstdcxx_debug+set}" = set; then :
17077 enableval=$enable_libstdcxx_debug;
17078 case "$enableval" in
17079 yes|no) ;;
17080 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17081 esac
17082
17083 else
17084 enable_libstdcxx_debug=no
17085 fi
17086
17087
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17089 $as_echo "$enable_libstdcxx_debug" >&6; }
17090
17091
17092
17093
17094 enable_parallel=no;
17095
17096 # See if configured libgomp/omp.h exists. (libgomp may be in
17097 # noconfigdirs but not explicitly disabled.)
17098 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17099 enable_parallel=yes;
17100 else
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17102 $as_echo "$as_me: target-libgomp not built" >&6;}
17103 fi
17104
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17106 $as_echo_n "checking for parallel mode support... " >&6; }
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17108 $as_echo "$enable_parallel" >&6; }
17109
17110
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17112 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17113 # Check whether --enable-cxx-flags was given.
17114 if test "${enable_cxx_flags+set}" = set; then :
17115 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17116 xno | x) enable_cxx_flags= ;;
17117 x-*) ;;
17118 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17119 esac
17120 else
17121 enable_cxx_flags=
17122 fi
17123
17124
17125
17126 # Run through flags (either default or command-line) and set anything
17127 # extra (e.g., #defines) that must accompany particular g++ options.
17128 if test -n "$enable_cxx_flags"; then
17129 for f in $enable_cxx_flags; do
17130 case "$f" in
17131 -fhonor-std) ;;
17132 -*) ;;
17133 *) # and we're trying to pass /what/ exactly?
17134 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17135 esac
17136 done
17137 fi
17138
17139 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17141 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17142
17143
17144
17145 # Check whether --enable-fully-dynamic-string was given.
17146 if test "${enable_fully_dynamic_string+set}" = set; then :
17147 enableval=$enable_fully_dynamic_string;
17148 case "$enableval" in
17149 yes|no) ;;
17150 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17151 esac
17152
17153 else
17154 enable_fully_dynamic_string=no
17155 fi
17156
17157
17158 if test $enable_fully_dynamic_string = yes; then
17159
17160 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17161
17162 fi
17163
17164
17165
17166 # Check whether --enable-extern-template was given.
17167 if test "${enable_extern_template+set}" = set; then :
17168 enableval=$enable_extern_template;
17169 case "$enableval" in
17170 yes|no) ;;
17171 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17172 esac
17173
17174 else
17175 enable_extern_template=yes
17176 fi
17177
17178
17179
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17181 $as_echo_n "checking for extern template support... " >&6; }
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17183 $as_echo "$enable_extern_template" >&6; }
17184
17185
17186
17187
17188 # Checks for operating systems support that doesn't require linking.
17189
17190
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17192 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17193 if test "${glibcxx_cv_system_error1+set}" = set; then :
17194 $as_echo_n "(cached) " >&6
17195 else
17196
17197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17198 /* end confdefs.h. */
17199 #include <errno.h>
17200 int
17201 main ()
17202 {
17203 int i = EOWNERDEAD;
17204 ;
17205 return 0;
17206 }
17207 _ACEOF
17208 if ac_fn_c_try_compile "$LINENO"; then :
17209 glibcxx_cv_system_error1=yes
17210 else
17211 glibcxx_cv_system_error1=no
17212 fi
17213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17214
17215 fi
17216
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17218 $as_echo "$glibcxx_cv_system_error1" >&6; }
17219 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17220
17221 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17222
17223 fi
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17225 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17226 if test "${glibcxx_cv_system_error2+set}" = set; then :
17227 $as_echo_n "(cached) " >&6
17228 else
17229
17230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17231 /* end confdefs.h. */
17232 #include <errno.h>
17233 int
17234 main ()
17235 {
17236 int i = ENOTRECOVERABLE;
17237 ;
17238 return 0;
17239 }
17240 _ACEOF
17241 if ac_fn_c_try_compile "$LINENO"; then :
17242 glibcxx_cv_system_error2=yes
17243 else
17244 glibcxx_cv_system_error2=no
17245 fi
17246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17247
17248 fi
17249
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17251 $as_echo "$glibcxx_cv_system_error2" >&6; }
17252 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17253
17254 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17255
17256 fi
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17258 $as_echo_n "checking for ENOLINK... " >&6; }
17259 if test "${glibcxx_cv_system_error3+set}" = set; then :
17260 $as_echo_n "(cached) " >&6
17261 else
17262
17263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h. */
17265 #include <errno.h>
17266 int
17267 main ()
17268 {
17269 int i = ENOLINK;
17270 ;
17271 return 0;
17272 }
17273 _ACEOF
17274 if ac_fn_c_try_compile "$LINENO"; then :
17275 glibcxx_cv_system_error3=yes
17276 else
17277 glibcxx_cv_system_error3=no
17278 fi
17279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17280
17281 fi
17282
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17284 $as_echo "$glibcxx_cv_system_error3" >&6; }
17285 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17286
17287 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17288
17289 fi
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17291 $as_echo_n "checking for EPROTO... " >&6; }
17292 if test "${glibcxx_cv_system_error4+set}" = set; then :
17293 $as_echo_n "(cached) " >&6
17294 else
17295
17296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17297 /* end confdefs.h. */
17298 #include <errno.h>
17299 int
17300 main ()
17301 {
17302 int i = EPROTO;
17303 ;
17304 return 0;
17305 }
17306 _ACEOF
17307 if ac_fn_c_try_compile "$LINENO"; then :
17308 glibcxx_cv_system_error4=yes
17309 else
17310 glibcxx_cv_system_error4=no
17311 fi
17312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17313
17314 fi
17315
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17317 $as_echo "$glibcxx_cv_system_error4" >&6; }
17318 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17319
17320 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17321
17322 fi
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17324 $as_echo_n "checking for ENODATA... " >&6; }
17325 if test "${glibcxx_cv_system_error5+set}" = set; then :
17326 $as_echo_n "(cached) " >&6
17327 else
17328
17329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 #include <errno.h>
17332 int
17333 main ()
17334 {
17335 int i = ENODATA;
17336 ;
17337 return 0;
17338 }
17339 _ACEOF
17340 if ac_fn_c_try_compile "$LINENO"; then :
17341 glibcxx_cv_system_error5=yes
17342 else
17343 glibcxx_cv_system_error5=no
17344 fi
17345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17346
17347 fi
17348
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17350 $as_echo "$glibcxx_cv_system_error5" >&6; }
17351 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17352
17353 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17354
17355 fi
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17357 $as_echo_n "checking for ENOSR... " >&6; }
17358 if test "${glibcxx_cv_system_error6+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 <errno.h>
17365 int
17366 main ()
17367 {
17368 int i = ENOSR;
17369 ;
17370 return 0;
17371 }
17372 _ACEOF
17373 if ac_fn_c_try_compile "$LINENO"; then :
17374 glibcxx_cv_system_error6=yes
17375 else
17376 glibcxx_cv_system_error6=no
17377 fi
17378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17379
17380 fi
17381
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17383 $as_echo "$glibcxx_cv_system_error6" >&6; }
17384 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17385
17386 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17387
17388 fi
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17390 $as_echo_n "checking for ENOSTR... " >&6; }
17391 if test "${glibcxx_cv_system_error7+set}" = set; then :
17392 $as_echo_n "(cached) " >&6
17393 else
17394
17395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17396 /* end confdefs.h. */
17397 #include <errno.h>
17398 int
17399 main ()
17400 {
17401 int i = ENOSTR;
17402 ;
17403 return 0;
17404 }
17405 _ACEOF
17406 if ac_fn_c_try_compile "$LINENO"; then :
17407 glibcxx_cv_system_error7=yes
17408 else
17409 glibcxx_cv_system_error7=no
17410 fi
17411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17412
17413 fi
17414
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17416 $as_echo "$glibcxx_cv_system_error7" >&6; }
17417 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17418
17419 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17420
17421 fi
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17423 $as_echo_n "checking for ETIME... " >&6; }
17424 if test "${glibcxx_cv_system_error8+set}" = set; then :
17425 $as_echo_n "(cached) " >&6
17426 else
17427
17428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17429 /* end confdefs.h. */
17430 #include <errno.h>
17431 int
17432 main ()
17433 {
17434 int i = ETIME;
17435 ;
17436 return 0;
17437 }
17438 _ACEOF
17439 if ac_fn_c_try_compile "$LINENO"; then :
17440 glibcxx_cv_system_error8=yes
17441 else
17442 glibcxx_cv_system_error8=no
17443 fi
17444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17445
17446 fi
17447
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17449 $as_echo "$glibcxx_cv_system_error8" >&6; }
17450 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17451
17452 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17453
17454 fi
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17456 $as_echo_n "checking for EBADMSG... " >&6; }
17457 if test "${glibcxx_cv_system_error9+set}" = set; then :
17458 $as_echo_n "(cached) " >&6
17459 else
17460
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17463 #include <errno.h>
17464 int
17465 main ()
17466 {
17467 int i = EBADMSG;
17468 ;
17469 return 0;
17470 }
17471 _ACEOF
17472 if ac_fn_c_try_compile "$LINENO"; then :
17473 glibcxx_cv_system_error9=yes
17474 else
17475 glibcxx_cv_system_error9=no
17476 fi
17477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17478
17479 fi
17480
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17482 $as_echo "$glibcxx_cv_system_error9" >&6; }
17483 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17484
17485 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17486
17487 fi
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17489 $as_echo_n "checking for ECANCELED... " >&6; }
17490 if test "${glibcxx_cv_system_error10+set}" = set; then :
17491 $as_echo_n "(cached) " >&6
17492 else
17493
17494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17496 #include <errno.h>
17497 int
17498 main ()
17499 {
17500 int i = ECANCELED;
17501 ;
17502 return 0;
17503 }
17504 _ACEOF
17505 if ac_fn_c_try_compile "$LINENO"; then :
17506 glibcxx_cv_system_error10=yes
17507 else
17508 glibcxx_cv_system_error10=no
17509 fi
17510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17511
17512 fi
17513
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17515 $as_echo "$glibcxx_cv_system_error10" >&6; }
17516 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17517
17518 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17519
17520 fi
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17522 $as_echo_n "checking for EOVERFLOW... " >&6; }
17523 if test "${glibcxx_cv_system_error11+set}" = set; then :
17524 $as_echo_n "(cached) " >&6
17525 else
17526
17527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17529 #include <errno.h>
17530 int
17531 main ()
17532 {
17533 int i = EOVERFLOW;
17534 ;
17535 return 0;
17536 }
17537 _ACEOF
17538 if ac_fn_c_try_compile "$LINENO"; then :
17539 glibcxx_cv_system_error11=yes
17540 else
17541 glibcxx_cv_system_error11=no
17542 fi
17543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17544
17545 fi
17546
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17548 $as_echo "$glibcxx_cv_system_error11" >&6; }
17549 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17550
17551 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17552
17553 fi
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17555 $as_echo_n "checking for ENOTSUP... " >&6; }
17556 if test "${glibcxx_cv_system_error12+set}" = set; then :
17557 $as_echo_n "(cached) " >&6
17558 else
17559
17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17562 #include <errno.h>
17563 int
17564 main ()
17565 {
17566 int i = ENOTSUP;
17567 ;
17568 return 0;
17569 }
17570 _ACEOF
17571 if ac_fn_c_try_compile "$LINENO"; then :
17572 glibcxx_cv_system_error12=yes
17573 else
17574 glibcxx_cv_system_error12=no
17575 fi
17576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17577
17578 fi
17579
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17581 $as_echo "$glibcxx_cv_system_error12" >&6; }
17582 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17583
17584 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17585
17586 fi
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17588 $as_echo_n "checking for EIDRM... " >&6; }
17589 if test "${glibcxx_cv_system_error13+set}" = set; then :
17590 $as_echo_n "(cached) " >&6
17591 else
17592
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17595 #include <errno.h>
17596 int
17597 main ()
17598 {
17599 int i = EIDRM;
17600 ;
17601 return 0;
17602 }
17603 _ACEOF
17604 if ac_fn_c_try_compile "$LINENO"; then :
17605 glibcxx_cv_system_error13=yes
17606 else
17607 glibcxx_cv_system_error13=no
17608 fi
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610
17611 fi
17612
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17614 $as_echo "$glibcxx_cv_system_error13" >&6; }
17615 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17616
17617 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17618
17619 fi
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17621 $as_echo_n "checking for ETXTBSY... " >&6; }
17622 if test "${glibcxx_cv_system_error14+set}" = set; then :
17623 $as_echo_n "(cached) " >&6
17624 else
17625
17626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17627 /* end confdefs.h. */
17628 #include <errno.h>
17629 int
17630 main ()
17631 {
17632 int i = ETXTBSY;
17633 ;
17634 return 0;
17635 }
17636 _ACEOF
17637 if ac_fn_c_try_compile "$LINENO"; then :
17638 glibcxx_cv_system_error14=yes
17639 else
17640 glibcxx_cv_system_error14=no
17641 fi
17642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17643
17644 fi
17645
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17647 $as_echo "$glibcxx_cv_system_error14" >&6; }
17648 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17649
17650 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17651
17652 fi
17653
17654
17655
17656 # For the streamoff typedef.
17657
17658
17659
17660 ac_ext=cpp
17661 ac_cpp='$CXXCPP $CPPFLAGS'
17662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17665
17666
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17668 $as_echo_n "checking for int64_t... " >&6; }
17669 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17670 $as_echo_n "(cached) " >&6
17671 else
17672
17673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h. */
17675 #include <stdint.h>
17676 int
17677 main ()
17678 {
17679 int64_t var;
17680 ;
17681 return 0;
17682 }
17683 _ACEOF
17684 if ac_fn_cxx_try_compile "$LINENO"; then :
17685 glibcxx_cv_INT64_T=yes
17686 else
17687 glibcxx_cv_INT64_T=no
17688 fi
17689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17690
17691 fi
17692
17693
17694 if test $glibcxx_cv_INT64_T = yes; then
17695
17696 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17697
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17699 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17700
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17702 $as_echo_n "checking for int64_t as long... " >&6; }
17703 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17704 $as_echo_n "(cached) " >&6
17705 else
17706
17707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h. */
17709 #include <stdint.h>
17710 template<typename, typename> struct same { enum { value = -1 }; };
17711 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17712 int array[same<int64_t, long>::value];
17713 int
17714 main ()
17715 {
17716
17717 ;
17718 return 0;
17719 }
17720 _ACEOF
17721 if ac_fn_cxx_try_compile "$LINENO"; then :
17722 glibcxx_cv_int64_t_long=yes
17723 else
17724 glibcxx_cv_int64_t_long=no
17725 fi
17726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17727
17728 fi
17729
17730
17731 if test $glibcxx_cv_int64_t_long = yes; then
17732
17733 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17734
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17736 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17737 fi
17738
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17740 $as_echo_n "checking for int64_t as long long... " >&6; }
17741 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17742 $as_echo_n "(cached) " >&6
17743 else
17744
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17747 #include <stdint.h>
17748 template<typename, typename> struct same { enum { value = -1 }; };
17749 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17750 int array[same<int64_t, long long>::value];
17751 int
17752 main ()
17753 {
17754
17755 ;
17756 return 0;
17757 }
17758 _ACEOF
17759 if ac_fn_cxx_try_compile "$LINENO"; then :
17760 glibcxx_cv_int64_t_long_long=yes
17761 else
17762 glibcxx_cv_int64_t_long_long=no
17763 fi
17764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17765
17766 fi
17767
17768
17769 if test $glibcxx_cv_int64_t_long_long = yes; then
17770
17771 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17772
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17774 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17775 fi
17776 fi
17777
17778 ac_ext=c
17779 ac_cpp='$CPP $CPPFLAGS'
17780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17783
17784
17785
17786 # For LFS support.
17787
17788
17789 ac_ext=cpp
17790 ac_cpp='$CXXCPP $CPPFLAGS'
17791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17794
17795 ac_save_CXXFLAGS="$CXXFLAGS"
17796 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17798 $as_echo_n "checking for LFS support... " >&6; }
17799 if test "${glibcxx_cv_LFS+set}" = set; then :
17800 $as_echo_n "(cached) " >&6
17801 else
17802
17803 if test x$gcc_no_link = xyes; then
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17806 #include <unistd.h>
17807 #include <stdio.h>
17808 #include <sys/stat.h>
17809
17810 int
17811 main ()
17812 {
17813 FILE* fp;
17814 fopen64("t", "w");
17815 fseeko64(fp, 0, SEEK_CUR);
17816 ftello64(fp);
17817 lseek64(1, 0, SEEK_CUR);
17818 struct stat64 buf;
17819 fstat64(1, &buf);
17820 ;
17821 return 0;
17822 }
17823 _ACEOF
17824 if ac_fn_cxx_try_compile "$LINENO"; then :
17825 glibcxx_cv_LFS=yes
17826 else
17827 glibcxx_cv_LFS=no
17828 fi
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17830 else
17831 if test x$gcc_no_link = xyes; then
17832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17833 fi
17834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835 /* end confdefs.h. */
17836 #include <unistd.h>
17837 #include <stdio.h>
17838 #include <sys/stat.h>
17839
17840 int
17841 main ()
17842 {
17843 FILE* fp;
17844 fopen64("t", "w");
17845 fseeko64(fp, 0, SEEK_CUR);
17846 ftello64(fp);
17847 lseek64(1, 0, SEEK_CUR);
17848 struct stat64 buf;
17849 fstat64(1, &buf);
17850 ;
17851 return 0;
17852 }
17853 _ACEOF
17854 if ac_fn_cxx_try_link "$LINENO"; then :
17855 glibcxx_cv_LFS=yes
17856 else
17857 glibcxx_cv_LFS=no
17858 fi
17859 rm -f core conftest.err conftest.$ac_objext \
17860 conftest$ac_exeext conftest.$ac_ext
17861 fi
17862
17863 fi
17864
17865 if test $glibcxx_cv_LFS = yes; then
17866
17867 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17868
17869 fi
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17871 $as_echo "$glibcxx_cv_LFS" >&6; }
17872 CXXFLAGS="$ac_save_CXXFLAGS"
17873 ac_ext=c
17874 ac_cpp='$CPP $CPPFLAGS'
17875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17878
17879
17880
17881 # For showmanyc_helper().
17882 for ac_header in sys/ioctl.h sys/filio.h
17883 do :
17884 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17885 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17886 eval as_val=\$$as_ac_Header
17887 if test "x$as_val" = x""yes; then :
17888 cat >>confdefs.h <<_ACEOF
17889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17890 _ACEOF
17891
17892 fi
17893
17894 done
17895
17896
17897
17898
17899 ac_ext=cpp
17900 ac_cpp='$CXXCPP $CPPFLAGS'
17901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17904
17905 ac_save_CXXFLAGS="$CXXFLAGS"
17906 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17907
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17909 $as_echo_n "checking for poll... " >&6; }
17910 if test "${glibcxx_cv_POLL+set}" = set; then :
17911 $as_echo_n "(cached) " >&6
17912 else
17913
17914 if test x$gcc_no_link = xyes; then
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17917 #include <poll.h>
17918 int
17919 main ()
17920 {
17921 struct pollfd pfd[1];
17922 pfd[0].events = POLLIN;
17923 poll(pfd, 1, 0);
17924 ;
17925 return 0;
17926 }
17927 _ACEOF
17928 if ac_fn_cxx_try_compile "$LINENO"; then :
17929 glibcxx_cv_POLL=yes
17930 else
17931 glibcxx_cv_POLL=no
17932 fi
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17934 else
17935 if test x$gcc_no_link = xyes; then
17936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17937 fi
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17940 #include <poll.h>
17941 int
17942 main ()
17943 {
17944 struct pollfd pfd[1];
17945 pfd[0].events = POLLIN;
17946 poll(pfd, 1, 0);
17947 ;
17948 return 0;
17949 }
17950 _ACEOF
17951 if ac_fn_cxx_try_link "$LINENO"; then :
17952 glibcxx_cv_POLL=yes
17953 else
17954 glibcxx_cv_POLL=no
17955 fi
17956 rm -f core conftest.err conftest.$ac_objext \
17957 conftest$ac_exeext conftest.$ac_ext
17958 fi
17959
17960 fi
17961
17962 if test $glibcxx_cv_POLL = yes; then
17963
17964 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17965
17966 fi
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17968 $as_echo "$glibcxx_cv_POLL" >&6; }
17969
17970 CXXFLAGS="$ac_save_CXXFLAGS"
17971 ac_ext=c
17972 ac_cpp='$CPP $CPPFLAGS'
17973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17976
17977
17978
17979
17980
17981 ac_ext=cpp
17982 ac_cpp='$CXXCPP $CPPFLAGS'
17983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17986
17987 ac_save_CXXFLAGS="$CXXFLAGS"
17988 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17989
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17991 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17992 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17993 $as_echo_n "(cached) " >&6
17994 else
17995
17996 if test x$gcc_no_link = xyes; then
17997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17998 /* end confdefs.h. */
17999 #include <sys/stat.h>
18000 int
18001 main ()
18002 {
18003 struct stat buffer;
18004 fstat(0, &buffer);
18005 S_ISREG(buffer.st_mode);
18006 ;
18007 return 0;
18008 }
18009 _ACEOF
18010 if ac_fn_cxx_try_compile "$LINENO"; then :
18011 glibcxx_cv_S_ISREG=yes
18012 else
18013 glibcxx_cv_S_ISREG=no
18014 fi
18015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18016 else
18017 if test x$gcc_no_link = xyes; then
18018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18019 fi
18020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18022 #include <sys/stat.h>
18023 int
18024 main ()
18025 {
18026 struct stat buffer;
18027 fstat(0, &buffer);
18028 S_ISREG(buffer.st_mode);
18029 ;
18030 return 0;
18031 }
18032 _ACEOF
18033 if ac_fn_cxx_try_link "$LINENO"; then :
18034 glibcxx_cv_S_ISREG=yes
18035 else
18036 glibcxx_cv_S_ISREG=no
18037 fi
18038 rm -f core conftest.err conftest.$ac_objext \
18039 conftest$ac_exeext conftest.$ac_ext
18040 fi
18041
18042 fi
18043
18044 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18045 $as_echo_n "(cached) " >&6
18046 else
18047
18048 if test x$gcc_no_link = xyes; then
18049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18050 /* end confdefs.h. */
18051 #include <sys/stat.h>
18052 int
18053 main ()
18054 {
18055 struct stat buffer;
18056 fstat(0, &buffer);
18057 S_IFREG & buffer.st_mode;
18058 ;
18059 return 0;
18060 }
18061 _ACEOF
18062 if ac_fn_cxx_try_compile "$LINENO"; then :
18063 glibcxx_cv_S_IFREG=yes
18064 else
18065 glibcxx_cv_S_IFREG=no
18066 fi
18067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18068 else
18069 if test x$gcc_no_link = xyes; then
18070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18071 fi
18072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18073 /* end confdefs.h. */
18074 #include <sys/stat.h>
18075 int
18076 main ()
18077 {
18078 struct stat buffer;
18079 fstat(0, &buffer);
18080 S_IFREG & buffer.st_mode;
18081 ;
18082 return 0;
18083 }
18084 _ACEOF
18085 if ac_fn_cxx_try_link "$LINENO"; then :
18086 glibcxx_cv_S_IFREG=yes
18087 else
18088 glibcxx_cv_S_IFREG=no
18089 fi
18090 rm -f core conftest.err conftest.$ac_objext \
18091 conftest$ac_exeext conftest.$ac_ext
18092 fi
18093
18094 fi
18095
18096 res=no
18097 if test $glibcxx_cv_S_ISREG = yes; then
18098
18099 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18100
18101 res=S_ISREG
18102 elif test $glibcxx_cv_S_IFREG = yes; then
18103
18104 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18105
18106 res=S_IFREG
18107 fi
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18109 $as_echo "$res" >&6; }
18110
18111 CXXFLAGS="$ac_save_CXXFLAGS"
18112 ac_ext=c
18113 ac_cpp='$CPP $CPPFLAGS'
18114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18117
18118
18119
18120 # For xsputn_2().
18121 for ac_header in sys/uio.h
18122 do :
18123 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18124 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18125 cat >>confdefs.h <<_ACEOF
18126 #define HAVE_SYS_UIO_H 1
18127 _ACEOF
18128
18129 fi
18130
18131 done
18132
18133
18134
18135
18136 ac_ext=cpp
18137 ac_cpp='$CXXCPP $CPPFLAGS'
18138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18141
18142 ac_save_CXXFLAGS="$CXXFLAGS"
18143 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18144
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18146 $as_echo_n "checking for writev... " >&6; }
18147 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18148 $as_echo_n "(cached) " >&6
18149 else
18150
18151 if test x$gcc_no_link = xyes; then
18152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18153 /* end confdefs.h. */
18154 #include <sys/uio.h>
18155 int
18156 main ()
18157 {
18158 struct iovec iov[2];
18159 writev(0, iov, 0);
18160 ;
18161 return 0;
18162 }
18163 _ACEOF
18164 if ac_fn_cxx_try_compile "$LINENO"; then :
18165 glibcxx_cv_WRITEV=yes
18166 else
18167 glibcxx_cv_WRITEV=no
18168 fi
18169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18170 else
18171 if test x$gcc_no_link = xyes; then
18172 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18173 fi
18174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18175 /* end confdefs.h. */
18176 #include <sys/uio.h>
18177 int
18178 main ()
18179 {
18180 struct iovec iov[2];
18181 writev(0, iov, 0);
18182 ;
18183 return 0;
18184 }
18185 _ACEOF
18186 if ac_fn_cxx_try_link "$LINENO"; then :
18187 glibcxx_cv_WRITEV=yes
18188 else
18189 glibcxx_cv_WRITEV=no
18190 fi
18191 rm -f core conftest.err conftest.$ac_objext \
18192 conftest$ac_exeext conftest.$ac_ext
18193 fi
18194
18195 fi
18196
18197 if test $glibcxx_cv_WRITEV = yes; then
18198
18199 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18200
18201 fi
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18203 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18204
18205 CXXFLAGS="$ac_save_CXXFLAGS"
18206 ac_ext=c
18207 ac_cpp='$CPP $CPPFLAGS'
18208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18211
18212
18213
18214 # For C99 support to TR1.
18215
18216
18217
18218 ac_ext=cpp
18219 ac_cpp='$CXXCPP $CPPFLAGS'
18220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18223
18224
18225 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18226 # undefined and fake C99 facilities may be spuriously enabled.
18227 ac_save_CXXFLAGS="$CXXFLAGS"
18228 CXXFLAGS="$CXXFLAGS -std=c++98"
18229
18230 # Check for the existence of <complex.h> complex math functions used
18231 # by tr1/complex.
18232 for ac_header in complex.h
18233 do :
18234 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18235 if test "x$ac_cv_header_complex_h" = x""yes; then :
18236 cat >>confdefs.h <<_ACEOF
18237 #define HAVE_COMPLEX_H 1
18238 _ACEOF
18239 ac_has_complex_h=yes
18240 else
18241 ac_has_complex_h=no
18242 fi
18243
18244 done
18245
18246 ac_c99_complex_tr1=no;
18247 if test x"$ac_has_complex_h" = x"yes"; then
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18249 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18251 /* end confdefs.h. */
18252 #include <complex.h>
18253 int
18254 main ()
18255 {
18256 typedef __complex__ float float_type; float_type tmpf;
18257 cacosf(tmpf);
18258 casinf(tmpf);
18259 catanf(tmpf);
18260 cacoshf(tmpf);
18261 casinhf(tmpf);
18262 catanhf(tmpf);
18263 typedef __complex__ double double_type; double_type tmpd;
18264 cacos(tmpd);
18265 casin(tmpd);
18266 catan(tmpd);
18267 cacosh(tmpd);
18268 casinh(tmpd);
18269 catanh(tmpd);
18270 typedef __complex__ long double ld_type; ld_type tmpld;
18271 cacosl(tmpld);
18272 casinl(tmpld);
18273 catanl(tmpld);
18274 cacoshl(tmpld);
18275 casinhl(tmpld);
18276 catanhl(tmpld);
18277
18278 ;
18279 return 0;
18280 }
18281 _ACEOF
18282 if ac_fn_cxx_try_compile "$LINENO"; then :
18283 ac_c99_complex_tr1=yes
18284 else
18285 ac_c99_complex_tr1=no
18286 fi
18287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18288 fi
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18290 $as_echo "$ac_c99_complex_tr1" >&6; }
18291 if test x"$ac_c99_complex_tr1" = x"yes"; then
18292
18293 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18294
18295 fi
18296
18297 # Check for the existence of <ctype.h> functions.
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18299 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18300 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18301 $as_echo_n "(cached) " >&6
18302 else
18303
18304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18305 /* end confdefs.h. */
18306 #include <ctype.h>
18307 int
18308 main ()
18309 {
18310 int ch;
18311 int ret;
18312 ret = isblank(ch);
18313
18314 ;
18315 return 0;
18316 }
18317 _ACEOF
18318 if ac_fn_cxx_try_compile "$LINENO"; then :
18319 glibcxx_cv_c99_ctype_tr1=yes
18320 else
18321 glibcxx_cv_c99_ctype_tr1=no
18322 fi
18323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18324
18325 fi
18326
18327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18328 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18329 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18330
18331 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18332
18333 fi
18334
18335 # Check for the existence of <fenv.h> functions.
18336 for ac_header in fenv.h
18337 do :
18338 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18339 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18340 cat >>confdefs.h <<_ACEOF
18341 #define HAVE_FENV_H 1
18342 _ACEOF
18343 ac_has_fenv_h=yes
18344 else
18345 ac_has_fenv_h=no
18346 fi
18347
18348 done
18349
18350 ac_c99_fenv_tr1=no;
18351 if test x"$ac_has_fenv_h" = x"yes"; then
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18353 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18355 /* end confdefs.h. */
18356 #include <fenv.h>
18357 int
18358 main ()
18359 {
18360 int except, mode;
18361 fexcept_t* pflag;
18362 fenv_t* penv;
18363 int ret;
18364 ret = feclearexcept(except);
18365 ret = fegetexceptflag(pflag, except);
18366 ret = feraiseexcept(except);
18367 ret = fesetexceptflag(pflag, except);
18368 ret = fetestexcept(except);
18369 ret = fegetround();
18370 ret = fesetround(mode);
18371 ret = fegetenv(penv);
18372 ret = feholdexcept(penv);
18373 ret = fesetenv(penv);
18374 ret = feupdateenv(penv);
18375
18376 ;
18377 return 0;
18378 }
18379 _ACEOF
18380 if ac_fn_cxx_try_compile "$LINENO"; then :
18381 ac_c99_fenv_tr1=yes
18382 else
18383 ac_c99_fenv_tr1=no
18384 fi
18385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18386 fi
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18388 $as_echo "$ac_c99_fenv_tr1" >&6; }
18389 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18390
18391 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18392
18393 fi
18394
18395 # Check for the existence of <stdint.h> types.
18396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18397 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18398 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18399 $as_echo_n "(cached) " >&6
18400 else
18401
18402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18403 /* end confdefs.h. */
18404 #define __STDC_LIMIT_MACROS
18405 #define __STDC_CONSTANT_MACROS
18406 #include <stdint.h>
18407 int
18408 main ()
18409 {
18410 typedef int8_t my_int8_t;
18411 my_int8_t i8 = INT8_MIN;
18412 i8 = INT8_MAX;
18413 typedef int16_t my_int16_t;
18414 my_int16_t i16 = INT16_MIN;
18415 i16 = INT16_MAX;
18416 typedef int32_t my_int32_t;
18417 my_int32_t i32 = INT32_MIN;
18418 i32 = INT32_MAX;
18419 typedef int64_t my_int64_t;
18420 my_int64_t i64 = INT64_MIN;
18421 i64 = INT64_MAX;
18422 typedef int_fast8_t my_int_fast8_t;
18423 my_int_fast8_t if8 = INT_FAST8_MIN;
18424 if8 = INT_FAST8_MAX;
18425 typedef int_fast16_t my_int_fast16_t;
18426 my_int_fast16_t if16 = INT_FAST16_MIN;
18427 if16 = INT_FAST16_MAX;
18428 typedef int_fast32_t my_int_fast32_t;
18429 my_int_fast32_t if32 = INT_FAST32_MIN;
18430 if32 = INT_FAST32_MAX;
18431 typedef int_fast64_t my_int_fast64_t;
18432 my_int_fast64_t if64 = INT_FAST64_MIN;
18433 if64 = INT_FAST64_MAX;
18434 typedef int_least8_t my_int_least8_t;
18435 my_int_least8_t il8 = INT_LEAST8_MIN;
18436 il8 = INT_LEAST8_MAX;
18437 typedef int_least16_t my_int_least16_t;
18438 my_int_least16_t il16 = INT_LEAST16_MIN;
18439 il16 = INT_LEAST16_MAX;
18440 typedef int_least32_t my_int_least32_t;
18441 my_int_least32_t il32 = INT_LEAST32_MIN;
18442 il32 = INT_LEAST32_MAX;
18443 typedef int_least64_t my_int_least64_t;
18444 my_int_least64_t il64 = INT_LEAST64_MIN;
18445 il64 = INT_LEAST64_MAX;
18446 typedef intmax_t my_intmax_t;
18447 my_intmax_t im = INTMAX_MAX;
18448 im = INTMAX_MIN;
18449 typedef intptr_t my_intptr_t;
18450 my_intptr_t ip = INTPTR_MAX;
18451 ip = INTPTR_MIN;
18452 typedef uint8_t my_uint8_t;
18453 my_uint8_t ui8 = UINT8_MAX;
18454 ui8 = UINT8_MAX;
18455 typedef uint16_t my_uint16_t;
18456 my_uint16_t ui16 = UINT16_MAX;
18457 ui16 = UINT16_MAX;
18458 typedef uint32_t my_uint32_t;
18459 my_uint32_t ui32 = UINT32_MAX;
18460 ui32 = UINT32_MAX;
18461 typedef uint64_t my_uint64_t;
18462 my_uint64_t ui64 = UINT64_MAX;
18463 ui64 = UINT64_MAX;
18464 typedef uint_fast8_t my_uint_fast8_t;
18465 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18466 uif8 = UINT_FAST8_MAX;
18467 typedef uint_fast16_t my_uint_fast16_t;
18468 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18469 uif16 = UINT_FAST16_MAX;
18470 typedef uint_fast32_t my_uint_fast32_t;
18471 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18472 uif32 = UINT_FAST32_MAX;
18473 typedef uint_fast64_t my_uint_fast64_t;
18474 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18475 uif64 = UINT_FAST64_MAX;
18476 typedef uint_least8_t my_uint_least8_t;
18477 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18478 uil8 = UINT_LEAST8_MAX;
18479 typedef uint_least16_t my_uint_least16_t;
18480 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18481 uil16 = UINT_LEAST16_MAX;
18482 typedef uint_least32_t my_uint_least32_t;
18483 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18484 uil32 = UINT_LEAST32_MAX;
18485 typedef uint_least64_t my_uint_least64_t;
18486 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18487 uil64 = UINT_LEAST64_MAX;
18488 typedef uintmax_t my_uintmax_t;
18489 my_uintmax_t uim = UINTMAX_MAX;
18490 uim = UINTMAX_MAX;
18491 typedef uintptr_t my_uintptr_t;
18492 my_uintptr_t uip = UINTPTR_MAX;
18493 uip = UINTPTR_MAX;
18494
18495 ;
18496 return 0;
18497 }
18498 _ACEOF
18499 if ac_fn_cxx_try_compile "$LINENO"; then :
18500 glibcxx_cv_c99_stdint_tr1=yes
18501 else
18502 glibcxx_cv_c99_stdint_tr1=no
18503 fi
18504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18505
18506 fi
18507
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18509 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18510 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18511
18512 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18513
18514 fi
18515
18516 # Check for the existence of <math.h> functions.
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18518 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18519 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18520 $as_echo_n "(cached) " >&6
18521 else
18522
18523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18525 #include <math.h>
18526 int
18527 main ()
18528 {
18529 typedef double_t my_double_t;
18530 typedef float_t my_float_t;
18531 acosh(0.0);
18532 acoshf(0.0f);
18533 acoshl(0.0l);
18534 asinh(0.0);
18535 asinhf(0.0f);
18536 asinhl(0.0l);
18537 atanh(0.0);
18538 atanhf(0.0f);
18539 atanhl(0.0l);
18540 cbrt(0.0);
18541 cbrtf(0.0f);
18542 cbrtl(0.0l);
18543 copysign(0.0, 0.0);
18544 copysignf(0.0f, 0.0f);
18545 copysignl(0.0l, 0.0l);
18546 erf(0.0);
18547 erff(0.0f);
18548 erfl(0.0l);
18549 erfc(0.0);
18550 erfcf(0.0f);
18551 erfcl(0.0l);
18552 exp2(0.0);
18553 exp2f(0.0f);
18554 exp2l(0.0l);
18555 expm1(0.0);
18556 expm1f(0.0f);
18557 expm1l(0.0l);
18558 fdim(0.0, 0.0);
18559 fdimf(0.0f, 0.0f);
18560 fdiml(0.0l, 0.0l);
18561 fma(0.0, 0.0, 0.0);
18562 fmaf(0.0f, 0.0f, 0.0f);
18563 fmal(0.0l, 0.0l, 0.0l);
18564 fmax(0.0, 0.0);
18565 fmaxf(0.0f, 0.0f);
18566 fmaxl(0.0l, 0.0l);
18567 fmin(0.0, 0.0);
18568 fminf(0.0f, 0.0f);
18569 fminl(0.0l, 0.0l);
18570 hypot(0.0, 0.0);
18571 hypotf(0.0f, 0.0f);
18572 hypotl(0.0l, 0.0l);
18573 ilogb(0.0);
18574 ilogbf(0.0f);
18575 ilogbl(0.0l);
18576 lgamma(0.0);
18577 lgammaf(0.0f);
18578 lgammal(0.0l);
18579 llrint(0.0);
18580 llrintf(0.0f);
18581 llrintl(0.0l);
18582 llround(0.0);
18583 llroundf(0.0f);
18584 llroundl(0.0l);
18585 log1p(0.0);
18586 log1pf(0.0f);
18587 log1pl(0.0l);
18588 log2(0.0);
18589 log2f(0.0f);
18590 log2l(0.0l);
18591 logb(0.0);
18592 logbf(0.0f);
18593 logbl(0.0l);
18594 lrint(0.0);
18595 lrintf(0.0f);
18596 lrintl(0.0l);
18597 lround(0.0);
18598 lroundf(0.0f);
18599 lroundl(0.0l);
18600 nan(0);
18601 nanf(0);
18602 nanl(0);
18603 nearbyint(0.0);
18604 nearbyintf(0.0f);
18605 nearbyintl(0.0l);
18606 nextafter(0.0, 0.0);
18607 nextafterf(0.0f, 0.0f);
18608 nextafterl(0.0l, 0.0l);
18609 nexttoward(0.0, 0.0);
18610 nexttowardf(0.0f, 0.0f);
18611 nexttowardl(0.0l, 0.0l);
18612 remainder(0.0, 0.0);
18613 remainderf(0.0f, 0.0f);
18614 remainderl(0.0l, 0.0l);
18615 remquo(0.0, 0.0, 0);
18616 remquof(0.0f, 0.0f, 0);
18617 remquol(0.0l, 0.0l, 0);
18618 rint(0.0);
18619 rintf(0.0f);
18620 rintl(0.0l);
18621 round(0.0);
18622 roundf(0.0f);
18623 roundl(0.0l);
18624 scalbln(0.0, 0l);
18625 scalblnf(0.0f, 0l);
18626 scalblnl(0.0l, 0l);
18627 scalbn(0.0, 0);
18628 scalbnf(0.0f, 0);
18629 scalbnl(0.0l, 0);
18630 tgamma(0.0);
18631 tgammaf(0.0f);
18632 tgammal(0.0l);
18633 trunc(0.0);
18634 truncf(0.0f);
18635 truncl(0.0l);
18636
18637 ;
18638 return 0;
18639 }
18640 _ACEOF
18641 if ac_fn_cxx_try_compile "$LINENO"; then :
18642 glibcxx_cv_c99_math_tr1=yes
18643 else
18644 glibcxx_cv_c99_math_tr1=no
18645 fi
18646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18647
18648 fi
18649
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18651 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18652 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18653
18654 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18655
18656 fi
18657
18658 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18659 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18660 ac_c99_inttypes_tr1=no;
18661 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18663 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18666 #include <inttypes.h>
18667 int
18668 main ()
18669 {
18670 intmax_t i, numer, denom, base;
18671 const char* s;
18672 char** endptr;
18673 intmax_t ret = imaxabs(i);
18674 imaxdiv_t dret = imaxdiv(numer, denom);
18675 ret = strtoimax(s, endptr, base);
18676 uintmax_t uret = strtoumax(s, endptr, base);
18677
18678 ;
18679 return 0;
18680 }
18681 _ACEOF
18682 if ac_fn_cxx_try_compile "$LINENO"; then :
18683 ac_c99_inttypes_tr1=yes
18684 else
18685 ac_c99_inttypes_tr1=no
18686 fi
18687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18688 fi
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18690 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18691 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18692
18693 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18694
18695 fi
18696
18697 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18698 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18699 ac_c99_inttypes_wchar_t_tr1=no;
18700 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18702 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18705 #include <inttypes.h>
18706 int
18707 main ()
18708 {
18709 intmax_t base;
18710 const wchar_t* s;
18711 wchar_t** endptr;
18712 intmax_t ret = wcstoimax(s, endptr, base);
18713 uintmax_t uret = wcstoumax(s, endptr, base);
18714
18715 ;
18716 return 0;
18717 }
18718 _ACEOF
18719 if ac_fn_cxx_try_compile "$LINENO"; then :
18720 ac_c99_inttypes_wchar_t_tr1=yes
18721 else
18722 ac_c99_inttypes_wchar_t_tr1=no
18723 fi
18724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18725 fi
18726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18727 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18728 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18729
18730 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18731
18732 fi
18733
18734 # Check for the existence of the <stdbool.h> header.
18735 for ac_header in stdbool.h
18736 do :
18737 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18738 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18739 cat >>confdefs.h <<_ACEOF
18740 #define HAVE_STDBOOL_H 1
18741 _ACEOF
18742
18743 fi
18744
18745 done
18746
18747
18748 CXXFLAGS="$ac_save_CXXFLAGS"
18749 ac_ext=c
18750 ac_cpp='$CPP $CPPFLAGS'
18751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18754
18755
18756
18757 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18758
18759
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18761 $as_echo_n "checking for the value of EOF... " >&6; }
18762 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18763 $as_echo_n "(cached) " >&6
18764 else
18765
18766 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
18767
18768 else
18769 as_fn_error "computing EOF failed" "$LINENO" 5
18770 fi
18771
18772
18773 fi
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18775 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18776
18777 cat >>confdefs.h <<_ACEOF
18778 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18779 _ACEOF
18780
18781
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18783 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18784 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18785 $as_echo_n "(cached) " >&6
18786 else
18787
18788 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
18789
18790 else
18791 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18792 fi
18793
18794
18795 fi
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18797 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18798
18799 cat >>confdefs.h <<_ACEOF
18800 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18801 _ACEOF
18802
18803
18804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18805 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18806 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18807 $as_echo_n "(cached) " >&6
18808 else
18809
18810 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
18811
18812 else
18813 as_fn_error "computing SEEK_END failed" "$LINENO" 5
18814 fi
18815
18816
18817 fi
18818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18819 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18820
18821 cat >>confdefs.h <<_ACEOF
18822 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18823 _ACEOF
18824
18825
18826
18827 # For gettimeofday support.
18828
18829
18830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18831 $as_echo_n "checking for gettimeofday... " >&6; }
18832
18833
18834 ac_ext=cpp
18835 ac_cpp='$CXXCPP $CPPFLAGS'
18836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18839
18840 ac_save_CXXFLAGS="$CXXFLAGS"
18841 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18842
18843 ac_has_gettimeofday=no;
18844 for ac_header in sys/time.h
18845 do :
18846 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18847 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18848 cat >>confdefs.h <<_ACEOF
18849 #define HAVE_SYS_TIME_H 1
18850 _ACEOF
18851 ac_has_sys_time_h=yes
18852 else
18853 ac_has_sys_time_h=no
18854 fi
18855
18856 done
18857
18858 if test x"$ac_has_sys_time_h" = x"yes"; then
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18860 $as_echo_n "checking for gettimeofday... " >&6; }
18861 if test x$gcc_no_link = xyes; then
18862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18863 /* end confdefs.h. */
18864 #include <sys/time.h>
18865 int
18866 main ()
18867 {
18868 timeval tv; gettimeofday(&tv, 0);
18869 ;
18870 return 0;
18871 }
18872 _ACEOF
18873 if ac_fn_cxx_try_compile "$LINENO"; then :
18874 ac_has_gettimeofday=yes
18875 else
18876 ac_has_gettimeofday=no
18877 fi
18878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18879 else
18880 if test x$gcc_no_link = xyes; then
18881 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18882 fi
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 #include <sys/time.h>
18886 int
18887 main ()
18888 {
18889 timeval tv; gettimeofday(&tv, 0);
18890 ;
18891 return 0;
18892 }
18893 _ACEOF
18894 if ac_fn_cxx_try_link "$LINENO"; then :
18895 ac_has_gettimeofday=yes
18896 else
18897 ac_has_gettimeofday=no
18898 fi
18899 rm -f core conftest.err conftest.$ac_objext \
18900 conftest$ac_exeext conftest.$ac_ext
18901 fi
18902
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18904 $as_echo "$ac_has_gettimeofday" >&6; }
18905 fi
18906
18907 if test x"$ac_has_gettimeofday" = x"yes"; then
18908
18909 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18910
18911 fi
18912
18913 CXXFLAGS="$ac_save_CXXFLAGS"
18914 ac_ext=c
18915 ac_cpp='$CPP $CPPFLAGS'
18916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18919
18920
18921
18922 # For clock_gettime, nanosleep and sched_yield support.
18923 # NB: The default is [no], because otherwise it requires linking.
18924
18925
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18927 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18928 # Check whether --enable-libstdcxx-time was given.
18929 if test "${enable_libstdcxx_time+set}" = set; then :
18930 enableval=$enable_libstdcxx_time;
18931 case "$enableval" in
18932 yes|no|rt) ;;
18933 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18934 esac
18935
18936 else
18937 enable_libstdcxx_time=no
18938 fi
18939
18940
18941
18942
18943 ac_ext=cpp
18944 ac_cpp='$CXXCPP $CPPFLAGS'
18945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18948
18949 ac_save_CXXFLAGS="$CXXFLAGS"
18950 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18951 ac_save_LIBS="$LIBS"
18952
18953 ac_has_clock_monotonic=no
18954 ac_has_clock_realtime=no
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18956 $as_echo "$enable_libstdcxx_time" >&6; }
18957
18958 if test x"$enable_libstdcxx_time" != x"no"; then
18959
18960 if test x"$enable_libstdcxx_time" = x"rt"; then
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18962 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18963 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18964 $as_echo_n "(cached) " >&6
18965 else
18966 ac_func_search_save_LIBS=$LIBS
18967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18968 /* end confdefs.h. */
18969
18970 /* Override any GCC internal prototype to avoid an error.
18971 Use char because int might match the return type of a GCC
18972 builtin and then its argument prototype would still apply. */
18973 #ifdef __cplusplus
18974 extern "C"
18975 #endif
18976 char clock_gettime ();
18977 int
18978 main ()
18979 {
18980 return clock_gettime ();
18981 ;
18982 return 0;
18983 }
18984 _ACEOF
18985 for ac_lib in '' rt posix4; do
18986 if test -z "$ac_lib"; then
18987 ac_res="none required"
18988 else
18989 ac_res=-l$ac_lib
18990 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18991 fi
18992 if test x$gcc_no_link = xyes; then
18993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18994 fi
18995 if ac_fn_cxx_try_link "$LINENO"; then :
18996 ac_cv_search_clock_gettime=$ac_res
18997 fi
18998 rm -f core conftest.err conftest.$ac_objext \
18999 conftest$ac_exeext
19000 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19001 break
19002 fi
19003 done
19004 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19005
19006 else
19007 ac_cv_search_clock_gettime=no
19008 fi
19009 rm conftest.$ac_ext
19010 LIBS=$ac_func_search_save_LIBS
19011 fi
19012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19013 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19014 ac_res=$ac_cv_search_clock_gettime
19015 if test "$ac_res" != no; then :
19016 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19017
19018 fi
19019
19020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19021 $as_echo_n "checking for library containing nanosleep... " >&6; }
19022 if test "${ac_cv_search_nanosleep+set}" = set; then :
19023 $as_echo_n "(cached) " >&6
19024 else
19025 ac_func_search_save_LIBS=$LIBS
19026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19027 /* end confdefs.h. */
19028
19029 /* Override any GCC internal prototype to avoid an error.
19030 Use char because int might match the return type of a GCC
19031 builtin and then its argument prototype would still apply. */
19032 #ifdef __cplusplus
19033 extern "C"
19034 #endif
19035 char nanosleep ();
19036 int
19037 main ()
19038 {
19039 return nanosleep ();
19040 ;
19041 return 0;
19042 }
19043 _ACEOF
19044 for ac_lib in '' rt posix4; do
19045 if test -z "$ac_lib"; then
19046 ac_res="none required"
19047 else
19048 ac_res=-l$ac_lib
19049 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19050 fi
19051 if test x$gcc_no_link = xyes; then
19052 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19053 fi
19054 if ac_fn_cxx_try_link "$LINENO"; then :
19055 ac_cv_search_nanosleep=$ac_res
19056 fi
19057 rm -f core conftest.err conftest.$ac_objext \
19058 conftest$ac_exeext
19059 if test "${ac_cv_search_nanosleep+set}" = set; then :
19060 break
19061 fi
19062 done
19063 if test "${ac_cv_search_nanosleep+set}" = set; then :
19064
19065 else
19066 ac_cv_search_nanosleep=no
19067 fi
19068 rm conftest.$ac_ext
19069 LIBS=$ac_func_search_save_LIBS
19070 fi
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19072 $as_echo "$ac_cv_search_nanosleep" >&6; }
19073 ac_res=$ac_cv_search_nanosleep
19074 if test "$ac_res" != no; then :
19075 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19076
19077 fi
19078
19079 else
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19081 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19082 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19083 $as_echo_n "(cached) " >&6
19084 else
19085 ac_func_search_save_LIBS=$LIBS
19086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19087 /* end confdefs.h. */
19088
19089 /* Override any GCC internal prototype to avoid an error.
19090 Use char because int might match the return type of a GCC
19091 builtin and then its argument prototype would still apply. */
19092 #ifdef __cplusplus
19093 extern "C"
19094 #endif
19095 char clock_gettime ();
19096 int
19097 main ()
19098 {
19099 return clock_gettime ();
19100 ;
19101 return 0;
19102 }
19103 _ACEOF
19104 for ac_lib in '' posix4; do
19105 if test -z "$ac_lib"; then
19106 ac_res="none required"
19107 else
19108 ac_res=-l$ac_lib
19109 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19110 fi
19111 if test x$gcc_no_link = xyes; then
19112 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19113 fi
19114 if ac_fn_cxx_try_link "$LINENO"; then :
19115 ac_cv_search_clock_gettime=$ac_res
19116 fi
19117 rm -f core conftest.err conftest.$ac_objext \
19118 conftest$ac_exeext
19119 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19120 break
19121 fi
19122 done
19123 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19124
19125 else
19126 ac_cv_search_clock_gettime=no
19127 fi
19128 rm conftest.$ac_ext
19129 LIBS=$ac_func_search_save_LIBS
19130 fi
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19132 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19133 ac_res=$ac_cv_search_clock_gettime
19134 if test "$ac_res" != no; then :
19135 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19136
19137 fi
19138
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19140 $as_echo_n "checking for library containing nanosleep... " >&6; }
19141 if test "${ac_cv_search_nanosleep+set}" = set; then :
19142 $as_echo_n "(cached) " >&6
19143 else
19144 ac_func_search_save_LIBS=$LIBS
19145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19146 /* end confdefs.h. */
19147
19148 /* Override any GCC internal prototype to avoid an error.
19149 Use char because int might match the return type of a GCC
19150 builtin and then its argument prototype would still apply. */
19151 #ifdef __cplusplus
19152 extern "C"
19153 #endif
19154 char nanosleep ();
19155 int
19156 main ()
19157 {
19158 return nanosleep ();
19159 ;
19160 return 0;
19161 }
19162 _ACEOF
19163 for ac_lib in '' posix4; do
19164 if test -z "$ac_lib"; then
19165 ac_res="none required"
19166 else
19167 ac_res=-l$ac_lib
19168 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19169 fi
19170 if test x$gcc_no_link = xyes; then
19171 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19172 fi
19173 if ac_fn_cxx_try_link "$LINENO"; then :
19174 ac_cv_search_nanosleep=$ac_res
19175 fi
19176 rm -f core conftest.err conftest.$ac_objext \
19177 conftest$ac_exeext
19178 if test "${ac_cv_search_nanosleep+set}" = set; then :
19179 break
19180 fi
19181 done
19182 if test "${ac_cv_search_nanosleep+set}" = set; then :
19183
19184 else
19185 ac_cv_search_nanosleep=no
19186 fi
19187 rm conftest.$ac_ext
19188 LIBS=$ac_func_search_save_LIBS
19189 fi
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19191 $as_echo "$ac_cv_search_nanosleep" >&6; }
19192 ac_res=$ac_cv_search_nanosleep
19193 if test "$ac_res" != no; then :
19194 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19195
19196 fi
19197
19198 fi
19199
19200 case "$ac_cv_search_clock_gettime" in
19201 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19202 ;;
19203 esac
19204 case "$ac_cv_search_nanosleep" in
19205 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19206 ;;
19207 esac
19208
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19210 $as_echo_n "checking for library containing sched_yield... " >&6; }
19211 if test "${ac_cv_search_sched_yield+set}" = set; then :
19212 $as_echo_n "(cached) " >&6
19213 else
19214 ac_func_search_save_LIBS=$LIBS
19215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19216 /* end confdefs.h. */
19217
19218 /* Override any GCC internal prototype to avoid an error.
19219 Use char because int might match the return type of a GCC
19220 builtin and then its argument prototype would still apply. */
19221 #ifdef __cplusplus
19222 extern "C"
19223 #endif
19224 char sched_yield ();
19225 int
19226 main ()
19227 {
19228 return sched_yield ();
19229 ;
19230 return 0;
19231 }
19232 _ACEOF
19233 for ac_lib in '' rt posix4; do
19234 if test -z "$ac_lib"; then
19235 ac_res="none required"
19236 else
19237 ac_res=-l$ac_lib
19238 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19239 fi
19240 if test x$gcc_no_link = xyes; then
19241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19242 fi
19243 if ac_fn_cxx_try_link "$LINENO"; then :
19244 ac_cv_search_sched_yield=$ac_res
19245 fi
19246 rm -f core conftest.err conftest.$ac_objext \
19247 conftest$ac_exeext
19248 if test "${ac_cv_search_sched_yield+set}" = set; then :
19249 break
19250 fi
19251 done
19252 if test "${ac_cv_search_sched_yield+set}" = set; then :
19253
19254 else
19255 ac_cv_search_sched_yield=no
19256 fi
19257 rm conftest.$ac_ext
19258 LIBS=$ac_func_search_save_LIBS
19259 fi
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19261 $as_echo "$ac_cv_search_sched_yield" >&6; }
19262 ac_res=$ac_cv_search_sched_yield
19263 if test "$ac_res" != no; then :
19264 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19265
19266 fi
19267
19268
19269 case "$ac_cv_search_sched_yield" in
19270 -lposix4*)
19271 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19272
19273 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19274
19275 ;;
19276 -lrt*)
19277 if test x"$enable_libstdcxx_time" = x"rt"; then
19278 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19279
19280 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19281
19282 fi
19283 ;;
19284 *)
19285
19286 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19287
19288 ;;
19289 esac
19290
19291 for ac_header in unistd.h
19292 do :
19293 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19294 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19295 cat >>confdefs.h <<_ACEOF
19296 #define HAVE_UNISTD_H 1
19297 _ACEOF
19298 ac_has_unistd_h=yes
19299 else
19300 ac_has_unistd_h=no
19301 fi
19302
19303 done
19304
19305
19306 if test x"$ac_has_unistd_h" = x"yes"; then
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19308 $as_echo_n "checking for monotonic clock... " >&6; }
19309 if test x$gcc_no_link = xyes; then
19310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19311 fi
19312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19313 /* end confdefs.h. */
19314 #include <unistd.h>
19315 #include <time.h>
19316
19317 int
19318 main ()
19319 {
19320 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19321 timespec tp;
19322 #endif
19323 clock_gettime(CLOCK_MONOTONIC, &tp);
19324
19325 ;
19326 return 0;
19327 }
19328 _ACEOF
19329 if ac_fn_cxx_try_link "$LINENO"; then :
19330 ac_has_clock_monotonic=yes
19331 else
19332 ac_has_clock_monotonic=no
19333 fi
19334 rm -f core conftest.err conftest.$ac_objext \
19335 conftest$ac_exeext conftest.$ac_ext
19336
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19338 $as_echo "$ac_has_clock_monotonic" >&6; }
19339
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19341 $as_echo_n "checking for realtime clock... " >&6; }
19342 if test x$gcc_no_link = xyes; then
19343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19344 fi
19345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19346 /* end confdefs.h. */
19347 #include <unistd.h>
19348 #include <time.h>
19349
19350 int
19351 main ()
19352 {
19353 #if _POSIX_TIMERS > 0
19354 timespec tp;
19355 #endif
19356 clock_gettime(CLOCK_REALTIME, &tp);
19357
19358 ;
19359 return 0;
19360 }
19361 _ACEOF
19362 if ac_fn_cxx_try_link "$LINENO"; then :
19363 ac_has_clock_realtime=yes
19364 else
19365 ac_has_clock_realtime=no
19366 fi
19367 rm -f core conftest.err conftest.$ac_objext \
19368 conftest$ac_exeext conftest.$ac_ext
19369
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19371 $as_echo "$ac_has_clock_realtime" >&6; }
19372
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19374 $as_echo_n "checking for nanosleep... " >&6; }
19375 if test x$gcc_no_link = xyes; then
19376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19377 fi
19378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19379 /* end confdefs.h. */
19380 #include <unistd.h>
19381 #include <time.h>
19382
19383 int
19384 main ()
19385 {
19386 #if _POSIX_TIMERS > 0
19387 timespec tp;
19388 #endif
19389 nanosleep(&tp, 0);
19390
19391 ;
19392 return 0;
19393 }
19394 _ACEOF
19395 if ac_fn_cxx_try_link "$LINENO"; then :
19396 ac_has_nanosleep=yes
19397 else
19398 ac_has_nanosleep=no
19399 fi
19400 rm -f core conftest.err conftest.$ac_objext \
19401 conftest$ac_exeext conftest.$ac_ext
19402
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19404 $as_echo "$ac_has_nanosleep" >&6; }
19405 fi
19406 fi
19407
19408 if test x"$ac_has_clock_monotonic" = x"yes"; then
19409
19410 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19411
19412 fi
19413
19414 if test x"$ac_has_clock_realtime" = x"yes"; then
19415
19416 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19417
19418 fi
19419
19420 if test x"$ac_has_nanosleep" = x"yes"; then
19421
19422 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19423
19424 fi
19425
19426
19427
19428 CXXFLAGS="$ac_save_CXXFLAGS"
19429 LIBS="$ac_save_LIBS"
19430 ac_ext=c
19431 ac_cpp='$CPP $CPPFLAGS'
19432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19435
19436
19437
19438 # For gthread support
19439
19440
19441 ac_ext=cpp
19442 ac_cpp='$CXXCPP $CPPFLAGS'
19443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19446
19447
19448 ac_save_CXXFLAGS="$CXXFLAGS"
19449 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19450
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking check whether it can be safely assumed that mutex_timedlock is available" >&5
19452 $as_echo_n "checking check whether it can be safely assumed that mutex_timedlock is available... " >&6; }
19453
19454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19455 /* end confdefs.h. */
19456 #include <unistd.h>
19457 int
19458 main ()
19459 {
19460
19461 #if !defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS < 0
19462 #error
19463 #endif
19464
19465 ;
19466 return 0;
19467 }
19468 _ACEOF
19469 if ac_fn_cxx_try_compile "$LINENO"; then :
19470 ac_gthread_use_mutex_timedlock=1
19471 else
19472 ac_gthread_use_mutex_timedlock=0
19473 fi
19474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19475
19476
19477 cat >>confdefs.h <<_ACEOF
19478 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
19479 _ACEOF
19480
19481
19482 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
19483 else res_mutex_timedlock=no ; fi
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
19485 $as_echo "$res_mutex_timedlock" >&6; }
19486
19487 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19488 case $target_thread_file in
19489 posix)
19490 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19491 esac
19492
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19494 $as_echo_n "checking for gthreads library... " >&6; }
19495
19496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19497 /* end confdefs.h. */
19498
19499 #include "gthr.h"
19500 #include <unistd.h>
19501
19502 int
19503 main ()
19504 {
19505
19506 #ifndef __GTHREADS_CXX0X
19507 #error
19508 #endif
19509
19510 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19511 #if (defined(_PTHREADS) \
19512 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19513 #error
19514 #endif
19515
19516 ;
19517 return 0;
19518 }
19519 _ACEOF
19520 if ac_fn_cxx_try_compile "$LINENO"; then :
19521 ac_has_gthreads=yes
19522 else
19523 ac_has_gthreads=no
19524 fi
19525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19526
19527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19528 $as_echo "$ac_has_gthreads" >&6; }
19529
19530 if test x"$ac_has_gthreads" = x"yes"; then
19531
19532 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19533
19534 fi
19535
19536 CXXFLAGS="$ac_save_CXXFLAGS"
19537 ac_ext=c
19538 ac_cpp='$CPP $CPPFLAGS'
19539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19542
19543
19544
19545
19546 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19547 if test "x$ac_cv_header_locale_h" = x""yes; then :
19548
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19550 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19551 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19552 $as_echo_n "(cached) " >&6
19553 else
19554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19555 /* end confdefs.h. */
19556 #include <locale.h>
19557 int
19558 main ()
19559 {
19560 return LC_MESSAGES
19561 ;
19562 return 0;
19563 }
19564 _ACEOF
19565 if ac_fn_c_try_compile "$LINENO"; then :
19566 ac_cv_val_LC_MESSAGES=yes
19567 else
19568 ac_cv_val_LC_MESSAGES=no
19569 fi
19570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19571 fi
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19573 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19574 if test $ac_cv_val_LC_MESSAGES = yes; then
19575
19576 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19577
19578 fi
19579
19580 fi
19581
19582
19583
19584
19585 # For hardware_concurrency
19586 for ac_header in sys/sysinfo.h
19587 do :
19588 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19589 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19590 cat >>confdefs.h <<_ACEOF
19591 #define HAVE_SYS_SYSINFO_H 1
19592 _ACEOF
19593
19594 fi
19595
19596 done
19597
19598
19599
19600
19601 ac_ext=cpp
19602 ac_cpp='$CXXCPP $CPPFLAGS'
19603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19606
19607 ac_save_CXXFLAGS="$CXXFLAGS"
19608 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19609
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19611 $as_echo_n "checking for get_nprocs... " >&6; }
19612 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19613 $as_echo_n "(cached) " >&6
19614 else
19615
19616 if test x$gcc_no_link = xyes; then
19617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19619 #include <sys/sysinfo.h>
19620 int
19621 main ()
19622 {
19623 int n = get_nprocs();
19624 ;
19625 return 0;
19626 }
19627 _ACEOF
19628 if ac_fn_cxx_try_compile "$LINENO"; then :
19629 glibcxx_cv_GET_NPROCS=yes
19630 else
19631 glibcxx_cv_GET_NPROCS=no
19632 fi
19633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19634 else
19635 if test x$gcc_no_link = xyes; then
19636 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19637 fi
19638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h. */
19640 #include <sys/sysinfo.h>
19641 int
19642 main ()
19643 {
19644 int n = get_nprocs();
19645 ;
19646 return 0;
19647 }
19648 _ACEOF
19649 if ac_fn_cxx_try_link "$LINENO"; then :
19650 glibcxx_cv_GET_NPROCS=yes
19651 else
19652 glibcxx_cv_GET_NPROCS=no
19653 fi
19654 rm -f core conftest.err conftest.$ac_objext \
19655 conftest$ac_exeext conftest.$ac_ext
19656 fi
19657
19658 fi
19659
19660 if test $glibcxx_cv_GET_NPROCS = yes; then
19661
19662 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19663
19664 fi
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19666 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19667
19668 CXXFLAGS="$ac_save_CXXFLAGS"
19669 ac_ext=c
19670 ac_cpp='$CPP $CPPFLAGS'
19671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19674
19675
19676 for ac_header in unistd.h
19677 do :
19678 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19679 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19680 cat >>confdefs.h <<_ACEOF
19681 #define HAVE_UNISTD_H 1
19682 _ACEOF
19683
19684 fi
19685
19686 done
19687
19688
19689
19690
19691 ac_ext=cpp
19692 ac_cpp='$CXXCPP $CPPFLAGS'
19693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19696
19697 ac_save_CXXFLAGS="$CXXFLAGS"
19698 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19699
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
19701 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
19702 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
19703 $as_echo_n "(cached) " >&6
19704 else
19705
19706 if test x$gcc_no_link = xyes; then
19707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19708 /* end confdefs.h. */
19709 #include <unistd.h>
19710 int
19711 main ()
19712 {
19713 int n = sysconf(_SC_NPROCESSORS_ONLN);
19714 ;
19715 return 0;
19716 }
19717 _ACEOF
19718 if ac_fn_cxx_try_compile "$LINENO"; then :
19719 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19720 else
19721 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19722 fi
19723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19724 else
19725 if test x$gcc_no_link = xyes; then
19726 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19727 fi
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19730 #include <unistd.h>
19731 int
19732 main ()
19733 {
19734 int n = sysconf(_SC_NPROCESSORS_ONLN);
19735 ;
19736 return 0;
19737 }
19738 _ACEOF
19739 if ac_fn_cxx_try_link "$LINENO"; then :
19740 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19741 else
19742 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19743 fi
19744 rm -f core conftest.err conftest.$ac_objext \
19745 conftest$ac_exeext conftest.$ac_ext
19746 fi
19747
19748 fi
19749
19750 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
19751
19752 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
19753
19754 fi
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
19756 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
19757
19758 CXXFLAGS="$ac_save_CXXFLAGS"
19759 ac_ext=c
19760 ac_cpp='$CPP $CPPFLAGS'
19761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19764
19765
19766
19767 # Check for available headers.
19768 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19769 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19770 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19771 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19772 wchar.h wctype.h
19773 do :
19774 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19775 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19776 eval as_val=\$$as_ac_Header
19777 if test "x$as_val" = x""yes; then :
19778 cat >>confdefs.h <<_ACEOF
19779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19780 _ACEOF
19781
19782 fi
19783
19784 done
19785
19786
19787 # Only do link tests if native. Else, hardcode.
19788 if $GLIBCXX_IS_NATIVE; then
19789
19790 # We can do more elaborate tests that assume a working linker.
19791 CANADIAN=no
19792
19793
19794
19795 # Check whether --with-gnu-ld was given.
19796 if test "${with_gnu_ld+set}" = set; then :
19797 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19798 else
19799 with_gnu_ld=no
19800 fi
19801
19802 ac_prog=ld
19803 if test "$GCC" = yes; then
19804 # Check if gcc -print-prog-name=ld gives a path.
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19806 $as_echo_n "checking for ld used by $CC... " >&6; }
19807 case $host in
19808 *-*-mingw*)
19809 # gcc leaves a trailing carriage return which upsets mingw
19810 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19811 *)
19812 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19813 esac
19814 case $ac_prog in
19815 # Accept absolute paths.
19816 [\\/]* | ?:[\\/]*)
19817 re_direlt='/[^/][^/]*/\.\./'
19818 # Canonicalize the pathname of ld
19819 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19820 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19821 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19822 done
19823 test -z "$LD" && LD="$ac_prog"
19824 ;;
19825 "")
19826 # If it fails, then pretend we aren't using GCC.
19827 ac_prog=ld
19828 ;;
19829 *)
19830 # If it is relative, then search for the first ld in PATH.
19831 with_gnu_ld=unknown
19832 ;;
19833 esac
19834 elif test "$with_gnu_ld" = yes; then
19835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19836 $as_echo_n "checking for GNU ld... " >&6; }
19837 else
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19839 $as_echo_n "checking for non-GNU ld... " >&6; }
19840 fi
19841 if test "${lt_cv_path_LD+set}" = set; then :
19842 $as_echo_n "(cached) " >&6
19843 else
19844 if test -z "$LD"; then
19845 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19846 for ac_dir in $PATH; do
19847 IFS="$lt_save_ifs"
19848 test -z "$ac_dir" && ac_dir=.
19849 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19850 lt_cv_path_LD="$ac_dir/$ac_prog"
19851 # Check to see if the program is GNU ld. I'd rather use --version,
19852 # but apparently some variants of GNU ld only accept -v.
19853 # Break only if it was the GNU/non-GNU ld that we prefer.
19854 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19855 *GNU* | *'with BFD'*)
19856 test "$with_gnu_ld" != no && break
19857 ;;
19858 *)
19859 test "$with_gnu_ld" != yes && break
19860 ;;
19861 esac
19862 fi
19863 done
19864 IFS="$lt_save_ifs"
19865 else
19866 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19867 fi
19868 fi
19869
19870 LD="$lt_cv_path_LD"
19871 if test -n "$LD"; then
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19873 $as_echo "$LD" >&6; }
19874 else
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19876 $as_echo "no" >&6; }
19877 fi
19878 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19880 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19881 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19882 $as_echo_n "(cached) " >&6
19883 else
19884 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19885 case `$LD -v 2>&1 </dev/null` in
19886 *GNU* | *'with BFD'*)
19887 lt_cv_prog_gnu_ld=yes
19888 ;;
19889 *)
19890 lt_cv_prog_gnu_ld=no
19891 ;;
19892 esac
19893 fi
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19895 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19896 with_gnu_ld=$lt_cv_prog_gnu_ld
19897
19898
19899
19900
19901
19902
19903
19904 # If we're not using GNU ld, then there's no point in even trying these
19905 # tests. Check for that first. We should have already tested for gld
19906 # by now (in libtool), but require it now just to be safe...
19907 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19908 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19909
19910
19911
19912 # The name set by libtool depends on the version of libtool. Shame on us
19913 # for depending on an impl detail, but c'est la vie. Older versions used
19914 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19915 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19916 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19917 # set (hence we're using an older libtool), then set it.
19918 if test x${with_gnu_ld+set} != xset; then
19919 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19920 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19921 with_gnu_ld=no
19922 else
19923 with_gnu_ld=$ac_cv_prog_gnu_ld
19924 fi
19925 fi
19926
19927 # Start by getting the version number. I think the libtool test already
19928 # does some of this, but throws away the result.
19929 glibcxx_ld_is_gold=no
19930 if test x"$with_gnu_ld" = x"yes"; then
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19932 $as_echo_n "checking for ld version... " >&6; }
19933
19934 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19935 glibcxx_ld_is_gold=yes
19936 fi
19937 ldver=`$LD --version 2>/dev/null |
19938 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'`
19939
19940 glibcxx_gnu_ld_version=`echo $ldver | \
19941 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19943 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19944 fi
19945
19946 # Set --gc-sections.
19947 glibcxx_have_gc_sections=no
19948 if test "$glibcxx_ld_is_gold" = "yes"; then
19949 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19950 glibcxx_have_gc_sections=yes
19951 fi
19952 else
19953 glibcxx_gcsections_min_ld=21602
19954 if test x"$with_gnu_ld" = x"yes" &&
19955 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19956 glibcxx_have_gc_sections=yes
19957 fi
19958 fi
19959 if test "$glibcxx_have_gc_sections" = "yes"; then
19960 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19961 # NB: This flag only works reliably after 2.16.1. Configure tests
19962 # for this are difficult, so hard wire a value that should work.
19963
19964 ac_test_CFLAGS="${CFLAGS+set}"
19965 ac_save_CFLAGS="$CFLAGS"
19966 CFLAGS='-Wl,--gc-sections'
19967
19968 # Check for -Wl,--gc-sections
19969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19970 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19971 if test x$gcc_no_link = xyes; then
19972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19973 fi
19974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19975 /* end confdefs.h. */
19976 int one(void) { return 1; }
19977 int two(void) { return 2; }
19978
19979 int
19980 main ()
19981 {
19982 two();
19983 ;
19984 return 0;
19985 }
19986 _ACEOF
19987 if ac_fn_c_try_link "$LINENO"; then :
19988 ac_gcsections=yes
19989 else
19990 ac_gcsections=no
19991 fi
19992 rm -f core conftest.err conftest.$ac_objext \
19993 conftest$ac_exeext conftest.$ac_ext
19994 if test "$ac_gcsections" = "yes"; then
19995 rm -f conftest.c
19996 touch conftest.c
19997 if $CC -c conftest.c; then
19998 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19999 grep "Warning: gc-sections option ignored" > /dev/null; then
20000 ac_gcsections=no
20001 fi
20002 fi
20003 rm -f conftest.c conftest.o conftest
20004 fi
20005 if test "$ac_gcsections" = "yes"; then
20006 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20007 fi
20008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20009 $as_echo "$ac_gcsections" >&6; }
20010
20011 if test "$ac_test_CFLAGS" = set; then
20012 CFLAGS="$ac_save_CFLAGS"
20013 else
20014 # this is the suspicious part
20015 CFLAGS=''
20016 fi
20017 fi
20018
20019 # Set -z,relro.
20020 # Note this is only for shared objects.
20021 ac_ld_relro=no
20022 if test x"$with_gnu_ld" = x"yes"; then
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20024 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20025 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20026 if test -n "$cxx_z_relo"; then
20027 OPT_LDFLAGS="-Wl,-z,relro"
20028 ac_ld_relro=yes
20029 fi
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20031 $as_echo "$ac_ld_relro" >&6; }
20032 fi
20033
20034 # Set linker optimization flags.
20035 if test x"$with_gnu_ld" = x"yes"; then
20036 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20037 fi
20038
20039
20040
20041
20042
20043 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20044 ac_save_CXXFLAGS="$CXXFLAGS"
20045 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20046
20047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20048 $as_echo_n "checking for sin in -lm... " >&6; }
20049 if test "${ac_cv_lib_m_sin+set}" = set; then :
20050 $as_echo_n "(cached) " >&6
20051 else
20052 ac_check_lib_save_LIBS=$LIBS
20053 LIBS="-lm $LIBS"
20054 if test x$gcc_no_link = xyes; then
20055 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20056 fi
20057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20058 /* end confdefs.h. */
20059
20060 /* Override any GCC internal prototype to avoid an error.
20061 Use char because int might match the return type of a GCC
20062 builtin and then its argument prototype would still apply. */
20063 #ifdef __cplusplus
20064 extern "C"
20065 #endif
20066 char sin ();
20067 int
20068 main ()
20069 {
20070 return sin ();
20071 ;
20072 return 0;
20073 }
20074 _ACEOF
20075 if ac_fn_c_try_link "$LINENO"; then :
20076 ac_cv_lib_m_sin=yes
20077 else
20078 ac_cv_lib_m_sin=no
20079 fi
20080 rm -f core conftest.err conftest.$ac_objext \
20081 conftest$ac_exeext conftest.$ac_ext
20082 LIBS=$ac_check_lib_save_LIBS
20083 fi
20084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20085 $as_echo "$ac_cv_lib_m_sin" >&6; }
20086 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20087 libm="-lm"
20088 fi
20089
20090 ac_save_LIBS="$LIBS"
20091 LIBS="$LIBS $libm"
20092
20093
20094
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20096 $as_echo_n "checking for isinf declaration... " >&6; }
20097 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20098 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20099 $as_echo_n "(cached) " >&6
20100 else
20101
20102
20103 ac_ext=cpp
20104 ac_cpp='$CXXCPP $CPPFLAGS'
20105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20108
20109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20110 /* end confdefs.h. */
20111 #include <math.h>
20112 #ifdef HAVE_IEEEFP_H
20113 #include <ieeefp.h>
20114 #endif
20115
20116 int
20117 main ()
20118 {
20119 isinf(0);
20120 ;
20121 return 0;
20122 }
20123 _ACEOF
20124 if ac_fn_cxx_try_compile "$LINENO"; then :
20125 glibcxx_cv_func_isinf_use=yes
20126 else
20127 glibcxx_cv_func_isinf_use=no
20128 fi
20129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20130 ac_ext=c
20131 ac_cpp='$CPP $CPPFLAGS'
20132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20135
20136
20137 fi
20138
20139 fi
20140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20141 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20142
20143 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20144 for ac_func in isinf
20145 do :
20146 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20147 if test "x$ac_cv_func_isinf" = x""yes; then :
20148 cat >>confdefs.h <<_ACEOF
20149 #define HAVE_ISINF 1
20150 _ACEOF
20151
20152 fi
20153 done
20154
20155 else
20156
20157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20158 $as_echo_n "checking for _isinf declaration... " >&6; }
20159 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20160 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20161 $as_echo_n "(cached) " >&6
20162 else
20163
20164
20165 ac_ext=cpp
20166 ac_cpp='$CXXCPP $CPPFLAGS'
20167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20170
20171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20172 /* end confdefs.h. */
20173 #include <math.h>
20174 #ifdef HAVE_IEEEFP_H
20175 #include <ieeefp.h>
20176 #endif
20177
20178 int
20179 main ()
20180 {
20181 _isinf(0);
20182 ;
20183 return 0;
20184 }
20185 _ACEOF
20186 if ac_fn_cxx_try_compile "$LINENO"; then :
20187 glibcxx_cv_func__isinf_use=yes
20188 else
20189 glibcxx_cv_func__isinf_use=no
20190 fi
20191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20192 ac_ext=c
20193 ac_cpp='$CPP $CPPFLAGS'
20194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20197
20198
20199 fi
20200
20201 fi
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20203 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20204
20205 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20206 for ac_func in _isinf
20207 do :
20208 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20209 if test "x$ac_cv_func__isinf" = x""yes; then :
20210 cat >>confdefs.h <<_ACEOF
20211 #define HAVE__ISINF 1
20212 _ACEOF
20213
20214 fi
20215 done
20216
20217 fi
20218 fi
20219
20220
20221
20222
20223
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20225 $as_echo_n "checking for isnan declaration... " >&6; }
20226 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20227 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20228 $as_echo_n "(cached) " >&6
20229 else
20230
20231
20232 ac_ext=cpp
20233 ac_cpp='$CXXCPP $CPPFLAGS'
20234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20237
20238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20239 /* end confdefs.h. */
20240 #include <math.h>
20241 #ifdef HAVE_IEEEFP_H
20242 #include <ieeefp.h>
20243 #endif
20244
20245 int
20246 main ()
20247 {
20248 isnan(0);
20249 ;
20250 return 0;
20251 }
20252 _ACEOF
20253 if ac_fn_cxx_try_compile "$LINENO"; then :
20254 glibcxx_cv_func_isnan_use=yes
20255 else
20256 glibcxx_cv_func_isnan_use=no
20257 fi
20258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20259 ac_ext=c
20260 ac_cpp='$CPP $CPPFLAGS'
20261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20264
20265
20266 fi
20267
20268 fi
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20270 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20271
20272 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20273 for ac_func in isnan
20274 do :
20275 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20276 if test "x$ac_cv_func_isnan" = x""yes; then :
20277 cat >>confdefs.h <<_ACEOF
20278 #define HAVE_ISNAN 1
20279 _ACEOF
20280
20281 fi
20282 done
20283
20284 else
20285
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20287 $as_echo_n "checking for _isnan declaration... " >&6; }
20288 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20289 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20290 $as_echo_n "(cached) " >&6
20291 else
20292
20293
20294 ac_ext=cpp
20295 ac_cpp='$CXXCPP $CPPFLAGS'
20296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20299
20300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20301 /* end confdefs.h. */
20302 #include <math.h>
20303 #ifdef HAVE_IEEEFP_H
20304 #include <ieeefp.h>
20305 #endif
20306
20307 int
20308 main ()
20309 {
20310 _isnan(0);
20311 ;
20312 return 0;
20313 }
20314 _ACEOF
20315 if ac_fn_cxx_try_compile "$LINENO"; then :
20316 glibcxx_cv_func__isnan_use=yes
20317 else
20318 glibcxx_cv_func__isnan_use=no
20319 fi
20320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20321 ac_ext=c
20322 ac_cpp='$CPP $CPPFLAGS'
20323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20326
20327
20328 fi
20329
20330 fi
20331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20332 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20333
20334 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20335 for ac_func in _isnan
20336 do :
20337 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20338 if test "x$ac_cv_func__isnan" = x""yes; then :
20339 cat >>confdefs.h <<_ACEOF
20340 #define HAVE__ISNAN 1
20341 _ACEOF
20342
20343 fi
20344 done
20345
20346 fi
20347 fi
20348
20349
20350
20351
20352
20353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20354 $as_echo_n "checking for finite declaration... " >&6; }
20355 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20356 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20357 $as_echo_n "(cached) " >&6
20358 else
20359
20360
20361 ac_ext=cpp
20362 ac_cpp='$CXXCPP $CPPFLAGS'
20363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20366
20367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20368 /* end confdefs.h. */
20369 #include <math.h>
20370 #ifdef HAVE_IEEEFP_H
20371 #include <ieeefp.h>
20372 #endif
20373
20374 int
20375 main ()
20376 {
20377 finite(0);
20378 ;
20379 return 0;
20380 }
20381 _ACEOF
20382 if ac_fn_cxx_try_compile "$LINENO"; then :
20383 glibcxx_cv_func_finite_use=yes
20384 else
20385 glibcxx_cv_func_finite_use=no
20386 fi
20387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20388 ac_ext=c
20389 ac_cpp='$CPP $CPPFLAGS'
20390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20393
20394
20395 fi
20396
20397 fi
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20399 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20400
20401 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20402 for ac_func in finite
20403 do :
20404 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20405 if test "x$ac_cv_func_finite" = x""yes; then :
20406 cat >>confdefs.h <<_ACEOF
20407 #define HAVE_FINITE 1
20408 _ACEOF
20409
20410 fi
20411 done
20412
20413 else
20414
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20416 $as_echo_n "checking for _finite declaration... " >&6; }
20417 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20418 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20419 $as_echo_n "(cached) " >&6
20420 else
20421
20422
20423 ac_ext=cpp
20424 ac_cpp='$CXXCPP $CPPFLAGS'
20425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20428
20429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20430 /* end confdefs.h. */
20431 #include <math.h>
20432 #ifdef HAVE_IEEEFP_H
20433 #include <ieeefp.h>
20434 #endif
20435
20436 int
20437 main ()
20438 {
20439 _finite(0);
20440 ;
20441 return 0;
20442 }
20443 _ACEOF
20444 if ac_fn_cxx_try_compile "$LINENO"; then :
20445 glibcxx_cv_func__finite_use=yes
20446 else
20447 glibcxx_cv_func__finite_use=no
20448 fi
20449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20450 ac_ext=c
20451 ac_cpp='$CPP $CPPFLAGS'
20452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20455
20456
20457 fi
20458
20459 fi
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20461 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20462
20463 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20464 for ac_func in _finite
20465 do :
20466 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20467 if test "x$ac_cv_func__finite" = x""yes; then :
20468 cat >>confdefs.h <<_ACEOF
20469 #define HAVE__FINITE 1
20470 _ACEOF
20471
20472 fi
20473 done
20474
20475 fi
20476 fi
20477
20478
20479
20480
20481
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20483 $as_echo_n "checking for sincos declaration... " >&6; }
20484 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20485 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20486 $as_echo_n "(cached) " >&6
20487 else
20488
20489
20490 ac_ext=cpp
20491 ac_cpp='$CXXCPP $CPPFLAGS'
20492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20495
20496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20497 /* end confdefs.h. */
20498 #include <math.h>
20499 int
20500 main ()
20501 {
20502 sincos(0, 0, 0);
20503 ;
20504 return 0;
20505 }
20506 _ACEOF
20507 if ac_fn_cxx_try_compile "$LINENO"; then :
20508 glibcxx_cv_func_sincos_use=yes
20509 else
20510 glibcxx_cv_func_sincos_use=no
20511 fi
20512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20513 ac_ext=c
20514 ac_cpp='$CPP $CPPFLAGS'
20515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20518
20519
20520 fi
20521
20522 fi
20523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20524 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20525
20526 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20527 for ac_func in sincos
20528 do :
20529 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20530 if test "x$ac_cv_func_sincos" = x""yes; then :
20531 cat >>confdefs.h <<_ACEOF
20532 #define HAVE_SINCOS 1
20533 _ACEOF
20534
20535 fi
20536 done
20537
20538 else
20539
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20541 $as_echo_n "checking for _sincos declaration... " >&6; }
20542 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20543 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20544 $as_echo_n "(cached) " >&6
20545 else
20546
20547
20548 ac_ext=cpp
20549 ac_cpp='$CXXCPP $CPPFLAGS'
20550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20553
20554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20555 /* end confdefs.h. */
20556 #include <math.h>
20557 int
20558 main ()
20559 {
20560 _sincos(0, 0, 0);
20561 ;
20562 return 0;
20563 }
20564 _ACEOF
20565 if ac_fn_cxx_try_compile "$LINENO"; then :
20566 glibcxx_cv_func__sincos_use=yes
20567 else
20568 glibcxx_cv_func__sincos_use=no
20569 fi
20570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20571 ac_ext=c
20572 ac_cpp='$CPP $CPPFLAGS'
20573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20576
20577
20578 fi
20579
20580 fi
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20582 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20583
20584 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20585 for ac_func in _sincos
20586 do :
20587 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20588 if test "x$ac_cv_func__sincos" = x""yes; then :
20589 cat >>confdefs.h <<_ACEOF
20590 #define HAVE__SINCOS 1
20591 _ACEOF
20592
20593 fi
20594 done
20595
20596 fi
20597 fi
20598
20599
20600
20601
20602
20603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20604 $as_echo_n "checking for fpclass declaration... " >&6; }
20605 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20606 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20607 $as_echo_n "(cached) " >&6
20608 else
20609
20610
20611 ac_ext=cpp
20612 ac_cpp='$CXXCPP $CPPFLAGS'
20613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20616
20617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20618 /* end confdefs.h. */
20619 #include <math.h>
20620 #ifdef HAVE_IEEEFP_H
20621 #include <ieeefp.h>
20622 #endif
20623
20624 int
20625 main ()
20626 {
20627 fpclass(0);
20628 ;
20629 return 0;
20630 }
20631 _ACEOF
20632 if ac_fn_cxx_try_compile "$LINENO"; then :
20633 glibcxx_cv_func_fpclass_use=yes
20634 else
20635 glibcxx_cv_func_fpclass_use=no
20636 fi
20637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20638 ac_ext=c
20639 ac_cpp='$CPP $CPPFLAGS'
20640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20643
20644
20645 fi
20646
20647 fi
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20649 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20650
20651 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20652 for ac_func in fpclass
20653 do :
20654 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20655 if test "x$ac_cv_func_fpclass" = x""yes; then :
20656 cat >>confdefs.h <<_ACEOF
20657 #define HAVE_FPCLASS 1
20658 _ACEOF
20659
20660 fi
20661 done
20662
20663 else
20664
20665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20666 $as_echo_n "checking for _fpclass declaration... " >&6; }
20667 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20668 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20669 $as_echo_n "(cached) " >&6
20670 else
20671
20672
20673 ac_ext=cpp
20674 ac_cpp='$CXXCPP $CPPFLAGS'
20675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20678
20679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20680 /* end confdefs.h. */
20681 #include <math.h>
20682 #ifdef HAVE_IEEEFP_H
20683 #include <ieeefp.h>
20684 #endif
20685
20686 int
20687 main ()
20688 {
20689 _fpclass(0);
20690 ;
20691 return 0;
20692 }
20693 _ACEOF
20694 if ac_fn_cxx_try_compile "$LINENO"; then :
20695 glibcxx_cv_func__fpclass_use=yes
20696 else
20697 glibcxx_cv_func__fpclass_use=no
20698 fi
20699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20700 ac_ext=c
20701 ac_cpp='$CPP $CPPFLAGS'
20702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20705
20706
20707 fi
20708
20709 fi
20710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20711 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20712
20713 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20714 for ac_func in _fpclass
20715 do :
20716 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20717 if test "x$ac_cv_func__fpclass" = x""yes; then :
20718 cat >>confdefs.h <<_ACEOF
20719 #define HAVE__FPCLASS 1
20720 _ACEOF
20721
20722 fi
20723 done
20724
20725 fi
20726 fi
20727
20728
20729
20730
20731
20732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20733 $as_echo_n "checking for qfpclass declaration... " >&6; }
20734 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20735 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20736 $as_echo_n "(cached) " >&6
20737 else
20738
20739
20740 ac_ext=cpp
20741 ac_cpp='$CXXCPP $CPPFLAGS'
20742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20745
20746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20747 /* end confdefs.h. */
20748 #include <math.h>
20749 #ifdef HAVE_IEEEFP_H
20750 #include <ieeefp.h>
20751 #endif
20752
20753 int
20754 main ()
20755 {
20756 qfpclass(0);
20757 ;
20758 return 0;
20759 }
20760 _ACEOF
20761 if ac_fn_cxx_try_compile "$LINENO"; then :
20762 glibcxx_cv_func_qfpclass_use=yes
20763 else
20764 glibcxx_cv_func_qfpclass_use=no
20765 fi
20766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20767 ac_ext=c
20768 ac_cpp='$CPP $CPPFLAGS'
20769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20772
20773
20774 fi
20775
20776 fi
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20778 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20779
20780 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20781 for ac_func in qfpclass
20782 do :
20783 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20784 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20785 cat >>confdefs.h <<_ACEOF
20786 #define HAVE_QFPCLASS 1
20787 _ACEOF
20788
20789 fi
20790 done
20791
20792 else
20793
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20795 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20796 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20797 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20798 $as_echo_n "(cached) " >&6
20799 else
20800
20801
20802 ac_ext=cpp
20803 ac_cpp='$CXXCPP $CPPFLAGS'
20804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20807
20808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20809 /* end confdefs.h. */
20810 #include <math.h>
20811 #ifdef HAVE_IEEEFP_H
20812 #include <ieeefp.h>
20813 #endif
20814
20815 int
20816 main ()
20817 {
20818 _qfpclass(0);
20819 ;
20820 return 0;
20821 }
20822 _ACEOF
20823 if ac_fn_cxx_try_compile "$LINENO"; then :
20824 glibcxx_cv_func__qfpclass_use=yes
20825 else
20826 glibcxx_cv_func__qfpclass_use=no
20827 fi
20828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20829 ac_ext=c
20830 ac_cpp='$CPP $CPPFLAGS'
20831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20834
20835
20836 fi
20837
20838 fi
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20840 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20841
20842 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20843 for ac_func in _qfpclass
20844 do :
20845 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20846 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20847 cat >>confdefs.h <<_ACEOF
20848 #define HAVE__QFPCLASS 1
20849 _ACEOF
20850
20851 fi
20852 done
20853
20854 fi
20855 fi
20856
20857
20858
20859
20860
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20862 $as_echo_n "checking for hypot declaration... " >&6; }
20863 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20864 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20865 $as_echo_n "(cached) " >&6
20866 else
20867
20868
20869 ac_ext=cpp
20870 ac_cpp='$CXXCPP $CPPFLAGS'
20871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20874
20875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20876 /* end confdefs.h. */
20877 #include <math.h>
20878 int
20879 main ()
20880 {
20881 hypot(0, 0);
20882 ;
20883 return 0;
20884 }
20885 _ACEOF
20886 if ac_fn_cxx_try_compile "$LINENO"; then :
20887 glibcxx_cv_func_hypot_use=yes
20888 else
20889 glibcxx_cv_func_hypot_use=no
20890 fi
20891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20892 ac_ext=c
20893 ac_cpp='$CPP $CPPFLAGS'
20894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20897
20898
20899 fi
20900
20901 fi
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20903 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20904
20905 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20906 for ac_func in hypot
20907 do :
20908 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20909 if test "x$ac_cv_func_hypot" = x""yes; then :
20910 cat >>confdefs.h <<_ACEOF
20911 #define HAVE_HYPOT 1
20912 _ACEOF
20913
20914 fi
20915 done
20916
20917 else
20918
20919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20920 $as_echo_n "checking for _hypot declaration... " >&6; }
20921 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20922 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20923 $as_echo_n "(cached) " >&6
20924 else
20925
20926
20927 ac_ext=cpp
20928 ac_cpp='$CXXCPP $CPPFLAGS'
20929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20932
20933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20934 /* end confdefs.h. */
20935 #include <math.h>
20936 int
20937 main ()
20938 {
20939 _hypot(0, 0);
20940 ;
20941 return 0;
20942 }
20943 _ACEOF
20944 if ac_fn_cxx_try_compile "$LINENO"; then :
20945 glibcxx_cv_func__hypot_use=yes
20946 else
20947 glibcxx_cv_func__hypot_use=no
20948 fi
20949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20950 ac_ext=c
20951 ac_cpp='$CPP $CPPFLAGS'
20952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20955
20956
20957 fi
20958
20959 fi
20960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20961 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20962
20963 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20964 for ac_func in _hypot
20965 do :
20966 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20967 if test "x$ac_cv_func__hypot" = x""yes; then :
20968 cat >>confdefs.h <<_ACEOF
20969 #define HAVE__HYPOT 1
20970 _ACEOF
20971
20972 fi
20973 done
20974
20975 fi
20976 fi
20977
20978
20979
20980
20981
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20983 $as_echo_n "checking for float trig functions... " >&6; }
20984 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20985 $as_echo_n "(cached) " >&6
20986 else
20987
20988
20989 ac_ext=cpp
20990 ac_cpp='$CXXCPP $CPPFLAGS'
20991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20994
20995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20996 /* end confdefs.h. */
20997 #include <math.h>
20998 int
20999 main ()
21000 {
21001 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21002 ;
21003 return 0;
21004 }
21005 _ACEOF
21006 if ac_fn_cxx_try_compile "$LINENO"; then :
21007 glibcxx_cv_func_float_trig_use=yes
21008 else
21009 glibcxx_cv_func_float_trig_use=no
21010 fi
21011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21012 ac_ext=c
21013 ac_cpp='$CPP $CPPFLAGS'
21014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21017
21018 fi
21019
21020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21021 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21022 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21023 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21024 do :
21025 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21026 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21027 eval as_val=\$$as_ac_var
21028 if test "x$as_val" = x""yes; then :
21029 cat >>confdefs.h <<_ACEOF
21030 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21031 _ACEOF
21032
21033 fi
21034 done
21035
21036 else
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21038 $as_echo_n "checking for _float trig functions... " >&6; }
21039 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21040 $as_echo_n "(cached) " >&6
21041 else
21042
21043
21044 ac_ext=cpp
21045 ac_cpp='$CXXCPP $CPPFLAGS'
21046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21049
21050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21051 /* end confdefs.h. */
21052 #include <math.h>
21053 int
21054 main ()
21055 {
21056 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21057 ;
21058 return 0;
21059 }
21060 _ACEOF
21061 if ac_fn_cxx_try_compile "$LINENO"; then :
21062 glibcxx_cv_func__float_trig_use=yes
21063 else
21064 glibcxx_cv_func__float_trig_use=no
21065 fi
21066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21067 ac_ext=c
21068 ac_cpp='$CPP $CPPFLAGS'
21069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21072
21073 fi
21074
21075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21076 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21077 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21078 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21079 do :
21080 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21081 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21082 eval as_val=\$$as_ac_var
21083 if test "x$as_val" = x""yes; then :
21084 cat >>confdefs.h <<_ACEOF
21085 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21086 _ACEOF
21087
21088 fi
21089 done
21090
21091 fi
21092 fi
21093
21094
21095
21096
21097
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21099 $as_echo_n "checking for float round functions... " >&6; }
21100 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21101 $as_echo_n "(cached) " >&6
21102 else
21103
21104
21105 ac_ext=cpp
21106 ac_cpp='$CXXCPP $CPPFLAGS'
21107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21110
21111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21112 /* end confdefs.h. */
21113 #include <math.h>
21114 int
21115 main ()
21116 {
21117 ceilf (0); floorf (0);
21118 ;
21119 return 0;
21120 }
21121 _ACEOF
21122 if ac_fn_cxx_try_compile "$LINENO"; then :
21123 glibcxx_cv_func_float_round_use=yes
21124 else
21125 glibcxx_cv_func_float_round_use=no
21126 fi
21127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21128 ac_ext=c
21129 ac_cpp='$CPP $CPPFLAGS'
21130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21133
21134 fi
21135
21136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21137 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21138 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21139 for ac_func in ceilf floorf
21140 do :
21141 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21142 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21143 eval as_val=\$$as_ac_var
21144 if test "x$as_val" = x""yes; then :
21145 cat >>confdefs.h <<_ACEOF
21146 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21147 _ACEOF
21148
21149 fi
21150 done
21151
21152 else
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21154 $as_echo_n "checking for _float round functions... " >&6; }
21155 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21156 $as_echo_n "(cached) " >&6
21157 else
21158
21159
21160 ac_ext=cpp
21161 ac_cpp='$CXXCPP $CPPFLAGS'
21162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21165
21166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21167 /* end confdefs.h. */
21168 #include <math.h>
21169 int
21170 main ()
21171 {
21172 _ceilf (0); _floorf (0);
21173 ;
21174 return 0;
21175 }
21176 _ACEOF
21177 if ac_fn_cxx_try_compile "$LINENO"; then :
21178 glibcxx_cv_func__float_round_use=yes
21179 else
21180 glibcxx_cv_func__float_round_use=no
21181 fi
21182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21183 ac_ext=c
21184 ac_cpp='$CPP $CPPFLAGS'
21185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21188
21189 fi
21190
21191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21192 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21193 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21194 for ac_func in _ceilf _floorf
21195 do :
21196 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21197 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21198 eval as_val=\$$as_ac_var
21199 if test "x$as_val" = x""yes; then :
21200 cat >>confdefs.h <<_ACEOF
21201 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21202 _ACEOF
21203
21204 fi
21205 done
21206
21207 fi
21208 fi
21209
21210
21211
21212
21213
21214
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21216 $as_echo_n "checking for expf declaration... " >&6; }
21217 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21218 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21219 $as_echo_n "(cached) " >&6
21220 else
21221
21222
21223 ac_ext=cpp
21224 ac_cpp='$CXXCPP $CPPFLAGS'
21225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21228
21229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21230 /* end confdefs.h. */
21231 #include <math.h>
21232 #ifdef HAVE_IEEEFP_H
21233 #include <ieeefp.h>
21234 #endif
21235
21236 int
21237 main ()
21238 {
21239 expf(0);
21240 ;
21241 return 0;
21242 }
21243 _ACEOF
21244 if ac_fn_cxx_try_compile "$LINENO"; then :
21245 glibcxx_cv_func_expf_use=yes
21246 else
21247 glibcxx_cv_func_expf_use=no
21248 fi
21249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21250 ac_ext=c
21251 ac_cpp='$CPP $CPPFLAGS'
21252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21255
21256
21257 fi
21258
21259 fi
21260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21261 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21262
21263 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21264 for ac_func in expf
21265 do :
21266 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21267 if test "x$ac_cv_func_expf" = x""yes; then :
21268 cat >>confdefs.h <<_ACEOF
21269 #define HAVE_EXPF 1
21270 _ACEOF
21271
21272 fi
21273 done
21274
21275 else
21276
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21278 $as_echo_n "checking for _expf declaration... " >&6; }
21279 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21280 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21281 $as_echo_n "(cached) " >&6
21282 else
21283
21284
21285 ac_ext=cpp
21286 ac_cpp='$CXXCPP $CPPFLAGS'
21287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21290
21291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21292 /* end confdefs.h. */
21293 #include <math.h>
21294 #ifdef HAVE_IEEEFP_H
21295 #include <ieeefp.h>
21296 #endif
21297
21298 int
21299 main ()
21300 {
21301 _expf(0);
21302 ;
21303 return 0;
21304 }
21305 _ACEOF
21306 if ac_fn_cxx_try_compile "$LINENO"; then :
21307 glibcxx_cv_func__expf_use=yes
21308 else
21309 glibcxx_cv_func__expf_use=no
21310 fi
21311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21312 ac_ext=c
21313 ac_cpp='$CPP $CPPFLAGS'
21314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21317
21318
21319 fi
21320
21321 fi
21322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21323 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21324
21325 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21326 for ac_func in _expf
21327 do :
21328 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21329 if test "x$ac_cv_func__expf" = x""yes; then :
21330 cat >>confdefs.h <<_ACEOF
21331 #define HAVE__EXPF 1
21332 _ACEOF
21333
21334 fi
21335 done
21336
21337 fi
21338 fi
21339
21340
21341
21342
21343
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21345 $as_echo_n "checking for isnanf declaration... " >&6; }
21346 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21347 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21348 $as_echo_n "(cached) " >&6
21349 else
21350
21351
21352 ac_ext=cpp
21353 ac_cpp='$CXXCPP $CPPFLAGS'
21354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21357
21358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21359 /* end confdefs.h. */
21360 #include <math.h>
21361 #ifdef HAVE_IEEEFP_H
21362 #include <ieeefp.h>
21363 #endif
21364
21365 int
21366 main ()
21367 {
21368 isnanf(0);
21369 ;
21370 return 0;
21371 }
21372 _ACEOF
21373 if ac_fn_cxx_try_compile "$LINENO"; then :
21374 glibcxx_cv_func_isnanf_use=yes
21375 else
21376 glibcxx_cv_func_isnanf_use=no
21377 fi
21378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21379 ac_ext=c
21380 ac_cpp='$CPP $CPPFLAGS'
21381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21384
21385
21386 fi
21387
21388 fi
21389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21390 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21391
21392 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21393 for ac_func in isnanf
21394 do :
21395 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21396 if test "x$ac_cv_func_isnanf" = x""yes; then :
21397 cat >>confdefs.h <<_ACEOF
21398 #define HAVE_ISNANF 1
21399 _ACEOF
21400
21401 fi
21402 done
21403
21404 else
21405
21406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21407 $as_echo_n "checking for _isnanf declaration... " >&6; }
21408 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21409 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21410 $as_echo_n "(cached) " >&6
21411 else
21412
21413
21414 ac_ext=cpp
21415 ac_cpp='$CXXCPP $CPPFLAGS'
21416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21419
21420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21421 /* end confdefs.h. */
21422 #include <math.h>
21423 #ifdef HAVE_IEEEFP_H
21424 #include <ieeefp.h>
21425 #endif
21426
21427 int
21428 main ()
21429 {
21430 _isnanf(0);
21431 ;
21432 return 0;
21433 }
21434 _ACEOF
21435 if ac_fn_cxx_try_compile "$LINENO"; then :
21436 glibcxx_cv_func__isnanf_use=yes
21437 else
21438 glibcxx_cv_func__isnanf_use=no
21439 fi
21440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21441 ac_ext=c
21442 ac_cpp='$CPP $CPPFLAGS'
21443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21446
21447
21448 fi
21449
21450 fi
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21452 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21453
21454 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21455 for ac_func in _isnanf
21456 do :
21457 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21458 if test "x$ac_cv_func__isnanf" = x""yes; then :
21459 cat >>confdefs.h <<_ACEOF
21460 #define HAVE__ISNANF 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 isinff declaration" >&5
21474 $as_echo_n "checking for isinff declaration... " >&6; }
21475 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21476 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21477 $as_echo_n "(cached) " >&6
21478 else
21479
21480
21481 ac_ext=cpp
21482 ac_cpp='$CXXCPP $CPPFLAGS'
21483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21486
21487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21488 /* end confdefs.h. */
21489 #include <math.h>
21490 #ifdef HAVE_IEEEFP_H
21491 #include <ieeefp.h>
21492 #endif
21493
21494 int
21495 main ()
21496 {
21497 isinff(0);
21498 ;
21499 return 0;
21500 }
21501 _ACEOF
21502 if ac_fn_cxx_try_compile "$LINENO"; then :
21503 glibcxx_cv_func_isinff_use=yes
21504 else
21505 glibcxx_cv_func_isinff_use=no
21506 fi
21507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21508 ac_ext=c
21509 ac_cpp='$CPP $CPPFLAGS'
21510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21513
21514
21515 fi
21516
21517 fi
21518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21519 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21520
21521 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21522 for ac_func in isinff
21523 do :
21524 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21525 if test "x$ac_cv_func_isinff" = x""yes; then :
21526 cat >>confdefs.h <<_ACEOF
21527 #define HAVE_ISINFF 1
21528 _ACEOF
21529
21530 fi
21531 done
21532
21533 else
21534
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21536 $as_echo_n "checking for _isinff declaration... " >&6; }
21537 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21538 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21539 $as_echo_n "(cached) " >&6
21540 else
21541
21542
21543 ac_ext=cpp
21544 ac_cpp='$CXXCPP $CPPFLAGS'
21545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21548
21549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21550 /* end confdefs.h. */
21551 #include <math.h>
21552 #ifdef HAVE_IEEEFP_H
21553 #include <ieeefp.h>
21554 #endif
21555
21556 int
21557 main ()
21558 {
21559 _isinff(0);
21560 ;
21561 return 0;
21562 }
21563 _ACEOF
21564 if ac_fn_cxx_try_compile "$LINENO"; then :
21565 glibcxx_cv_func__isinff_use=yes
21566 else
21567 glibcxx_cv_func__isinff_use=no
21568 fi
21569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21570 ac_ext=c
21571 ac_cpp='$CPP $CPPFLAGS'
21572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21575
21576
21577 fi
21578
21579 fi
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21581 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21582
21583 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21584 for ac_func in _isinff
21585 do :
21586 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21587 if test "x$ac_cv_func__isinff" = x""yes; then :
21588 cat >>confdefs.h <<_ACEOF
21589 #define HAVE__ISINFF 1
21590 _ACEOF
21591
21592 fi
21593 done
21594
21595 fi
21596 fi
21597
21598
21599
21600
21601
21602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21603 $as_echo_n "checking for atan2f declaration... " >&6; }
21604 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21605 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21606 $as_echo_n "(cached) " >&6
21607 else
21608
21609
21610 ac_ext=cpp
21611 ac_cpp='$CXXCPP $CPPFLAGS'
21612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21615
21616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21617 /* end confdefs.h. */
21618 #include <math.h>
21619 int
21620 main ()
21621 {
21622 atan2f(0, 0);
21623 ;
21624 return 0;
21625 }
21626 _ACEOF
21627 if ac_fn_cxx_try_compile "$LINENO"; then :
21628 glibcxx_cv_func_atan2f_use=yes
21629 else
21630 glibcxx_cv_func_atan2f_use=no
21631 fi
21632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21633 ac_ext=c
21634 ac_cpp='$CPP $CPPFLAGS'
21635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21638
21639
21640 fi
21641
21642 fi
21643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21644 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21645
21646 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21647 for ac_func in atan2f
21648 do :
21649 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21650 if test "x$ac_cv_func_atan2f" = x""yes; then :
21651 cat >>confdefs.h <<_ACEOF
21652 #define HAVE_ATAN2F 1
21653 _ACEOF
21654
21655 fi
21656 done
21657
21658 else
21659
21660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21661 $as_echo_n "checking for _atan2f declaration... " >&6; }
21662 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21663 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21664 $as_echo_n "(cached) " >&6
21665 else
21666
21667
21668 ac_ext=cpp
21669 ac_cpp='$CXXCPP $CPPFLAGS'
21670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21673
21674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21675 /* end confdefs.h. */
21676 #include <math.h>
21677 int
21678 main ()
21679 {
21680 _atan2f(0, 0);
21681 ;
21682 return 0;
21683 }
21684 _ACEOF
21685 if ac_fn_cxx_try_compile "$LINENO"; then :
21686 glibcxx_cv_func__atan2f_use=yes
21687 else
21688 glibcxx_cv_func__atan2f_use=no
21689 fi
21690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21691 ac_ext=c
21692 ac_cpp='$CPP $CPPFLAGS'
21693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21696
21697
21698 fi
21699
21700 fi
21701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21702 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21703
21704 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21705 for ac_func in _atan2f
21706 do :
21707 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21708 if test "x$ac_cv_func__atan2f" = x""yes; then :
21709 cat >>confdefs.h <<_ACEOF
21710 #define HAVE__ATAN2F 1
21711 _ACEOF
21712
21713 fi
21714 done
21715
21716 fi
21717 fi
21718
21719
21720
21721
21722
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21724 $as_echo_n "checking for fabsf declaration... " >&6; }
21725 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21726 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21727 $as_echo_n "(cached) " >&6
21728 else
21729
21730
21731 ac_ext=cpp
21732 ac_cpp='$CXXCPP $CPPFLAGS'
21733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21736
21737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21738 /* end confdefs.h. */
21739 #include <math.h>
21740 #ifdef HAVE_IEEEFP_H
21741 #include <ieeefp.h>
21742 #endif
21743
21744 int
21745 main ()
21746 {
21747 fabsf(0);
21748 ;
21749 return 0;
21750 }
21751 _ACEOF
21752 if ac_fn_cxx_try_compile "$LINENO"; then :
21753 glibcxx_cv_func_fabsf_use=yes
21754 else
21755 glibcxx_cv_func_fabsf_use=no
21756 fi
21757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21758 ac_ext=c
21759 ac_cpp='$CPP $CPPFLAGS'
21760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21763
21764
21765 fi
21766
21767 fi
21768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21769 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21770
21771 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21772 for ac_func in fabsf
21773 do :
21774 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21775 if test "x$ac_cv_func_fabsf" = x""yes; then :
21776 cat >>confdefs.h <<_ACEOF
21777 #define HAVE_FABSF 1
21778 _ACEOF
21779
21780 fi
21781 done
21782
21783 else
21784
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21786 $as_echo_n "checking for _fabsf declaration... " >&6; }
21787 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21788 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21789 $as_echo_n "(cached) " >&6
21790 else
21791
21792
21793 ac_ext=cpp
21794 ac_cpp='$CXXCPP $CPPFLAGS'
21795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21798
21799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21800 /* end confdefs.h. */
21801 #include <math.h>
21802 #ifdef HAVE_IEEEFP_H
21803 #include <ieeefp.h>
21804 #endif
21805
21806 int
21807 main ()
21808 {
21809 _fabsf(0);
21810 ;
21811 return 0;
21812 }
21813 _ACEOF
21814 if ac_fn_cxx_try_compile "$LINENO"; then :
21815 glibcxx_cv_func__fabsf_use=yes
21816 else
21817 glibcxx_cv_func__fabsf_use=no
21818 fi
21819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21820 ac_ext=c
21821 ac_cpp='$CPP $CPPFLAGS'
21822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21825
21826
21827 fi
21828
21829 fi
21830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21831 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21832
21833 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21834 for ac_func in _fabsf
21835 do :
21836 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21837 if test "x$ac_cv_func__fabsf" = x""yes; then :
21838 cat >>confdefs.h <<_ACEOF
21839 #define HAVE__FABSF 1
21840 _ACEOF
21841
21842 fi
21843 done
21844
21845 fi
21846 fi
21847
21848
21849
21850
21851
21852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21853 $as_echo_n "checking for fmodf declaration... " >&6; }
21854 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21855 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21856 $as_echo_n "(cached) " >&6
21857 else
21858
21859
21860 ac_ext=cpp
21861 ac_cpp='$CXXCPP $CPPFLAGS'
21862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21865
21866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21867 /* end confdefs.h. */
21868 #include <math.h>
21869 int
21870 main ()
21871 {
21872 fmodf(0, 0);
21873 ;
21874 return 0;
21875 }
21876 _ACEOF
21877 if ac_fn_cxx_try_compile "$LINENO"; then :
21878 glibcxx_cv_func_fmodf_use=yes
21879 else
21880 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
21894 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21895
21896 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21897 for ac_func in fmodf
21898 do :
21899 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21900 if test "x$ac_cv_func_fmodf" = x""yes; then :
21901 cat >>confdefs.h <<_ACEOF
21902 #define HAVE_FMODF 1
21903 _ACEOF
21904
21905 fi
21906 done
21907
21908 else
21909
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21911 $as_echo_n "checking for _fmodf declaration... " >&6; }
21912 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21913 if test "${glibcxx_cv_func__fmodf_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 int
21928 main ()
21929 {
21930 _fmodf(0, 0);
21931 ;
21932 return 0;
21933 }
21934 _ACEOF
21935 if ac_fn_cxx_try_compile "$LINENO"; then :
21936 glibcxx_cv_func__fmodf_use=yes
21937 else
21938 glibcxx_cv_func__fmodf_use=no
21939 fi
21940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21941 ac_ext=c
21942 ac_cpp='$CPP $CPPFLAGS'
21943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21946
21947
21948 fi
21949
21950 fi
21951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21952 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21953
21954 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21955 for ac_func in _fmodf
21956 do :
21957 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21958 if test "x$ac_cv_func__fmodf" = x""yes; then :
21959 cat >>confdefs.h <<_ACEOF
21960 #define HAVE__FMODF 1
21961 _ACEOF
21962
21963 fi
21964 done
21965
21966 fi
21967 fi
21968
21969
21970
21971
21972
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21974 $as_echo_n "checking for frexpf declaration... " >&6; }
21975 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21976 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21977 $as_echo_n "(cached) " >&6
21978 else
21979
21980
21981 ac_ext=cpp
21982 ac_cpp='$CXXCPP $CPPFLAGS'
21983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21986
21987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21988 /* end confdefs.h. */
21989 #include <math.h>
21990 int
21991 main ()
21992 {
21993 frexpf(0, 0);
21994 ;
21995 return 0;
21996 }
21997 _ACEOF
21998 if ac_fn_cxx_try_compile "$LINENO"; then :
21999 glibcxx_cv_func_frexpf_use=yes
22000 else
22001 glibcxx_cv_func_frexpf_use=no
22002 fi
22003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22004 ac_ext=c
22005 ac_cpp='$CPP $CPPFLAGS'
22006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22009
22010
22011 fi
22012
22013 fi
22014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22015 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22016
22017 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22018 for ac_func in frexpf
22019 do :
22020 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22021 if test "x$ac_cv_func_frexpf" = x""yes; then :
22022 cat >>confdefs.h <<_ACEOF
22023 #define HAVE_FREXPF 1
22024 _ACEOF
22025
22026 fi
22027 done
22028
22029 else
22030
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22032 $as_echo_n "checking for _frexpf declaration... " >&6; }
22033 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22034 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22035 $as_echo_n "(cached) " >&6
22036 else
22037
22038
22039 ac_ext=cpp
22040 ac_cpp='$CXXCPP $CPPFLAGS'
22041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22044
22045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22046 /* end confdefs.h. */
22047 #include <math.h>
22048 int
22049 main ()
22050 {
22051 _frexpf(0, 0);
22052 ;
22053 return 0;
22054 }
22055 _ACEOF
22056 if ac_fn_cxx_try_compile "$LINENO"; then :
22057 glibcxx_cv_func__frexpf_use=yes
22058 else
22059 glibcxx_cv_func__frexpf_use=no
22060 fi
22061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22062 ac_ext=c
22063 ac_cpp='$CPP $CPPFLAGS'
22064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22067
22068
22069 fi
22070
22071 fi
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22073 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22074
22075 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22076 for ac_func in _frexpf
22077 do :
22078 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22079 if test "x$ac_cv_func__frexpf" = x""yes; then :
22080 cat >>confdefs.h <<_ACEOF
22081 #define HAVE__FREXPF 1
22082 _ACEOF
22083
22084 fi
22085 done
22086
22087 fi
22088 fi
22089
22090
22091
22092
22093
22094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22095 $as_echo_n "checking for hypotf declaration... " >&6; }
22096 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22097 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22098 $as_echo_n "(cached) " >&6
22099 else
22100
22101
22102 ac_ext=cpp
22103 ac_cpp='$CXXCPP $CPPFLAGS'
22104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22107
22108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22109 /* end confdefs.h. */
22110 #include <math.h>
22111 int
22112 main ()
22113 {
22114 hypotf(0, 0);
22115 ;
22116 return 0;
22117 }
22118 _ACEOF
22119 if ac_fn_cxx_try_compile "$LINENO"; then :
22120 glibcxx_cv_func_hypotf_use=yes
22121 else
22122 glibcxx_cv_func_hypotf_use=no
22123 fi
22124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22125 ac_ext=c
22126 ac_cpp='$CPP $CPPFLAGS'
22127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22130
22131
22132 fi
22133
22134 fi
22135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22136 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22137
22138 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22139 for ac_func in hypotf
22140 do :
22141 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22142 if test "x$ac_cv_func_hypotf" = x""yes; then :
22143 cat >>confdefs.h <<_ACEOF
22144 #define HAVE_HYPOTF 1
22145 _ACEOF
22146
22147 fi
22148 done
22149
22150 else
22151
22152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22153 $as_echo_n "checking for _hypotf declaration... " >&6; }
22154 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22155 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22156 $as_echo_n "(cached) " >&6
22157 else
22158
22159
22160 ac_ext=cpp
22161 ac_cpp='$CXXCPP $CPPFLAGS'
22162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22165
22166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22167 /* end confdefs.h. */
22168 #include <math.h>
22169 int
22170 main ()
22171 {
22172 _hypotf(0, 0);
22173 ;
22174 return 0;
22175 }
22176 _ACEOF
22177 if ac_fn_cxx_try_compile "$LINENO"; then :
22178 glibcxx_cv_func__hypotf_use=yes
22179 else
22180 glibcxx_cv_func__hypotf_use=no
22181 fi
22182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22183 ac_ext=c
22184 ac_cpp='$CPP $CPPFLAGS'
22185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22188
22189
22190 fi
22191
22192 fi
22193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22194 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22195
22196 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22197 for ac_func in _hypotf
22198 do :
22199 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22200 if test "x$ac_cv_func__hypotf" = x""yes; then :
22201 cat >>confdefs.h <<_ACEOF
22202 #define HAVE__HYPOTF 1
22203 _ACEOF
22204
22205 fi
22206 done
22207
22208 fi
22209 fi
22210
22211
22212
22213
22214
22215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22216 $as_echo_n "checking for ldexpf declaration... " >&6; }
22217 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22218 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22219 $as_echo_n "(cached) " >&6
22220 else
22221
22222
22223 ac_ext=cpp
22224 ac_cpp='$CXXCPP $CPPFLAGS'
22225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22228
22229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22230 /* end confdefs.h. */
22231 #include <math.h>
22232 int
22233 main ()
22234 {
22235 ldexpf(0, 0);
22236 ;
22237 return 0;
22238 }
22239 _ACEOF
22240 if ac_fn_cxx_try_compile "$LINENO"; then :
22241 glibcxx_cv_func_ldexpf_use=yes
22242 else
22243 glibcxx_cv_func_ldexpf_use=no
22244 fi
22245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22246 ac_ext=c
22247 ac_cpp='$CPP $CPPFLAGS'
22248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22251
22252
22253 fi
22254
22255 fi
22256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22257 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22258
22259 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22260 for ac_func in ldexpf
22261 do :
22262 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22263 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22264 cat >>confdefs.h <<_ACEOF
22265 #define HAVE_LDEXPF 1
22266 _ACEOF
22267
22268 fi
22269 done
22270
22271 else
22272
22273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22274 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22275 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22276 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22277 $as_echo_n "(cached) " >&6
22278 else
22279
22280
22281 ac_ext=cpp
22282 ac_cpp='$CXXCPP $CPPFLAGS'
22283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22286
22287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22288 /* end confdefs.h. */
22289 #include <math.h>
22290 int
22291 main ()
22292 {
22293 _ldexpf(0, 0);
22294 ;
22295 return 0;
22296 }
22297 _ACEOF
22298 if ac_fn_cxx_try_compile "$LINENO"; then :
22299 glibcxx_cv_func__ldexpf_use=yes
22300 else
22301 glibcxx_cv_func__ldexpf_use=no
22302 fi
22303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22304 ac_ext=c
22305 ac_cpp='$CPP $CPPFLAGS'
22306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22309
22310
22311 fi
22312
22313 fi
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22315 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22316
22317 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22318 for ac_func in _ldexpf
22319 do :
22320 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22321 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22322 cat >>confdefs.h <<_ACEOF
22323 #define HAVE__LDEXPF 1
22324 _ACEOF
22325
22326 fi
22327 done
22328
22329 fi
22330 fi
22331
22332
22333
22334
22335
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22337 $as_echo_n "checking for logf declaration... " >&6; }
22338 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22339 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22340 $as_echo_n "(cached) " >&6
22341 else
22342
22343
22344 ac_ext=cpp
22345 ac_cpp='$CXXCPP $CPPFLAGS'
22346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22349
22350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22351 /* end confdefs.h. */
22352 #include <math.h>
22353 #ifdef HAVE_IEEEFP_H
22354 #include <ieeefp.h>
22355 #endif
22356
22357 int
22358 main ()
22359 {
22360 logf(0);
22361 ;
22362 return 0;
22363 }
22364 _ACEOF
22365 if ac_fn_cxx_try_compile "$LINENO"; then :
22366 glibcxx_cv_func_logf_use=yes
22367 else
22368 glibcxx_cv_func_logf_use=no
22369 fi
22370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22371 ac_ext=c
22372 ac_cpp='$CPP $CPPFLAGS'
22373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22376
22377
22378 fi
22379
22380 fi
22381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22382 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22383
22384 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22385 for ac_func in logf
22386 do :
22387 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22388 if test "x$ac_cv_func_logf" = x""yes; then :
22389 cat >>confdefs.h <<_ACEOF
22390 #define HAVE_LOGF 1
22391 _ACEOF
22392
22393 fi
22394 done
22395
22396 else
22397
22398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22399 $as_echo_n "checking for _logf declaration... " >&6; }
22400 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22401 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22402 $as_echo_n "(cached) " >&6
22403 else
22404
22405
22406 ac_ext=cpp
22407 ac_cpp='$CXXCPP $CPPFLAGS'
22408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22411
22412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22413 /* end confdefs.h. */
22414 #include <math.h>
22415 #ifdef HAVE_IEEEFP_H
22416 #include <ieeefp.h>
22417 #endif
22418
22419 int
22420 main ()
22421 {
22422 _logf(0);
22423 ;
22424 return 0;
22425 }
22426 _ACEOF
22427 if ac_fn_cxx_try_compile "$LINENO"; then :
22428 glibcxx_cv_func__logf_use=yes
22429 else
22430 glibcxx_cv_func__logf_use=no
22431 fi
22432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22433 ac_ext=c
22434 ac_cpp='$CPP $CPPFLAGS'
22435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22438
22439
22440 fi
22441
22442 fi
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22444 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22445
22446 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22447 for ac_func in _logf
22448 do :
22449 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22450 if test "x$ac_cv_func__logf" = x""yes; then :
22451 cat >>confdefs.h <<_ACEOF
22452 #define HAVE__LOGF 1
22453 _ACEOF
22454
22455 fi
22456 done
22457
22458 fi
22459 fi
22460
22461
22462
22463
22464
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22466 $as_echo_n "checking for log10f declaration... " >&6; }
22467 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22468 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22469 $as_echo_n "(cached) " >&6
22470 else
22471
22472
22473 ac_ext=cpp
22474 ac_cpp='$CXXCPP $CPPFLAGS'
22475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22478
22479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22480 /* end confdefs.h. */
22481 #include <math.h>
22482 #ifdef HAVE_IEEEFP_H
22483 #include <ieeefp.h>
22484 #endif
22485
22486 int
22487 main ()
22488 {
22489 log10f(0);
22490 ;
22491 return 0;
22492 }
22493 _ACEOF
22494 if ac_fn_cxx_try_compile "$LINENO"; then :
22495 glibcxx_cv_func_log10f_use=yes
22496 else
22497 glibcxx_cv_func_log10f_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_log10f_use" >&5
22511 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22512
22513 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22514 for ac_func in log10f
22515 do :
22516 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22517 if test "x$ac_cv_func_log10f" = x""yes; then :
22518 cat >>confdefs.h <<_ACEOF
22519 #define HAVE_LOG10F 1
22520 _ACEOF
22521
22522 fi
22523 done
22524
22525 else
22526
22527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22528 $as_echo_n "checking for _log10f declaration... " >&6; }
22529 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22530 if test "${glibcxx_cv_func__log10f_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 #ifdef HAVE_IEEEFP_H
22545 #include <ieeefp.h>
22546 #endif
22547
22548 int
22549 main ()
22550 {
22551 _log10f(0);
22552 ;
22553 return 0;
22554 }
22555 _ACEOF
22556 if ac_fn_cxx_try_compile "$LINENO"; then :
22557 glibcxx_cv_func__log10f_use=yes
22558 else
22559 glibcxx_cv_func__log10f_use=no
22560 fi
22561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22562 ac_ext=c
22563 ac_cpp='$CPP $CPPFLAGS'
22564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22567
22568
22569 fi
22570
22571 fi
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22573 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22574
22575 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22576 for ac_func in _log10f
22577 do :
22578 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22579 if test "x$ac_cv_func__log10f" = x""yes; then :
22580 cat >>confdefs.h <<_ACEOF
22581 #define HAVE__LOG10F 1
22582 _ACEOF
22583
22584 fi
22585 done
22586
22587 fi
22588 fi
22589
22590
22591
22592
22593
22594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22595 $as_echo_n "checking for modff declaration... " >&6; }
22596 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22597 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22598 $as_echo_n "(cached) " >&6
22599 else
22600
22601
22602 ac_ext=cpp
22603 ac_cpp='$CXXCPP $CPPFLAGS'
22604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22607
22608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22609 /* end confdefs.h. */
22610 #include <math.h>
22611 int
22612 main ()
22613 {
22614 modff(0, 0);
22615 ;
22616 return 0;
22617 }
22618 _ACEOF
22619 if ac_fn_cxx_try_compile "$LINENO"; then :
22620 glibcxx_cv_func_modff_use=yes
22621 else
22622 glibcxx_cv_func_modff_use=no
22623 fi
22624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22625 ac_ext=c
22626 ac_cpp='$CPP $CPPFLAGS'
22627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22630
22631
22632 fi
22633
22634 fi
22635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22636 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22637
22638 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22639 for ac_func in modff
22640 do :
22641 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22642 if test "x$ac_cv_func_modff" = x""yes; then :
22643 cat >>confdefs.h <<_ACEOF
22644 #define HAVE_MODFF 1
22645 _ACEOF
22646
22647 fi
22648 done
22649
22650 else
22651
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22653 $as_echo_n "checking for _modff declaration... " >&6; }
22654 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22655 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22656 $as_echo_n "(cached) " >&6
22657 else
22658
22659
22660 ac_ext=cpp
22661 ac_cpp='$CXXCPP $CPPFLAGS'
22662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22665
22666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22667 /* end confdefs.h. */
22668 #include <math.h>
22669 int
22670 main ()
22671 {
22672 _modff(0, 0);
22673 ;
22674 return 0;
22675 }
22676 _ACEOF
22677 if ac_fn_cxx_try_compile "$LINENO"; then :
22678 glibcxx_cv_func__modff_use=yes
22679 else
22680 glibcxx_cv_func__modff_use=no
22681 fi
22682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22683 ac_ext=c
22684 ac_cpp='$CPP $CPPFLAGS'
22685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22688
22689
22690 fi
22691
22692 fi
22693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22694 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22695
22696 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22697 for ac_func in _modff
22698 do :
22699 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22700 if test "x$ac_cv_func__modff" = x""yes; then :
22701 cat >>confdefs.h <<_ACEOF
22702 #define HAVE__MODFF 1
22703 _ACEOF
22704
22705 fi
22706 done
22707
22708 fi
22709 fi
22710
22711
22712
22713
22714
22715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22716 $as_echo_n "checking for modf declaration... " >&6; }
22717 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22718 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22719 $as_echo_n "(cached) " >&6
22720 else
22721
22722
22723 ac_ext=cpp
22724 ac_cpp='$CXXCPP $CPPFLAGS'
22725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22728
22729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22730 /* end confdefs.h. */
22731 #include <math.h>
22732 int
22733 main ()
22734 {
22735 modf(0, 0);
22736 ;
22737 return 0;
22738 }
22739 _ACEOF
22740 if ac_fn_cxx_try_compile "$LINENO"; then :
22741 glibcxx_cv_func_modf_use=yes
22742 else
22743 glibcxx_cv_func_modf_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_modf_use" >&5
22757 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22758
22759 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22760 for ac_func in modf
22761 do :
22762 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22763 if test "x$ac_cv_func_modf" = x""yes; then :
22764 cat >>confdefs.h <<_ACEOF
22765 #define HAVE_MODF 1
22766 _ACEOF
22767
22768 fi
22769 done
22770
22771 else
22772
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22774 $as_echo_n "checking for _modf declaration... " >&6; }
22775 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22776 if test "${glibcxx_cv_func__modf_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 int
22791 main ()
22792 {
22793 _modf(0, 0);
22794 ;
22795 return 0;
22796 }
22797 _ACEOF
22798 if ac_fn_cxx_try_compile "$LINENO"; then :
22799 glibcxx_cv_func__modf_use=yes
22800 else
22801 glibcxx_cv_func__modf_use=no
22802 fi
22803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22804 ac_ext=c
22805 ac_cpp='$CPP $CPPFLAGS'
22806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22809
22810
22811 fi
22812
22813 fi
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22815 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22816
22817 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22818 for ac_func in _modf
22819 do :
22820 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22821 if test "x$ac_cv_func__modf" = x""yes; then :
22822 cat >>confdefs.h <<_ACEOF
22823 #define HAVE__MODF 1
22824 _ACEOF
22825
22826 fi
22827 done
22828
22829 fi
22830 fi
22831
22832
22833
22834
22835
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22837 $as_echo_n "checking for powf declaration... " >&6; }
22838 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22839 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22840 $as_echo_n "(cached) " >&6
22841 else
22842
22843
22844 ac_ext=cpp
22845 ac_cpp='$CXXCPP $CPPFLAGS'
22846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22849
22850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22851 /* end confdefs.h. */
22852 #include <math.h>
22853 int
22854 main ()
22855 {
22856 powf(0, 0);
22857 ;
22858 return 0;
22859 }
22860 _ACEOF
22861 if ac_fn_cxx_try_compile "$LINENO"; then :
22862 glibcxx_cv_func_powf_use=yes
22863 else
22864 glibcxx_cv_func_powf_use=no
22865 fi
22866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22867 ac_ext=c
22868 ac_cpp='$CPP $CPPFLAGS'
22869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22872
22873
22874 fi
22875
22876 fi
22877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22878 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22879
22880 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22881 for ac_func in powf
22882 do :
22883 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22884 if test "x$ac_cv_func_powf" = x""yes; then :
22885 cat >>confdefs.h <<_ACEOF
22886 #define HAVE_POWF 1
22887 _ACEOF
22888
22889 fi
22890 done
22891
22892 else
22893
22894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22895 $as_echo_n "checking for _powf declaration... " >&6; }
22896 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22897 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22898 $as_echo_n "(cached) " >&6
22899 else
22900
22901
22902 ac_ext=cpp
22903 ac_cpp='$CXXCPP $CPPFLAGS'
22904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22907
22908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22909 /* end confdefs.h. */
22910 #include <math.h>
22911 int
22912 main ()
22913 {
22914 _powf(0, 0);
22915 ;
22916 return 0;
22917 }
22918 _ACEOF
22919 if ac_fn_cxx_try_compile "$LINENO"; then :
22920 glibcxx_cv_func__powf_use=yes
22921 else
22922 glibcxx_cv_func__powf_use=no
22923 fi
22924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22925 ac_ext=c
22926 ac_cpp='$CPP $CPPFLAGS'
22927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22930
22931
22932 fi
22933
22934 fi
22935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22936 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22937
22938 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22939 for ac_func in _powf
22940 do :
22941 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22942 if test "x$ac_cv_func__powf" = x""yes; then :
22943 cat >>confdefs.h <<_ACEOF
22944 #define HAVE__POWF 1
22945 _ACEOF
22946
22947 fi
22948 done
22949
22950 fi
22951 fi
22952
22953
22954
22955
22956
22957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22958 $as_echo_n "checking for sqrtf declaration... " >&6; }
22959 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22960 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22961 $as_echo_n "(cached) " >&6
22962 else
22963
22964
22965 ac_ext=cpp
22966 ac_cpp='$CXXCPP $CPPFLAGS'
22967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22970
22971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22972 /* end confdefs.h. */
22973 #include <math.h>
22974 #ifdef HAVE_IEEEFP_H
22975 #include <ieeefp.h>
22976 #endif
22977
22978 int
22979 main ()
22980 {
22981 sqrtf(0);
22982 ;
22983 return 0;
22984 }
22985 _ACEOF
22986 if ac_fn_cxx_try_compile "$LINENO"; then :
22987 glibcxx_cv_func_sqrtf_use=yes
22988 else
22989 glibcxx_cv_func_sqrtf_use=no
22990 fi
22991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22992 ac_ext=c
22993 ac_cpp='$CPP $CPPFLAGS'
22994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22997
22998
22999 fi
23000
23001 fi
23002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23003 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23004
23005 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23006 for ac_func in sqrtf
23007 do :
23008 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23009 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23010 cat >>confdefs.h <<_ACEOF
23011 #define HAVE_SQRTF 1
23012 _ACEOF
23013
23014 fi
23015 done
23016
23017 else
23018
23019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23020 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23021 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23022 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23023 $as_echo_n "(cached) " >&6
23024 else
23025
23026
23027 ac_ext=cpp
23028 ac_cpp='$CXXCPP $CPPFLAGS'
23029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23032
23033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23034 /* end confdefs.h. */
23035 #include <math.h>
23036 #ifdef HAVE_IEEEFP_H
23037 #include <ieeefp.h>
23038 #endif
23039
23040 int
23041 main ()
23042 {
23043 _sqrtf(0);
23044 ;
23045 return 0;
23046 }
23047 _ACEOF
23048 if ac_fn_cxx_try_compile "$LINENO"; then :
23049 glibcxx_cv_func__sqrtf_use=yes
23050 else
23051 glibcxx_cv_func__sqrtf_use=no
23052 fi
23053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23054 ac_ext=c
23055 ac_cpp='$CPP $CPPFLAGS'
23056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23059
23060
23061 fi
23062
23063 fi
23064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23065 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23066
23067 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23068 for ac_func in _sqrtf
23069 do :
23070 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23071 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23072 cat >>confdefs.h <<_ACEOF
23073 #define HAVE__SQRTF 1
23074 _ACEOF
23075
23076 fi
23077 done
23078
23079 fi
23080 fi
23081
23082
23083
23084
23085
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23087 $as_echo_n "checking for sincosf declaration... " >&6; }
23088 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23089 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23090 $as_echo_n "(cached) " >&6
23091 else
23092
23093
23094 ac_ext=cpp
23095 ac_cpp='$CXXCPP $CPPFLAGS'
23096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23099
23100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23101 /* end confdefs.h. */
23102 #include <math.h>
23103 int
23104 main ()
23105 {
23106 sincosf(0, 0, 0);
23107 ;
23108 return 0;
23109 }
23110 _ACEOF
23111 if ac_fn_cxx_try_compile "$LINENO"; then :
23112 glibcxx_cv_func_sincosf_use=yes
23113 else
23114 glibcxx_cv_func_sincosf_use=no
23115 fi
23116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23117 ac_ext=c
23118 ac_cpp='$CPP $CPPFLAGS'
23119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23122
23123
23124 fi
23125
23126 fi
23127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23128 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23129
23130 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23131 for ac_func in sincosf
23132 do :
23133 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23134 if test "x$ac_cv_func_sincosf" = x""yes; then :
23135 cat >>confdefs.h <<_ACEOF
23136 #define HAVE_SINCOSF 1
23137 _ACEOF
23138
23139 fi
23140 done
23141
23142 else
23143
23144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23145 $as_echo_n "checking for _sincosf declaration... " >&6; }
23146 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23147 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23148 $as_echo_n "(cached) " >&6
23149 else
23150
23151
23152 ac_ext=cpp
23153 ac_cpp='$CXXCPP $CPPFLAGS'
23154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23157
23158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23159 /* end confdefs.h. */
23160 #include <math.h>
23161 int
23162 main ()
23163 {
23164 _sincosf(0, 0, 0);
23165 ;
23166 return 0;
23167 }
23168 _ACEOF
23169 if ac_fn_cxx_try_compile "$LINENO"; then :
23170 glibcxx_cv_func__sincosf_use=yes
23171 else
23172 glibcxx_cv_func__sincosf_use=no
23173 fi
23174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23175 ac_ext=c
23176 ac_cpp='$CPP $CPPFLAGS'
23177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23180
23181
23182 fi
23183
23184 fi
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23186 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23187
23188 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23189 for ac_func in _sincosf
23190 do :
23191 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23192 if test "x$ac_cv_func__sincosf" = x""yes; then :
23193 cat >>confdefs.h <<_ACEOF
23194 #define HAVE__SINCOSF 1
23195 _ACEOF
23196
23197 fi
23198 done
23199
23200 fi
23201 fi
23202
23203
23204
23205
23206
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23208 $as_echo_n "checking for finitef declaration... " >&6; }
23209 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23210 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23211 $as_echo_n "(cached) " >&6
23212 else
23213
23214
23215 ac_ext=cpp
23216 ac_cpp='$CXXCPP $CPPFLAGS'
23217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23220
23221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23222 /* end confdefs.h. */
23223 #include <math.h>
23224 #ifdef HAVE_IEEEFP_H
23225 #include <ieeefp.h>
23226 #endif
23227
23228 int
23229 main ()
23230 {
23231 finitef(0);
23232 ;
23233 return 0;
23234 }
23235 _ACEOF
23236 if ac_fn_cxx_try_compile "$LINENO"; then :
23237 glibcxx_cv_func_finitef_use=yes
23238 else
23239 glibcxx_cv_func_finitef_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_finitef_use" >&5
23253 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23254
23255 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23256 for ac_func in finitef
23257 do :
23258 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23259 if test "x$ac_cv_func_finitef" = x""yes; then :
23260 cat >>confdefs.h <<_ACEOF
23261 #define HAVE_FINITEF 1
23262 _ACEOF
23263
23264 fi
23265 done
23266
23267 else
23268
23269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23270 $as_echo_n "checking for _finitef declaration... " >&6; }
23271 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23272 if test "${glibcxx_cv_func__finitef_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 #ifdef HAVE_IEEEFP_H
23287 #include <ieeefp.h>
23288 #endif
23289
23290 int
23291 main ()
23292 {
23293 _finitef(0);
23294 ;
23295 return 0;
23296 }
23297 _ACEOF
23298 if ac_fn_cxx_try_compile "$LINENO"; then :
23299 glibcxx_cv_func__finitef_use=yes
23300 else
23301 glibcxx_cv_func__finitef_use=no
23302 fi
23303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23304 ac_ext=c
23305 ac_cpp='$CPP $CPPFLAGS'
23306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23309
23310
23311 fi
23312
23313 fi
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23315 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23316
23317 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23318 for ac_func in _finitef
23319 do :
23320 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23321 if test "x$ac_cv_func__finitef" = x""yes; then :
23322 cat >>confdefs.h <<_ACEOF
23323 #define HAVE__FINITEF 1
23324 _ACEOF
23325
23326 fi
23327 done
23328
23329 fi
23330 fi
23331
23332
23333
23334
23335
23336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23337 $as_echo_n "checking for long double trig functions... " >&6; }
23338 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23339 $as_echo_n "(cached) " >&6
23340 else
23341
23342
23343 ac_ext=cpp
23344 ac_cpp='$CXXCPP $CPPFLAGS'
23345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23348
23349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23350 /* end confdefs.h. */
23351 #include <math.h>
23352 int
23353 main ()
23354 {
23355 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23356 ;
23357 return 0;
23358 }
23359 _ACEOF
23360 if ac_fn_cxx_try_compile "$LINENO"; then :
23361 glibcxx_cv_func_long_double_trig_use=yes
23362 else
23363 glibcxx_cv_func_long_double_trig_use=no
23364 fi
23365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23366 ac_ext=c
23367 ac_cpp='$CPP $CPPFLAGS'
23368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23371
23372 fi
23373
23374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23375 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23376 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23377 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23378 do :
23379 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23380 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23381 eval as_val=\$$as_ac_var
23382 if test "x$as_val" = x""yes; then :
23383 cat >>confdefs.h <<_ACEOF
23384 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23385 _ACEOF
23386
23387 fi
23388 done
23389
23390 else
23391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23392 $as_echo_n "checking for _long double trig functions... " >&6; }
23393 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23394 $as_echo_n "(cached) " >&6
23395 else
23396
23397
23398 ac_ext=cpp
23399 ac_cpp='$CXXCPP $CPPFLAGS'
23400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23403
23404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23405 /* end confdefs.h. */
23406 #include <math.h>
23407 int
23408 main ()
23409 {
23410 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23411 ;
23412 return 0;
23413 }
23414 _ACEOF
23415 if ac_fn_cxx_try_compile "$LINENO"; then :
23416 glibcxx_cv_func__long_double_trig_use=yes
23417 else
23418 glibcxx_cv_func__long_double_trig_use=no
23419 fi
23420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23421 ac_ext=c
23422 ac_cpp='$CPP $CPPFLAGS'
23423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23426
23427 fi
23428
23429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23430 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23431 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23432 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23433 do :
23434 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23435 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23436 eval as_val=\$$as_ac_var
23437 if test "x$as_val" = x""yes; then :
23438 cat >>confdefs.h <<_ACEOF
23439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23440 _ACEOF
23441
23442 fi
23443 done
23444
23445 fi
23446 fi
23447
23448
23449
23450
23451
23452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23453 $as_echo_n "checking for long double round functions... " >&6; }
23454 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23455 $as_echo_n "(cached) " >&6
23456 else
23457
23458
23459 ac_ext=cpp
23460 ac_cpp='$CXXCPP $CPPFLAGS'
23461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23464
23465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23466 /* end confdefs.h. */
23467 #include <math.h>
23468 int
23469 main ()
23470 {
23471 ceill (0); floorl (0);
23472 ;
23473 return 0;
23474 }
23475 _ACEOF
23476 if ac_fn_cxx_try_compile "$LINENO"; then :
23477 glibcxx_cv_func_long_double_round_use=yes
23478 else
23479 glibcxx_cv_func_long_double_round_use=no
23480 fi
23481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23482 ac_ext=c
23483 ac_cpp='$CPP $CPPFLAGS'
23484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23487
23488 fi
23489
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23491 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23492 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23493 for ac_func in ceill floorl
23494 do :
23495 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23496 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23497 eval as_val=\$$as_ac_var
23498 if test "x$as_val" = x""yes; then :
23499 cat >>confdefs.h <<_ACEOF
23500 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23501 _ACEOF
23502
23503 fi
23504 done
23505
23506 else
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23508 $as_echo_n "checking for _long double round functions... " >&6; }
23509 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23510 $as_echo_n "(cached) " >&6
23511 else
23512
23513
23514 ac_ext=cpp
23515 ac_cpp='$CXXCPP $CPPFLAGS'
23516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23519
23520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23521 /* end confdefs.h. */
23522 #include <math.h>
23523 int
23524 main ()
23525 {
23526 _ceill (0); _floorl (0);
23527 ;
23528 return 0;
23529 }
23530 _ACEOF
23531 if ac_fn_cxx_try_compile "$LINENO"; then :
23532 glibcxx_cv_func__long_double_round_use=yes
23533 else
23534 glibcxx_cv_func__long_double_round_use=no
23535 fi
23536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23537 ac_ext=c
23538 ac_cpp='$CPP $CPPFLAGS'
23539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23542
23543 fi
23544
23545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23546 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23547 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23548 for ac_func in _ceill _floorl
23549 do :
23550 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23551 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23552 eval as_val=\$$as_ac_var
23553 if test "x$as_val" = x""yes; then :
23554 cat >>confdefs.h <<_ACEOF
23555 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23556 _ACEOF
23557
23558 fi
23559 done
23560
23561 fi
23562 fi
23563
23564
23565
23566
23567
23568
23569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23570 $as_echo_n "checking for isnanl declaration... " >&6; }
23571 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23572 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23573 $as_echo_n "(cached) " >&6
23574 else
23575
23576
23577 ac_ext=cpp
23578 ac_cpp='$CXXCPP $CPPFLAGS'
23579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23582
23583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23584 /* end confdefs.h. */
23585 #include <math.h>
23586 #ifdef HAVE_IEEEFP_H
23587 #include <ieeefp.h>
23588 #endif
23589
23590 int
23591 main ()
23592 {
23593 isnanl(0);
23594 ;
23595 return 0;
23596 }
23597 _ACEOF
23598 if ac_fn_cxx_try_compile "$LINENO"; then :
23599 glibcxx_cv_func_isnanl_use=yes
23600 else
23601 glibcxx_cv_func_isnanl_use=no
23602 fi
23603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23604 ac_ext=c
23605 ac_cpp='$CPP $CPPFLAGS'
23606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23609
23610
23611 fi
23612
23613 fi
23614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23615 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23616
23617 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23618 for ac_func in isnanl
23619 do :
23620 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23621 if test "x$ac_cv_func_isnanl" = x""yes; then :
23622 cat >>confdefs.h <<_ACEOF
23623 #define HAVE_ISNANL 1
23624 _ACEOF
23625
23626 fi
23627 done
23628
23629 else
23630
23631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23632 $as_echo_n "checking for _isnanl declaration... " >&6; }
23633 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23634 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23635 $as_echo_n "(cached) " >&6
23636 else
23637
23638
23639 ac_ext=cpp
23640 ac_cpp='$CXXCPP $CPPFLAGS'
23641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23644
23645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23646 /* end confdefs.h. */
23647 #include <math.h>
23648 #ifdef HAVE_IEEEFP_H
23649 #include <ieeefp.h>
23650 #endif
23651
23652 int
23653 main ()
23654 {
23655 _isnanl(0);
23656 ;
23657 return 0;
23658 }
23659 _ACEOF
23660 if ac_fn_cxx_try_compile "$LINENO"; then :
23661 glibcxx_cv_func__isnanl_use=yes
23662 else
23663 glibcxx_cv_func__isnanl_use=no
23664 fi
23665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 ac_ext=c
23667 ac_cpp='$CPP $CPPFLAGS'
23668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23671
23672
23673 fi
23674
23675 fi
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23677 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23678
23679 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23680 for ac_func in _isnanl
23681 do :
23682 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23683 if test "x$ac_cv_func__isnanl" = x""yes; then :
23684 cat >>confdefs.h <<_ACEOF
23685 #define HAVE__ISNANL 1
23686 _ACEOF
23687
23688 fi
23689 done
23690
23691 fi
23692 fi
23693
23694
23695
23696
23697
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23699 $as_echo_n "checking for isinfl declaration... " >&6; }
23700 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23701 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23702 $as_echo_n "(cached) " >&6
23703 else
23704
23705
23706 ac_ext=cpp
23707 ac_cpp='$CXXCPP $CPPFLAGS'
23708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23711
23712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23713 /* end confdefs.h. */
23714 #include <math.h>
23715 #ifdef HAVE_IEEEFP_H
23716 #include <ieeefp.h>
23717 #endif
23718
23719 int
23720 main ()
23721 {
23722 isinfl(0);
23723 ;
23724 return 0;
23725 }
23726 _ACEOF
23727 if ac_fn_cxx_try_compile "$LINENO"; then :
23728 glibcxx_cv_func_isinfl_use=yes
23729 else
23730 glibcxx_cv_func_isinfl_use=no
23731 fi
23732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23733 ac_ext=c
23734 ac_cpp='$CPP $CPPFLAGS'
23735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23738
23739
23740 fi
23741
23742 fi
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23744 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23745
23746 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23747 for ac_func in isinfl
23748 do :
23749 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23750 if test "x$ac_cv_func_isinfl" = x""yes; then :
23751 cat >>confdefs.h <<_ACEOF
23752 #define HAVE_ISINFL 1
23753 _ACEOF
23754
23755 fi
23756 done
23757
23758 else
23759
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23761 $as_echo_n "checking for _isinfl declaration... " >&6; }
23762 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23763 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23764 $as_echo_n "(cached) " >&6
23765 else
23766
23767
23768 ac_ext=cpp
23769 ac_cpp='$CXXCPP $CPPFLAGS'
23770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23773
23774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23775 /* end confdefs.h. */
23776 #include <math.h>
23777 #ifdef HAVE_IEEEFP_H
23778 #include <ieeefp.h>
23779 #endif
23780
23781 int
23782 main ()
23783 {
23784 _isinfl(0);
23785 ;
23786 return 0;
23787 }
23788 _ACEOF
23789 if ac_fn_cxx_try_compile "$LINENO"; then :
23790 glibcxx_cv_func__isinfl_use=yes
23791 else
23792 glibcxx_cv_func__isinfl_use=no
23793 fi
23794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23795 ac_ext=c
23796 ac_cpp='$CPP $CPPFLAGS'
23797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23800
23801
23802 fi
23803
23804 fi
23805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23806 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23807
23808 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23809 for ac_func in _isinfl
23810 do :
23811 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23812 if test "x$ac_cv_func__isinfl" = x""yes; then :
23813 cat >>confdefs.h <<_ACEOF
23814 #define HAVE__ISINFL 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 atan2l declaration" >&5
23828 $as_echo_n "checking for atan2l declaration... " >&6; }
23829 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23830 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23831 $as_echo_n "(cached) " >&6
23832 else
23833
23834
23835 ac_ext=cpp
23836 ac_cpp='$CXXCPP $CPPFLAGS'
23837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23840
23841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23842 /* end confdefs.h. */
23843 #include <math.h>
23844 int
23845 main ()
23846 {
23847 atan2l(0, 0);
23848 ;
23849 return 0;
23850 }
23851 _ACEOF
23852 if ac_fn_cxx_try_compile "$LINENO"; then :
23853 glibcxx_cv_func_atan2l_use=yes
23854 else
23855 glibcxx_cv_func_atan2l_use=no
23856 fi
23857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23858 ac_ext=c
23859 ac_cpp='$CPP $CPPFLAGS'
23860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23863
23864
23865 fi
23866
23867 fi
23868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23869 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23870
23871 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23872 for ac_func in atan2l
23873 do :
23874 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23875 if test "x$ac_cv_func_atan2l" = x""yes; then :
23876 cat >>confdefs.h <<_ACEOF
23877 #define HAVE_ATAN2L 1
23878 _ACEOF
23879
23880 fi
23881 done
23882
23883 else
23884
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23886 $as_echo_n "checking for _atan2l declaration... " >&6; }
23887 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23888 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23889 $as_echo_n "(cached) " >&6
23890 else
23891
23892
23893 ac_ext=cpp
23894 ac_cpp='$CXXCPP $CPPFLAGS'
23895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23898
23899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23900 /* end confdefs.h. */
23901 #include <math.h>
23902 int
23903 main ()
23904 {
23905 _atan2l(0, 0);
23906 ;
23907 return 0;
23908 }
23909 _ACEOF
23910 if ac_fn_cxx_try_compile "$LINENO"; then :
23911 glibcxx_cv_func__atan2l_use=yes
23912 else
23913 glibcxx_cv_func__atan2l_use=no
23914 fi
23915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23916 ac_ext=c
23917 ac_cpp='$CPP $CPPFLAGS'
23918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23921
23922
23923 fi
23924
23925 fi
23926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23927 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23928
23929 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23930 for ac_func in _atan2l
23931 do :
23932 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23933 if test "x$ac_cv_func__atan2l" = x""yes; then :
23934 cat >>confdefs.h <<_ACEOF
23935 #define HAVE__ATAN2L 1
23936 _ACEOF
23937
23938 fi
23939 done
23940
23941 fi
23942 fi
23943
23944
23945
23946
23947
23948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23949 $as_echo_n "checking for expl declaration... " >&6; }
23950 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23951 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23952 $as_echo_n "(cached) " >&6
23953 else
23954
23955
23956 ac_ext=cpp
23957 ac_cpp='$CXXCPP $CPPFLAGS'
23958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23961
23962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23963 /* end confdefs.h. */
23964 #include <math.h>
23965 #ifdef HAVE_IEEEFP_H
23966 #include <ieeefp.h>
23967 #endif
23968
23969 int
23970 main ()
23971 {
23972 expl(0);
23973 ;
23974 return 0;
23975 }
23976 _ACEOF
23977 if ac_fn_cxx_try_compile "$LINENO"; then :
23978 glibcxx_cv_func_expl_use=yes
23979 else
23980 glibcxx_cv_func_expl_use=no
23981 fi
23982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23983 ac_ext=c
23984 ac_cpp='$CPP $CPPFLAGS'
23985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23988
23989
23990 fi
23991
23992 fi
23993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23994 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23995
23996 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23997 for ac_func in expl
23998 do :
23999 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24000 if test "x$ac_cv_func_expl" = x""yes; then :
24001 cat >>confdefs.h <<_ACEOF
24002 #define HAVE_EXPL 1
24003 _ACEOF
24004
24005 fi
24006 done
24007
24008 else
24009
24010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24011 $as_echo_n "checking for _expl declaration... " >&6; }
24012 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24013 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24014 $as_echo_n "(cached) " >&6
24015 else
24016
24017
24018 ac_ext=cpp
24019 ac_cpp='$CXXCPP $CPPFLAGS'
24020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24023
24024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24025 /* end confdefs.h. */
24026 #include <math.h>
24027 #ifdef HAVE_IEEEFP_H
24028 #include <ieeefp.h>
24029 #endif
24030
24031 int
24032 main ()
24033 {
24034 _expl(0);
24035 ;
24036 return 0;
24037 }
24038 _ACEOF
24039 if ac_fn_cxx_try_compile "$LINENO"; then :
24040 glibcxx_cv_func__expl_use=yes
24041 else
24042 glibcxx_cv_func__expl_use=no
24043 fi
24044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24045 ac_ext=c
24046 ac_cpp='$CPP $CPPFLAGS'
24047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24050
24051
24052 fi
24053
24054 fi
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24056 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24057
24058 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24059 for ac_func in _expl
24060 do :
24061 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24062 if test "x$ac_cv_func__expl" = x""yes; then :
24063 cat >>confdefs.h <<_ACEOF
24064 #define HAVE__EXPL 1
24065 _ACEOF
24066
24067 fi
24068 done
24069
24070 fi
24071 fi
24072
24073
24074
24075
24076
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24078 $as_echo_n "checking for fabsl declaration... " >&6; }
24079 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24080 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24081 $as_echo_n "(cached) " >&6
24082 else
24083
24084
24085 ac_ext=cpp
24086 ac_cpp='$CXXCPP $CPPFLAGS'
24087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24090
24091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24092 /* end confdefs.h. */
24093 #include <math.h>
24094 #ifdef HAVE_IEEEFP_H
24095 #include <ieeefp.h>
24096 #endif
24097
24098 int
24099 main ()
24100 {
24101 fabsl(0);
24102 ;
24103 return 0;
24104 }
24105 _ACEOF
24106 if ac_fn_cxx_try_compile "$LINENO"; then :
24107 glibcxx_cv_func_fabsl_use=yes
24108 else
24109 glibcxx_cv_func_fabsl_use=no
24110 fi
24111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24112 ac_ext=c
24113 ac_cpp='$CPP $CPPFLAGS'
24114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24117
24118
24119 fi
24120
24121 fi
24122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24123 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24124
24125 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24126 for ac_func in fabsl
24127 do :
24128 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24129 if test "x$ac_cv_func_fabsl" = x""yes; then :
24130 cat >>confdefs.h <<_ACEOF
24131 #define HAVE_FABSL 1
24132 _ACEOF
24133
24134 fi
24135 done
24136
24137 else
24138
24139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24140 $as_echo_n "checking for _fabsl declaration... " >&6; }
24141 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24142 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24143 $as_echo_n "(cached) " >&6
24144 else
24145
24146
24147 ac_ext=cpp
24148 ac_cpp='$CXXCPP $CPPFLAGS'
24149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24152
24153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24154 /* end confdefs.h. */
24155 #include <math.h>
24156 #ifdef HAVE_IEEEFP_H
24157 #include <ieeefp.h>
24158 #endif
24159
24160 int
24161 main ()
24162 {
24163 _fabsl(0);
24164 ;
24165 return 0;
24166 }
24167 _ACEOF
24168 if ac_fn_cxx_try_compile "$LINENO"; then :
24169 glibcxx_cv_func__fabsl_use=yes
24170 else
24171 glibcxx_cv_func__fabsl_use=no
24172 fi
24173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24174 ac_ext=c
24175 ac_cpp='$CPP $CPPFLAGS'
24176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24179
24180
24181 fi
24182
24183 fi
24184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24185 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24186
24187 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24188 for ac_func in _fabsl
24189 do :
24190 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24191 if test "x$ac_cv_func__fabsl" = x""yes; then :
24192 cat >>confdefs.h <<_ACEOF
24193 #define HAVE__FABSL 1
24194 _ACEOF
24195
24196 fi
24197 done
24198
24199 fi
24200 fi
24201
24202
24203
24204
24205
24206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24207 $as_echo_n "checking for fmodl declaration... " >&6; }
24208 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24209 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24210 $as_echo_n "(cached) " >&6
24211 else
24212
24213
24214 ac_ext=cpp
24215 ac_cpp='$CXXCPP $CPPFLAGS'
24216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24219
24220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24221 /* end confdefs.h. */
24222 #include <math.h>
24223 int
24224 main ()
24225 {
24226 fmodl(0, 0);
24227 ;
24228 return 0;
24229 }
24230 _ACEOF
24231 if ac_fn_cxx_try_compile "$LINENO"; then :
24232 glibcxx_cv_func_fmodl_use=yes
24233 else
24234 glibcxx_cv_func_fmodl_use=no
24235 fi
24236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24237 ac_ext=c
24238 ac_cpp='$CPP $CPPFLAGS'
24239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24242
24243
24244 fi
24245
24246 fi
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24248 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24249
24250 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24251 for ac_func in fmodl
24252 do :
24253 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24254 if test "x$ac_cv_func_fmodl" = x""yes; then :
24255 cat >>confdefs.h <<_ACEOF
24256 #define HAVE_FMODL 1
24257 _ACEOF
24258
24259 fi
24260 done
24261
24262 else
24263
24264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24265 $as_echo_n "checking for _fmodl declaration... " >&6; }
24266 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24267 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24268 $as_echo_n "(cached) " >&6
24269 else
24270
24271
24272 ac_ext=cpp
24273 ac_cpp='$CXXCPP $CPPFLAGS'
24274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24277
24278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24279 /* end confdefs.h. */
24280 #include <math.h>
24281 int
24282 main ()
24283 {
24284 _fmodl(0, 0);
24285 ;
24286 return 0;
24287 }
24288 _ACEOF
24289 if ac_fn_cxx_try_compile "$LINENO"; then :
24290 glibcxx_cv_func__fmodl_use=yes
24291 else
24292 glibcxx_cv_func__fmodl_use=no
24293 fi
24294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24295 ac_ext=c
24296 ac_cpp='$CPP $CPPFLAGS'
24297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24300
24301
24302 fi
24303
24304 fi
24305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24306 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24307
24308 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24309 for ac_func in _fmodl
24310 do :
24311 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24312 if test "x$ac_cv_func__fmodl" = x""yes; then :
24313 cat >>confdefs.h <<_ACEOF
24314 #define HAVE__FMODL 1
24315 _ACEOF
24316
24317 fi
24318 done
24319
24320 fi
24321 fi
24322
24323
24324
24325
24326
24327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24328 $as_echo_n "checking for frexpl declaration... " >&6; }
24329 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24330 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24331 $as_echo_n "(cached) " >&6
24332 else
24333
24334
24335 ac_ext=cpp
24336 ac_cpp='$CXXCPP $CPPFLAGS'
24337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24340
24341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24342 /* end confdefs.h. */
24343 #include <math.h>
24344 int
24345 main ()
24346 {
24347 frexpl(0, 0);
24348 ;
24349 return 0;
24350 }
24351 _ACEOF
24352 if ac_fn_cxx_try_compile "$LINENO"; then :
24353 glibcxx_cv_func_frexpl_use=yes
24354 else
24355 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
24369 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24370
24371 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24372 for ac_func in frexpl
24373 do :
24374 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24375 if test "x$ac_cv_func_frexpl" = x""yes; then :
24376 cat >>confdefs.h <<_ACEOF
24377 #define HAVE_FREXPL 1
24378 _ACEOF
24379
24380 fi
24381 done
24382
24383 else
24384
24385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24386 $as_echo_n "checking for _frexpl declaration... " >&6; }
24387 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24388 if test "${glibcxx_cv_func__frexpl_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 int
24403 main ()
24404 {
24405 _frexpl(0, 0);
24406 ;
24407 return 0;
24408 }
24409 _ACEOF
24410 if ac_fn_cxx_try_compile "$LINENO"; then :
24411 glibcxx_cv_func__frexpl_use=yes
24412 else
24413 glibcxx_cv_func__frexpl_use=no
24414 fi
24415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24416 ac_ext=c
24417 ac_cpp='$CPP $CPPFLAGS'
24418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24421
24422
24423 fi
24424
24425 fi
24426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24427 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24428
24429 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24430 for ac_func in _frexpl
24431 do :
24432 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24433 if test "x$ac_cv_func__frexpl" = x""yes; then :
24434 cat >>confdefs.h <<_ACEOF
24435 #define HAVE__FREXPL 1
24436 _ACEOF
24437
24438 fi
24439 done
24440
24441 fi
24442 fi
24443
24444
24445
24446
24447
24448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24449 $as_echo_n "checking for hypotl declaration... " >&6; }
24450 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24451 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24452 $as_echo_n "(cached) " >&6
24453 else
24454
24455
24456 ac_ext=cpp
24457 ac_cpp='$CXXCPP $CPPFLAGS'
24458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24461
24462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24463 /* end confdefs.h. */
24464 #include <math.h>
24465 int
24466 main ()
24467 {
24468 hypotl(0, 0);
24469 ;
24470 return 0;
24471 }
24472 _ACEOF
24473 if ac_fn_cxx_try_compile "$LINENO"; then :
24474 glibcxx_cv_func_hypotl_use=yes
24475 else
24476 glibcxx_cv_func_hypotl_use=no
24477 fi
24478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24479 ac_ext=c
24480 ac_cpp='$CPP $CPPFLAGS'
24481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24484
24485
24486 fi
24487
24488 fi
24489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24490 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24491
24492 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24493 for ac_func in hypotl
24494 do :
24495 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24496 if test "x$ac_cv_func_hypotl" = x""yes; then :
24497 cat >>confdefs.h <<_ACEOF
24498 #define HAVE_HYPOTL 1
24499 _ACEOF
24500
24501 fi
24502 done
24503
24504 else
24505
24506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24507 $as_echo_n "checking for _hypotl declaration... " >&6; }
24508 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24509 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24510 $as_echo_n "(cached) " >&6
24511 else
24512
24513
24514 ac_ext=cpp
24515 ac_cpp='$CXXCPP $CPPFLAGS'
24516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24519
24520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24521 /* end confdefs.h. */
24522 #include <math.h>
24523 int
24524 main ()
24525 {
24526 _hypotl(0, 0);
24527 ;
24528 return 0;
24529 }
24530 _ACEOF
24531 if ac_fn_cxx_try_compile "$LINENO"; then :
24532 glibcxx_cv_func__hypotl_use=yes
24533 else
24534 glibcxx_cv_func__hypotl_use=no
24535 fi
24536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24537 ac_ext=c
24538 ac_cpp='$CPP $CPPFLAGS'
24539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24542
24543
24544 fi
24545
24546 fi
24547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24548 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24549
24550 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24551 for ac_func in _hypotl
24552 do :
24553 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24554 if test "x$ac_cv_func__hypotl" = x""yes; then :
24555 cat >>confdefs.h <<_ACEOF
24556 #define HAVE__HYPOTL 1
24557 _ACEOF
24558
24559 fi
24560 done
24561
24562 fi
24563 fi
24564
24565
24566
24567
24568
24569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24570 $as_echo_n "checking for ldexpl declaration... " >&6; }
24571 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24572 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24573 $as_echo_n "(cached) " >&6
24574 else
24575
24576
24577 ac_ext=cpp
24578 ac_cpp='$CXXCPP $CPPFLAGS'
24579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24582
24583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24584 /* end confdefs.h. */
24585 #include <math.h>
24586 int
24587 main ()
24588 {
24589 ldexpl(0, 0);
24590 ;
24591 return 0;
24592 }
24593 _ACEOF
24594 if ac_fn_cxx_try_compile "$LINENO"; then :
24595 glibcxx_cv_func_ldexpl_use=yes
24596 else
24597 glibcxx_cv_func_ldexpl_use=no
24598 fi
24599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24600 ac_ext=c
24601 ac_cpp='$CPP $CPPFLAGS'
24602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24605
24606
24607 fi
24608
24609 fi
24610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24611 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24612
24613 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24614 for ac_func in ldexpl
24615 do :
24616 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24617 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24618 cat >>confdefs.h <<_ACEOF
24619 #define HAVE_LDEXPL 1
24620 _ACEOF
24621
24622 fi
24623 done
24624
24625 else
24626
24627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24628 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24629 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24630 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24631 $as_echo_n "(cached) " >&6
24632 else
24633
24634
24635 ac_ext=cpp
24636 ac_cpp='$CXXCPP $CPPFLAGS'
24637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24640
24641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24642 /* end confdefs.h. */
24643 #include <math.h>
24644 int
24645 main ()
24646 {
24647 _ldexpl(0, 0);
24648 ;
24649 return 0;
24650 }
24651 _ACEOF
24652 if ac_fn_cxx_try_compile "$LINENO"; then :
24653 glibcxx_cv_func__ldexpl_use=yes
24654 else
24655 glibcxx_cv_func__ldexpl_use=no
24656 fi
24657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24658 ac_ext=c
24659 ac_cpp='$CPP $CPPFLAGS'
24660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24663
24664
24665 fi
24666
24667 fi
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24669 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24670
24671 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24672 for ac_func in _ldexpl
24673 do :
24674 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24675 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24676 cat >>confdefs.h <<_ACEOF
24677 #define HAVE__LDEXPL 1
24678 _ACEOF
24679
24680 fi
24681 done
24682
24683 fi
24684 fi
24685
24686
24687
24688
24689
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24691 $as_echo_n "checking for logl declaration... " >&6; }
24692 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24693 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24694 $as_echo_n "(cached) " >&6
24695 else
24696
24697
24698 ac_ext=cpp
24699 ac_cpp='$CXXCPP $CPPFLAGS'
24700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24703
24704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24705 /* end confdefs.h. */
24706 #include <math.h>
24707 #ifdef HAVE_IEEEFP_H
24708 #include <ieeefp.h>
24709 #endif
24710
24711 int
24712 main ()
24713 {
24714 logl(0);
24715 ;
24716 return 0;
24717 }
24718 _ACEOF
24719 if ac_fn_cxx_try_compile "$LINENO"; then :
24720 glibcxx_cv_func_logl_use=yes
24721 else
24722 glibcxx_cv_func_logl_use=no
24723 fi
24724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24725 ac_ext=c
24726 ac_cpp='$CPP $CPPFLAGS'
24727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24730
24731
24732 fi
24733
24734 fi
24735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24736 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24737
24738 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24739 for ac_func in logl
24740 do :
24741 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24742 if test "x$ac_cv_func_logl" = x""yes; then :
24743 cat >>confdefs.h <<_ACEOF
24744 #define HAVE_LOGL 1
24745 _ACEOF
24746
24747 fi
24748 done
24749
24750 else
24751
24752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24753 $as_echo_n "checking for _logl declaration... " >&6; }
24754 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24755 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24756 $as_echo_n "(cached) " >&6
24757 else
24758
24759
24760 ac_ext=cpp
24761 ac_cpp='$CXXCPP $CPPFLAGS'
24762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24765
24766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24767 /* end confdefs.h. */
24768 #include <math.h>
24769 #ifdef HAVE_IEEEFP_H
24770 #include <ieeefp.h>
24771 #endif
24772
24773 int
24774 main ()
24775 {
24776 _logl(0);
24777 ;
24778 return 0;
24779 }
24780 _ACEOF
24781 if ac_fn_cxx_try_compile "$LINENO"; then :
24782 glibcxx_cv_func__logl_use=yes
24783 else
24784 glibcxx_cv_func__logl_use=no
24785 fi
24786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24787 ac_ext=c
24788 ac_cpp='$CPP $CPPFLAGS'
24789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24792
24793
24794 fi
24795
24796 fi
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24798 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24799
24800 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24801 for ac_func in _logl
24802 do :
24803 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24804 if test "x$ac_cv_func__logl" = x""yes; then :
24805 cat >>confdefs.h <<_ACEOF
24806 #define HAVE__LOGL 1
24807 _ACEOF
24808
24809 fi
24810 done
24811
24812 fi
24813 fi
24814
24815
24816
24817
24818
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24820 $as_echo_n "checking for log10l declaration... " >&6; }
24821 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24822 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24823 $as_echo_n "(cached) " >&6
24824 else
24825
24826
24827 ac_ext=cpp
24828 ac_cpp='$CXXCPP $CPPFLAGS'
24829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24832
24833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24834 /* end confdefs.h. */
24835 #include <math.h>
24836 #ifdef HAVE_IEEEFP_H
24837 #include <ieeefp.h>
24838 #endif
24839
24840 int
24841 main ()
24842 {
24843 log10l(0);
24844 ;
24845 return 0;
24846 }
24847 _ACEOF
24848 if ac_fn_cxx_try_compile "$LINENO"; then :
24849 glibcxx_cv_func_log10l_use=yes
24850 else
24851 glibcxx_cv_func_log10l_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_log10l_use" >&5
24865 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24866
24867 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24868 for ac_func in log10l
24869 do :
24870 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24871 if test "x$ac_cv_func_log10l" = x""yes; then :
24872 cat >>confdefs.h <<_ACEOF
24873 #define HAVE_LOG10L 1
24874 _ACEOF
24875
24876 fi
24877 done
24878
24879 else
24880
24881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24882 $as_echo_n "checking for _log10l declaration... " >&6; }
24883 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24884 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
24899 #include <ieeefp.h>
24900 #endif
24901
24902 int
24903 main ()
24904 {
24905 _log10l(0);
24906 ;
24907 return 0;
24908 }
24909 _ACEOF
24910 if ac_fn_cxx_try_compile "$LINENO"; then :
24911 glibcxx_cv_func__log10l_use=yes
24912 else
24913 glibcxx_cv_func__log10l_use=no
24914 fi
24915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24916 ac_ext=c
24917 ac_cpp='$CPP $CPPFLAGS'
24918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24921
24922
24923 fi
24924
24925 fi
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24927 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24928
24929 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24930 for ac_func in _log10l
24931 do :
24932 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24933 if test "x$ac_cv_func__log10l" = x""yes; then :
24934 cat >>confdefs.h <<_ACEOF
24935 #define HAVE__LOG10L 1
24936 _ACEOF
24937
24938 fi
24939 done
24940
24941 fi
24942 fi
24943
24944
24945
24946
24947
24948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24949 $as_echo_n "checking for modfl declaration... " >&6; }
24950 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24951 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24952 $as_echo_n "(cached) " >&6
24953 else
24954
24955
24956 ac_ext=cpp
24957 ac_cpp='$CXXCPP $CPPFLAGS'
24958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24961
24962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24963 /* end confdefs.h. */
24964 #include <math.h>
24965 int
24966 main ()
24967 {
24968 modfl(0, 0);
24969 ;
24970 return 0;
24971 }
24972 _ACEOF
24973 if ac_fn_cxx_try_compile "$LINENO"; then :
24974 glibcxx_cv_func_modfl_use=yes
24975 else
24976 glibcxx_cv_func_modfl_use=no
24977 fi
24978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24979 ac_ext=c
24980 ac_cpp='$CPP $CPPFLAGS'
24981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24984
24985
24986 fi
24987
24988 fi
24989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24990 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24991
24992 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24993 for ac_func in modfl
24994 do :
24995 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24996 if test "x$ac_cv_func_modfl" = x""yes; then :
24997 cat >>confdefs.h <<_ACEOF
24998 #define HAVE_MODFL 1
24999 _ACEOF
25000
25001 fi
25002 done
25003
25004 else
25005
25006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25007 $as_echo_n "checking for _modfl declaration... " >&6; }
25008 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25009 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25010 $as_echo_n "(cached) " >&6
25011 else
25012
25013
25014 ac_ext=cpp
25015 ac_cpp='$CXXCPP $CPPFLAGS'
25016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25019
25020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25021 /* end confdefs.h. */
25022 #include <math.h>
25023 int
25024 main ()
25025 {
25026 _modfl(0, 0);
25027 ;
25028 return 0;
25029 }
25030 _ACEOF
25031 if ac_fn_cxx_try_compile "$LINENO"; then :
25032 glibcxx_cv_func__modfl_use=yes
25033 else
25034 glibcxx_cv_func__modfl_use=no
25035 fi
25036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25037 ac_ext=c
25038 ac_cpp='$CPP $CPPFLAGS'
25039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25042
25043
25044 fi
25045
25046 fi
25047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25048 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25049
25050 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25051 for ac_func in _modfl
25052 do :
25053 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25054 if test "x$ac_cv_func__modfl" = x""yes; then :
25055 cat >>confdefs.h <<_ACEOF
25056 #define HAVE__MODFL 1
25057 _ACEOF
25058
25059 fi
25060 done
25061
25062 fi
25063 fi
25064
25065
25066
25067
25068
25069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25070 $as_echo_n "checking for powl declaration... " >&6; }
25071 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25072 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25073 $as_echo_n "(cached) " >&6
25074 else
25075
25076
25077 ac_ext=cpp
25078 ac_cpp='$CXXCPP $CPPFLAGS'
25079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25082
25083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25084 /* end confdefs.h. */
25085 #include <math.h>
25086 int
25087 main ()
25088 {
25089 powl(0, 0);
25090 ;
25091 return 0;
25092 }
25093 _ACEOF
25094 if ac_fn_cxx_try_compile "$LINENO"; then :
25095 glibcxx_cv_func_powl_use=yes
25096 else
25097 glibcxx_cv_func_powl_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_powl_use" >&5
25111 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25112
25113 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25114 for ac_func in powl
25115 do :
25116 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25117 if test "x$ac_cv_func_powl" = x""yes; then :
25118 cat >>confdefs.h <<_ACEOF
25119 #define HAVE_POWL 1
25120 _ACEOF
25121
25122 fi
25123 done
25124
25125 else
25126
25127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25128 $as_echo_n "checking for _powl declaration... " >&6; }
25129 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25130 if test "${glibcxx_cv_func__powl_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 int
25145 main ()
25146 {
25147 _powl(0, 0);
25148 ;
25149 return 0;
25150 }
25151 _ACEOF
25152 if ac_fn_cxx_try_compile "$LINENO"; then :
25153 glibcxx_cv_func__powl_use=yes
25154 else
25155 glibcxx_cv_func__powl_use=no
25156 fi
25157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25158 ac_ext=c
25159 ac_cpp='$CPP $CPPFLAGS'
25160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25163
25164
25165 fi
25166
25167 fi
25168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25169 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25170
25171 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25172 for ac_func in _powl
25173 do :
25174 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25175 if test "x$ac_cv_func__powl" = x""yes; then :
25176 cat >>confdefs.h <<_ACEOF
25177 #define HAVE__POWL 1
25178 _ACEOF
25179
25180 fi
25181 done
25182
25183 fi
25184 fi
25185
25186
25187
25188
25189
25190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25191 $as_echo_n "checking for sqrtl declaration... " >&6; }
25192 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25193 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25194 $as_echo_n "(cached) " >&6
25195 else
25196
25197
25198 ac_ext=cpp
25199 ac_cpp='$CXXCPP $CPPFLAGS'
25200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25203
25204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25205 /* end confdefs.h. */
25206 #include <math.h>
25207 #ifdef HAVE_IEEEFP_H
25208 #include <ieeefp.h>
25209 #endif
25210
25211 int
25212 main ()
25213 {
25214 sqrtl(0);
25215 ;
25216 return 0;
25217 }
25218 _ACEOF
25219 if ac_fn_cxx_try_compile "$LINENO"; then :
25220 glibcxx_cv_func_sqrtl_use=yes
25221 else
25222 glibcxx_cv_func_sqrtl_use=no
25223 fi
25224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25225 ac_ext=c
25226 ac_cpp='$CPP $CPPFLAGS'
25227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25230
25231
25232 fi
25233
25234 fi
25235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25236 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25237
25238 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25239 for ac_func in sqrtl
25240 do :
25241 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25242 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25243 cat >>confdefs.h <<_ACEOF
25244 #define HAVE_SQRTL 1
25245 _ACEOF
25246
25247 fi
25248 done
25249
25250 else
25251
25252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25253 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25254 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25255 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25256 $as_echo_n "(cached) " >&6
25257 else
25258
25259
25260 ac_ext=cpp
25261 ac_cpp='$CXXCPP $CPPFLAGS'
25262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25265
25266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25267 /* end confdefs.h. */
25268 #include <math.h>
25269 #ifdef HAVE_IEEEFP_H
25270 #include <ieeefp.h>
25271 #endif
25272
25273 int
25274 main ()
25275 {
25276 _sqrtl(0);
25277 ;
25278 return 0;
25279 }
25280 _ACEOF
25281 if ac_fn_cxx_try_compile "$LINENO"; then :
25282 glibcxx_cv_func__sqrtl_use=yes
25283 else
25284 glibcxx_cv_func__sqrtl_use=no
25285 fi
25286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25287 ac_ext=c
25288 ac_cpp='$CPP $CPPFLAGS'
25289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25292
25293
25294 fi
25295
25296 fi
25297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25298 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25299
25300 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25301 for ac_func in _sqrtl
25302 do :
25303 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25304 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25305 cat >>confdefs.h <<_ACEOF
25306 #define HAVE__SQRTL 1
25307 _ACEOF
25308
25309 fi
25310 done
25311
25312 fi
25313 fi
25314
25315
25316
25317
25318
25319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25320 $as_echo_n "checking for sincosl declaration... " >&6; }
25321 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25322 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25323 $as_echo_n "(cached) " >&6
25324 else
25325
25326
25327 ac_ext=cpp
25328 ac_cpp='$CXXCPP $CPPFLAGS'
25329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25332
25333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25334 /* end confdefs.h. */
25335 #include <math.h>
25336 int
25337 main ()
25338 {
25339 sincosl(0, 0, 0);
25340 ;
25341 return 0;
25342 }
25343 _ACEOF
25344 if ac_fn_cxx_try_compile "$LINENO"; then :
25345 glibcxx_cv_func_sincosl_use=yes
25346 else
25347 glibcxx_cv_func_sincosl_use=no
25348 fi
25349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25350 ac_ext=c
25351 ac_cpp='$CPP $CPPFLAGS'
25352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25355
25356
25357 fi
25358
25359 fi
25360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25361 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25362
25363 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25364 for ac_func in sincosl
25365 do :
25366 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25367 if test "x$ac_cv_func_sincosl" = x""yes; then :
25368 cat >>confdefs.h <<_ACEOF
25369 #define HAVE_SINCOSL 1
25370 _ACEOF
25371
25372 fi
25373 done
25374
25375 else
25376
25377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25378 $as_echo_n "checking for _sincosl declaration... " >&6; }
25379 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25380 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25381 $as_echo_n "(cached) " >&6
25382 else
25383
25384
25385 ac_ext=cpp
25386 ac_cpp='$CXXCPP $CPPFLAGS'
25387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25390
25391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25392 /* end confdefs.h. */
25393 #include <math.h>
25394 int
25395 main ()
25396 {
25397 _sincosl(0, 0, 0);
25398 ;
25399 return 0;
25400 }
25401 _ACEOF
25402 if ac_fn_cxx_try_compile "$LINENO"; then :
25403 glibcxx_cv_func__sincosl_use=yes
25404 else
25405 glibcxx_cv_func__sincosl_use=no
25406 fi
25407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25408 ac_ext=c
25409 ac_cpp='$CPP $CPPFLAGS'
25410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25413
25414
25415 fi
25416
25417 fi
25418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25419 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25420
25421 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25422 for ac_func in _sincosl
25423 do :
25424 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25425 if test "x$ac_cv_func__sincosl" = x""yes; then :
25426 cat >>confdefs.h <<_ACEOF
25427 #define HAVE__SINCOSL 1
25428 _ACEOF
25429
25430 fi
25431 done
25432
25433 fi
25434 fi
25435
25436
25437
25438
25439
25440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25441 $as_echo_n "checking for finitel declaration... " >&6; }
25442 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25443 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25444 $as_echo_n "(cached) " >&6
25445 else
25446
25447
25448 ac_ext=cpp
25449 ac_cpp='$CXXCPP $CPPFLAGS'
25450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25453
25454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25455 /* end confdefs.h. */
25456 #include <math.h>
25457 #ifdef HAVE_IEEEFP_H
25458 #include <ieeefp.h>
25459 #endif
25460
25461 int
25462 main ()
25463 {
25464 finitel(0);
25465 ;
25466 return 0;
25467 }
25468 _ACEOF
25469 if ac_fn_cxx_try_compile "$LINENO"; then :
25470 glibcxx_cv_func_finitel_use=yes
25471 else
25472 glibcxx_cv_func_finitel_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_finitel_use" >&5
25486 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25487
25488 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25489 for ac_func in finitel
25490 do :
25491 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25492 if test "x$ac_cv_func_finitel" = x""yes; then :
25493 cat >>confdefs.h <<_ACEOF
25494 #define HAVE_FINITEL 1
25495 _ACEOF
25496
25497 fi
25498 done
25499
25500 else
25501
25502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25503 $as_echo_n "checking for _finitel declaration... " >&6; }
25504 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25505 if test "${glibcxx_cv_func__finitel_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 #ifdef HAVE_IEEEFP_H
25520 #include <ieeefp.h>
25521 #endif
25522
25523 int
25524 main ()
25525 {
25526 _finitel(0);
25527 ;
25528 return 0;
25529 }
25530 _ACEOF
25531 if ac_fn_cxx_try_compile "$LINENO"; then :
25532 glibcxx_cv_func__finitel_use=yes
25533 else
25534 glibcxx_cv_func__finitel_use=no
25535 fi
25536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25537 ac_ext=c
25538 ac_cpp='$CPP $CPPFLAGS'
25539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25542
25543
25544 fi
25545
25546 fi
25547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25548 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25549
25550 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25551 for ac_func in _finitel
25552 do :
25553 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25554 if test "x$ac_cv_func__finitel" = x""yes; then :
25555 cat >>confdefs.h <<_ACEOF
25556 #define HAVE__FINITEL 1
25557 _ACEOF
25558
25559 fi
25560 done
25561
25562 fi
25563 fi
25564
25565
25566
25567
25568 LIBS="$ac_save_LIBS"
25569 CXXFLAGS="$ac_save_CXXFLAGS"
25570
25571
25572 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25573 ac_save_CXXFLAGS="$CXXFLAGS"
25574 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25575
25576
25577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25578 $as_echo_n "checking for strtold declaration... " >&6; }
25579 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25580 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25581 $as_echo_n "(cached) " >&6
25582 else
25583
25584
25585 ac_ext=cpp
25586 ac_cpp='$CXXCPP $CPPFLAGS'
25587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25590
25591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25592 /* end confdefs.h. */
25593 #include <stdlib.h>
25594 int
25595 main ()
25596 {
25597 strtold(0, 0);
25598 ;
25599 return 0;
25600 }
25601 _ACEOF
25602 if ac_fn_cxx_try_compile "$LINENO"; then :
25603 glibcxx_cv_func_strtold_use=yes
25604 else
25605 glibcxx_cv_func_strtold_use=no
25606 fi
25607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25608 ac_ext=c
25609 ac_cpp='$CPP $CPPFLAGS'
25610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25613
25614
25615 fi
25616
25617 fi
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25619 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25620 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25621 for ac_func in strtold
25622 do :
25623 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25624 if test "x$ac_cv_func_strtold" = x""yes; then :
25625 cat >>confdefs.h <<_ACEOF
25626 #define HAVE_STRTOLD 1
25627 _ACEOF
25628
25629 fi
25630 done
25631
25632 fi
25633
25634
25635
25636
25637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25638 $as_echo_n "checking for strtof declaration... " >&6; }
25639 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25640 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25641 $as_echo_n "(cached) " >&6
25642 else
25643
25644
25645 ac_ext=cpp
25646 ac_cpp='$CXXCPP $CPPFLAGS'
25647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25650
25651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25652 /* end confdefs.h. */
25653 #include <stdlib.h>
25654 int
25655 main ()
25656 {
25657 strtof(0, 0);
25658 ;
25659 return 0;
25660 }
25661 _ACEOF
25662 if ac_fn_cxx_try_compile "$LINENO"; then :
25663 glibcxx_cv_func_strtof_use=yes
25664 else
25665 glibcxx_cv_func_strtof_use=no
25666 fi
25667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25668 ac_ext=c
25669 ac_cpp='$CPP $CPPFLAGS'
25670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25673
25674
25675 fi
25676
25677 fi
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25679 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25680 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25681 for ac_func in strtof
25682 do :
25683 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25684 if test "x$ac_cv_func_strtof" = x""yes; then :
25685 cat >>confdefs.h <<_ACEOF
25686 #define HAVE_STRTOF 1
25687 _ACEOF
25688
25689 fi
25690 done
25691
25692 fi
25693
25694
25695
25696
25697 CXXFLAGS="$ac_save_CXXFLAGS"
25698
25699
25700 # For /dev/random and /dev/urandom for TR1.
25701
25702
25703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25704 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25705 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25706 $as_echo_n "(cached) " >&6
25707 else
25708
25709 if test -r /dev/random && test -r /dev/urandom; then
25710 glibcxx_cv_random_tr1=yes;
25711 else
25712 glibcxx_cv_random_tr1=no;
25713 fi
25714
25715 fi
25716
25717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25718 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25719
25720 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25721
25722 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25723
25724 fi
25725
25726
25727
25728 # For TLS support.
25729
25730
25731 # Check whether --enable-tls was given.
25732 if test "${enable_tls+set}" = set; then :
25733 enableval=$enable_tls;
25734 case "$enableval" in
25735 yes|no) ;;
25736 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25737 esac
25738
25739 else
25740 enable_tls=yes
25741 fi
25742
25743
25744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25745 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25746 if test "${gcc_cv_have_tls+set}" = set; then :
25747 $as_echo_n "(cached) " >&6
25748 else
25749
25750 if test "$cross_compiling" = yes; then :
25751 if test x$gcc_no_link = xyes; then
25752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25753 fi
25754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25755 /* end confdefs.h. */
25756 __thread int a; int b; int main() { return a = b; }
25757 _ACEOF
25758 if ac_fn_c_try_link "$LINENO"; then :
25759 chktls_save_LDFLAGS="$LDFLAGS"
25760 case $host in
25761 *-*-linux*)
25762 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25763 ;;
25764 esac
25765 chktls_save_CFLAGS="$CFLAGS"
25766 CFLAGS="-fPIC $CFLAGS"
25767 if test x$gcc_no_link = xyes; then
25768 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25769 fi
25770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25771 /* end confdefs.h. */
25772 int f() { return 0; }
25773 _ACEOF
25774 if ac_fn_c_try_link "$LINENO"; then :
25775 if test x$gcc_no_link = xyes; then
25776 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25777 fi
25778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25779 /* end confdefs.h. */
25780 __thread int a; int b; int f() { return a = b; }
25781 _ACEOF
25782 if ac_fn_c_try_link "$LINENO"; then :
25783 gcc_cv_have_tls=yes
25784 else
25785 gcc_cv_have_tls=no
25786 fi
25787 rm -f core conftest.err conftest.$ac_objext \
25788 conftest$ac_exeext conftest.$ac_ext
25789 else
25790 gcc_cv_have_tls=yes
25791 fi
25792 rm -f core conftest.err conftest.$ac_objext \
25793 conftest$ac_exeext conftest.$ac_ext
25794 CFLAGS="$chktls_save_CFLAGS"
25795 LDFLAGS="$chktls_save_LDFLAGS"
25796 else
25797 gcc_cv_have_tls=no
25798 fi
25799 rm -f core conftest.err conftest.$ac_objext \
25800 conftest$ac_exeext conftest.$ac_ext
25801
25802
25803 else
25804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25805 /* end confdefs.h. */
25806 __thread int a; int b; int main() { return a = b; }
25807 _ACEOF
25808 if ac_fn_c_try_run "$LINENO"; then :
25809 chktls_save_LDFLAGS="$LDFLAGS"
25810 LDFLAGS="-static $LDFLAGS"
25811 if test x$gcc_no_link = xyes; then
25812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25813 fi
25814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25815 /* end confdefs.h. */
25816 int main() { return 0; }
25817 _ACEOF
25818 if ac_fn_c_try_link "$LINENO"; then :
25819 if test "$cross_compiling" = yes; then :
25820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25822 as_fn_error "cannot run test program while cross compiling
25823 See \`config.log' for more details." "$LINENO" 5; }
25824 else
25825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25826 /* end confdefs.h. */
25827 __thread int a; int b; int main() { return a = b; }
25828 _ACEOF
25829 if ac_fn_c_try_run "$LINENO"; then :
25830 gcc_cv_have_tls=yes
25831 else
25832 gcc_cv_have_tls=no
25833 fi
25834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25835 conftest.$ac_objext conftest.beam conftest.$ac_ext
25836 fi
25837
25838 else
25839 gcc_cv_have_tls=yes
25840 fi
25841 rm -f core conftest.err conftest.$ac_objext \
25842 conftest$ac_exeext conftest.$ac_ext
25843 LDFLAGS="$chktls_save_LDFLAGS"
25844 if test $gcc_cv_have_tls = yes; then
25845 chktls_save_CFLAGS="$CFLAGS"
25846 thread_CFLAGS=failed
25847 for flag in '' '-pthread' '-lpthread'; do
25848 CFLAGS="$flag $chktls_save_CFLAGS"
25849 if test x$gcc_no_link = xyes; then
25850 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25851 fi
25852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25853 /* end confdefs.h. */
25854 #include <pthread.h>
25855 void *g(void *d) { return NULL; }
25856 int
25857 main ()
25858 {
25859 pthread_t t; pthread_create(&t,NULL,g,NULL);
25860 ;
25861 return 0;
25862 }
25863 _ACEOF
25864 if ac_fn_c_try_link "$LINENO"; then :
25865 thread_CFLAGS="$flag"
25866 fi
25867 rm -f core conftest.err conftest.$ac_objext \
25868 conftest$ac_exeext conftest.$ac_ext
25869 if test "X$thread_CFLAGS" != Xfailed; then
25870 break
25871 fi
25872 done
25873 CFLAGS="$chktls_save_CFLAGS"
25874 if test "X$thread_CFLAGS" != Xfailed; then
25875 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25876 if test "$cross_compiling" = yes; then :
25877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25879 as_fn_error "cannot run test program while cross compiling
25880 See \`config.log' for more details." "$LINENO" 5; }
25881 else
25882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25883 /* end confdefs.h. */
25884 #include <pthread.h>
25885 __thread int a;
25886 static int *volatile a_in_other_thread;
25887 static void *
25888 thread_func (void *arg)
25889 {
25890 a_in_other_thread = &a;
25891 return (void *)0;
25892 }
25893 int
25894 main ()
25895 {
25896 pthread_t thread;
25897 void *thread_retval;
25898 int *volatile a_in_main_thread;
25899 a_in_main_thread = &a;
25900 if (pthread_create (&thread, (pthread_attr_t *)0,
25901 thread_func, (void *)0))
25902 return 0;
25903 if (pthread_join (thread, &thread_retval))
25904 return 0;
25905 return (a_in_other_thread == a_in_main_thread);
25906 ;
25907 return 0;
25908 }
25909 _ACEOF
25910 if ac_fn_c_try_run "$LINENO"; then :
25911 gcc_cv_have_tls=yes
25912 else
25913 gcc_cv_have_tls=no
25914 fi
25915 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25916 conftest.$ac_objext conftest.beam conftest.$ac_ext
25917 fi
25918
25919 CFLAGS="$chktls_save_CFLAGS"
25920 fi
25921 fi
25922 else
25923 gcc_cv_have_tls=no
25924 fi
25925 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25926 conftest.$ac_objext conftest.beam conftest.$ac_ext
25927 fi
25928
25929 fi
25930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25931 $as_echo "$gcc_cv_have_tls" >&6; }
25932 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25933
25934 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25935
25936 fi
25937
25938 # For iconv support.
25939
25940 if test "X$prefix" = "XNONE"; then
25941 acl_final_prefix="$ac_default_prefix"
25942 else
25943 acl_final_prefix="$prefix"
25944 fi
25945 if test "X$exec_prefix" = "XNONE"; then
25946 acl_final_exec_prefix='${prefix}'
25947 else
25948 acl_final_exec_prefix="$exec_prefix"
25949 fi
25950 acl_save_prefix="$prefix"
25951 prefix="$acl_final_prefix"
25952 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25953 prefix="$acl_save_prefix"
25954
25955
25956 # Check whether --with-gnu-ld was given.
25957 if test "${with_gnu_ld+set}" = set; then :
25958 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25959 else
25960 with_gnu_ld=no
25961 fi
25962
25963 # Prepare PATH_SEPARATOR.
25964 # The user is always right.
25965 if test "${PATH_SEPARATOR+set}" != set; then
25966 echo "#! /bin/sh" >conf$$.sh
25967 echo "exit 0" >>conf$$.sh
25968 chmod +x conf$$.sh
25969 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25970 PATH_SEPARATOR=';'
25971 else
25972 PATH_SEPARATOR=:
25973 fi
25974 rm -f conf$$.sh
25975 fi
25976 ac_prog=ld
25977 if test "$GCC" = yes; then
25978 # Check if gcc -print-prog-name=ld gives a path.
25979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25980 $as_echo_n "checking for ld used by GCC... " >&6; }
25981 case $host in
25982 *-*-mingw*)
25983 # gcc leaves a trailing carriage return which upsets mingw
25984 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25985 *)
25986 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25987 esac
25988 case $ac_prog in
25989 # Accept absolute paths.
25990 [\\/]* | [A-Za-z]:[\\/]*)
25991 re_direlt='/[^/][^/]*/\.\./'
25992 # Canonicalize the path of ld
25993 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25994 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25995 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25996 done
25997 test -z "$LD" && LD="$ac_prog"
25998 ;;
25999 "")
26000 # If it fails, then pretend we aren't using GCC.
26001 ac_prog=ld
26002 ;;
26003 *)
26004 # If it is relative, then search for the first ld in PATH.
26005 with_gnu_ld=unknown
26006 ;;
26007 esac
26008 elif test "$with_gnu_ld" = yes; then
26009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26010 $as_echo_n "checking for GNU ld... " >&6; }
26011 else
26012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26013 $as_echo_n "checking for non-GNU ld... " >&6; }
26014 fi
26015 if test "${acl_cv_path_LD+set}" = set; then :
26016 $as_echo_n "(cached) " >&6
26017 else
26018 if test -z "$LD"; then
26019 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26020 for ac_dir in $PATH; do
26021 test -z "$ac_dir" && ac_dir=.
26022 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26023 acl_cv_path_LD="$ac_dir/$ac_prog"
26024 # Check to see if the program is GNU ld. I'd rather use --version,
26025 # but apparently some GNU ld's only accept -v.
26026 # Break only if it was the GNU/non-GNU ld that we prefer.
26027 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26028 test "$with_gnu_ld" != no && break
26029 else
26030 test "$with_gnu_ld" != yes && break
26031 fi
26032 fi
26033 done
26034 IFS="$ac_save_ifs"
26035 else
26036 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26037 fi
26038 fi
26039
26040 LD="$acl_cv_path_LD"
26041 if test -n "$LD"; then
26042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26043 $as_echo "$LD" >&6; }
26044 else
26045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26046 $as_echo "no" >&6; }
26047 fi
26048 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26050 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26051 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26052 $as_echo_n "(cached) " >&6
26053 else
26054 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26055 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26056 acl_cv_prog_gnu_ld=yes
26057 else
26058 acl_cv_prog_gnu_ld=no
26059 fi
26060 fi
26061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26062 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26063 with_gnu_ld=$acl_cv_prog_gnu_ld
26064
26065
26066
26067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26068 $as_echo_n "checking for shared library run path origin... " >&6; }
26069 if test "${acl_cv_rpath+set}" = set; then :
26070 $as_echo_n "(cached) " >&6
26071 else
26072
26073 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26074 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26075 . ./conftest.sh
26076 rm -f ./conftest.sh
26077 acl_cv_rpath=done
26078
26079 fi
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26081 $as_echo "$acl_cv_rpath" >&6; }
26082 wl="$acl_cv_wl"
26083 libext="$acl_cv_libext"
26084 shlibext="$acl_cv_shlibext"
26085 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26086 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26087 hardcode_direct="$acl_cv_hardcode_direct"
26088 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26089 # Check whether --enable-rpath was given.
26090 if test "${enable_rpath+set}" = set; then :
26091 enableval=$enable_rpath; :
26092 else
26093 enable_rpath=yes
26094 fi
26095
26096
26097
26098
26099
26100
26101
26102
26103 use_additional=yes
26104
26105 acl_save_prefix="$prefix"
26106 prefix="$acl_final_prefix"
26107 acl_save_exec_prefix="$exec_prefix"
26108 exec_prefix="$acl_final_exec_prefix"
26109
26110 eval additional_includedir=\"$includedir\"
26111 eval additional_libdir=\"$libdir\"
26112
26113 exec_prefix="$acl_save_exec_prefix"
26114 prefix="$acl_save_prefix"
26115
26116
26117 # Check whether --with-libiconv-prefix was given.
26118 if test "${with_libiconv_prefix+set}" = set; then :
26119 withval=$with_libiconv_prefix;
26120 if test "X$withval" = "Xno"; then
26121 use_additional=no
26122 else
26123 if test "X$withval" = "X"; then
26124
26125 acl_save_prefix="$prefix"
26126 prefix="$acl_final_prefix"
26127 acl_save_exec_prefix="$exec_prefix"
26128 exec_prefix="$acl_final_exec_prefix"
26129
26130 eval additional_includedir=\"$includedir\"
26131 eval additional_libdir=\"$libdir\"
26132
26133 exec_prefix="$acl_save_exec_prefix"
26134 prefix="$acl_save_prefix"
26135
26136 else
26137 additional_includedir="$withval/include"
26138 additional_libdir="$withval/lib"
26139 fi
26140 fi
26141
26142 fi
26143
26144 LIBICONV=
26145 LTLIBICONV=
26146 INCICONV=
26147 rpathdirs=
26148 ltrpathdirs=
26149 names_already_handled=
26150 names_next_round='iconv '
26151 while test -n "$names_next_round"; do
26152 names_this_round="$names_next_round"
26153 names_next_round=
26154 for name in $names_this_round; do
26155 already_handled=
26156 for n in $names_already_handled; do
26157 if test "$n" = "$name"; then
26158 already_handled=yes
26159 break
26160 fi
26161 done
26162 if test -z "$already_handled"; then
26163 names_already_handled="$names_already_handled $name"
26164 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26165 eval value=\"\$HAVE_LIB$uppername\"
26166 if test -n "$value"; then
26167 if test "$value" = yes; then
26168 eval value=\"\$LIB$uppername\"
26169 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26170 eval value=\"\$LTLIB$uppername\"
26171 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26172 else
26173 :
26174 fi
26175 else
26176 found_dir=
26177 found_la=
26178 found_so=
26179 found_a=
26180 if test $use_additional = yes; then
26181 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26182 found_dir="$additional_libdir"
26183 found_so="$additional_libdir/lib$name.$shlibext"
26184 if test -f "$additional_libdir/lib$name.la"; then
26185 found_la="$additional_libdir/lib$name.la"
26186 fi
26187 else
26188 if test -f "$additional_libdir/lib$name.$libext"; then
26189 found_dir="$additional_libdir"
26190 found_a="$additional_libdir/lib$name.$libext"
26191 if test -f "$additional_libdir/lib$name.la"; then
26192 found_la="$additional_libdir/lib$name.la"
26193 fi
26194 fi
26195 fi
26196 fi
26197 if test "X$found_dir" = "X"; then
26198 for x in $LDFLAGS $LTLIBICONV; do
26199
26200 acl_save_prefix="$prefix"
26201 prefix="$acl_final_prefix"
26202 acl_save_exec_prefix="$exec_prefix"
26203 exec_prefix="$acl_final_exec_prefix"
26204 eval x=\"$x\"
26205 exec_prefix="$acl_save_exec_prefix"
26206 prefix="$acl_save_prefix"
26207
26208 case "$x" in
26209 -L*)
26210 dir=`echo "X$x" | sed -e 's/^X-L//'`
26211 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26212 found_dir="$dir"
26213 found_so="$dir/lib$name.$shlibext"
26214 if test -f "$dir/lib$name.la"; then
26215 found_la="$dir/lib$name.la"
26216 fi
26217 else
26218 if test -f "$dir/lib$name.$libext"; then
26219 found_dir="$dir"
26220 found_a="$dir/lib$name.$libext"
26221 if test -f "$dir/lib$name.la"; then
26222 found_la="$dir/lib$name.la"
26223 fi
26224 fi
26225 fi
26226 ;;
26227 esac
26228 if test "X$found_dir" != "X"; then
26229 break
26230 fi
26231 done
26232 fi
26233 if test "X$found_dir" != "X"; then
26234 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26235 if test "X$found_so" != "X"; then
26236 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26237 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26238 else
26239 haveit=
26240 for x in $ltrpathdirs; do
26241 if test "X$x" = "X$found_dir"; then
26242 haveit=yes
26243 break
26244 fi
26245 done
26246 if test -z "$haveit"; then
26247 ltrpathdirs="$ltrpathdirs $found_dir"
26248 fi
26249 if test "$hardcode_direct" = yes; then
26250 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26251 else
26252 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26253 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26254 haveit=
26255 for x in $rpathdirs; do
26256 if test "X$x" = "X$found_dir"; then
26257 haveit=yes
26258 break
26259 fi
26260 done
26261 if test -z "$haveit"; then
26262 rpathdirs="$rpathdirs $found_dir"
26263 fi
26264 else
26265 haveit=
26266 for x in $LDFLAGS $LIBICONV; do
26267
26268 acl_save_prefix="$prefix"
26269 prefix="$acl_final_prefix"
26270 acl_save_exec_prefix="$exec_prefix"
26271 exec_prefix="$acl_final_exec_prefix"
26272 eval x=\"$x\"
26273 exec_prefix="$acl_save_exec_prefix"
26274 prefix="$acl_save_prefix"
26275
26276 if test "X$x" = "X-L$found_dir"; then
26277 haveit=yes
26278 break
26279 fi
26280 done
26281 if test -z "$haveit"; then
26282 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26283 fi
26284 if test "$hardcode_minus_L" != no; then
26285 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26286 else
26287 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26288 fi
26289 fi
26290 fi
26291 fi
26292 else
26293 if test "X$found_a" != "X"; then
26294 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26295 else
26296 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26297 fi
26298 fi
26299 additional_includedir=
26300 case "$found_dir" in
26301 */lib | */lib/)
26302 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26303 additional_includedir="$basedir/include"
26304 ;;
26305 esac
26306 if test "X$additional_includedir" != "X"; then
26307 if test "X$additional_includedir" != "X/usr/include"; then
26308 haveit=
26309 if test "X$additional_includedir" = "X/usr/local/include"; then
26310 if test -n "$GCC"; then
26311 case $host_os in
26312 linux*) haveit=yes;;
26313 esac
26314 fi
26315 fi
26316 if test -z "$haveit"; then
26317 for x in $CPPFLAGS $INCICONV; do
26318
26319 acl_save_prefix="$prefix"
26320 prefix="$acl_final_prefix"
26321 acl_save_exec_prefix="$exec_prefix"
26322 exec_prefix="$acl_final_exec_prefix"
26323 eval x=\"$x\"
26324 exec_prefix="$acl_save_exec_prefix"
26325 prefix="$acl_save_prefix"
26326
26327 if test "X$x" = "X-I$additional_includedir"; then
26328 haveit=yes
26329 break
26330 fi
26331 done
26332 if test -z "$haveit"; then
26333 if test -d "$additional_includedir"; then
26334 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26335 fi
26336 fi
26337 fi
26338 fi
26339 fi
26340 if test -n "$found_la"; then
26341 save_libdir="$libdir"
26342 case "$found_la" in
26343 */* | *\\*) . "$found_la" ;;
26344 *) . "./$found_la" ;;
26345 esac
26346 libdir="$save_libdir"
26347 for dep in $dependency_libs; do
26348 case "$dep" in
26349 -L*)
26350 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26351 if test "X$additional_libdir" != "X/usr/lib"; then
26352 haveit=
26353 if test "X$additional_libdir" = "X/usr/local/lib"; then
26354 if test -n "$GCC"; then
26355 case $host_os in
26356 linux*) haveit=yes;;
26357 esac
26358 fi
26359 fi
26360 if test -z "$haveit"; then
26361 haveit=
26362 for x in $LDFLAGS $LIBICONV; do
26363
26364 acl_save_prefix="$prefix"
26365 prefix="$acl_final_prefix"
26366 acl_save_exec_prefix="$exec_prefix"
26367 exec_prefix="$acl_final_exec_prefix"
26368 eval x=\"$x\"
26369 exec_prefix="$acl_save_exec_prefix"
26370 prefix="$acl_save_prefix"
26371
26372 if test "X$x" = "X-L$additional_libdir"; then
26373 haveit=yes
26374 break
26375 fi
26376 done
26377 if test -z "$haveit"; then
26378 if test -d "$additional_libdir"; then
26379 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26380 fi
26381 fi
26382 haveit=
26383 for x in $LDFLAGS $LTLIBICONV; do
26384
26385 acl_save_prefix="$prefix"
26386 prefix="$acl_final_prefix"
26387 acl_save_exec_prefix="$exec_prefix"
26388 exec_prefix="$acl_final_exec_prefix"
26389 eval x=\"$x\"
26390 exec_prefix="$acl_save_exec_prefix"
26391 prefix="$acl_save_prefix"
26392
26393 if test "X$x" = "X-L$additional_libdir"; then
26394 haveit=yes
26395 break
26396 fi
26397 done
26398 if test -z "$haveit"; then
26399 if test -d "$additional_libdir"; then
26400 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26401 fi
26402 fi
26403 fi
26404 fi
26405 ;;
26406 -R*)
26407 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26408 if test "$enable_rpath" != no; then
26409 haveit=
26410 for x in $rpathdirs; do
26411 if test "X$x" = "X$dir"; then
26412 haveit=yes
26413 break
26414 fi
26415 done
26416 if test -z "$haveit"; then
26417 rpathdirs="$rpathdirs $dir"
26418 fi
26419 haveit=
26420 for x in $ltrpathdirs; do
26421 if test "X$x" = "X$dir"; then
26422 haveit=yes
26423 break
26424 fi
26425 done
26426 if test -z "$haveit"; then
26427 ltrpathdirs="$ltrpathdirs $dir"
26428 fi
26429 fi
26430 ;;
26431 -l*)
26432 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26433 ;;
26434 *.la)
26435 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26436 ;;
26437 *)
26438 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26439 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26440 ;;
26441 esac
26442 done
26443 fi
26444 else
26445 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26446 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26447 fi
26448 fi
26449 fi
26450 done
26451 done
26452 if test "X$rpathdirs" != "X"; then
26453 if test -n "$hardcode_libdir_separator"; then
26454 alldirs=
26455 for found_dir in $rpathdirs; do
26456 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26457 done
26458 acl_save_libdir="$libdir"
26459 libdir="$alldirs"
26460 eval flag=\"$hardcode_libdir_flag_spec\"
26461 libdir="$acl_save_libdir"
26462 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26463 else
26464 for found_dir in $rpathdirs; do
26465 acl_save_libdir="$libdir"
26466 libdir="$found_dir"
26467 eval flag=\"$hardcode_libdir_flag_spec\"
26468 libdir="$acl_save_libdir"
26469 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26470 done
26471 fi
26472 fi
26473 if test "X$ltrpathdirs" != "X"; then
26474 for found_dir in $ltrpathdirs; do
26475 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26476 done
26477 fi
26478
26479
26480
26481
26482
26483
26484
26485 am_save_CPPFLAGS="$CPPFLAGS"
26486
26487 for element in $INCICONV; do
26488 haveit=
26489 for x in $CPPFLAGS; do
26490
26491 acl_save_prefix="$prefix"
26492 prefix="$acl_final_prefix"
26493 acl_save_exec_prefix="$exec_prefix"
26494 exec_prefix="$acl_final_exec_prefix"
26495 eval x=\"$x\"
26496 exec_prefix="$acl_save_exec_prefix"
26497 prefix="$acl_save_prefix"
26498
26499 if test "X$x" = "X$element"; then
26500 haveit=yes
26501 break
26502 fi
26503 done
26504 if test -z "$haveit"; then
26505 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26506 fi
26507 done
26508
26509
26510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26511 $as_echo_n "checking for iconv... " >&6; }
26512 if test "${am_cv_func_iconv+set}" = set; then :
26513 $as_echo_n "(cached) " >&6
26514 else
26515
26516 am_cv_func_iconv="no, consider installing GNU libiconv"
26517 am_cv_lib_iconv=no
26518 if test x$gcc_no_link = xyes; then
26519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26520 fi
26521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26522 /* end confdefs.h. */
26523 #include <stdlib.h>
26524 #include <iconv.h>
26525 int
26526 main ()
26527 {
26528 iconv_t cd = iconv_open("","");
26529 iconv(cd,NULL,NULL,NULL,NULL);
26530 iconv_close(cd);
26531 ;
26532 return 0;
26533 }
26534 _ACEOF
26535 if ac_fn_c_try_link "$LINENO"; then :
26536 am_cv_func_iconv=yes
26537 fi
26538 rm -f core conftest.err conftest.$ac_objext \
26539 conftest$ac_exeext conftest.$ac_ext
26540 if test "$am_cv_func_iconv" != yes; then
26541 am_save_LIBS="$LIBS"
26542 LIBS="$LIBS $LIBICONV"
26543 if test x$gcc_no_link = xyes; then
26544 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26545 fi
26546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26547 /* end confdefs.h. */
26548 #include <stdlib.h>
26549 #include <iconv.h>
26550 int
26551 main ()
26552 {
26553 iconv_t cd = iconv_open("","");
26554 iconv(cd,NULL,NULL,NULL,NULL);
26555 iconv_close(cd);
26556 ;
26557 return 0;
26558 }
26559 _ACEOF
26560 if ac_fn_c_try_link "$LINENO"; then :
26561 am_cv_lib_iconv=yes
26562 am_cv_func_iconv=yes
26563 fi
26564 rm -f core conftest.err conftest.$ac_objext \
26565 conftest$ac_exeext conftest.$ac_ext
26566 LIBS="$am_save_LIBS"
26567 fi
26568
26569 fi
26570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26571 $as_echo "$am_cv_func_iconv" >&6; }
26572 if test "$am_cv_func_iconv" = yes; then
26573
26574 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26575
26576 fi
26577 if test "$am_cv_lib_iconv" = yes; then
26578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26579 $as_echo_n "checking how to link with libiconv... " >&6; }
26580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26581 $as_echo "$LIBICONV" >&6; }
26582 else
26583 CPPFLAGS="$am_save_CPPFLAGS"
26584 LIBICONV=
26585 LTLIBICONV=
26586 fi
26587
26588
26589
26590 if test "$am_cv_func_iconv" = yes; then
26591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26592 $as_echo_n "checking for iconv declaration... " >&6; }
26593 if test "${am_cv_proto_iconv+set}" = set; then :
26594 $as_echo_n "(cached) " >&6
26595 else
26596
26597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26598 /* end confdefs.h. */
26599
26600 #include <stdlib.h>
26601 #include <iconv.h>
26602 extern
26603 #ifdef __cplusplus
26604 "C"
26605 #endif
26606 #if defined(__STDC__) || defined(__cplusplus)
26607 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26608 #else
26609 size_t iconv();
26610 #endif
26611
26612 int
26613 main ()
26614 {
26615
26616 ;
26617 return 0;
26618 }
26619 _ACEOF
26620 if ac_fn_c_try_compile "$LINENO"; then :
26621 am_cv_proto_iconv_arg1=""
26622 else
26623 am_cv_proto_iconv_arg1="const"
26624 fi
26625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26626 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);"
26627 fi
26628
26629 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26631 }$am_cv_proto_iconv" >&5
26632 $as_echo "${ac_t:-
26633 }$am_cv_proto_iconv" >&6; }
26634
26635 cat >>confdefs.h <<_ACEOF
26636 #define ICONV_CONST $am_cv_proto_iconv_arg1
26637 _ACEOF
26638
26639 fi
26640
26641
26642 else
26643
26644 # This lets us hard-code the functionality we know we'll have in the cross
26645 # target environment. "Let" is a sugar-coated word placed on an especially
26646 # dull and tedious hack, actually.
26647 #
26648 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26649 # that involve linking, can't be used:
26650 # "cannot open sim-crt0.o"
26651 # "cannot open crt0.o"
26652 # etc. All this is because there currently exists no unified, consistent
26653 # way for top level CC information to be passed down to target directories:
26654 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26655 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26656 # crosses can be removed.
26657
26658 # If Canadian cross, then don't pick up tools from the build directory.
26659 # Used only in GLIBCXX_EXPORT_INCLUDES.
26660 if test -n "$with_cross_host" &&
26661 test x"$build_alias" != x"$with_cross_host" &&
26662 test x"$build" != x"$target";
26663 then
26664 CANADIAN=yes
26665 else
26666 CANADIAN=no
26667 fi
26668
26669 # Construct crosses by hand, eliminating bits that need ld...
26670 # GLIBCXX_CHECK_MATH_SUPPORT
26671
26672 # First, test for "known" system libraries. We may be using newlib even
26673 # on a hosted environment.
26674 if test "x${with_newlib}" = "xyes"; then
26675 os_include_dir="os/newlib"
26676 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26677
26678
26679 # GLIBCXX_CHECK_STDLIB_SUPPORT
26680 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26681
26682
26683 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26684
26685 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26686
26687 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26688
26689 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26690
26691 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26692
26693 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26694
26695 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26696
26697 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26698
26699 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26700
26701 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26702
26703 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26704
26705 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26706
26707 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26708
26709 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26710
26711 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26712
26713 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26714
26715 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26716
26717 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26718
26719 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26720
26721 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26722
26723 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26724
26725 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26726
26727
26728 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26729
26730 else
26731
26732 # Base decisions on target environment.
26733 case "${host}" in
26734 arm*-*-symbianelf*)
26735 # This is a freestanding configuration; there is nothing to do here.
26736 ;;
26737
26738 mips*-sde-elf*)
26739 # These definitions are for the SDE C library rather than newlib.
26740 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26741
26742
26743 # All these tests are for C++; save the language and the compiler flags.
26744 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26745 # found in GLIBCXX_CONFIGURE.
26746
26747 ac_ext=cpp
26748 ac_cpp='$CXXCPP $CPPFLAGS'
26749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26752
26753 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26754 ac_save_CXXFLAGS="$CXXFLAGS"
26755
26756 # Check for maintainer-mode bits.
26757 if test x"$USE_MAINTAINER_MODE" = xno; then
26758 WERROR=''
26759 else
26760 WERROR='-Werror'
26761 fi
26762
26763 # Check for -ffunction-sections -fdata-sections
26764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26765 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26766 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26768 /* end confdefs.h. */
26769 int foo; void bar() { };
26770 int
26771 main ()
26772 {
26773
26774 ;
26775 return 0;
26776 }
26777 _ACEOF
26778 if ac_fn_cxx_try_compile "$LINENO"; then :
26779 ac_fdsections=yes
26780 else
26781 ac_fdsections=no
26782 fi
26783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26784 if test "$ac_test_CXXFLAGS" = set; then
26785 CXXFLAGS="$ac_save_CXXFLAGS"
26786 else
26787 # this is the suspicious part
26788 CXXFLAGS=''
26789 fi
26790 if test x"$ac_fdsections" = x"yes"; then
26791 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26792 fi
26793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26794 $as_echo "$ac_fdsections" >&6; }
26795
26796 ac_ext=c
26797 ac_cpp='$CPP $CPPFLAGS'
26798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26801
26802
26803
26804
26805
26806 # If we're not using GNU ld, then there's no point in even trying these
26807 # tests. Check for that first. We should have already tested for gld
26808 # by now (in libtool), but require it now just to be safe...
26809 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26810 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26811
26812
26813
26814 # The name set by libtool depends on the version of libtool. Shame on us
26815 # for depending on an impl detail, but c'est la vie. Older versions used
26816 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26817 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26818 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26819 # set (hence we're using an older libtool), then set it.
26820 if test x${with_gnu_ld+set} != xset; then
26821 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26822 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26823 with_gnu_ld=no
26824 else
26825 with_gnu_ld=$ac_cv_prog_gnu_ld
26826 fi
26827 fi
26828
26829 # Start by getting the version number. I think the libtool test already
26830 # does some of this, but throws away the result.
26831 glibcxx_ld_is_gold=no
26832 if test x"$with_gnu_ld" = x"yes"; then
26833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26834 $as_echo_n "checking for ld version... " >&6; }
26835
26836 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26837 glibcxx_ld_is_gold=yes
26838 fi
26839 ldver=`$LD --version 2>/dev/null |
26840 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'`
26841
26842 glibcxx_gnu_ld_version=`echo $ldver | \
26843 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26845 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26846 fi
26847
26848 # Set --gc-sections.
26849 glibcxx_have_gc_sections=no
26850 if test "$glibcxx_ld_is_gold" = "yes"; then
26851 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26852 glibcxx_have_gc_sections=yes
26853 fi
26854 else
26855 glibcxx_gcsections_min_ld=21602
26856 if test x"$with_gnu_ld" = x"yes" &&
26857 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26858 glibcxx_have_gc_sections=yes
26859 fi
26860 fi
26861 if test "$glibcxx_have_gc_sections" = "yes"; then
26862 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26863 # NB: This flag only works reliably after 2.16.1. Configure tests
26864 # for this are difficult, so hard wire a value that should work.
26865
26866 ac_test_CFLAGS="${CFLAGS+set}"
26867 ac_save_CFLAGS="$CFLAGS"
26868 CFLAGS='-Wl,--gc-sections'
26869
26870 # Check for -Wl,--gc-sections
26871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26872 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26873 if test x$gcc_no_link = xyes; then
26874 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26875 fi
26876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26877 /* end confdefs.h. */
26878 int one(void) { return 1; }
26879 int two(void) { return 2; }
26880
26881 int
26882 main ()
26883 {
26884 two();
26885 ;
26886 return 0;
26887 }
26888 _ACEOF
26889 if ac_fn_c_try_link "$LINENO"; then :
26890 ac_gcsections=yes
26891 else
26892 ac_gcsections=no
26893 fi
26894 rm -f core conftest.err conftest.$ac_objext \
26895 conftest$ac_exeext conftest.$ac_ext
26896 if test "$ac_gcsections" = "yes"; then
26897 rm -f conftest.c
26898 touch conftest.c
26899 if $CC -c conftest.c; then
26900 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26901 grep "Warning: gc-sections option ignored" > /dev/null; then
26902 ac_gcsections=no
26903 fi
26904 fi
26905 rm -f conftest.c conftest.o conftest
26906 fi
26907 if test "$ac_gcsections" = "yes"; then
26908 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26909 fi
26910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26911 $as_echo "$ac_gcsections" >&6; }
26912
26913 if test "$ac_test_CFLAGS" = set; then
26914 CFLAGS="$ac_save_CFLAGS"
26915 else
26916 # this is the suspicious part
26917 CFLAGS=''
26918 fi
26919 fi
26920
26921 # Set -z,relro.
26922 # Note this is only for shared objects.
26923 ac_ld_relro=no
26924 if test x"$with_gnu_ld" = x"yes"; then
26925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26926 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26927 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26928 if test -n "$cxx_z_relo"; then
26929 OPT_LDFLAGS="-Wl,-z,relro"
26930 ac_ld_relro=yes
26931 fi
26932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26933 $as_echo "$ac_ld_relro" >&6; }
26934 fi
26935
26936 # Set linker optimization flags.
26937 if test x"$with_gnu_ld" = x"yes"; then
26938 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26939 fi
26940
26941
26942
26943
26944
26945 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26946 ac_save_CXXFLAGS="$CXXFLAGS"
26947 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26948
26949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26950 $as_echo_n "checking for sin in -lm... " >&6; }
26951 if test "${ac_cv_lib_m_sin+set}" = set; then :
26952 $as_echo_n "(cached) " >&6
26953 else
26954 ac_check_lib_save_LIBS=$LIBS
26955 LIBS="-lm $LIBS"
26956 if test x$gcc_no_link = xyes; then
26957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26958 fi
26959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26960 /* end confdefs.h. */
26961
26962 /* Override any GCC internal prototype to avoid an error.
26963 Use char because int might match the return type of a GCC
26964 builtin and then its argument prototype would still apply. */
26965 #ifdef __cplusplus
26966 extern "C"
26967 #endif
26968 char sin ();
26969 int
26970 main ()
26971 {
26972 return sin ();
26973 ;
26974 return 0;
26975 }
26976 _ACEOF
26977 if ac_fn_c_try_link "$LINENO"; then :
26978 ac_cv_lib_m_sin=yes
26979 else
26980 ac_cv_lib_m_sin=no
26981 fi
26982 rm -f core conftest.err conftest.$ac_objext \
26983 conftest$ac_exeext conftest.$ac_ext
26984 LIBS=$ac_check_lib_save_LIBS
26985 fi
26986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26987 $as_echo "$ac_cv_lib_m_sin" >&6; }
26988 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26989 libm="-lm"
26990 fi
26991
26992 ac_save_LIBS="$LIBS"
26993 LIBS="$LIBS $libm"
26994
26995
26996
26997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26998 $as_echo_n "checking for isinf declaration... " >&6; }
26999 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27000 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27001 $as_echo_n "(cached) " >&6
27002 else
27003
27004
27005 ac_ext=cpp
27006 ac_cpp='$CXXCPP $CPPFLAGS'
27007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27010
27011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27012 /* end confdefs.h. */
27013 #include <math.h>
27014 #ifdef HAVE_IEEEFP_H
27015 #include <ieeefp.h>
27016 #endif
27017
27018 int
27019 main ()
27020 {
27021 isinf(0);
27022 ;
27023 return 0;
27024 }
27025 _ACEOF
27026 if ac_fn_cxx_try_compile "$LINENO"; then :
27027 glibcxx_cv_func_isinf_use=yes
27028 else
27029 glibcxx_cv_func_isinf_use=no
27030 fi
27031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27032 ac_ext=c
27033 ac_cpp='$CPP $CPPFLAGS'
27034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27037
27038
27039 fi
27040
27041 fi
27042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27043 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27044
27045 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27046 for ac_func in isinf
27047 do :
27048 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27049 if test "x$ac_cv_func_isinf" = x""yes; then :
27050 cat >>confdefs.h <<_ACEOF
27051 #define HAVE_ISINF 1
27052 _ACEOF
27053
27054 fi
27055 done
27056
27057 else
27058
27059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27060 $as_echo_n "checking for _isinf declaration... " >&6; }
27061 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27062 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27063 $as_echo_n "(cached) " >&6
27064 else
27065
27066
27067 ac_ext=cpp
27068 ac_cpp='$CXXCPP $CPPFLAGS'
27069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27072
27073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27074 /* end confdefs.h. */
27075 #include <math.h>
27076 #ifdef HAVE_IEEEFP_H
27077 #include <ieeefp.h>
27078 #endif
27079
27080 int
27081 main ()
27082 {
27083 _isinf(0);
27084 ;
27085 return 0;
27086 }
27087 _ACEOF
27088 if ac_fn_cxx_try_compile "$LINENO"; then :
27089 glibcxx_cv_func__isinf_use=yes
27090 else
27091 glibcxx_cv_func__isinf_use=no
27092 fi
27093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27094 ac_ext=c
27095 ac_cpp='$CPP $CPPFLAGS'
27096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27099
27100
27101 fi
27102
27103 fi
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27105 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27106
27107 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27108 for ac_func in _isinf
27109 do :
27110 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27111 if test "x$ac_cv_func__isinf" = x""yes; then :
27112 cat >>confdefs.h <<_ACEOF
27113 #define HAVE__ISINF 1
27114 _ACEOF
27115
27116 fi
27117 done
27118
27119 fi
27120 fi
27121
27122
27123
27124
27125
27126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27127 $as_echo_n "checking for isnan declaration... " >&6; }
27128 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27129 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27130 $as_echo_n "(cached) " >&6
27131 else
27132
27133
27134 ac_ext=cpp
27135 ac_cpp='$CXXCPP $CPPFLAGS'
27136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27139
27140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27141 /* end confdefs.h. */
27142 #include <math.h>
27143 #ifdef HAVE_IEEEFP_H
27144 #include <ieeefp.h>
27145 #endif
27146
27147 int
27148 main ()
27149 {
27150 isnan(0);
27151 ;
27152 return 0;
27153 }
27154 _ACEOF
27155 if ac_fn_cxx_try_compile "$LINENO"; then :
27156 glibcxx_cv_func_isnan_use=yes
27157 else
27158 glibcxx_cv_func_isnan_use=no
27159 fi
27160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27161 ac_ext=c
27162 ac_cpp='$CPP $CPPFLAGS'
27163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27166
27167
27168 fi
27169
27170 fi
27171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27172 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27173
27174 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27175 for ac_func in isnan
27176 do :
27177 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27178 if test "x$ac_cv_func_isnan" = x""yes; then :
27179 cat >>confdefs.h <<_ACEOF
27180 #define HAVE_ISNAN 1
27181 _ACEOF
27182
27183 fi
27184 done
27185
27186 else
27187
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27189 $as_echo_n "checking for _isnan declaration... " >&6; }
27190 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27191 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27192 $as_echo_n "(cached) " >&6
27193 else
27194
27195
27196 ac_ext=cpp
27197 ac_cpp='$CXXCPP $CPPFLAGS'
27198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27201
27202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27203 /* end confdefs.h. */
27204 #include <math.h>
27205 #ifdef HAVE_IEEEFP_H
27206 #include <ieeefp.h>
27207 #endif
27208
27209 int
27210 main ()
27211 {
27212 _isnan(0);
27213 ;
27214 return 0;
27215 }
27216 _ACEOF
27217 if ac_fn_cxx_try_compile "$LINENO"; then :
27218 glibcxx_cv_func__isnan_use=yes
27219 else
27220 glibcxx_cv_func__isnan_use=no
27221 fi
27222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27223 ac_ext=c
27224 ac_cpp='$CPP $CPPFLAGS'
27225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27228
27229
27230 fi
27231
27232 fi
27233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27234 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27235
27236 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27237 for ac_func in _isnan
27238 do :
27239 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27240 if test "x$ac_cv_func__isnan" = x""yes; then :
27241 cat >>confdefs.h <<_ACEOF
27242 #define HAVE__ISNAN 1
27243 _ACEOF
27244
27245 fi
27246 done
27247
27248 fi
27249 fi
27250
27251
27252
27253
27254
27255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27256 $as_echo_n "checking for finite declaration... " >&6; }
27257 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27258 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27259 $as_echo_n "(cached) " >&6
27260 else
27261
27262
27263 ac_ext=cpp
27264 ac_cpp='$CXXCPP $CPPFLAGS'
27265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27268
27269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27270 /* end confdefs.h. */
27271 #include <math.h>
27272 #ifdef HAVE_IEEEFP_H
27273 #include <ieeefp.h>
27274 #endif
27275
27276 int
27277 main ()
27278 {
27279 finite(0);
27280 ;
27281 return 0;
27282 }
27283 _ACEOF
27284 if ac_fn_cxx_try_compile "$LINENO"; then :
27285 glibcxx_cv_func_finite_use=yes
27286 else
27287 glibcxx_cv_func_finite_use=no
27288 fi
27289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27290 ac_ext=c
27291 ac_cpp='$CPP $CPPFLAGS'
27292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27295
27296
27297 fi
27298
27299 fi
27300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27301 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27302
27303 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27304 for ac_func in finite
27305 do :
27306 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27307 if test "x$ac_cv_func_finite" = x""yes; then :
27308 cat >>confdefs.h <<_ACEOF
27309 #define HAVE_FINITE 1
27310 _ACEOF
27311
27312 fi
27313 done
27314
27315 else
27316
27317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27318 $as_echo_n "checking for _finite declaration... " >&6; }
27319 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27320 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27321 $as_echo_n "(cached) " >&6
27322 else
27323
27324
27325 ac_ext=cpp
27326 ac_cpp='$CXXCPP $CPPFLAGS'
27327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27330
27331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27332 /* end confdefs.h. */
27333 #include <math.h>
27334 #ifdef HAVE_IEEEFP_H
27335 #include <ieeefp.h>
27336 #endif
27337
27338 int
27339 main ()
27340 {
27341 _finite(0);
27342 ;
27343 return 0;
27344 }
27345 _ACEOF
27346 if ac_fn_cxx_try_compile "$LINENO"; then :
27347 glibcxx_cv_func__finite_use=yes
27348 else
27349 glibcxx_cv_func__finite_use=no
27350 fi
27351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27352 ac_ext=c
27353 ac_cpp='$CPP $CPPFLAGS'
27354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27357
27358
27359 fi
27360
27361 fi
27362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27363 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27364
27365 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27366 for ac_func in _finite
27367 do :
27368 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27369 if test "x$ac_cv_func__finite" = x""yes; then :
27370 cat >>confdefs.h <<_ACEOF
27371 #define HAVE__FINITE 1
27372 _ACEOF
27373
27374 fi
27375 done
27376
27377 fi
27378 fi
27379
27380
27381
27382
27383
27384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27385 $as_echo_n "checking for sincos declaration... " >&6; }
27386 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27387 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27388 $as_echo_n "(cached) " >&6
27389 else
27390
27391
27392 ac_ext=cpp
27393 ac_cpp='$CXXCPP $CPPFLAGS'
27394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27397
27398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27399 /* end confdefs.h. */
27400 #include <math.h>
27401 int
27402 main ()
27403 {
27404 sincos(0, 0, 0);
27405 ;
27406 return 0;
27407 }
27408 _ACEOF
27409 if ac_fn_cxx_try_compile "$LINENO"; then :
27410 glibcxx_cv_func_sincos_use=yes
27411 else
27412 glibcxx_cv_func_sincos_use=no
27413 fi
27414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27415 ac_ext=c
27416 ac_cpp='$CPP $CPPFLAGS'
27417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27420
27421
27422 fi
27423
27424 fi
27425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27426 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27427
27428 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27429 for ac_func in sincos
27430 do :
27431 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27432 if test "x$ac_cv_func_sincos" = x""yes; then :
27433 cat >>confdefs.h <<_ACEOF
27434 #define HAVE_SINCOS 1
27435 _ACEOF
27436
27437 fi
27438 done
27439
27440 else
27441
27442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27443 $as_echo_n "checking for _sincos declaration... " >&6; }
27444 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27445 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27446 $as_echo_n "(cached) " >&6
27447 else
27448
27449
27450 ac_ext=cpp
27451 ac_cpp='$CXXCPP $CPPFLAGS'
27452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27455
27456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27457 /* end confdefs.h. */
27458 #include <math.h>
27459 int
27460 main ()
27461 {
27462 _sincos(0, 0, 0);
27463 ;
27464 return 0;
27465 }
27466 _ACEOF
27467 if ac_fn_cxx_try_compile "$LINENO"; then :
27468 glibcxx_cv_func__sincos_use=yes
27469 else
27470 glibcxx_cv_func__sincos_use=no
27471 fi
27472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27473 ac_ext=c
27474 ac_cpp='$CPP $CPPFLAGS'
27475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27478
27479
27480 fi
27481
27482 fi
27483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27484 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27485
27486 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27487 for ac_func in _sincos
27488 do :
27489 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27490 if test "x$ac_cv_func__sincos" = x""yes; then :
27491 cat >>confdefs.h <<_ACEOF
27492 #define HAVE__SINCOS 1
27493 _ACEOF
27494
27495 fi
27496 done
27497
27498 fi
27499 fi
27500
27501
27502
27503
27504
27505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27506 $as_echo_n "checking for fpclass declaration... " >&6; }
27507 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27508 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27509 $as_echo_n "(cached) " >&6
27510 else
27511
27512
27513 ac_ext=cpp
27514 ac_cpp='$CXXCPP $CPPFLAGS'
27515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27518
27519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27520 /* end confdefs.h. */
27521 #include <math.h>
27522 #ifdef HAVE_IEEEFP_H
27523 #include <ieeefp.h>
27524 #endif
27525
27526 int
27527 main ()
27528 {
27529 fpclass(0);
27530 ;
27531 return 0;
27532 }
27533 _ACEOF
27534 if ac_fn_cxx_try_compile "$LINENO"; then :
27535 glibcxx_cv_func_fpclass_use=yes
27536 else
27537 glibcxx_cv_func_fpclass_use=no
27538 fi
27539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27540 ac_ext=c
27541 ac_cpp='$CPP $CPPFLAGS'
27542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27545
27546
27547 fi
27548
27549 fi
27550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27551 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27552
27553 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27554 for ac_func in fpclass
27555 do :
27556 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27557 if test "x$ac_cv_func_fpclass" = x""yes; then :
27558 cat >>confdefs.h <<_ACEOF
27559 #define HAVE_FPCLASS 1
27560 _ACEOF
27561
27562 fi
27563 done
27564
27565 else
27566
27567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27568 $as_echo_n "checking for _fpclass declaration... " >&6; }
27569 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27570 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27571 $as_echo_n "(cached) " >&6
27572 else
27573
27574
27575 ac_ext=cpp
27576 ac_cpp='$CXXCPP $CPPFLAGS'
27577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27580
27581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27582 /* end confdefs.h. */
27583 #include <math.h>
27584 #ifdef HAVE_IEEEFP_H
27585 #include <ieeefp.h>
27586 #endif
27587
27588 int
27589 main ()
27590 {
27591 _fpclass(0);
27592 ;
27593 return 0;
27594 }
27595 _ACEOF
27596 if ac_fn_cxx_try_compile "$LINENO"; then :
27597 glibcxx_cv_func__fpclass_use=yes
27598 else
27599 glibcxx_cv_func__fpclass_use=no
27600 fi
27601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27602 ac_ext=c
27603 ac_cpp='$CPP $CPPFLAGS'
27604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27607
27608
27609 fi
27610
27611 fi
27612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27613 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27614
27615 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27616 for ac_func in _fpclass
27617 do :
27618 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27619 if test "x$ac_cv_func__fpclass" = x""yes; then :
27620 cat >>confdefs.h <<_ACEOF
27621 #define HAVE__FPCLASS 1
27622 _ACEOF
27623
27624 fi
27625 done
27626
27627 fi
27628 fi
27629
27630
27631
27632
27633
27634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27635 $as_echo_n "checking for qfpclass declaration... " >&6; }
27636 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27637 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27638 $as_echo_n "(cached) " >&6
27639 else
27640
27641
27642 ac_ext=cpp
27643 ac_cpp='$CXXCPP $CPPFLAGS'
27644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27647
27648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27649 /* end confdefs.h. */
27650 #include <math.h>
27651 #ifdef HAVE_IEEEFP_H
27652 #include <ieeefp.h>
27653 #endif
27654
27655 int
27656 main ()
27657 {
27658 qfpclass(0);
27659 ;
27660 return 0;
27661 }
27662 _ACEOF
27663 if ac_fn_cxx_try_compile "$LINENO"; then :
27664 glibcxx_cv_func_qfpclass_use=yes
27665 else
27666 glibcxx_cv_func_qfpclass_use=no
27667 fi
27668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27669 ac_ext=c
27670 ac_cpp='$CPP $CPPFLAGS'
27671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27674
27675
27676 fi
27677
27678 fi
27679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27680 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27681
27682 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27683 for ac_func in qfpclass
27684 do :
27685 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27686 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27687 cat >>confdefs.h <<_ACEOF
27688 #define HAVE_QFPCLASS 1
27689 _ACEOF
27690
27691 fi
27692 done
27693
27694 else
27695
27696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27697 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27698 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27699 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27700 $as_echo_n "(cached) " >&6
27701 else
27702
27703
27704 ac_ext=cpp
27705 ac_cpp='$CXXCPP $CPPFLAGS'
27706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27709
27710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27711 /* end confdefs.h. */
27712 #include <math.h>
27713 #ifdef HAVE_IEEEFP_H
27714 #include <ieeefp.h>
27715 #endif
27716
27717 int
27718 main ()
27719 {
27720 _qfpclass(0);
27721 ;
27722 return 0;
27723 }
27724 _ACEOF
27725 if ac_fn_cxx_try_compile "$LINENO"; then :
27726 glibcxx_cv_func__qfpclass_use=yes
27727 else
27728 glibcxx_cv_func__qfpclass_use=no
27729 fi
27730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27731 ac_ext=c
27732 ac_cpp='$CPP $CPPFLAGS'
27733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27736
27737
27738 fi
27739
27740 fi
27741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27742 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27743
27744 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27745 for ac_func in _qfpclass
27746 do :
27747 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27748 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27749 cat >>confdefs.h <<_ACEOF
27750 #define HAVE__QFPCLASS 1
27751 _ACEOF
27752
27753 fi
27754 done
27755
27756 fi
27757 fi
27758
27759
27760
27761
27762
27763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27764 $as_echo_n "checking for hypot declaration... " >&6; }
27765 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27766 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27767 $as_echo_n "(cached) " >&6
27768 else
27769
27770
27771 ac_ext=cpp
27772 ac_cpp='$CXXCPP $CPPFLAGS'
27773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27776
27777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27778 /* end confdefs.h. */
27779 #include <math.h>
27780 int
27781 main ()
27782 {
27783 hypot(0, 0);
27784 ;
27785 return 0;
27786 }
27787 _ACEOF
27788 if ac_fn_cxx_try_compile "$LINENO"; then :
27789 glibcxx_cv_func_hypot_use=yes
27790 else
27791 glibcxx_cv_func_hypot_use=no
27792 fi
27793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27794 ac_ext=c
27795 ac_cpp='$CPP $CPPFLAGS'
27796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27799
27800
27801 fi
27802
27803 fi
27804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27805 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27806
27807 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27808 for ac_func in hypot
27809 do :
27810 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27811 if test "x$ac_cv_func_hypot" = x""yes; then :
27812 cat >>confdefs.h <<_ACEOF
27813 #define HAVE_HYPOT 1
27814 _ACEOF
27815
27816 fi
27817 done
27818
27819 else
27820
27821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27822 $as_echo_n "checking for _hypot declaration... " >&6; }
27823 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27824 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27825 $as_echo_n "(cached) " >&6
27826 else
27827
27828
27829 ac_ext=cpp
27830 ac_cpp='$CXXCPP $CPPFLAGS'
27831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27834
27835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27836 /* end confdefs.h. */
27837 #include <math.h>
27838 int
27839 main ()
27840 {
27841 _hypot(0, 0);
27842 ;
27843 return 0;
27844 }
27845 _ACEOF
27846 if ac_fn_cxx_try_compile "$LINENO"; then :
27847 glibcxx_cv_func__hypot_use=yes
27848 else
27849 glibcxx_cv_func__hypot_use=no
27850 fi
27851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27852 ac_ext=c
27853 ac_cpp='$CPP $CPPFLAGS'
27854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27857
27858
27859 fi
27860
27861 fi
27862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27863 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27864
27865 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27866 for ac_func in _hypot
27867 do :
27868 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27869 if test "x$ac_cv_func__hypot" = x""yes; then :
27870 cat >>confdefs.h <<_ACEOF
27871 #define HAVE__HYPOT 1
27872 _ACEOF
27873
27874 fi
27875 done
27876
27877 fi
27878 fi
27879
27880
27881
27882
27883
27884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27885 $as_echo_n "checking for float trig functions... " >&6; }
27886 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27887 $as_echo_n "(cached) " >&6
27888 else
27889
27890
27891 ac_ext=cpp
27892 ac_cpp='$CXXCPP $CPPFLAGS'
27893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27896
27897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27898 /* end confdefs.h. */
27899 #include <math.h>
27900 int
27901 main ()
27902 {
27903 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27904 ;
27905 return 0;
27906 }
27907 _ACEOF
27908 if ac_fn_cxx_try_compile "$LINENO"; then :
27909 glibcxx_cv_func_float_trig_use=yes
27910 else
27911 glibcxx_cv_func_float_trig_use=no
27912 fi
27913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27914 ac_ext=c
27915 ac_cpp='$CPP $CPPFLAGS'
27916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27919
27920 fi
27921
27922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27923 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27924 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27925 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27926 do :
27927 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27928 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27929 eval as_val=\$$as_ac_var
27930 if test "x$as_val" = x""yes; then :
27931 cat >>confdefs.h <<_ACEOF
27932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27933 _ACEOF
27934
27935 fi
27936 done
27937
27938 else
27939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27940 $as_echo_n "checking for _float trig functions... " >&6; }
27941 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27942 $as_echo_n "(cached) " >&6
27943 else
27944
27945
27946 ac_ext=cpp
27947 ac_cpp='$CXXCPP $CPPFLAGS'
27948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27951
27952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27953 /* end confdefs.h. */
27954 #include <math.h>
27955 int
27956 main ()
27957 {
27958 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27959 ;
27960 return 0;
27961 }
27962 _ACEOF
27963 if ac_fn_cxx_try_compile "$LINENO"; then :
27964 glibcxx_cv_func__float_trig_use=yes
27965 else
27966 glibcxx_cv_func__float_trig_use=no
27967 fi
27968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27969 ac_ext=c
27970 ac_cpp='$CPP $CPPFLAGS'
27971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27974
27975 fi
27976
27977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27978 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27979 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27980 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27981 do :
27982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27984 eval as_val=\$$as_ac_var
27985 if test "x$as_val" = x""yes; then :
27986 cat >>confdefs.h <<_ACEOF
27987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27988 _ACEOF
27989
27990 fi
27991 done
27992
27993 fi
27994 fi
27995
27996
27997
27998
27999
28000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28001 $as_echo_n "checking for float round functions... " >&6; }
28002 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28003 $as_echo_n "(cached) " >&6
28004 else
28005
28006
28007 ac_ext=cpp
28008 ac_cpp='$CXXCPP $CPPFLAGS'
28009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28012
28013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28014 /* end confdefs.h. */
28015 #include <math.h>
28016 int
28017 main ()
28018 {
28019 ceilf (0); floorf (0);
28020 ;
28021 return 0;
28022 }
28023 _ACEOF
28024 if ac_fn_cxx_try_compile "$LINENO"; then :
28025 glibcxx_cv_func_float_round_use=yes
28026 else
28027 glibcxx_cv_func_float_round_use=no
28028 fi
28029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28030 ac_ext=c
28031 ac_cpp='$CPP $CPPFLAGS'
28032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28035
28036 fi
28037
28038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28039 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28040 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28041 for ac_func in ceilf floorf
28042 do :
28043 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28044 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28045 eval as_val=\$$as_ac_var
28046 if test "x$as_val" = x""yes; then :
28047 cat >>confdefs.h <<_ACEOF
28048 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28049 _ACEOF
28050
28051 fi
28052 done
28053
28054 else
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28056 $as_echo_n "checking for _float round functions... " >&6; }
28057 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28058 $as_echo_n "(cached) " >&6
28059 else
28060
28061
28062 ac_ext=cpp
28063 ac_cpp='$CXXCPP $CPPFLAGS'
28064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28067
28068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28069 /* end confdefs.h. */
28070 #include <math.h>
28071 int
28072 main ()
28073 {
28074 _ceilf (0); _floorf (0);
28075 ;
28076 return 0;
28077 }
28078 _ACEOF
28079 if ac_fn_cxx_try_compile "$LINENO"; then :
28080 glibcxx_cv_func__float_round_use=yes
28081 else
28082 glibcxx_cv_func__float_round_use=no
28083 fi
28084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28085 ac_ext=c
28086 ac_cpp='$CPP $CPPFLAGS'
28087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28090
28091 fi
28092
28093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28094 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28095 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28096 for ac_func in _ceilf _floorf
28097 do :
28098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28100 eval as_val=\$$as_ac_var
28101 if test "x$as_val" = x""yes; then :
28102 cat >>confdefs.h <<_ACEOF
28103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28104 _ACEOF
28105
28106 fi
28107 done
28108
28109 fi
28110 fi
28111
28112
28113
28114
28115
28116
28117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28118 $as_echo_n "checking for expf declaration... " >&6; }
28119 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28120 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28121 $as_echo_n "(cached) " >&6
28122 else
28123
28124
28125 ac_ext=cpp
28126 ac_cpp='$CXXCPP $CPPFLAGS'
28127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28130
28131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28132 /* end confdefs.h. */
28133 #include <math.h>
28134 #ifdef HAVE_IEEEFP_H
28135 #include <ieeefp.h>
28136 #endif
28137
28138 int
28139 main ()
28140 {
28141 expf(0);
28142 ;
28143 return 0;
28144 }
28145 _ACEOF
28146 if ac_fn_cxx_try_compile "$LINENO"; then :
28147 glibcxx_cv_func_expf_use=yes
28148 else
28149 glibcxx_cv_func_expf_use=no
28150 fi
28151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28152 ac_ext=c
28153 ac_cpp='$CPP $CPPFLAGS'
28154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28157
28158
28159 fi
28160
28161 fi
28162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28163 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28164
28165 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28166 for ac_func in expf
28167 do :
28168 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28169 if test "x$ac_cv_func_expf" = x""yes; then :
28170 cat >>confdefs.h <<_ACEOF
28171 #define HAVE_EXPF 1
28172 _ACEOF
28173
28174 fi
28175 done
28176
28177 else
28178
28179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28180 $as_echo_n "checking for _expf declaration... " >&6; }
28181 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28182 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28183 $as_echo_n "(cached) " >&6
28184 else
28185
28186
28187 ac_ext=cpp
28188 ac_cpp='$CXXCPP $CPPFLAGS'
28189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28192
28193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28194 /* end confdefs.h. */
28195 #include <math.h>
28196 #ifdef HAVE_IEEEFP_H
28197 #include <ieeefp.h>
28198 #endif
28199
28200 int
28201 main ()
28202 {
28203 _expf(0);
28204 ;
28205 return 0;
28206 }
28207 _ACEOF
28208 if ac_fn_cxx_try_compile "$LINENO"; then :
28209 glibcxx_cv_func__expf_use=yes
28210 else
28211 glibcxx_cv_func__expf_use=no
28212 fi
28213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28214 ac_ext=c
28215 ac_cpp='$CPP $CPPFLAGS'
28216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28219
28220
28221 fi
28222
28223 fi
28224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28225 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28226
28227 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28228 for ac_func in _expf
28229 do :
28230 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28231 if test "x$ac_cv_func__expf" = x""yes; then :
28232 cat >>confdefs.h <<_ACEOF
28233 #define HAVE__EXPF 1
28234 _ACEOF
28235
28236 fi
28237 done
28238
28239 fi
28240 fi
28241
28242
28243
28244
28245
28246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28247 $as_echo_n "checking for isnanf declaration... " >&6; }
28248 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28249 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28250 $as_echo_n "(cached) " >&6
28251 else
28252
28253
28254 ac_ext=cpp
28255 ac_cpp='$CXXCPP $CPPFLAGS'
28256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28259
28260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28261 /* end confdefs.h. */
28262 #include <math.h>
28263 #ifdef HAVE_IEEEFP_H
28264 #include <ieeefp.h>
28265 #endif
28266
28267 int
28268 main ()
28269 {
28270 isnanf(0);
28271 ;
28272 return 0;
28273 }
28274 _ACEOF
28275 if ac_fn_cxx_try_compile "$LINENO"; then :
28276 glibcxx_cv_func_isnanf_use=yes
28277 else
28278 glibcxx_cv_func_isnanf_use=no
28279 fi
28280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28281 ac_ext=c
28282 ac_cpp='$CPP $CPPFLAGS'
28283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28286
28287
28288 fi
28289
28290 fi
28291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28292 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28293
28294 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28295 for ac_func in isnanf
28296 do :
28297 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28298 if test "x$ac_cv_func_isnanf" = x""yes; then :
28299 cat >>confdefs.h <<_ACEOF
28300 #define HAVE_ISNANF 1
28301 _ACEOF
28302
28303 fi
28304 done
28305
28306 else
28307
28308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28309 $as_echo_n "checking for _isnanf declaration... " >&6; }
28310 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28311 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28312 $as_echo_n "(cached) " >&6
28313 else
28314
28315
28316 ac_ext=cpp
28317 ac_cpp='$CXXCPP $CPPFLAGS'
28318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28321
28322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28323 /* end confdefs.h. */
28324 #include <math.h>
28325 #ifdef HAVE_IEEEFP_H
28326 #include <ieeefp.h>
28327 #endif
28328
28329 int
28330 main ()
28331 {
28332 _isnanf(0);
28333 ;
28334 return 0;
28335 }
28336 _ACEOF
28337 if ac_fn_cxx_try_compile "$LINENO"; then :
28338 glibcxx_cv_func__isnanf_use=yes
28339 else
28340 glibcxx_cv_func__isnanf_use=no
28341 fi
28342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28343 ac_ext=c
28344 ac_cpp='$CPP $CPPFLAGS'
28345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28348
28349
28350 fi
28351
28352 fi
28353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28354 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28355
28356 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28357 for ac_func in _isnanf
28358 do :
28359 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28360 if test "x$ac_cv_func__isnanf" = x""yes; then :
28361 cat >>confdefs.h <<_ACEOF
28362 #define HAVE__ISNANF 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 isinff declaration" >&5
28376 $as_echo_n "checking for isinff declaration... " >&6; }
28377 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28378 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28379 $as_echo_n "(cached) " >&6
28380 else
28381
28382
28383 ac_ext=cpp
28384 ac_cpp='$CXXCPP $CPPFLAGS'
28385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28388
28389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28390 /* end confdefs.h. */
28391 #include <math.h>
28392 #ifdef HAVE_IEEEFP_H
28393 #include <ieeefp.h>
28394 #endif
28395
28396 int
28397 main ()
28398 {
28399 isinff(0);
28400 ;
28401 return 0;
28402 }
28403 _ACEOF
28404 if ac_fn_cxx_try_compile "$LINENO"; then :
28405 glibcxx_cv_func_isinff_use=yes
28406 else
28407 glibcxx_cv_func_isinff_use=no
28408 fi
28409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28410 ac_ext=c
28411 ac_cpp='$CPP $CPPFLAGS'
28412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28415
28416
28417 fi
28418
28419 fi
28420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28421 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28422
28423 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28424 for ac_func in isinff
28425 do :
28426 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28427 if test "x$ac_cv_func_isinff" = x""yes; then :
28428 cat >>confdefs.h <<_ACEOF
28429 #define HAVE_ISINFF 1
28430 _ACEOF
28431
28432 fi
28433 done
28434
28435 else
28436
28437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28438 $as_echo_n "checking for _isinff declaration... " >&6; }
28439 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28440 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28441 $as_echo_n "(cached) " >&6
28442 else
28443
28444
28445 ac_ext=cpp
28446 ac_cpp='$CXXCPP $CPPFLAGS'
28447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28450
28451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28452 /* end confdefs.h. */
28453 #include <math.h>
28454 #ifdef HAVE_IEEEFP_H
28455 #include <ieeefp.h>
28456 #endif
28457
28458 int
28459 main ()
28460 {
28461 _isinff(0);
28462 ;
28463 return 0;
28464 }
28465 _ACEOF
28466 if ac_fn_cxx_try_compile "$LINENO"; then :
28467 glibcxx_cv_func__isinff_use=yes
28468 else
28469 glibcxx_cv_func__isinff_use=no
28470 fi
28471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28472 ac_ext=c
28473 ac_cpp='$CPP $CPPFLAGS'
28474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28477
28478
28479 fi
28480
28481 fi
28482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28483 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28484
28485 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28486 for ac_func in _isinff
28487 do :
28488 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28489 if test "x$ac_cv_func__isinff" = x""yes; then :
28490 cat >>confdefs.h <<_ACEOF
28491 #define HAVE__ISINFF 1
28492 _ACEOF
28493
28494 fi
28495 done
28496
28497 fi
28498 fi
28499
28500
28501
28502
28503
28504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28505 $as_echo_n "checking for atan2f declaration... " >&6; }
28506 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28507 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28508 $as_echo_n "(cached) " >&6
28509 else
28510
28511
28512 ac_ext=cpp
28513 ac_cpp='$CXXCPP $CPPFLAGS'
28514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28517
28518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28519 /* end confdefs.h. */
28520 #include <math.h>
28521 int
28522 main ()
28523 {
28524 atan2f(0, 0);
28525 ;
28526 return 0;
28527 }
28528 _ACEOF
28529 if ac_fn_cxx_try_compile "$LINENO"; then :
28530 glibcxx_cv_func_atan2f_use=yes
28531 else
28532 glibcxx_cv_func_atan2f_use=no
28533 fi
28534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28535 ac_ext=c
28536 ac_cpp='$CPP $CPPFLAGS'
28537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28540
28541
28542 fi
28543
28544 fi
28545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28546 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28547
28548 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28549 for ac_func in atan2f
28550 do :
28551 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28552 if test "x$ac_cv_func_atan2f" = x""yes; then :
28553 cat >>confdefs.h <<_ACEOF
28554 #define HAVE_ATAN2F 1
28555 _ACEOF
28556
28557 fi
28558 done
28559
28560 else
28561
28562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28563 $as_echo_n "checking for _atan2f declaration... " >&6; }
28564 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28565 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28566 $as_echo_n "(cached) " >&6
28567 else
28568
28569
28570 ac_ext=cpp
28571 ac_cpp='$CXXCPP $CPPFLAGS'
28572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28575
28576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28577 /* end confdefs.h. */
28578 #include <math.h>
28579 int
28580 main ()
28581 {
28582 _atan2f(0, 0);
28583 ;
28584 return 0;
28585 }
28586 _ACEOF
28587 if ac_fn_cxx_try_compile "$LINENO"; then :
28588 glibcxx_cv_func__atan2f_use=yes
28589 else
28590 glibcxx_cv_func__atan2f_use=no
28591 fi
28592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28593 ac_ext=c
28594 ac_cpp='$CPP $CPPFLAGS'
28595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28598
28599
28600 fi
28601
28602 fi
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28604 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28605
28606 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28607 for ac_func in _atan2f
28608 do :
28609 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28610 if test "x$ac_cv_func__atan2f" = x""yes; then :
28611 cat >>confdefs.h <<_ACEOF
28612 #define HAVE__ATAN2F 1
28613 _ACEOF
28614
28615 fi
28616 done
28617
28618 fi
28619 fi
28620
28621
28622
28623
28624
28625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28626 $as_echo_n "checking for fabsf declaration... " >&6; }
28627 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28628 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28629 $as_echo_n "(cached) " >&6
28630 else
28631
28632
28633 ac_ext=cpp
28634 ac_cpp='$CXXCPP $CPPFLAGS'
28635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28638
28639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28640 /* end confdefs.h. */
28641 #include <math.h>
28642 #ifdef HAVE_IEEEFP_H
28643 #include <ieeefp.h>
28644 #endif
28645
28646 int
28647 main ()
28648 {
28649 fabsf(0);
28650 ;
28651 return 0;
28652 }
28653 _ACEOF
28654 if ac_fn_cxx_try_compile "$LINENO"; then :
28655 glibcxx_cv_func_fabsf_use=yes
28656 else
28657 glibcxx_cv_func_fabsf_use=no
28658 fi
28659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28660 ac_ext=c
28661 ac_cpp='$CPP $CPPFLAGS'
28662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28665
28666
28667 fi
28668
28669 fi
28670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28671 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28672
28673 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28674 for ac_func in fabsf
28675 do :
28676 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28677 if test "x$ac_cv_func_fabsf" = x""yes; then :
28678 cat >>confdefs.h <<_ACEOF
28679 #define HAVE_FABSF 1
28680 _ACEOF
28681
28682 fi
28683 done
28684
28685 else
28686
28687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28688 $as_echo_n "checking for _fabsf declaration... " >&6; }
28689 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28690 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28691 $as_echo_n "(cached) " >&6
28692 else
28693
28694
28695 ac_ext=cpp
28696 ac_cpp='$CXXCPP $CPPFLAGS'
28697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28700
28701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28702 /* end confdefs.h. */
28703 #include <math.h>
28704 #ifdef HAVE_IEEEFP_H
28705 #include <ieeefp.h>
28706 #endif
28707
28708 int
28709 main ()
28710 {
28711 _fabsf(0);
28712 ;
28713 return 0;
28714 }
28715 _ACEOF
28716 if ac_fn_cxx_try_compile "$LINENO"; then :
28717 glibcxx_cv_func__fabsf_use=yes
28718 else
28719 glibcxx_cv_func__fabsf_use=no
28720 fi
28721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28722 ac_ext=c
28723 ac_cpp='$CPP $CPPFLAGS'
28724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28727
28728
28729 fi
28730
28731 fi
28732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28733 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28734
28735 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28736 for ac_func in _fabsf
28737 do :
28738 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28739 if test "x$ac_cv_func__fabsf" = x""yes; then :
28740 cat >>confdefs.h <<_ACEOF
28741 #define HAVE__FABSF 1
28742 _ACEOF
28743
28744 fi
28745 done
28746
28747 fi
28748 fi
28749
28750
28751
28752
28753
28754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28755 $as_echo_n "checking for fmodf declaration... " >&6; }
28756 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28757 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28758 $as_echo_n "(cached) " >&6
28759 else
28760
28761
28762 ac_ext=cpp
28763 ac_cpp='$CXXCPP $CPPFLAGS'
28764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28767
28768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28769 /* end confdefs.h. */
28770 #include <math.h>
28771 int
28772 main ()
28773 {
28774 fmodf(0, 0);
28775 ;
28776 return 0;
28777 }
28778 _ACEOF
28779 if ac_fn_cxx_try_compile "$LINENO"; then :
28780 glibcxx_cv_func_fmodf_use=yes
28781 else
28782 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
28796 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28797
28798 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28799 for ac_func in fmodf
28800 do :
28801 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28802 if test "x$ac_cv_func_fmodf" = x""yes; then :
28803 cat >>confdefs.h <<_ACEOF
28804 #define HAVE_FMODF 1
28805 _ACEOF
28806
28807 fi
28808 done
28809
28810 else
28811
28812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28813 $as_echo_n "checking for _fmodf declaration... " >&6; }
28814 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28815 if test "${glibcxx_cv_func__fmodf_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 int
28830 main ()
28831 {
28832 _fmodf(0, 0);
28833 ;
28834 return 0;
28835 }
28836 _ACEOF
28837 if ac_fn_cxx_try_compile "$LINENO"; then :
28838 glibcxx_cv_func__fmodf_use=yes
28839 else
28840 glibcxx_cv_func__fmodf_use=no
28841 fi
28842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28843 ac_ext=c
28844 ac_cpp='$CPP $CPPFLAGS'
28845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28848
28849
28850 fi
28851
28852 fi
28853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28854 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28855
28856 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28857 for ac_func in _fmodf
28858 do :
28859 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28860 if test "x$ac_cv_func__fmodf" = x""yes; then :
28861 cat >>confdefs.h <<_ACEOF
28862 #define HAVE__FMODF 1
28863 _ACEOF
28864
28865 fi
28866 done
28867
28868 fi
28869 fi
28870
28871
28872
28873
28874
28875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28876 $as_echo_n "checking for frexpf declaration... " >&6; }
28877 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28878 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28879 $as_echo_n "(cached) " >&6
28880 else
28881
28882
28883 ac_ext=cpp
28884 ac_cpp='$CXXCPP $CPPFLAGS'
28885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28888
28889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28890 /* end confdefs.h. */
28891 #include <math.h>
28892 int
28893 main ()
28894 {
28895 frexpf(0, 0);
28896 ;
28897 return 0;
28898 }
28899 _ACEOF
28900 if ac_fn_cxx_try_compile "$LINENO"; then :
28901 glibcxx_cv_func_frexpf_use=yes
28902 else
28903 glibcxx_cv_func_frexpf_use=no
28904 fi
28905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28906 ac_ext=c
28907 ac_cpp='$CPP $CPPFLAGS'
28908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28911
28912
28913 fi
28914
28915 fi
28916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28917 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28918
28919 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28920 for ac_func in frexpf
28921 do :
28922 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28923 if test "x$ac_cv_func_frexpf" = x""yes; then :
28924 cat >>confdefs.h <<_ACEOF
28925 #define HAVE_FREXPF 1
28926 _ACEOF
28927
28928 fi
28929 done
28930
28931 else
28932
28933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28934 $as_echo_n "checking for _frexpf declaration... " >&6; }
28935 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28936 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28937 $as_echo_n "(cached) " >&6
28938 else
28939
28940
28941 ac_ext=cpp
28942 ac_cpp='$CXXCPP $CPPFLAGS'
28943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28946
28947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28948 /* end confdefs.h. */
28949 #include <math.h>
28950 int
28951 main ()
28952 {
28953 _frexpf(0, 0);
28954 ;
28955 return 0;
28956 }
28957 _ACEOF
28958 if ac_fn_cxx_try_compile "$LINENO"; then :
28959 glibcxx_cv_func__frexpf_use=yes
28960 else
28961 glibcxx_cv_func__frexpf_use=no
28962 fi
28963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28964 ac_ext=c
28965 ac_cpp='$CPP $CPPFLAGS'
28966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28969
28970
28971 fi
28972
28973 fi
28974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28975 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28976
28977 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28978 for ac_func in _frexpf
28979 do :
28980 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28981 if test "x$ac_cv_func__frexpf" = x""yes; then :
28982 cat >>confdefs.h <<_ACEOF
28983 #define HAVE__FREXPF 1
28984 _ACEOF
28985
28986 fi
28987 done
28988
28989 fi
28990 fi
28991
28992
28993
28994
28995
28996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28997 $as_echo_n "checking for hypotf declaration... " >&6; }
28998 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28999 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29000 $as_echo_n "(cached) " >&6
29001 else
29002
29003
29004 ac_ext=cpp
29005 ac_cpp='$CXXCPP $CPPFLAGS'
29006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29009
29010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29011 /* end confdefs.h. */
29012 #include <math.h>
29013 int
29014 main ()
29015 {
29016 hypotf(0, 0);
29017 ;
29018 return 0;
29019 }
29020 _ACEOF
29021 if ac_fn_cxx_try_compile "$LINENO"; then :
29022 glibcxx_cv_func_hypotf_use=yes
29023 else
29024 glibcxx_cv_func_hypotf_use=no
29025 fi
29026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29027 ac_ext=c
29028 ac_cpp='$CPP $CPPFLAGS'
29029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29032
29033
29034 fi
29035
29036 fi
29037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29038 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29039
29040 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29041 for ac_func in hypotf
29042 do :
29043 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29044 if test "x$ac_cv_func_hypotf" = x""yes; then :
29045 cat >>confdefs.h <<_ACEOF
29046 #define HAVE_HYPOTF 1
29047 _ACEOF
29048
29049 fi
29050 done
29051
29052 else
29053
29054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29055 $as_echo_n "checking for _hypotf declaration... " >&6; }
29056 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29057 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29058 $as_echo_n "(cached) " >&6
29059 else
29060
29061
29062 ac_ext=cpp
29063 ac_cpp='$CXXCPP $CPPFLAGS'
29064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29067
29068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29069 /* end confdefs.h. */
29070 #include <math.h>
29071 int
29072 main ()
29073 {
29074 _hypotf(0, 0);
29075 ;
29076 return 0;
29077 }
29078 _ACEOF
29079 if ac_fn_cxx_try_compile "$LINENO"; then :
29080 glibcxx_cv_func__hypotf_use=yes
29081 else
29082 glibcxx_cv_func__hypotf_use=no
29083 fi
29084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29085 ac_ext=c
29086 ac_cpp='$CPP $CPPFLAGS'
29087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29090
29091
29092 fi
29093
29094 fi
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29096 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29097
29098 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29099 for ac_func in _hypotf
29100 do :
29101 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29102 if test "x$ac_cv_func__hypotf" = x""yes; then :
29103 cat >>confdefs.h <<_ACEOF
29104 #define HAVE__HYPOTF 1
29105 _ACEOF
29106
29107 fi
29108 done
29109
29110 fi
29111 fi
29112
29113
29114
29115
29116
29117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29118 $as_echo_n "checking for ldexpf declaration... " >&6; }
29119 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29120 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29121 $as_echo_n "(cached) " >&6
29122 else
29123
29124
29125 ac_ext=cpp
29126 ac_cpp='$CXXCPP $CPPFLAGS'
29127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29130
29131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29132 /* end confdefs.h. */
29133 #include <math.h>
29134 int
29135 main ()
29136 {
29137 ldexpf(0, 0);
29138 ;
29139 return 0;
29140 }
29141 _ACEOF
29142 if ac_fn_cxx_try_compile "$LINENO"; then :
29143 glibcxx_cv_func_ldexpf_use=yes
29144 else
29145 glibcxx_cv_func_ldexpf_use=no
29146 fi
29147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29148 ac_ext=c
29149 ac_cpp='$CPP $CPPFLAGS'
29150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29153
29154
29155 fi
29156
29157 fi
29158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29159 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29160
29161 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29162 for ac_func in ldexpf
29163 do :
29164 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29165 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29166 cat >>confdefs.h <<_ACEOF
29167 #define HAVE_LDEXPF 1
29168 _ACEOF
29169
29170 fi
29171 done
29172
29173 else
29174
29175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29176 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29177 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29178 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29179 $as_echo_n "(cached) " >&6
29180 else
29181
29182
29183 ac_ext=cpp
29184 ac_cpp='$CXXCPP $CPPFLAGS'
29185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29188
29189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29190 /* end confdefs.h. */
29191 #include <math.h>
29192 int
29193 main ()
29194 {
29195 _ldexpf(0, 0);
29196 ;
29197 return 0;
29198 }
29199 _ACEOF
29200 if ac_fn_cxx_try_compile "$LINENO"; then :
29201 glibcxx_cv_func__ldexpf_use=yes
29202 else
29203 glibcxx_cv_func__ldexpf_use=no
29204 fi
29205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29206 ac_ext=c
29207 ac_cpp='$CPP $CPPFLAGS'
29208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29211
29212
29213 fi
29214
29215 fi
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29217 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29218
29219 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29220 for ac_func in _ldexpf
29221 do :
29222 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29223 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29224 cat >>confdefs.h <<_ACEOF
29225 #define HAVE__LDEXPF 1
29226 _ACEOF
29227
29228 fi
29229 done
29230
29231 fi
29232 fi
29233
29234
29235
29236
29237
29238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29239 $as_echo_n "checking for logf declaration... " >&6; }
29240 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29241 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29242 $as_echo_n "(cached) " >&6
29243 else
29244
29245
29246 ac_ext=cpp
29247 ac_cpp='$CXXCPP $CPPFLAGS'
29248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29251
29252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29253 /* end confdefs.h. */
29254 #include <math.h>
29255 #ifdef HAVE_IEEEFP_H
29256 #include <ieeefp.h>
29257 #endif
29258
29259 int
29260 main ()
29261 {
29262 logf(0);
29263 ;
29264 return 0;
29265 }
29266 _ACEOF
29267 if ac_fn_cxx_try_compile "$LINENO"; then :
29268 glibcxx_cv_func_logf_use=yes
29269 else
29270 glibcxx_cv_func_logf_use=no
29271 fi
29272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29273 ac_ext=c
29274 ac_cpp='$CPP $CPPFLAGS'
29275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29278
29279
29280 fi
29281
29282 fi
29283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29284 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29285
29286 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29287 for ac_func in logf
29288 do :
29289 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29290 if test "x$ac_cv_func_logf" = x""yes; then :
29291 cat >>confdefs.h <<_ACEOF
29292 #define HAVE_LOGF 1
29293 _ACEOF
29294
29295 fi
29296 done
29297
29298 else
29299
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29301 $as_echo_n "checking for _logf declaration... " >&6; }
29302 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29303 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29304 $as_echo_n "(cached) " >&6
29305 else
29306
29307
29308 ac_ext=cpp
29309 ac_cpp='$CXXCPP $CPPFLAGS'
29310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29313
29314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29315 /* end confdefs.h. */
29316 #include <math.h>
29317 #ifdef HAVE_IEEEFP_H
29318 #include <ieeefp.h>
29319 #endif
29320
29321 int
29322 main ()
29323 {
29324 _logf(0);
29325 ;
29326 return 0;
29327 }
29328 _ACEOF
29329 if ac_fn_cxx_try_compile "$LINENO"; then :
29330 glibcxx_cv_func__logf_use=yes
29331 else
29332 glibcxx_cv_func__logf_use=no
29333 fi
29334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29335 ac_ext=c
29336 ac_cpp='$CPP $CPPFLAGS'
29337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29340
29341
29342 fi
29343
29344 fi
29345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29346 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29347
29348 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29349 for ac_func in _logf
29350 do :
29351 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29352 if test "x$ac_cv_func__logf" = x""yes; then :
29353 cat >>confdefs.h <<_ACEOF
29354 #define HAVE__LOGF 1
29355 _ACEOF
29356
29357 fi
29358 done
29359
29360 fi
29361 fi
29362
29363
29364
29365
29366
29367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29368 $as_echo_n "checking for log10f declaration... " >&6; }
29369 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29370 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29371 $as_echo_n "(cached) " >&6
29372 else
29373
29374
29375 ac_ext=cpp
29376 ac_cpp='$CXXCPP $CPPFLAGS'
29377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29380
29381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29382 /* end confdefs.h. */
29383 #include <math.h>
29384 #ifdef HAVE_IEEEFP_H
29385 #include <ieeefp.h>
29386 #endif
29387
29388 int
29389 main ()
29390 {
29391 log10f(0);
29392 ;
29393 return 0;
29394 }
29395 _ACEOF
29396 if ac_fn_cxx_try_compile "$LINENO"; then :
29397 glibcxx_cv_func_log10f_use=yes
29398 else
29399 glibcxx_cv_func_log10f_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_log10f_use" >&5
29413 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29414
29415 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29416 for ac_func in log10f
29417 do :
29418 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29419 if test "x$ac_cv_func_log10f" = x""yes; then :
29420 cat >>confdefs.h <<_ACEOF
29421 #define HAVE_LOG10F 1
29422 _ACEOF
29423
29424 fi
29425 done
29426
29427 else
29428
29429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29430 $as_echo_n "checking for _log10f declaration... " >&6; }
29431 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29432 if test "${glibcxx_cv_func__log10f_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 #ifdef HAVE_IEEEFP_H
29447 #include <ieeefp.h>
29448 #endif
29449
29450 int
29451 main ()
29452 {
29453 _log10f(0);
29454 ;
29455 return 0;
29456 }
29457 _ACEOF
29458 if ac_fn_cxx_try_compile "$LINENO"; then :
29459 glibcxx_cv_func__log10f_use=yes
29460 else
29461 glibcxx_cv_func__log10f_use=no
29462 fi
29463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29464 ac_ext=c
29465 ac_cpp='$CPP $CPPFLAGS'
29466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29469
29470
29471 fi
29472
29473 fi
29474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29475 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29476
29477 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29478 for ac_func in _log10f
29479 do :
29480 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29481 if test "x$ac_cv_func__log10f" = x""yes; then :
29482 cat >>confdefs.h <<_ACEOF
29483 #define HAVE__LOG10F 1
29484 _ACEOF
29485
29486 fi
29487 done
29488
29489 fi
29490 fi
29491
29492
29493
29494
29495
29496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29497 $as_echo_n "checking for modff declaration... " >&6; }
29498 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29499 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29500 $as_echo_n "(cached) " >&6
29501 else
29502
29503
29504 ac_ext=cpp
29505 ac_cpp='$CXXCPP $CPPFLAGS'
29506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29509
29510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29511 /* end confdefs.h. */
29512 #include <math.h>
29513 int
29514 main ()
29515 {
29516 modff(0, 0);
29517 ;
29518 return 0;
29519 }
29520 _ACEOF
29521 if ac_fn_cxx_try_compile "$LINENO"; then :
29522 glibcxx_cv_func_modff_use=yes
29523 else
29524 glibcxx_cv_func_modff_use=no
29525 fi
29526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29527 ac_ext=c
29528 ac_cpp='$CPP $CPPFLAGS'
29529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29532
29533
29534 fi
29535
29536 fi
29537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29538 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29539
29540 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29541 for ac_func in modff
29542 do :
29543 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29544 if test "x$ac_cv_func_modff" = x""yes; then :
29545 cat >>confdefs.h <<_ACEOF
29546 #define HAVE_MODFF 1
29547 _ACEOF
29548
29549 fi
29550 done
29551
29552 else
29553
29554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29555 $as_echo_n "checking for _modff declaration... " >&6; }
29556 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29557 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29558 $as_echo_n "(cached) " >&6
29559 else
29560
29561
29562 ac_ext=cpp
29563 ac_cpp='$CXXCPP $CPPFLAGS'
29564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29567
29568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29569 /* end confdefs.h. */
29570 #include <math.h>
29571 int
29572 main ()
29573 {
29574 _modff(0, 0);
29575 ;
29576 return 0;
29577 }
29578 _ACEOF
29579 if ac_fn_cxx_try_compile "$LINENO"; then :
29580 glibcxx_cv_func__modff_use=yes
29581 else
29582 glibcxx_cv_func__modff_use=no
29583 fi
29584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29585 ac_ext=c
29586 ac_cpp='$CPP $CPPFLAGS'
29587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29590
29591
29592 fi
29593
29594 fi
29595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29596 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29597
29598 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29599 for ac_func in _modff
29600 do :
29601 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29602 if test "x$ac_cv_func__modff" = x""yes; then :
29603 cat >>confdefs.h <<_ACEOF
29604 #define HAVE__MODFF 1
29605 _ACEOF
29606
29607 fi
29608 done
29609
29610 fi
29611 fi
29612
29613
29614
29615
29616
29617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29618 $as_echo_n "checking for modf declaration... " >&6; }
29619 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29620 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29621 $as_echo_n "(cached) " >&6
29622 else
29623
29624
29625 ac_ext=cpp
29626 ac_cpp='$CXXCPP $CPPFLAGS'
29627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29630
29631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29632 /* end confdefs.h. */
29633 #include <math.h>
29634 int
29635 main ()
29636 {
29637 modf(0, 0);
29638 ;
29639 return 0;
29640 }
29641 _ACEOF
29642 if ac_fn_cxx_try_compile "$LINENO"; then :
29643 glibcxx_cv_func_modf_use=yes
29644 else
29645 glibcxx_cv_func_modf_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_modf_use" >&5
29659 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29660
29661 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29662 for ac_func in modf
29663 do :
29664 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29665 if test "x$ac_cv_func_modf" = x""yes; then :
29666 cat >>confdefs.h <<_ACEOF
29667 #define HAVE_MODF 1
29668 _ACEOF
29669
29670 fi
29671 done
29672
29673 else
29674
29675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29676 $as_echo_n "checking for _modf declaration... " >&6; }
29677 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29678 if test "${glibcxx_cv_func__modf_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 int
29693 main ()
29694 {
29695 _modf(0, 0);
29696 ;
29697 return 0;
29698 }
29699 _ACEOF
29700 if ac_fn_cxx_try_compile "$LINENO"; then :
29701 glibcxx_cv_func__modf_use=yes
29702 else
29703 glibcxx_cv_func__modf_use=no
29704 fi
29705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29706 ac_ext=c
29707 ac_cpp='$CPP $CPPFLAGS'
29708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29711
29712
29713 fi
29714
29715 fi
29716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29717 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29718
29719 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29720 for ac_func in _modf
29721 do :
29722 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29723 if test "x$ac_cv_func__modf" = x""yes; then :
29724 cat >>confdefs.h <<_ACEOF
29725 #define HAVE__MODF 1
29726 _ACEOF
29727
29728 fi
29729 done
29730
29731 fi
29732 fi
29733
29734
29735
29736
29737
29738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29739 $as_echo_n "checking for powf declaration... " >&6; }
29740 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29741 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29742 $as_echo_n "(cached) " >&6
29743 else
29744
29745
29746 ac_ext=cpp
29747 ac_cpp='$CXXCPP $CPPFLAGS'
29748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29751
29752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29753 /* end confdefs.h. */
29754 #include <math.h>
29755 int
29756 main ()
29757 {
29758 powf(0, 0);
29759 ;
29760 return 0;
29761 }
29762 _ACEOF
29763 if ac_fn_cxx_try_compile "$LINENO"; then :
29764 glibcxx_cv_func_powf_use=yes
29765 else
29766 glibcxx_cv_func_powf_use=no
29767 fi
29768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29769 ac_ext=c
29770 ac_cpp='$CPP $CPPFLAGS'
29771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29774
29775
29776 fi
29777
29778 fi
29779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29780 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29781
29782 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29783 for ac_func in powf
29784 do :
29785 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29786 if test "x$ac_cv_func_powf" = x""yes; then :
29787 cat >>confdefs.h <<_ACEOF
29788 #define HAVE_POWF 1
29789 _ACEOF
29790
29791 fi
29792 done
29793
29794 else
29795
29796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29797 $as_echo_n "checking for _powf declaration... " >&6; }
29798 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29799 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29800 $as_echo_n "(cached) " >&6
29801 else
29802
29803
29804 ac_ext=cpp
29805 ac_cpp='$CXXCPP $CPPFLAGS'
29806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29809
29810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29811 /* end confdefs.h. */
29812 #include <math.h>
29813 int
29814 main ()
29815 {
29816 _powf(0, 0);
29817 ;
29818 return 0;
29819 }
29820 _ACEOF
29821 if ac_fn_cxx_try_compile "$LINENO"; then :
29822 glibcxx_cv_func__powf_use=yes
29823 else
29824 glibcxx_cv_func__powf_use=no
29825 fi
29826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29827 ac_ext=c
29828 ac_cpp='$CPP $CPPFLAGS'
29829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29832
29833
29834 fi
29835
29836 fi
29837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29838 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29839
29840 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29841 for ac_func in _powf
29842 do :
29843 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29844 if test "x$ac_cv_func__powf" = x""yes; then :
29845 cat >>confdefs.h <<_ACEOF
29846 #define HAVE__POWF 1
29847 _ACEOF
29848
29849 fi
29850 done
29851
29852 fi
29853 fi
29854
29855
29856
29857
29858
29859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29860 $as_echo_n "checking for sqrtf declaration... " >&6; }
29861 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29862 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29863 $as_echo_n "(cached) " >&6
29864 else
29865
29866
29867 ac_ext=cpp
29868 ac_cpp='$CXXCPP $CPPFLAGS'
29869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29872
29873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29874 /* end confdefs.h. */
29875 #include <math.h>
29876 #ifdef HAVE_IEEEFP_H
29877 #include <ieeefp.h>
29878 #endif
29879
29880 int
29881 main ()
29882 {
29883 sqrtf(0);
29884 ;
29885 return 0;
29886 }
29887 _ACEOF
29888 if ac_fn_cxx_try_compile "$LINENO"; then :
29889 glibcxx_cv_func_sqrtf_use=yes
29890 else
29891 glibcxx_cv_func_sqrtf_use=no
29892 fi
29893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29894 ac_ext=c
29895 ac_cpp='$CPP $CPPFLAGS'
29896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29899
29900
29901 fi
29902
29903 fi
29904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29905 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29906
29907 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29908 for ac_func in sqrtf
29909 do :
29910 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29911 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29912 cat >>confdefs.h <<_ACEOF
29913 #define HAVE_SQRTF 1
29914 _ACEOF
29915
29916 fi
29917 done
29918
29919 else
29920
29921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29922 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29923 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29924 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29925 $as_echo_n "(cached) " >&6
29926 else
29927
29928
29929 ac_ext=cpp
29930 ac_cpp='$CXXCPP $CPPFLAGS'
29931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29934
29935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29936 /* end confdefs.h. */
29937 #include <math.h>
29938 #ifdef HAVE_IEEEFP_H
29939 #include <ieeefp.h>
29940 #endif
29941
29942 int
29943 main ()
29944 {
29945 _sqrtf(0);
29946 ;
29947 return 0;
29948 }
29949 _ACEOF
29950 if ac_fn_cxx_try_compile "$LINENO"; then :
29951 glibcxx_cv_func__sqrtf_use=yes
29952 else
29953 glibcxx_cv_func__sqrtf_use=no
29954 fi
29955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29956 ac_ext=c
29957 ac_cpp='$CPP $CPPFLAGS'
29958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29961
29962
29963 fi
29964
29965 fi
29966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29967 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29968
29969 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29970 for ac_func in _sqrtf
29971 do :
29972 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29973 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29974 cat >>confdefs.h <<_ACEOF
29975 #define HAVE__SQRTF 1
29976 _ACEOF
29977
29978 fi
29979 done
29980
29981 fi
29982 fi
29983
29984
29985
29986
29987
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29989 $as_echo_n "checking for sincosf declaration... " >&6; }
29990 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29991 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29992 $as_echo_n "(cached) " >&6
29993 else
29994
29995
29996 ac_ext=cpp
29997 ac_cpp='$CXXCPP $CPPFLAGS'
29998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30001
30002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30003 /* end confdefs.h. */
30004 #include <math.h>
30005 int
30006 main ()
30007 {
30008 sincosf(0, 0, 0);
30009 ;
30010 return 0;
30011 }
30012 _ACEOF
30013 if ac_fn_cxx_try_compile "$LINENO"; then :
30014 glibcxx_cv_func_sincosf_use=yes
30015 else
30016 glibcxx_cv_func_sincosf_use=no
30017 fi
30018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30019 ac_ext=c
30020 ac_cpp='$CPP $CPPFLAGS'
30021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30024
30025
30026 fi
30027
30028 fi
30029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30030 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30031
30032 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30033 for ac_func in sincosf
30034 do :
30035 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30036 if test "x$ac_cv_func_sincosf" = x""yes; then :
30037 cat >>confdefs.h <<_ACEOF
30038 #define HAVE_SINCOSF 1
30039 _ACEOF
30040
30041 fi
30042 done
30043
30044 else
30045
30046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30047 $as_echo_n "checking for _sincosf declaration... " >&6; }
30048 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30049 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30050 $as_echo_n "(cached) " >&6
30051 else
30052
30053
30054 ac_ext=cpp
30055 ac_cpp='$CXXCPP $CPPFLAGS'
30056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30059
30060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30061 /* end confdefs.h. */
30062 #include <math.h>
30063 int
30064 main ()
30065 {
30066 _sincosf(0, 0, 0);
30067 ;
30068 return 0;
30069 }
30070 _ACEOF
30071 if ac_fn_cxx_try_compile "$LINENO"; then :
30072 glibcxx_cv_func__sincosf_use=yes
30073 else
30074 glibcxx_cv_func__sincosf_use=no
30075 fi
30076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30077 ac_ext=c
30078 ac_cpp='$CPP $CPPFLAGS'
30079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30082
30083
30084 fi
30085
30086 fi
30087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30088 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30089
30090 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30091 for ac_func in _sincosf
30092 do :
30093 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30094 if test "x$ac_cv_func__sincosf" = x""yes; then :
30095 cat >>confdefs.h <<_ACEOF
30096 #define HAVE__SINCOSF 1
30097 _ACEOF
30098
30099 fi
30100 done
30101
30102 fi
30103 fi
30104
30105
30106
30107
30108
30109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30110 $as_echo_n "checking for finitef declaration... " >&6; }
30111 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30112 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30113 $as_echo_n "(cached) " >&6
30114 else
30115
30116
30117 ac_ext=cpp
30118 ac_cpp='$CXXCPP $CPPFLAGS'
30119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30122
30123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30124 /* end confdefs.h. */
30125 #include <math.h>
30126 #ifdef HAVE_IEEEFP_H
30127 #include <ieeefp.h>
30128 #endif
30129
30130 int
30131 main ()
30132 {
30133 finitef(0);
30134 ;
30135 return 0;
30136 }
30137 _ACEOF
30138 if ac_fn_cxx_try_compile "$LINENO"; then :
30139 glibcxx_cv_func_finitef_use=yes
30140 else
30141 glibcxx_cv_func_finitef_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_finitef_use" >&5
30155 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30156
30157 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30158 for ac_func in finitef
30159 do :
30160 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30161 if test "x$ac_cv_func_finitef" = x""yes; then :
30162 cat >>confdefs.h <<_ACEOF
30163 #define HAVE_FINITEF 1
30164 _ACEOF
30165
30166 fi
30167 done
30168
30169 else
30170
30171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30172 $as_echo_n "checking for _finitef declaration... " >&6; }
30173 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30174 if test "${glibcxx_cv_func__finitef_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 #ifdef HAVE_IEEEFP_H
30189 #include <ieeefp.h>
30190 #endif
30191
30192 int
30193 main ()
30194 {
30195 _finitef(0);
30196 ;
30197 return 0;
30198 }
30199 _ACEOF
30200 if ac_fn_cxx_try_compile "$LINENO"; then :
30201 glibcxx_cv_func__finitef_use=yes
30202 else
30203 glibcxx_cv_func__finitef_use=no
30204 fi
30205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30206 ac_ext=c
30207 ac_cpp='$CPP $CPPFLAGS'
30208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30211
30212
30213 fi
30214
30215 fi
30216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30217 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30218
30219 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30220 for ac_func in _finitef
30221 do :
30222 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30223 if test "x$ac_cv_func__finitef" = x""yes; then :
30224 cat >>confdefs.h <<_ACEOF
30225 #define HAVE__FINITEF 1
30226 _ACEOF
30227
30228 fi
30229 done
30230
30231 fi
30232 fi
30233
30234
30235
30236
30237
30238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30239 $as_echo_n "checking for long double trig functions... " >&6; }
30240 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30241 $as_echo_n "(cached) " >&6
30242 else
30243
30244
30245 ac_ext=cpp
30246 ac_cpp='$CXXCPP $CPPFLAGS'
30247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30250
30251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30252 /* end confdefs.h. */
30253 #include <math.h>
30254 int
30255 main ()
30256 {
30257 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30258 ;
30259 return 0;
30260 }
30261 _ACEOF
30262 if ac_fn_cxx_try_compile "$LINENO"; then :
30263 glibcxx_cv_func_long_double_trig_use=yes
30264 else
30265 glibcxx_cv_func_long_double_trig_use=no
30266 fi
30267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30268 ac_ext=c
30269 ac_cpp='$CPP $CPPFLAGS'
30270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30273
30274 fi
30275
30276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30277 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30278 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30279 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30280 do :
30281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30283 eval as_val=\$$as_ac_var
30284 if test "x$as_val" = x""yes; then :
30285 cat >>confdefs.h <<_ACEOF
30286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30287 _ACEOF
30288
30289 fi
30290 done
30291
30292 else
30293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30294 $as_echo_n "checking for _long double trig functions... " >&6; }
30295 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30296 $as_echo_n "(cached) " >&6
30297 else
30298
30299
30300 ac_ext=cpp
30301 ac_cpp='$CXXCPP $CPPFLAGS'
30302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30305
30306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30307 /* end confdefs.h. */
30308 #include <math.h>
30309 int
30310 main ()
30311 {
30312 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30313 ;
30314 return 0;
30315 }
30316 _ACEOF
30317 if ac_fn_cxx_try_compile "$LINENO"; then :
30318 glibcxx_cv_func__long_double_trig_use=yes
30319 else
30320 glibcxx_cv_func__long_double_trig_use=no
30321 fi
30322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30323 ac_ext=c
30324 ac_cpp='$CPP $CPPFLAGS'
30325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30328
30329 fi
30330
30331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30332 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30333 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30334 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30335 do :
30336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30338 eval as_val=\$$as_ac_var
30339 if test "x$as_val" = x""yes; then :
30340 cat >>confdefs.h <<_ACEOF
30341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30342 _ACEOF
30343
30344 fi
30345 done
30346
30347 fi
30348 fi
30349
30350
30351
30352
30353
30354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30355 $as_echo_n "checking for long double round functions... " >&6; }
30356 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30357 $as_echo_n "(cached) " >&6
30358 else
30359
30360
30361 ac_ext=cpp
30362 ac_cpp='$CXXCPP $CPPFLAGS'
30363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30366
30367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30368 /* end confdefs.h. */
30369 #include <math.h>
30370 int
30371 main ()
30372 {
30373 ceill (0); floorl (0);
30374 ;
30375 return 0;
30376 }
30377 _ACEOF
30378 if ac_fn_cxx_try_compile "$LINENO"; then :
30379 glibcxx_cv_func_long_double_round_use=yes
30380 else
30381 glibcxx_cv_func_long_double_round_use=no
30382 fi
30383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30384 ac_ext=c
30385 ac_cpp='$CPP $CPPFLAGS'
30386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30389
30390 fi
30391
30392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30393 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30394 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30395 for ac_func in ceill floorl
30396 do :
30397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30398 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30399 eval as_val=\$$as_ac_var
30400 if test "x$as_val" = x""yes; then :
30401 cat >>confdefs.h <<_ACEOF
30402 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30403 _ACEOF
30404
30405 fi
30406 done
30407
30408 else
30409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30410 $as_echo_n "checking for _long double round functions... " >&6; }
30411 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30412 $as_echo_n "(cached) " >&6
30413 else
30414
30415
30416 ac_ext=cpp
30417 ac_cpp='$CXXCPP $CPPFLAGS'
30418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30421
30422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30423 /* end confdefs.h. */
30424 #include <math.h>
30425 int
30426 main ()
30427 {
30428 _ceill (0); _floorl (0);
30429 ;
30430 return 0;
30431 }
30432 _ACEOF
30433 if ac_fn_cxx_try_compile "$LINENO"; then :
30434 glibcxx_cv_func__long_double_round_use=yes
30435 else
30436 glibcxx_cv_func__long_double_round_use=no
30437 fi
30438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30439 ac_ext=c
30440 ac_cpp='$CPP $CPPFLAGS'
30441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30444
30445 fi
30446
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30448 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30449 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30450 for ac_func in _ceill _floorl
30451 do :
30452 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30454 eval as_val=\$$as_ac_var
30455 if test "x$as_val" = x""yes; then :
30456 cat >>confdefs.h <<_ACEOF
30457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30458 _ACEOF
30459
30460 fi
30461 done
30462
30463 fi
30464 fi
30465
30466
30467
30468
30469
30470
30471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30472 $as_echo_n "checking for isnanl declaration... " >&6; }
30473 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30474 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30475 $as_echo_n "(cached) " >&6
30476 else
30477
30478
30479 ac_ext=cpp
30480 ac_cpp='$CXXCPP $CPPFLAGS'
30481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30484
30485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30486 /* end confdefs.h. */
30487 #include <math.h>
30488 #ifdef HAVE_IEEEFP_H
30489 #include <ieeefp.h>
30490 #endif
30491
30492 int
30493 main ()
30494 {
30495 isnanl(0);
30496 ;
30497 return 0;
30498 }
30499 _ACEOF
30500 if ac_fn_cxx_try_compile "$LINENO"; then :
30501 glibcxx_cv_func_isnanl_use=yes
30502 else
30503 glibcxx_cv_func_isnanl_use=no
30504 fi
30505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30506 ac_ext=c
30507 ac_cpp='$CPP $CPPFLAGS'
30508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30511
30512
30513 fi
30514
30515 fi
30516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30517 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30518
30519 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30520 for ac_func in isnanl
30521 do :
30522 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30523 if test "x$ac_cv_func_isnanl" = x""yes; then :
30524 cat >>confdefs.h <<_ACEOF
30525 #define HAVE_ISNANL 1
30526 _ACEOF
30527
30528 fi
30529 done
30530
30531 else
30532
30533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30534 $as_echo_n "checking for _isnanl declaration... " >&6; }
30535 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30536 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30537 $as_echo_n "(cached) " >&6
30538 else
30539
30540
30541 ac_ext=cpp
30542 ac_cpp='$CXXCPP $CPPFLAGS'
30543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30546
30547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30548 /* end confdefs.h. */
30549 #include <math.h>
30550 #ifdef HAVE_IEEEFP_H
30551 #include <ieeefp.h>
30552 #endif
30553
30554 int
30555 main ()
30556 {
30557 _isnanl(0);
30558 ;
30559 return 0;
30560 }
30561 _ACEOF
30562 if ac_fn_cxx_try_compile "$LINENO"; then :
30563 glibcxx_cv_func__isnanl_use=yes
30564 else
30565 glibcxx_cv_func__isnanl_use=no
30566 fi
30567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30568 ac_ext=c
30569 ac_cpp='$CPP $CPPFLAGS'
30570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30573
30574
30575 fi
30576
30577 fi
30578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30579 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30580
30581 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30582 for ac_func in _isnanl
30583 do :
30584 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30585 if test "x$ac_cv_func__isnanl" = x""yes; then :
30586 cat >>confdefs.h <<_ACEOF
30587 #define HAVE__ISNANL 1
30588 _ACEOF
30589
30590 fi
30591 done
30592
30593 fi
30594 fi
30595
30596
30597
30598
30599
30600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30601 $as_echo_n "checking for isinfl declaration... " >&6; }
30602 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30603 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30604 $as_echo_n "(cached) " >&6
30605 else
30606
30607
30608 ac_ext=cpp
30609 ac_cpp='$CXXCPP $CPPFLAGS'
30610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30613
30614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30615 /* end confdefs.h. */
30616 #include <math.h>
30617 #ifdef HAVE_IEEEFP_H
30618 #include <ieeefp.h>
30619 #endif
30620
30621 int
30622 main ()
30623 {
30624 isinfl(0);
30625 ;
30626 return 0;
30627 }
30628 _ACEOF
30629 if ac_fn_cxx_try_compile "$LINENO"; then :
30630 glibcxx_cv_func_isinfl_use=yes
30631 else
30632 glibcxx_cv_func_isinfl_use=no
30633 fi
30634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30635 ac_ext=c
30636 ac_cpp='$CPP $CPPFLAGS'
30637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30640
30641
30642 fi
30643
30644 fi
30645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30646 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30647
30648 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30649 for ac_func in isinfl
30650 do :
30651 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30652 if test "x$ac_cv_func_isinfl" = x""yes; then :
30653 cat >>confdefs.h <<_ACEOF
30654 #define HAVE_ISINFL 1
30655 _ACEOF
30656
30657 fi
30658 done
30659
30660 else
30661
30662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30663 $as_echo_n "checking for _isinfl declaration... " >&6; }
30664 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30665 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30666 $as_echo_n "(cached) " >&6
30667 else
30668
30669
30670 ac_ext=cpp
30671 ac_cpp='$CXXCPP $CPPFLAGS'
30672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30675
30676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30677 /* end confdefs.h. */
30678 #include <math.h>
30679 #ifdef HAVE_IEEEFP_H
30680 #include <ieeefp.h>
30681 #endif
30682
30683 int
30684 main ()
30685 {
30686 _isinfl(0);
30687 ;
30688 return 0;
30689 }
30690 _ACEOF
30691 if ac_fn_cxx_try_compile "$LINENO"; then :
30692 glibcxx_cv_func__isinfl_use=yes
30693 else
30694 glibcxx_cv_func__isinfl_use=no
30695 fi
30696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30697 ac_ext=c
30698 ac_cpp='$CPP $CPPFLAGS'
30699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30702
30703
30704 fi
30705
30706 fi
30707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30708 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30709
30710 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30711 for ac_func in _isinfl
30712 do :
30713 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30714 if test "x$ac_cv_func__isinfl" = x""yes; then :
30715 cat >>confdefs.h <<_ACEOF
30716 #define HAVE__ISINFL 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 atan2l declaration" >&5
30730 $as_echo_n "checking for atan2l declaration... " >&6; }
30731 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30732 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30733 $as_echo_n "(cached) " >&6
30734 else
30735
30736
30737 ac_ext=cpp
30738 ac_cpp='$CXXCPP $CPPFLAGS'
30739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30742
30743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30744 /* end confdefs.h. */
30745 #include <math.h>
30746 int
30747 main ()
30748 {
30749 atan2l(0, 0);
30750 ;
30751 return 0;
30752 }
30753 _ACEOF
30754 if ac_fn_cxx_try_compile "$LINENO"; then :
30755 glibcxx_cv_func_atan2l_use=yes
30756 else
30757 glibcxx_cv_func_atan2l_use=no
30758 fi
30759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30760 ac_ext=c
30761 ac_cpp='$CPP $CPPFLAGS'
30762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30765
30766
30767 fi
30768
30769 fi
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30771 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30772
30773 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30774 for ac_func in atan2l
30775 do :
30776 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30777 if test "x$ac_cv_func_atan2l" = x""yes; then :
30778 cat >>confdefs.h <<_ACEOF
30779 #define HAVE_ATAN2L 1
30780 _ACEOF
30781
30782 fi
30783 done
30784
30785 else
30786
30787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30788 $as_echo_n "checking for _atan2l declaration... " >&6; }
30789 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30790 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30791 $as_echo_n "(cached) " >&6
30792 else
30793
30794
30795 ac_ext=cpp
30796 ac_cpp='$CXXCPP $CPPFLAGS'
30797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30800
30801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30802 /* end confdefs.h. */
30803 #include <math.h>
30804 int
30805 main ()
30806 {
30807 _atan2l(0, 0);
30808 ;
30809 return 0;
30810 }
30811 _ACEOF
30812 if ac_fn_cxx_try_compile "$LINENO"; then :
30813 glibcxx_cv_func__atan2l_use=yes
30814 else
30815 glibcxx_cv_func__atan2l_use=no
30816 fi
30817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30818 ac_ext=c
30819 ac_cpp='$CPP $CPPFLAGS'
30820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30823
30824
30825 fi
30826
30827 fi
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30829 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30830
30831 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30832 for ac_func in _atan2l
30833 do :
30834 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30835 if test "x$ac_cv_func__atan2l" = x""yes; then :
30836 cat >>confdefs.h <<_ACEOF
30837 #define HAVE__ATAN2L 1
30838 _ACEOF
30839
30840 fi
30841 done
30842
30843 fi
30844 fi
30845
30846
30847
30848
30849
30850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30851 $as_echo_n "checking for expl declaration... " >&6; }
30852 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30853 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30854 $as_echo_n "(cached) " >&6
30855 else
30856
30857
30858 ac_ext=cpp
30859 ac_cpp='$CXXCPP $CPPFLAGS'
30860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30863
30864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30865 /* end confdefs.h. */
30866 #include <math.h>
30867 #ifdef HAVE_IEEEFP_H
30868 #include <ieeefp.h>
30869 #endif
30870
30871 int
30872 main ()
30873 {
30874 expl(0);
30875 ;
30876 return 0;
30877 }
30878 _ACEOF
30879 if ac_fn_cxx_try_compile "$LINENO"; then :
30880 glibcxx_cv_func_expl_use=yes
30881 else
30882 glibcxx_cv_func_expl_use=no
30883 fi
30884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30885 ac_ext=c
30886 ac_cpp='$CPP $CPPFLAGS'
30887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30890
30891
30892 fi
30893
30894 fi
30895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30896 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30897
30898 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30899 for ac_func in expl
30900 do :
30901 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30902 if test "x$ac_cv_func_expl" = x""yes; then :
30903 cat >>confdefs.h <<_ACEOF
30904 #define HAVE_EXPL 1
30905 _ACEOF
30906
30907 fi
30908 done
30909
30910 else
30911
30912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30913 $as_echo_n "checking for _expl declaration... " >&6; }
30914 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30915 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30916 $as_echo_n "(cached) " >&6
30917 else
30918
30919
30920 ac_ext=cpp
30921 ac_cpp='$CXXCPP $CPPFLAGS'
30922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30925
30926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30927 /* end confdefs.h. */
30928 #include <math.h>
30929 #ifdef HAVE_IEEEFP_H
30930 #include <ieeefp.h>
30931 #endif
30932
30933 int
30934 main ()
30935 {
30936 _expl(0);
30937 ;
30938 return 0;
30939 }
30940 _ACEOF
30941 if ac_fn_cxx_try_compile "$LINENO"; then :
30942 glibcxx_cv_func__expl_use=yes
30943 else
30944 glibcxx_cv_func__expl_use=no
30945 fi
30946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30947 ac_ext=c
30948 ac_cpp='$CPP $CPPFLAGS'
30949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30952
30953
30954 fi
30955
30956 fi
30957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30958 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30959
30960 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30961 for ac_func in _expl
30962 do :
30963 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30964 if test "x$ac_cv_func__expl" = x""yes; then :
30965 cat >>confdefs.h <<_ACEOF
30966 #define HAVE__EXPL 1
30967 _ACEOF
30968
30969 fi
30970 done
30971
30972 fi
30973 fi
30974
30975
30976
30977
30978
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30980 $as_echo_n "checking for fabsl declaration... " >&6; }
30981 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30982 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30983 $as_echo_n "(cached) " >&6
30984 else
30985
30986
30987 ac_ext=cpp
30988 ac_cpp='$CXXCPP $CPPFLAGS'
30989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30992
30993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30994 /* end confdefs.h. */
30995 #include <math.h>
30996 #ifdef HAVE_IEEEFP_H
30997 #include <ieeefp.h>
30998 #endif
30999
31000 int
31001 main ()
31002 {
31003 fabsl(0);
31004 ;
31005 return 0;
31006 }
31007 _ACEOF
31008 if ac_fn_cxx_try_compile "$LINENO"; then :
31009 glibcxx_cv_func_fabsl_use=yes
31010 else
31011 glibcxx_cv_func_fabsl_use=no
31012 fi
31013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31014 ac_ext=c
31015 ac_cpp='$CPP $CPPFLAGS'
31016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31019
31020
31021 fi
31022
31023 fi
31024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31025 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31026
31027 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31028 for ac_func in fabsl
31029 do :
31030 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31031 if test "x$ac_cv_func_fabsl" = x""yes; then :
31032 cat >>confdefs.h <<_ACEOF
31033 #define HAVE_FABSL 1
31034 _ACEOF
31035
31036 fi
31037 done
31038
31039 else
31040
31041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31042 $as_echo_n "checking for _fabsl declaration... " >&6; }
31043 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31044 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31045 $as_echo_n "(cached) " >&6
31046 else
31047
31048
31049 ac_ext=cpp
31050 ac_cpp='$CXXCPP $CPPFLAGS'
31051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31054
31055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31056 /* end confdefs.h. */
31057 #include <math.h>
31058 #ifdef HAVE_IEEEFP_H
31059 #include <ieeefp.h>
31060 #endif
31061
31062 int
31063 main ()
31064 {
31065 _fabsl(0);
31066 ;
31067 return 0;
31068 }
31069 _ACEOF
31070 if ac_fn_cxx_try_compile "$LINENO"; then :
31071 glibcxx_cv_func__fabsl_use=yes
31072 else
31073 glibcxx_cv_func__fabsl_use=no
31074 fi
31075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31076 ac_ext=c
31077 ac_cpp='$CPP $CPPFLAGS'
31078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31081
31082
31083 fi
31084
31085 fi
31086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31087 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31088
31089 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31090 for ac_func in _fabsl
31091 do :
31092 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31093 if test "x$ac_cv_func__fabsl" = x""yes; then :
31094 cat >>confdefs.h <<_ACEOF
31095 #define HAVE__FABSL 1
31096 _ACEOF
31097
31098 fi
31099 done
31100
31101 fi
31102 fi
31103
31104
31105
31106
31107
31108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31109 $as_echo_n "checking for fmodl declaration... " >&6; }
31110 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31111 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31112 $as_echo_n "(cached) " >&6
31113 else
31114
31115
31116 ac_ext=cpp
31117 ac_cpp='$CXXCPP $CPPFLAGS'
31118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31121
31122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31123 /* end confdefs.h. */
31124 #include <math.h>
31125 int
31126 main ()
31127 {
31128 fmodl(0, 0);
31129 ;
31130 return 0;
31131 }
31132 _ACEOF
31133 if ac_fn_cxx_try_compile "$LINENO"; then :
31134 glibcxx_cv_func_fmodl_use=yes
31135 else
31136 glibcxx_cv_func_fmodl_use=no
31137 fi
31138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31139 ac_ext=c
31140 ac_cpp='$CPP $CPPFLAGS'
31141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31144
31145
31146 fi
31147
31148 fi
31149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31150 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31151
31152 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31153 for ac_func in fmodl
31154 do :
31155 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31156 if test "x$ac_cv_func_fmodl" = x""yes; then :
31157 cat >>confdefs.h <<_ACEOF
31158 #define HAVE_FMODL 1
31159 _ACEOF
31160
31161 fi
31162 done
31163
31164 else
31165
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31167 $as_echo_n "checking for _fmodl declaration... " >&6; }
31168 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31169 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31170 $as_echo_n "(cached) " >&6
31171 else
31172
31173
31174 ac_ext=cpp
31175 ac_cpp='$CXXCPP $CPPFLAGS'
31176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31179
31180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31181 /* end confdefs.h. */
31182 #include <math.h>
31183 int
31184 main ()
31185 {
31186 _fmodl(0, 0);
31187 ;
31188 return 0;
31189 }
31190 _ACEOF
31191 if ac_fn_cxx_try_compile "$LINENO"; then :
31192 glibcxx_cv_func__fmodl_use=yes
31193 else
31194 glibcxx_cv_func__fmodl_use=no
31195 fi
31196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31197 ac_ext=c
31198 ac_cpp='$CPP $CPPFLAGS'
31199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31202
31203
31204 fi
31205
31206 fi
31207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31208 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31209
31210 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31211 for ac_func in _fmodl
31212 do :
31213 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31214 if test "x$ac_cv_func__fmodl" = x""yes; then :
31215 cat >>confdefs.h <<_ACEOF
31216 #define HAVE__FMODL 1
31217 _ACEOF
31218
31219 fi
31220 done
31221
31222 fi
31223 fi
31224
31225
31226
31227
31228
31229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31230 $as_echo_n "checking for frexpl declaration... " >&6; }
31231 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31232 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31233 $as_echo_n "(cached) " >&6
31234 else
31235
31236
31237 ac_ext=cpp
31238 ac_cpp='$CXXCPP $CPPFLAGS'
31239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31242
31243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31244 /* end confdefs.h. */
31245 #include <math.h>
31246 int
31247 main ()
31248 {
31249 frexpl(0, 0);
31250 ;
31251 return 0;
31252 }
31253 _ACEOF
31254 if ac_fn_cxx_try_compile "$LINENO"; then :
31255 glibcxx_cv_func_frexpl_use=yes
31256 else
31257 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
31271 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31272
31273 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31274 for ac_func in frexpl
31275 do :
31276 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31277 if test "x$ac_cv_func_frexpl" = x""yes; then :
31278 cat >>confdefs.h <<_ACEOF
31279 #define HAVE_FREXPL 1
31280 _ACEOF
31281
31282 fi
31283 done
31284
31285 else
31286
31287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31288 $as_echo_n "checking for _frexpl declaration... " >&6; }
31289 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31290 if test "${glibcxx_cv_func__frexpl_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 int
31305 main ()
31306 {
31307 _frexpl(0, 0);
31308 ;
31309 return 0;
31310 }
31311 _ACEOF
31312 if ac_fn_cxx_try_compile "$LINENO"; then :
31313 glibcxx_cv_func__frexpl_use=yes
31314 else
31315 glibcxx_cv_func__frexpl_use=no
31316 fi
31317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31318 ac_ext=c
31319 ac_cpp='$CPP $CPPFLAGS'
31320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31323
31324
31325 fi
31326
31327 fi
31328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31329 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31330
31331 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31332 for ac_func in _frexpl
31333 do :
31334 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31335 if test "x$ac_cv_func__frexpl" = x""yes; then :
31336 cat >>confdefs.h <<_ACEOF
31337 #define HAVE__FREXPL 1
31338 _ACEOF
31339
31340 fi
31341 done
31342
31343 fi
31344 fi
31345
31346
31347
31348
31349
31350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31351 $as_echo_n "checking for hypotl declaration... " >&6; }
31352 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31353 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31354 $as_echo_n "(cached) " >&6
31355 else
31356
31357
31358 ac_ext=cpp
31359 ac_cpp='$CXXCPP $CPPFLAGS'
31360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31363
31364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31365 /* end confdefs.h. */
31366 #include <math.h>
31367 int
31368 main ()
31369 {
31370 hypotl(0, 0);
31371 ;
31372 return 0;
31373 }
31374 _ACEOF
31375 if ac_fn_cxx_try_compile "$LINENO"; then :
31376 glibcxx_cv_func_hypotl_use=yes
31377 else
31378 glibcxx_cv_func_hypotl_use=no
31379 fi
31380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31381 ac_ext=c
31382 ac_cpp='$CPP $CPPFLAGS'
31383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31386
31387
31388 fi
31389
31390 fi
31391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31392 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31393
31394 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31395 for ac_func in hypotl
31396 do :
31397 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31398 if test "x$ac_cv_func_hypotl" = x""yes; then :
31399 cat >>confdefs.h <<_ACEOF
31400 #define HAVE_HYPOTL 1
31401 _ACEOF
31402
31403 fi
31404 done
31405
31406 else
31407
31408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31409 $as_echo_n "checking for _hypotl declaration... " >&6; }
31410 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31411 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31412 $as_echo_n "(cached) " >&6
31413 else
31414
31415
31416 ac_ext=cpp
31417 ac_cpp='$CXXCPP $CPPFLAGS'
31418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31421
31422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31423 /* end confdefs.h. */
31424 #include <math.h>
31425 int
31426 main ()
31427 {
31428 _hypotl(0, 0);
31429 ;
31430 return 0;
31431 }
31432 _ACEOF
31433 if ac_fn_cxx_try_compile "$LINENO"; then :
31434 glibcxx_cv_func__hypotl_use=yes
31435 else
31436 glibcxx_cv_func__hypotl_use=no
31437 fi
31438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31439 ac_ext=c
31440 ac_cpp='$CPP $CPPFLAGS'
31441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31444
31445
31446 fi
31447
31448 fi
31449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31450 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31451
31452 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31453 for ac_func in _hypotl
31454 do :
31455 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31456 if test "x$ac_cv_func__hypotl" = x""yes; then :
31457 cat >>confdefs.h <<_ACEOF
31458 #define HAVE__HYPOTL 1
31459 _ACEOF
31460
31461 fi
31462 done
31463
31464 fi
31465 fi
31466
31467
31468
31469
31470
31471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31472 $as_echo_n "checking for ldexpl declaration... " >&6; }
31473 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31474 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31475 $as_echo_n "(cached) " >&6
31476 else
31477
31478
31479 ac_ext=cpp
31480 ac_cpp='$CXXCPP $CPPFLAGS'
31481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31484
31485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31486 /* end confdefs.h. */
31487 #include <math.h>
31488 int
31489 main ()
31490 {
31491 ldexpl(0, 0);
31492 ;
31493 return 0;
31494 }
31495 _ACEOF
31496 if ac_fn_cxx_try_compile "$LINENO"; then :
31497 glibcxx_cv_func_ldexpl_use=yes
31498 else
31499 glibcxx_cv_func_ldexpl_use=no
31500 fi
31501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31502 ac_ext=c
31503 ac_cpp='$CPP $CPPFLAGS'
31504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31507
31508
31509 fi
31510
31511 fi
31512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31513 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31514
31515 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31516 for ac_func in ldexpl
31517 do :
31518 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31519 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31520 cat >>confdefs.h <<_ACEOF
31521 #define HAVE_LDEXPL 1
31522 _ACEOF
31523
31524 fi
31525 done
31526
31527 else
31528
31529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31530 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31531 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31532 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31533 $as_echo_n "(cached) " >&6
31534 else
31535
31536
31537 ac_ext=cpp
31538 ac_cpp='$CXXCPP $CPPFLAGS'
31539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31542
31543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31544 /* end confdefs.h. */
31545 #include <math.h>
31546 int
31547 main ()
31548 {
31549 _ldexpl(0, 0);
31550 ;
31551 return 0;
31552 }
31553 _ACEOF
31554 if ac_fn_cxx_try_compile "$LINENO"; then :
31555 glibcxx_cv_func__ldexpl_use=yes
31556 else
31557 glibcxx_cv_func__ldexpl_use=no
31558 fi
31559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31560 ac_ext=c
31561 ac_cpp='$CPP $CPPFLAGS'
31562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31565
31566
31567 fi
31568
31569 fi
31570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31571 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31572
31573 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31574 for ac_func in _ldexpl
31575 do :
31576 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31577 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31578 cat >>confdefs.h <<_ACEOF
31579 #define HAVE__LDEXPL 1
31580 _ACEOF
31581
31582 fi
31583 done
31584
31585 fi
31586 fi
31587
31588
31589
31590
31591
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31593 $as_echo_n "checking for logl declaration... " >&6; }
31594 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31595 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31596 $as_echo_n "(cached) " >&6
31597 else
31598
31599
31600 ac_ext=cpp
31601 ac_cpp='$CXXCPP $CPPFLAGS'
31602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31605
31606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31607 /* end confdefs.h. */
31608 #include <math.h>
31609 #ifdef HAVE_IEEEFP_H
31610 #include <ieeefp.h>
31611 #endif
31612
31613 int
31614 main ()
31615 {
31616 logl(0);
31617 ;
31618 return 0;
31619 }
31620 _ACEOF
31621 if ac_fn_cxx_try_compile "$LINENO"; then :
31622 glibcxx_cv_func_logl_use=yes
31623 else
31624 glibcxx_cv_func_logl_use=no
31625 fi
31626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31627 ac_ext=c
31628 ac_cpp='$CPP $CPPFLAGS'
31629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31632
31633
31634 fi
31635
31636 fi
31637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31638 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31639
31640 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31641 for ac_func in logl
31642 do :
31643 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31644 if test "x$ac_cv_func_logl" = x""yes; then :
31645 cat >>confdefs.h <<_ACEOF
31646 #define HAVE_LOGL 1
31647 _ACEOF
31648
31649 fi
31650 done
31651
31652 else
31653
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31655 $as_echo_n "checking for _logl declaration... " >&6; }
31656 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31657 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31658 $as_echo_n "(cached) " >&6
31659 else
31660
31661
31662 ac_ext=cpp
31663 ac_cpp='$CXXCPP $CPPFLAGS'
31664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31667
31668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31669 /* end confdefs.h. */
31670 #include <math.h>
31671 #ifdef HAVE_IEEEFP_H
31672 #include <ieeefp.h>
31673 #endif
31674
31675 int
31676 main ()
31677 {
31678 _logl(0);
31679 ;
31680 return 0;
31681 }
31682 _ACEOF
31683 if ac_fn_cxx_try_compile "$LINENO"; then :
31684 glibcxx_cv_func__logl_use=yes
31685 else
31686 glibcxx_cv_func__logl_use=no
31687 fi
31688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31689 ac_ext=c
31690 ac_cpp='$CPP $CPPFLAGS'
31691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31694
31695
31696 fi
31697
31698 fi
31699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31700 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31701
31702 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31703 for ac_func in _logl
31704 do :
31705 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31706 if test "x$ac_cv_func__logl" = x""yes; then :
31707 cat >>confdefs.h <<_ACEOF
31708 #define HAVE__LOGL 1
31709 _ACEOF
31710
31711 fi
31712 done
31713
31714 fi
31715 fi
31716
31717
31718
31719
31720
31721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31722 $as_echo_n "checking for log10l declaration... " >&6; }
31723 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31724 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31725 $as_echo_n "(cached) " >&6
31726 else
31727
31728
31729 ac_ext=cpp
31730 ac_cpp='$CXXCPP $CPPFLAGS'
31731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31734
31735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31736 /* end confdefs.h. */
31737 #include <math.h>
31738 #ifdef HAVE_IEEEFP_H
31739 #include <ieeefp.h>
31740 #endif
31741
31742 int
31743 main ()
31744 {
31745 log10l(0);
31746 ;
31747 return 0;
31748 }
31749 _ACEOF
31750 if ac_fn_cxx_try_compile "$LINENO"; then :
31751 glibcxx_cv_func_log10l_use=yes
31752 else
31753 glibcxx_cv_func_log10l_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_log10l_use" >&5
31767 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31768
31769 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31770 for ac_func in log10l
31771 do :
31772 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31773 if test "x$ac_cv_func_log10l" = x""yes; then :
31774 cat >>confdefs.h <<_ACEOF
31775 #define HAVE_LOG10L 1
31776 _ACEOF
31777
31778 fi
31779 done
31780
31781 else
31782
31783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31784 $as_echo_n "checking for _log10l declaration... " >&6; }
31785 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31786 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
31801 #include <ieeefp.h>
31802 #endif
31803
31804 int
31805 main ()
31806 {
31807 _log10l(0);
31808 ;
31809 return 0;
31810 }
31811 _ACEOF
31812 if ac_fn_cxx_try_compile "$LINENO"; then :
31813 glibcxx_cv_func__log10l_use=yes
31814 else
31815 glibcxx_cv_func__log10l_use=no
31816 fi
31817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31818 ac_ext=c
31819 ac_cpp='$CPP $CPPFLAGS'
31820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31823
31824
31825 fi
31826
31827 fi
31828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31829 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31830
31831 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31832 for ac_func in _log10l
31833 do :
31834 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31835 if test "x$ac_cv_func__log10l" = x""yes; then :
31836 cat >>confdefs.h <<_ACEOF
31837 #define HAVE__LOG10L 1
31838 _ACEOF
31839
31840 fi
31841 done
31842
31843 fi
31844 fi
31845
31846
31847
31848
31849
31850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31851 $as_echo_n "checking for modfl declaration... " >&6; }
31852 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31853 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31854 $as_echo_n "(cached) " >&6
31855 else
31856
31857
31858 ac_ext=cpp
31859 ac_cpp='$CXXCPP $CPPFLAGS'
31860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31863
31864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31865 /* end confdefs.h. */
31866 #include <math.h>
31867 int
31868 main ()
31869 {
31870 modfl(0, 0);
31871 ;
31872 return 0;
31873 }
31874 _ACEOF
31875 if ac_fn_cxx_try_compile "$LINENO"; then :
31876 glibcxx_cv_func_modfl_use=yes
31877 else
31878 glibcxx_cv_func_modfl_use=no
31879 fi
31880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31881 ac_ext=c
31882 ac_cpp='$CPP $CPPFLAGS'
31883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31886
31887
31888 fi
31889
31890 fi
31891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31892 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31893
31894 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31895 for ac_func in modfl
31896 do :
31897 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31898 if test "x$ac_cv_func_modfl" = x""yes; then :
31899 cat >>confdefs.h <<_ACEOF
31900 #define HAVE_MODFL 1
31901 _ACEOF
31902
31903 fi
31904 done
31905
31906 else
31907
31908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31909 $as_echo_n "checking for _modfl declaration... " >&6; }
31910 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31911 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31912 $as_echo_n "(cached) " >&6
31913 else
31914
31915
31916 ac_ext=cpp
31917 ac_cpp='$CXXCPP $CPPFLAGS'
31918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31921
31922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31923 /* end confdefs.h. */
31924 #include <math.h>
31925 int
31926 main ()
31927 {
31928 _modfl(0, 0);
31929 ;
31930 return 0;
31931 }
31932 _ACEOF
31933 if ac_fn_cxx_try_compile "$LINENO"; then :
31934 glibcxx_cv_func__modfl_use=yes
31935 else
31936 glibcxx_cv_func__modfl_use=no
31937 fi
31938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31939 ac_ext=c
31940 ac_cpp='$CPP $CPPFLAGS'
31941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31944
31945
31946 fi
31947
31948 fi
31949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31950 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31951
31952 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31953 for ac_func in _modfl
31954 do :
31955 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31956 if test "x$ac_cv_func__modfl" = x""yes; then :
31957 cat >>confdefs.h <<_ACEOF
31958 #define HAVE__MODFL 1
31959 _ACEOF
31960
31961 fi
31962 done
31963
31964 fi
31965 fi
31966
31967
31968
31969
31970
31971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31972 $as_echo_n "checking for powl declaration... " >&6; }
31973 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31974 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31975 $as_echo_n "(cached) " >&6
31976 else
31977
31978
31979 ac_ext=cpp
31980 ac_cpp='$CXXCPP $CPPFLAGS'
31981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31984
31985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31986 /* end confdefs.h. */
31987 #include <math.h>
31988 int
31989 main ()
31990 {
31991 powl(0, 0);
31992 ;
31993 return 0;
31994 }
31995 _ACEOF
31996 if ac_fn_cxx_try_compile "$LINENO"; then :
31997 glibcxx_cv_func_powl_use=yes
31998 else
31999 glibcxx_cv_func_powl_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_powl_use" >&5
32013 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32014
32015 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32016 for ac_func in powl
32017 do :
32018 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32019 if test "x$ac_cv_func_powl" = x""yes; then :
32020 cat >>confdefs.h <<_ACEOF
32021 #define HAVE_POWL 1
32022 _ACEOF
32023
32024 fi
32025 done
32026
32027 else
32028
32029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32030 $as_echo_n "checking for _powl declaration... " >&6; }
32031 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32032 if test "${glibcxx_cv_func__powl_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 int
32047 main ()
32048 {
32049 _powl(0, 0);
32050 ;
32051 return 0;
32052 }
32053 _ACEOF
32054 if ac_fn_cxx_try_compile "$LINENO"; then :
32055 glibcxx_cv_func__powl_use=yes
32056 else
32057 glibcxx_cv_func__powl_use=no
32058 fi
32059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32060 ac_ext=c
32061 ac_cpp='$CPP $CPPFLAGS'
32062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32065
32066
32067 fi
32068
32069 fi
32070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32071 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32072
32073 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32074 for ac_func in _powl
32075 do :
32076 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32077 if test "x$ac_cv_func__powl" = x""yes; then :
32078 cat >>confdefs.h <<_ACEOF
32079 #define HAVE__POWL 1
32080 _ACEOF
32081
32082 fi
32083 done
32084
32085 fi
32086 fi
32087
32088
32089
32090
32091
32092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32093 $as_echo_n "checking for sqrtl declaration... " >&6; }
32094 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32095 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32096 $as_echo_n "(cached) " >&6
32097 else
32098
32099
32100 ac_ext=cpp
32101 ac_cpp='$CXXCPP $CPPFLAGS'
32102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32105
32106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32107 /* end confdefs.h. */
32108 #include <math.h>
32109 #ifdef HAVE_IEEEFP_H
32110 #include <ieeefp.h>
32111 #endif
32112
32113 int
32114 main ()
32115 {
32116 sqrtl(0);
32117 ;
32118 return 0;
32119 }
32120 _ACEOF
32121 if ac_fn_cxx_try_compile "$LINENO"; then :
32122 glibcxx_cv_func_sqrtl_use=yes
32123 else
32124 glibcxx_cv_func_sqrtl_use=no
32125 fi
32126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32127 ac_ext=c
32128 ac_cpp='$CPP $CPPFLAGS'
32129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32132
32133
32134 fi
32135
32136 fi
32137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32138 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32139
32140 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32141 for ac_func in sqrtl
32142 do :
32143 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32144 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32145 cat >>confdefs.h <<_ACEOF
32146 #define HAVE_SQRTL 1
32147 _ACEOF
32148
32149 fi
32150 done
32151
32152 else
32153
32154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32155 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32156 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32157 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32158 $as_echo_n "(cached) " >&6
32159 else
32160
32161
32162 ac_ext=cpp
32163 ac_cpp='$CXXCPP $CPPFLAGS'
32164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32167
32168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32169 /* end confdefs.h. */
32170 #include <math.h>
32171 #ifdef HAVE_IEEEFP_H
32172 #include <ieeefp.h>
32173 #endif
32174
32175 int
32176 main ()
32177 {
32178 _sqrtl(0);
32179 ;
32180 return 0;
32181 }
32182 _ACEOF
32183 if ac_fn_cxx_try_compile "$LINENO"; then :
32184 glibcxx_cv_func__sqrtl_use=yes
32185 else
32186 glibcxx_cv_func__sqrtl_use=no
32187 fi
32188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32189 ac_ext=c
32190 ac_cpp='$CPP $CPPFLAGS'
32191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32194
32195
32196 fi
32197
32198 fi
32199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32200 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32201
32202 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32203 for ac_func in _sqrtl
32204 do :
32205 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32206 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32207 cat >>confdefs.h <<_ACEOF
32208 #define HAVE__SQRTL 1
32209 _ACEOF
32210
32211 fi
32212 done
32213
32214 fi
32215 fi
32216
32217
32218
32219
32220
32221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32222 $as_echo_n "checking for sincosl declaration... " >&6; }
32223 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32224 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32225 $as_echo_n "(cached) " >&6
32226 else
32227
32228
32229 ac_ext=cpp
32230 ac_cpp='$CXXCPP $CPPFLAGS'
32231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32234
32235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32236 /* end confdefs.h. */
32237 #include <math.h>
32238 int
32239 main ()
32240 {
32241 sincosl(0, 0, 0);
32242 ;
32243 return 0;
32244 }
32245 _ACEOF
32246 if ac_fn_cxx_try_compile "$LINENO"; then :
32247 glibcxx_cv_func_sincosl_use=yes
32248 else
32249 glibcxx_cv_func_sincosl_use=no
32250 fi
32251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32252 ac_ext=c
32253 ac_cpp='$CPP $CPPFLAGS'
32254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32257
32258
32259 fi
32260
32261 fi
32262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32263 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32264
32265 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32266 for ac_func in sincosl
32267 do :
32268 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32269 if test "x$ac_cv_func_sincosl" = x""yes; then :
32270 cat >>confdefs.h <<_ACEOF
32271 #define HAVE_SINCOSL 1
32272 _ACEOF
32273
32274 fi
32275 done
32276
32277 else
32278
32279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32280 $as_echo_n "checking for _sincosl declaration... " >&6; }
32281 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32282 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32283 $as_echo_n "(cached) " >&6
32284 else
32285
32286
32287 ac_ext=cpp
32288 ac_cpp='$CXXCPP $CPPFLAGS'
32289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32292
32293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32294 /* end confdefs.h. */
32295 #include <math.h>
32296 int
32297 main ()
32298 {
32299 _sincosl(0, 0, 0);
32300 ;
32301 return 0;
32302 }
32303 _ACEOF
32304 if ac_fn_cxx_try_compile "$LINENO"; then :
32305 glibcxx_cv_func__sincosl_use=yes
32306 else
32307 glibcxx_cv_func__sincosl_use=no
32308 fi
32309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32310 ac_ext=c
32311 ac_cpp='$CPP $CPPFLAGS'
32312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32315
32316
32317 fi
32318
32319 fi
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32321 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32322
32323 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32324 for ac_func in _sincosl
32325 do :
32326 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32327 if test "x$ac_cv_func__sincosl" = x""yes; then :
32328 cat >>confdefs.h <<_ACEOF
32329 #define HAVE__SINCOSL 1
32330 _ACEOF
32331
32332 fi
32333 done
32334
32335 fi
32336 fi
32337
32338
32339
32340
32341
32342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32343 $as_echo_n "checking for finitel declaration... " >&6; }
32344 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32345 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32346 $as_echo_n "(cached) " >&6
32347 else
32348
32349
32350 ac_ext=cpp
32351 ac_cpp='$CXXCPP $CPPFLAGS'
32352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32355
32356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32357 /* end confdefs.h. */
32358 #include <math.h>
32359 #ifdef HAVE_IEEEFP_H
32360 #include <ieeefp.h>
32361 #endif
32362
32363 int
32364 main ()
32365 {
32366 finitel(0);
32367 ;
32368 return 0;
32369 }
32370 _ACEOF
32371 if ac_fn_cxx_try_compile "$LINENO"; then :
32372 glibcxx_cv_func_finitel_use=yes
32373 else
32374 glibcxx_cv_func_finitel_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_finitel_use" >&5
32388 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32389
32390 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32391 for ac_func in finitel
32392 do :
32393 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32394 if test "x$ac_cv_func_finitel" = x""yes; then :
32395 cat >>confdefs.h <<_ACEOF
32396 #define HAVE_FINITEL 1
32397 _ACEOF
32398
32399 fi
32400 done
32401
32402 else
32403
32404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32405 $as_echo_n "checking for _finitel declaration... " >&6; }
32406 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32407 if test "${glibcxx_cv_func__finitel_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 #ifdef HAVE_IEEEFP_H
32422 #include <ieeefp.h>
32423 #endif
32424
32425 int
32426 main ()
32427 {
32428 _finitel(0);
32429 ;
32430 return 0;
32431 }
32432 _ACEOF
32433 if ac_fn_cxx_try_compile "$LINENO"; then :
32434 glibcxx_cv_func__finitel_use=yes
32435 else
32436 glibcxx_cv_func__finitel_use=no
32437 fi
32438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32439 ac_ext=c
32440 ac_cpp='$CPP $CPPFLAGS'
32441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32444
32445
32446 fi
32447
32448 fi
32449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32450 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32451
32452 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32453 for ac_func in _finitel
32454 do :
32455 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32456 if test "x$ac_cv_func__finitel" = x""yes; then :
32457 cat >>confdefs.h <<_ACEOF
32458 #define HAVE__FINITEL 1
32459 _ACEOF
32460
32461 fi
32462 done
32463
32464 fi
32465 fi
32466
32467
32468
32469
32470 LIBS="$ac_save_LIBS"
32471 CXXFLAGS="$ac_save_CXXFLAGS"
32472
32473
32474 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32475 ac_save_CXXFLAGS="$CXXFLAGS"
32476 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32477
32478
32479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32480 $as_echo_n "checking for strtold declaration... " >&6; }
32481 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32482 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32483 $as_echo_n "(cached) " >&6
32484 else
32485
32486
32487 ac_ext=cpp
32488 ac_cpp='$CXXCPP $CPPFLAGS'
32489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32492
32493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32494 /* end confdefs.h. */
32495 #include <stdlib.h>
32496 int
32497 main ()
32498 {
32499 strtold(0, 0);
32500 ;
32501 return 0;
32502 }
32503 _ACEOF
32504 if ac_fn_cxx_try_compile "$LINENO"; then :
32505 glibcxx_cv_func_strtold_use=yes
32506 else
32507 glibcxx_cv_func_strtold_use=no
32508 fi
32509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32510 ac_ext=c
32511 ac_cpp='$CPP $CPPFLAGS'
32512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32515
32516
32517 fi
32518
32519 fi
32520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32521 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32522 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32523 for ac_func in strtold
32524 do :
32525 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32526 if test "x$ac_cv_func_strtold" = x""yes; then :
32527 cat >>confdefs.h <<_ACEOF
32528 #define HAVE_STRTOLD 1
32529 _ACEOF
32530
32531 fi
32532 done
32533
32534 fi
32535
32536
32537
32538
32539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32540 $as_echo_n "checking for strtof declaration... " >&6; }
32541 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32542 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32543 $as_echo_n "(cached) " >&6
32544 else
32545
32546
32547 ac_ext=cpp
32548 ac_cpp='$CXXCPP $CPPFLAGS'
32549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32552
32553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32554 /* end confdefs.h. */
32555 #include <stdlib.h>
32556 int
32557 main ()
32558 {
32559 strtof(0, 0);
32560 ;
32561 return 0;
32562 }
32563 _ACEOF
32564 if ac_fn_cxx_try_compile "$LINENO"; then :
32565 glibcxx_cv_func_strtof_use=yes
32566 else
32567 glibcxx_cv_func_strtof_use=no
32568 fi
32569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32570 ac_ext=c
32571 ac_cpp='$CPP $CPPFLAGS'
32572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32575
32576
32577 fi
32578
32579 fi
32580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32581 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32582 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32583 for ac_func in strtof
32584 do :
32585 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32586 if test "x$ac_cv_func_strtof" = x""yes; then :
32587 cat >>confdefs.h <<_ACEOF
32588 #define HAVE_STRTOF 1
32589 _ACEOF
32590
32591 fi
32592 done
32593
32594 fi
32595
32596
32597
32598
32599 CXXFLAGS="$ac_save_CXXFLAGS"
32600
32601
32602 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32603
32604 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32605
32606 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32607
32608 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32609
32610
32611 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32612
32613 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32614
32615 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32616
32617 ;;
32618
32619 *-aix*)
32620
32621 # If we're not using GNU ld, then there's no point in even trying these
32622 # tests. Check for that first. We should have already tested for gld
32623 # by now (in libtool), but require it now just to be safe...
32624 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32625 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32626
32627
32628
32629 # The name set by libtool depends on the version of libtool. Shame on us
32630 # for depending on an impl detail, but c'est la vie. Older versions used
32631 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32632 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32633 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32634 # set (hence we're using an older libtool), then set it.
32635 if test x${with_gnu_ld+set} != xset; then
32636 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32637 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32638 with_gnu_ld=no
32639 else
32640 with_gnu_ld=$ac_cv_prog_gnu_ld
32641 fi
32642 fi
32643
32644 # Start by getting the version number. I think the libtool test already
32645 # does some of this, but throws away the result.
32646 glibcxx_ld_is_gold=no
32647 if test x"$with_gnu_ld" = x"yes"; then
32648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32649 $as_echo_n "checking for ld version... " >&6; }
32650
32651 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32652 glibcxx_ld_is_gold=yes
32653 fi
32654 ldver=`$LD --version 2>/dev/null |
32655 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'`
32656
32657 glibcxx_gnu_ld_version=`echo $ldver | \
32658 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32660 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32661 fi
32662
32663 # Set --gc-sections.
32664 glibcxx_have_gc_sections=no
32665 if test "$glibcxx_ld_is_gold" = "yes"; then
32666 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32667 glibcxx_have_gc_sections=yes
32668 fi
32669 else
32670 glibcxx_gcsections_min_ld=21602
32671 if test x"$with_gnu_ld" = x"yes" &&
32672 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32673 glibcxx_have_gc_sections=yes
32674 fi
32675 fi
32676 if test "$glibcxx_have_gc_sections" = "yes"; then
32677 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32678 # NB: This flag only works reliably after 2.16.1. Configure tests
32679 # for this are difficult, so hard wire a value that should work.
32680
32681 ac_test_CFLAGS="${CFLAGS+set}"
32682 ac_save_CFLAGS="$CFLAGS"
32683 CFLAGS='-Wl,--gc-sections'
32684
32685 # Check for -Wl,--gc-sections
32686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32687 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32688 if test x$gcc_no_link = xyes; then
32689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32690 fi
32691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32692 /* end confdefs.h. */
32693 int one(void) { return 1; }
32694 int two(void) { return 2; }
32695
32696 int
32697 main ()
32698 {
32699 two();
32700 ;
32701 return 0;
32702 }
32703 _ACEOF
32704 if ac_fn_c_try_link "$LINENO"; then :
32705 ac_gcsections=yes
32706 else
32707 ac_gcsections=no
32708 fi
32709 rm -f core conftest.err conftest.$ac_objext \
32710 conftest$ac_exeext conftest.$ac_ext
32711 if test "$ac_gcsections" = "yes"; then
32712 rm -f conftest.c
32713 touch conftest.c
32714 if $CC -c conftest.c; then
32715 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32716 grep "Warning: gc-sections option ignored" > /dev/null; then
32717 ac_gcsections=no
32718 fi
32719 fi
32720 rm -f conftest.c conftest.o conftest
32721 fi
32722 if test "$ac_gcsections" = "yes"; then
32723 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32724 fi
32725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32726 $as_echo "$ac_gcsections" >&6; }
32727
32728 if test "$ac_test_CFLAGS" = set; then
32729 CFLAGS="$ac_save_CFLAGS"
32730 else
32731 # this is the suspicious part
32732 CFLAGS=''
32733 fi
32734 fi
32735
32736 # Set -z,relro.
32737 # Note this is only for shared objects.
32738 ac_ld_relro=no
32739 if test x"$with_gnu_ld" = x"yes"; then
32740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32741 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32742 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32743 if test -n "$cxx_z_relo"; then
32744 OPT_LDFLAGS="-Wl,-z,relro"
32745 ac_ld_relro=yes
32746 fi
32747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32748 $as_echo "$ac_ld_relro" >&6; }
32749 fi
32750
32751 # Set linker optimization flags.
32752 if test x"$with_gnu_ld" = x"yes"; then
32753 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32754 fi
32755
32756
32757
32758
32759
32760 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32761 ac_save_CXXFLAGS="$CXXFLAGS"
32762 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32763
32764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32765 $as_echo_n "checking for sin in -lm... " >&6; }
32766 if test "${ac_cv_lib_m_sin+set}" = set; then :
32767 $as_echo_n "(cached) " >&6
32768 else
32769 ac_check_lib_save_LIBS=$LIBS
32770 LIBS="-lm $LIBS"
32771 if test x$gcc_no_link = xyes; then
32772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32773 fi
32774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32775 /* end confdefs.h. */
32776
32777 /* Override any GCC internal prototype to avoid an error.
32778 Use char because int might match the return type of a GCC
32779 builtin and then its argument prototype would still apply. */
32780 #ifdef __cplusplus
32781 extern "C"
32782 #endif
32783 char sin ();
32784 int
32785 main ()
32786 {
32787 return sin ();
32788 ;
32789 return 0;
32790 }
32791 _ACEOF
32792 if ac_fn_c_try_link "$LINENO"; then :
32793 ac_cv_lib_m_sin=yes
32794 else
32795 ac_cv_lib_m_sin=no
32796 fi
32797 rm -f core conftest.err conftest.$ac_objext \
32798 conftest$ac_exeext conftest.$ac_ext
32799 LIBS=$ac_check_lib_save_LIBS
32800 fi
32801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32802 $as_echo "$ac_cv_lib_m_sin" >&6; }
32803 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32804 libm="-lm"
32805 fi
32806
32807 ac_save_LIBS="$LIBS"
32808 LIBS="$LIBS $libm"
32809
32810
32811
32812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32813 $as_echo_n "checking for isinf declaration... " >&6; }
32814 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32815 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32816 $as_echo_n "(cached) " >&6
32817 else
32818
32819
32820 ac_ext=cpp
32821 ac_cpp='$CXXCPP $CPPFLAGS'
32822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32825
32826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32827 /* end confdefs.h. */
32828 #include <math.h>
32829 #ifdef HAVE_IEEEFP_H
32830 #include <ieeefp.h>
32831 #endif
32832
32833 int
32834 main ()
32835 {
32836 isinf(0);
32837 ;
32838 return 0;
32839 }
32840 _ACEOF
32841 if ac_fn_cxx_try_compile "$LINENO"; then :
32842 glibcxx_cv_func_isinf_use=yes
32843 else
32844 glibcxx_cv_func_isinf_use=no
32845 fi
32846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32847 ac_ext=c
32848 ac_cpp='$CPP $CPPFLAGS'
32849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32852
32853
32854 fi
32855
32856 fi
32857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32858 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32859
32860 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32861 for ac_func in isinf
32862 do :
32863 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32864 if test "x$ac_cv_func_isinf" = x""yes; then :
32865 cat >>confdefs.h <<_ACEOF
32866 #define HAVE_ISINF 1
32867 _ACEOF
32868
32869 fi
32870 done
32871
32872 else
32873
32874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32875 $as_echo_n "checking for _isinf declaration... " >&6; }
32876 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32877 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32878 $as_echo_n "(cached) " >&6
32879 else
32880
32881
32882 ac_ext=cpp
32883 ac_cpp='$CXXCPP $CPPFLAGS'
32884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32887
32888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32889 /* end confdefs.h. */
32890 #include <math.h>
32891 #ifdef HAVE_IEEEFP_H
32892 #include <ieeefp.h>
32893 #endif
32894
32895 int
32896 main ()
32897 {
32898 _isinf(0);
32899 ;
32900 return 0;
32901 }
32902 _ACEOF
32903 if ac_fn_cxx_try_compile "$LINENO"; then :
32904 glibcxx_cv_func__isinf_use=yes
32905 else
32906 glibcxx_cv_func__isinf_use=no
32907 fi
32908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32909 ac_ext=c
32910 ac_cpp='$CPP $CPPFLAGS'
32911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32914
32915
32916 fi
32917
32918 fi
32919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32920 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32921
32922 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32923 for ac_func in _isinf
32924 do :
32925 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32926 if test "x$ac_cv_func__isinf" = x""yes; then :
32927 cat >>confdefs.h <<_ACEOF
32928 #define HAVE__ISINF 1
32929 _ACEOF
32930
32931 fi
32932 done
32933
32934 fi
32935 fi
32936
32937
32938
32939
32940
32941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32942 $as_echo_n "checking for isnan declaration... " >&6; }
32943 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32944 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32945 $as_echo_n "(cached) " >&6
32946 else
32947
32948
32949 ac_ext=cpp
32950 ac_cpp='$CXXCPP $CPPFLAGS'
32951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32954
32955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32956 /* end confdefs.h. */
32957 #include <math.h>
32958 #ifdef HAVE_IEEEFP_H
32959 #include <ieeefp.h>
32960 #endif
32961
32962 int
32963 main ()
32964 {
32965 isnan(0);
32966 ;
32967 return 0;
32968 }
32969 _ACEOF
32970 if ac_fn_cxx_try_compile "$LINENO"; then :
32971 glibcxx_cv_func_isnan_use=yes
32972 else
32973 glibcxx_cv_func_isnan_use=no
32974 fi
32975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32976 ac_ext=c
32977 ac_cpp='$CPP $CPPFLAGS'
32978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32981
32982
32983 fi
32984
32985 fi
32986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32987 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32988
32989 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32990 for ac_func in isnan
32991 do :
32992 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32993 if test "x$ac_cv_func_isnan" = x""yes; then :
32994 cat >>confdefs.h <<_ACEOF
32995 #define HAVE_ISNAN 1
32996 _ACEOF
32997
32998 fi
32999 done
33000
33001 else
33002
33003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33004 $as_echo_n "checking for _isnan declaration... " >&6; }
33005 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33006 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33007 $as_echo_n "(cached) " >&6
33008 else
33009
33010
33011 ac_ext=cpp
33012 ac_cpp='$CXXCPP $CPPFLAGS'
33013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33016
33017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33018 /* end confdefs.h. */
33019 #include <math.h>
33020 #ifdef HAVE_IEEEFP_H
33021 #include <ieeefp.h>
33022 #endif
33023
33024 int
33025 main ()
33026 {
33027 _isnan(0);
33028 ;
33029 return 0;
33030 }
33031 _ACEOF
33032 if ac_fn_cxx_try_compile "$LINENO"; then :
33033 glibcxx_cv_func__isnan_use=yes
33034 else
33035 glibcxx_cv_func__isnan_use=no
33036 fi
33037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33038 ac_ext=c
33039 ac_cpp='$CPP $CPPFLAGS'
33040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33043
33044
33045 fi
33046
33047 fi
33048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33049 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33050
33051 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33052 for ac_func in _isnan
33053 do :
33054 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33055 if test "x$ac_cv_func__isnan" = x""yes; then :
33056 cat >>confdefs.h <<_ACEOF
33057 #define HAVE__ISNAN 1
33058 _ACEOF
33059
33060 fi
33061 done
33062
33063 fi
33064 fi
33065
33066
33067
33068
33069
33070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33071 $as_echo_n "checking for finite declaration... " >&6; }
33072 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33073 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33074 $as_echo_n "(cached) " >&6
33075 else
33076
33077
33078 ac_ext=cpp
33079 ac_cpp='$CXXCPP $CPPFLAGS'
33080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33083
33084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33085 /* end confdefs.h. */
33086 #include <math.h>
33087 #ifdef HAVE_IEEEFP_H
33088 #include <ieeefp.h>
33089 #endif
33090
33091 int
33092 main ()
33093 {
33094 finite(0);
33095 ;
33096 return 0;
33097 }
33098 _ACEOF
33099 if ac_fn_cxx_try_compile "$LINENO"; then :
33100 glibcxx_cv_func_finite_use=yes
33101 else
33102 glibcxx_cv_func_finite_use=no
33103 fi
33104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33105 ac_ext=c
33106 ac_cpp='$CPP $CPPFLAGS'
33107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33110
33111
33112 fi
33113
33114 fi
33115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33116 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33117
33118 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33119 for ac_func in finite
33120 do :
33121 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33122 if test "x$ac_cv_func_finite" = x""yes; then :
33123 cat >>confdefs.h <<_ACEOF
33124 #define HAVE_FINITE 1
33125 _ACEOF
33126
33127 fi
33128 done
33129
33130 else
33131
33132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33133 $as_echo_n "checking for _finite declaration... " >&6; }
33134 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33135 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33136 $as_echo_n "(cached) " >&6
33137 else
33138
33139
33140 ac_ext=cpp
33141 ac_cpp='$CXXCPP $CPPFLAGS'
33142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33145
33146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33147 /* end confdefs.h. */
33148 #include <math.h>
33149 #ifdef HAVE_IEEEFP_H
33150 #include <ieeefp.h>
33151 #endif
33152
33153 int
33154 main ()
33155 {
33156 _finite(0);
33157 ;
33158 return 0;
33159 }
33160 _ACEOF
33161 if ac_fn_cxx_try_compile "$LINENO"; then :
33162 glibcxx_cv_func__finite_use=yes
33163 else
33164 glibcxx_cv_func__finite_use=no
33165 fi
33166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33167 ac_ext=c
33168 ac_cpp='$CPP $CPPFLAGS'
33169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33172
33173
33174 fi
33175
33176 fi
33177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33178 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33179
33180 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33181 for ac_func in _finite
33182 do :
33183 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33184 if test "x$ac_cv_func__finite" = x""yes; then :
33185 cat >>confdefs.h <<_ACEOF
33186 #define HAVE__FINITE 1
33187 _ACEOF
33188
33189 fi
33190 done
33191
33192 fi
33193 fi
33194
33195
33196
33197
33198
33199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33200 $as_echo_n "checking for sincos declaration... " >&6; }
33201 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33202 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33203 $as_echo_n "(cached) " >&6
33204 else
33205
33206
33207 ac_ext=cpp
33208 ac_cpp='$CXXCPP $CPPFLAGS'
33209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33212
33213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33214 /* end confdefs.h. */
33215 #include <math.h>
33216 int
33217 main ()
33218 {
33219 sincos(0, 0, 0);
33220 ;
33221 return 0;
33222 }
33223 _ACEOF
33224 if ac_fn_cxx_try_compile "$LINENO"; then :
33225 glibcxx_cv_func_sincos_use=yes
33226 else
33227 glibcxx_cv_func_sincos_use=no
33228 fi
33229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33230 ac_ext=c
33231 ac_cpp='$CPP $CPPFLAGS'
33232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33235
33236
33237 fi
33238
33239 fi
33240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33241 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33242
33243 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33244 for ac_func in sincos
33245 do :
33246 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33247 if test "x$ac_cv_func_sincos" = x""yes; then :
33248 cat >>confdefs.h <<_ACEOF
33249 #define HAVE_SINCOS 1
33250 _ACEOF
33251
33252 fi
33253 done
33254
33255 else
33256
33257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33258 $as_echo_n "checking for _sincos declaration... " >&6; }
33259 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33260 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33261 $as_echo_n "(cached) " >&6
33262 else
33263
33264
33265 ac_ext=cpp
33266 ac_cpp='$CXXCPP $CPPFLAGS'
33267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33270
33271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33272 /* end confdefs.h. */
33273 #include <math.h>
33274 int
33275 main ()
33276 {
33277 _sincos(0, 0, 0);
33278 ;
33279 return 0;
33280 }
33281 _ACEOF
33282 if ac_fn_cxx_try_compile "$LINENO"; then :
33283 glibcxx_cv_func__sincos_use=yes
33284 else
33285 glibcxx_cv_func__sincos_use=no
33286 fi
33287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33288 ac_ext=c
33289 ac_cpp='$CPP $CPPFLAGS'
33290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33293
33294
33295 fi
33296
33297 fi
33298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33299 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33300
33301 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33302 for ac_func in _sincos
33303 do :
33304 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33305 if test "x$ac_cv_func__sincos" = x""yes; then :
33306 cat >>confdefs.h <<_ACEOF
33307 #define HAVE__SINCOS 1
33308 _ACEOF
33309
33310 fi
33311 done
33312
33313 fi
33314 fi
33315
33316
33317
33318
33319
33320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33321 $as_echo_n "checking for fpclass declaration... " >&6; }
33322 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33323 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33324 $as_echo_n "(cached) " >&6
33325 else
33326
33327
33328 ac_ext=cpp
33329 ac_cpp='$CXXCPP $CPPFLAGS'
33330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33333
33334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33335 /* end confdefs.h. */
33336 #include <math.h>
33337 #ifdef HAVE_IEEEFP_H
33338 #include <ieeefp.h>
33339 #endif
33340
33341 int
33342 main ()
33343 {
33344 fpclass(0);
33345 ;
33346 return 0;
33347 }
33348 _ACEOF
33349 if ac_fn_cxx_try_compile "$LINENO"; then :
33350 glibcxx_cv_func_fpclass_use=yes
33351 else
33352 glibcxx_cv_func_fpclass_use=no
33353 fi
33354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33355 ac_ext=c
33356 ac_cpp='$CPP $CPPFLAGS'
33357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33360
33361
33362 fi
33363
33364 fi
33365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33366 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33367
33368 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33369 for ac_func in fpclass
33370 do :
33371 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33372 if test "x$ac_cv_func_fpclass" = x""yes; then :
33373 cat >>confdefs.h <<_ACEOF
33374 #define HAVE_FPCLASS 1
33375 _ACEOF
33376
33377 fi
33378 done
33379
33380 else
33381
33382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33383 $as_echo_n "checking for _fpclass declaration... " >&6; }
33384 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33385 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33386 $as_echo_n "(cached) " >&6
33387 else
33388
33389
33390 ac_ext=cpp
33391 ac_cpp='$CXXCPP $CPPFLAGS'
33392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33395
33396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33397 /* end confdefs.h. */
33398 #include <math.h>
33399 #ifdef HAVE_IEEEFP_H
33400 #include <ieeefp.h>
33401 #endif
33402
33403 int
33404 main ()
33405 {
33406 _fpclass(0);
33407 ;
33408 return 0;
33409 }
33410 _ACEOF
33411 if ac_fn_cxx_try_compile "$LINENO"; then :
33412 glibcxx_cv_func__fpclass_use=yes
33413 else
33414 glibcxx_cv_func__fpclass_use=no
33415 fi
33416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33417 ac_ext=c
33418 ac_cpp='$CPP $CPPFLAGS'
33419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33422
33423
33424 fi
33425
33426 fi
33427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33428 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33429
33430 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33431 for ac_func in _fpclass
33432 do :
33433 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33434 if test "x$ac_cv_func__fpclass" = x""yes; then :
33435 cat >>confdefs.h <<_ACEOF
33436 #define HAVE__FPCLASS 1
33437 _ACEOF
33438
33439 fi
33440 done
33441
33442 fi
33443 fi
33444
33445
33446
33447
33448
33449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33450 $as_echo_n "checking for qfpclass declaration... " >&6; }
33451 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33452 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33453 $as_echo_n "(cached) " >&6
33454 else
33455
33456
33457 ac_ext=cpp
33458 ac_cpp='$CXXCPP $CPPFLAGS'
33459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33462
33463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33464 /* end confdefs.h. */
33465 #include <math.h>
33466 #ifdef HAVE_IEEEFP_H
33467 #include <ieeefp.h>
33468 #endif
33469
33470 int
33471 main ()
33472 {
33473 qfpclass(0);
33474 ;
33475 return 0;
33476 }
33477 _ACEOF
33478 if ac_fn_cxx_try_compile "$LINENO"; then :
33479 glibcxx_cv_func_qfpclass_use=yes
33480 else
33481 glibcxx_cv_func_qfpclass_use=no
33482 fi
33483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33484 ac_ext=c
33485 ac_cpp='$CPP $CPPFLAGS'
33486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33489
33490
33491 fi
33492
33493 fi
33494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33495 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33496
33497 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33498 for ac_func in qfpclass
33499 do :
33500 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33501 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33502 cat >>confdefs.h <<_ACEOF
33503 #define HAVE_QFPCLASS 1
33504 _ACEOF
33505
33506 fi
33507 done
33508
33509 else
33510
33511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33512 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33513 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33514 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33515 $as_echo_n "(cached) " >&6
33516 else
33517
33518
33519 ac_ext=cpp
33520 ac_cpp='$CXXCPP $CPPFLAGS'
33521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33524
33525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33526 /* end confdefs.h. */
33527 #include <math.h>
33528 #ifdef HAVE_IEEEFP_H
33529 #include <ieeefp.h>
33530 #endif
33531
33532 int
33533 main ()
33534 {
33535 _qfpclass(0);
33536 ;
33537 return 0;
33538 }
33539 _ACEOF
33540 if ac_fn_cxx_try_compile "$LINENO"; then :
33541 glibcxx_cv_func__qfpclass_use=yes
33542 else
33543 glibcxx_cv_func__qfpclass_use=no
33544 fi
33545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33546 ac_ext=c
33547 ac_cpp='$CPP $CPPFLAGS'
33548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33551
33552
33553 fi
33554
33555 fi
33556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33557 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33558
33559 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33560 for ac_func in _qfpclass
33561 do :
33562 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33563 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33564 cat >>confdefs.h <<_ACEOF
33565 #define HAVE__QFPCLASS 1
33566 _ACEOF
33567
33568 fi
33569 done
33570
33571 fi
33572 fi
33573
33574
33575
33576
33577
33578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33579 $as_echo_n "checking for hypot declaration... " >&6; }
33580 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33581 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33582 $as_echo_n "(cached) " >&6
33583 else
33584
33585
33586 ac_ext=cpp
33587 ac_cpp='$CXXCPP $CPPFLAGS'
33588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33591
33592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33593 /* end confdefs.h. */
33594 #include <math.h>
33595 int
33596 main ()
33597 {
33598 hypot(0, 0);
33599 ;
33600 return 0;
33601 }
33602 _ACEOF
33603 if ac_fn_cxx_try_compile "$LINENO"; then :
33604 glibcxx_cv_func_hypot_use=yes
33605 else
33606 glibcxx_cv_func_hypot_use=no
33607 fi
33608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33609 ac_ext=c
33610 ac_cpp='$CPP $CPPFLAGS'
33611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33614
33615
33616 fi
33617
33618 fi
33619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33620 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33621
33622 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33623 for ac_func in hypot
33624 do :
33625 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33626 if test "x$ac_cv_func_hypot" = x""yes; then :
33627 cat >>confdefs.h <<_ACEOF
33628 #define HAVE_HYPOT 1
33629 _ACEOF
33630
33631 fi
33632 done
33633
33634 else
33635
33636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33637 $as_echo_n "checking for _hypot declaration... " >&6; }
33638 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33639 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33640 $as_echo_n "(cached) " >&6
33641 else
33642
33643
33644 ac_ext=cpp
33645 ac_cpp='$CXXCPP $CPPFLAGS'
33646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33649
33650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33651 /* end confdefs.h. */
33652 #include <math.h>
33653 int
33654 main ()
33655 {
33656 _hypot(0, 0);
33657 ;
33658 return 0;
33659 }
33660 _ACEOF
33661 if ac_fn_cxx_try_compile "$LINENO"; then :
33662 glibcxx_cv_func__hypot_use=yes
33663 else
33664 glibcxx_cv_func__hypot_use=no
33665 fi
33666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33667 ac_ext=c
33668 ac_cpp='$CPP $CPPFLAGS'
33669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33672
33673
33674 fi
33675
33676 fi
33677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33678 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33679
33680 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33681 for ac_func in _hypot
33682 do :
33683 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33684 if test "x$ac_cv_func__hypot" = x""yes; then :
33685 cat >>confdefs.h <<_ACEOF
33686 #define HAVE__HYPOT 1
33687 _ACEOF
33688
33689 fi
33690 done
33691
33692 fi
33693 fi
33694
33695
33696
33697
33698
33699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33700 $as_echo_n "checking for float trig functions... " >&6; }
33701 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33702 $as_echo_n "(cached) " >&6
33703 else
33704
33705
33706 ac_ext=cpp
33707 ac_cpp='$CXXCPP $CPPFLAGS'
33708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33711
33712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33713 /* end confdefs.h. */
33714 #include <math.h>
33715 int
33716 main ()
33717 {
33718 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33719 ;
33720 return 0;
33721 }
33722 _ACEOF
33723 if ac_fn_cxx_try_compile "$LINENO"; then :
33724 glibcxx_cv_func_float_trig_use=yes
33725 else
33726 glibcxx_cv_func_float_trig_use=no
33727 fi
33728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33729 ac_ext=c
33730 ac_cpp='$CPP $CPPFLAGS'
33731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33734
33735 fi
33736
33737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33738 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33739 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33740 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33741 do :
33742 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33743 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33744 eval as_val=\$$as_ac_var
33745 if test "x$as_val" = x""yes; then :
33746 cat >>confdefs.h <<_ACEOF
33747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33748 _ACEOF
33749
33750 fi
33751 done
33752
33753 else
33754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33755 $as_echo_n "checking for _float trig functions... " >&6; }
33756 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33757 $as_echo_n "(cached) " >&6
33758 else
33759
33760
33761 ac_ext=cpp
33762 ac_cpp='$CXXCPP $CPPFLAGS'
33763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33766
33767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33768 /* end confdefs.h. */
33769 #include <math.h>
33770 int
33771 main ()
33772 {
33773 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33774 ;
33775 return 0;
33776 }
33777 _ACEOF
33778 if ac_fn_cxx_try_compile "$LINENO"; then :
33779 glibcxx_cv_func__float_trig_use=yes
33780 else
33781 glibcxx_cv_func__float_trig_use=no
33782 fi
33783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33784 ac_ext=c
33785 ac_cpp='$CPP $CPPFLAGS'
33786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33789
33790 fi
33791
33792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33793 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33794 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33795 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33796 do :
33797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33799 eval as_val=\$$as_ac_var
33800 if test "x$as_val" = x""yes; then :
33801 cat >>confdefs.h <<_ACEOF
33802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33803 _ACEOF
33804
33805 fi
33806 done
33807
33808 fi
33809 fi
33810
33811
33812
33813
33814
33815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33816 $as_echo_n "checking for float round functions... " >&6; }
33817 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33818 $as_echo_n "(cached) " >&6
33819 else
33820
33821
33822 ac_ext=cpp
33823 ac_cpp='$CXXCPP $CPPFLAGS'
33824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33827
33828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33829 /* end confdefs.h. */
33830 #include <math.h>
33831 int
33832 main ()
33833 {
33834 ceilf (0); floorf (0);
33835 ;
33836 return 0;
33837 }
33838 _ACEOF
33839 if ac_fn_cxx_try_compile "$LINENO"; then :
33840 glibcxx_cv_func_float_round_use=yes
33841 else
33842 glibcxx_cv_func_float_round_use=no
33843 fi
33844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33845 ac_ext=c
33846 ac_cpp='$CPP $CPPFLAGS'
33847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33850
33851 fi
33852
33853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33854 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33855 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33856 for ac_func in ceilf floorf
33857 do :
33858 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33860 eval as_val=\$$as_ac_var
33861 if test "x$as_val" = x""yes; then :
33862 cat >>confdefs.h <<_ACEOF
33863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33864 _ACEOF
33865
33866 fi
33867 done
33868
33869 else
33870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33871 $as_echo_n "checking for _float round functions... " >&6; }
33872 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33873 $as_echo_n "(cached) " >&6
33874 else
33875
33876
33877 ac_ext=cpp
33878 ac_cpp='$CXXCPP $CPPFLAGS'
33879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33882
33883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33884 /* end confdefs.h. */
33885 #include <math.h>
33886 int
33887 main ()
33888 {
33889 _ceilf (0); _floorf (0);
33890 ;
33891 return 0;
33892 }
33893 _ACEOF
33894 if ac_fn_cxx_try_compile "$LINENO"; then :
33895 glibcxx_cv_func__float_round_use=yes
33896 else
33897 glibcxx_cv_func__float_round_use=no
33898 fi
33899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33900 ac_ext=c
33901 ac_cpp='$CPP $CPPFLAGS'
33902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33905
33906 fi
33907
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33909 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33910 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33911 for ac_func in _ceilf _floorf
33912 do :
33913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33915 eval as_val=\$$as_ac_var
33916 if test "x$as_val" = x""yes; then :
33917 cat >>confdefs.h <<_ACEOF
33918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33919 _ACEOF
33920
33921 fi
33922 done
33923
33924 fi
33925 fi
33926
33927
33928
33929
33930
33931
33932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33933 $as_echo_n "checking for expf declaration... " >&6; }
33934 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33935 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33936 $as_echo_n "(cached) " >&6
33937 else
33938
33939
33940 ac_ext=cpp
33941 ac_cpp='$CXXCPP $CPPFLAGS'
33942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33945
33946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33947 /* end confdefs.h. */
33948 #include <math.h>
33949 #ifdef HAVE_IEEEFP_H
33950 #include <ieeefp.h>
33951 #endif
33952
33953 int
33954 main ()
33955 {
33956 expf(0);
33957 ;
33958 return 0;
33959 }
33960 _ACEOF
33961 if ac_fn_cxx_try_compile "$LINENO"; then :
33962 glibcxx_cv_func_expf_use=yes
33963 else
33964 glibcxx_cv_func_expf_use=no
33965 fi
33966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33967 ac_ext=c
33968 ac_cpp='$CPP $CPPFLAGS'
33969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33972
33973
33974 fi
33975
33976 fi
33977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33978 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33979
33980 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33981 for ac_func in expf
33982 do :
33983 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33984 if test "x$ac_cv_func_expf" = x""yes; then :
33985 cat >>confdefs.h <<_ACEOF
33986 #define HAVE_EXPF 1
33987 _ACEOF
33988
33989 fi
33990 done
33991
33992 else
33993
33994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33995 $as_echo_n "checking for _expf declaration... " >&6; }
33996 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33997 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33998 $as_echo_n "(cached) " >&6
33999 else
34000
34001
34002 ac_ext=cpp
34003 ac_cpp='$CXXCPP $CPPFLAGS'
34004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34007
34008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34009 /* end confdefs.h. */
34010 #include <math.h>
34011 #ifdef HAVE_IEEEFP_H
34012 #include <ieeefp.h>
34013 #endif
34014
34015 int
34016 main ()
34017 {
34018 _expf(0);
34019 ;
34020 return 0;
34021 }
34022 _ACEOF
34023 if ac_fn_cxx_try_compile "$LINENO"; then :
34024 glibcxx_cv_func__expf_use=yes
34025 else
34026 glibcxx_cv_func__expf_use=no
34027 fi
34028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34029 ac_ext=c
34030 ac_cpp='$CPP $CPPFLAGS'
34031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34034
34035
34036 fi
34037
34038 fi
34039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34040 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34041
34042 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34043 for ac_func in _expf
34044 do :
34045 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34046 if test "x$ac_cv_func__expf" = x""yes; then :
34047 cat >>confdefs.h <<_ACEOF
34048 #define HAVE__EXPF 1
34049 _ACEOF
34050
34051 fi
34052 done
34053
34054 fi
34055 fi
34056
34057
34058
34059
34060
34061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34062 $as_echo_n "checking for isnanf declaration... " >&6; }
34063 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34064 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34065 $as_echo_n "(cached) " >&6
34066 else
34067
34068
34069 ac_ext=cpp
34070 ac_cpp='$CXXCPP $CPPFLAGS'
34071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34074
34075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34076 /* end confdefs.h. */
34077 #include <math.h>
34078 #ifdef HAVE_IEEEFP_H
34079 #include <ieeefp.h>
34080 #endif
34081
34082 int
34083 main ()
34084 {
34085 isnanf(0);
34086 ;
34087 return 0;
34088 }
34089 _ACEOF
34090 if ac_fn_cxx_try_compile "$LINENO"; then :
34091 glibcxx_cv_func_isnanf_use=yes
34092 else
34093 glibcxx_cv_func_isnanf_use=no
34094 fi
34095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34096 ac_ext=c
34097 ac_cpp='$CPP $CPPFLAGS'
34098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34101
34102
34103 fi
34104
34105 fi
34106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34107 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34108
34109 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34110 for ac_func in isnanf
34111 do :
34112 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34113 if test "x$ac_cv_func_isnanf" = x""yes; then :
34114 cat >>confdefs.h <<_ACEOF
34115 #define HAVE_ISNANF 1
34116 _ACEOF
34117
34118 fi
34119 done
34120
34121 else
34122
34123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34124 $as_echo_n "checking for _isnanf declaration... " >&6; }
34125 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34126 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34127 $as_echo_n "(cached) " >&6
34128 else
34129
34130
34131 ac_ext=cpp
34132 ac_cpp='$CXXCPP $CPPFLAGS'
34133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34136
34137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34138 /* end confdefs.h. */
34139 #include <math.h>
34140 #ifdef HAVE_IEEEFP_H
34141 #include <ieeefp.h>
34142 #endif
34143
34144 int
34145 main ()
34146 {
34147 _isnanf(0);
34148 ;
34149 return 0;
34150 }
34151 _ACEOF
34152 if ac_fn_cxx_try_compile "$LINENO"; then :
34153 glibcxx_cv_func__isnanf_use=yes
34154 else
34155 glibcxx_cv_func__isnanf_use=no
34156 fi
34157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34158 ac_ext=c
34159 ac_cpp='$CPP $CPPFLAGS'
34160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34163
34164
34165 fi
34166
34167 fi
34168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34169 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34170
34171 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34172 for ac_func in _isnanf
34173 do :
34174 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34175 if test "x$ac_cv_func__isnanf" = x""yes; then :
34176 cat >>confdefs.h <<_ACEOF
34177 #define HAVE__ISNANF 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 isinff declaration" >&5
34191 $as_echo_n "checking for isinff declaration... " >&6; }
34192 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34193 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34194 $as_echo_n "(cached) " >&6
34195 else
34196
34197
34198 ac_ext=cpp
34199 ac_cpp='$CXXCPP $CPPFLAGS'
34200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34203
34204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34205 /* end confdefs.h. */
34206 #include <math.h>
34207 #ifdef HAVE_IEEEFP_H
34208 #include <ieeefp.h>
34209 #endif
34210
34211 int
34212 main ()
34213 {
34214 isinff(0);
34215 ;
34216 return 0;
34217 }
34218 _ACEOF
34219 if ac_fn_cxx_try_compile "$LINENO"; then :
34220 glibcxx_cv_func_isinff_use=yes
34221 else
34222 glibcxx_cv_func_isinff_use=no
34223 fi
34224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34225 ac_ext=c
34226 ac_cpp='$CPP $CPPFLAGS'
34227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34230
34231
34232 fi
34233
34234 fi
34235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34236 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34237
34238 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34239 for ac_func in isinff
34240 do :
34241 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34242 if test "x$ac_cv_func_isinff" = x""yes; then :
34243 cat >>confdefs.h <<_ACEOF
34244 #define HAVE_ISINFF 1
34245 _ACEOF
34246
34247 fi
34248 done
34249
34250 else
34251
34252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34253 $as_echo_n "checking for _isinff declaration... " >&6; }
34254 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34255 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34256 $as_echo_n "(cached) " >&6
34257 else
34258
34259
34260 ac_ext=cpp
34261 ac_cpp='$CXXCPP $CPPFLAGS'
34262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34265
34266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34267 /* end confdefs.h. */
34268 #include <math.h>
34269 #ifdef HAVE_IEEEFP_H
34270 #include <ieeefp.h>
34271 #endif
34272
34273 int
34274 main ()
34275 {
34276 _isinff(0);
34277 ;
34278 return 0;
34279 }
34280 _ACEOF
34281 if ac_fn_cxx_try_compile "$LINENO"; then :
34282 glibcxx_cv_func__isinff_use=yes
34283 else
34284 glibcxx_cv_func__isinff_use=no
34285 fi
34286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34287 ac_ext=c
34288 ac_cpp='$CPP $CPPFLAGS'
34289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34292
34293
34294 fi
34295
34296 fi
34297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34298 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34299
34300 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34301 for ac_func in _isinff
34302 do :
34303 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34304 if test "x$ac_cv_func__isinff" = x""yes; then :
34305 cat >>confdefs.h <<_ACEOF
34306 #define HAVE__ISINFF 1
34307 _ACEOF
34308
34309 fi
34310 done
34311
34312 fi
34313 fi
34314
34315
34316
34317
34318
34319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34320 $as_echo_n "checking for atan2f declaration... " >&6; }
34321 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34322 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34323 $as_echo_n "(cached) " >&6
34324 else
34325
34326
34327 ac_ext=cpp
34328 ac_cpp='$CXXCPP $CPPFLAGS'
34329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34332
34333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34334 /* end confdefs.h. */
34335 #include <math.h>
34336 int
34337 main ()
34338 {
34339 atan2f(0, 0);
34340 ;
34341 return 0;
34342 }
34343 _ACEOF
34344 if ac_fn_cxx_try_compile "$LINENO"; then :
34345 glibcxx_cv_func_atan2f_use=yes
34346 else
34347 glibcxx_cv_func_atan2f_use=no
34348 fi
34349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34350 ac_ext=c
34351 ac_cpp='$CPP $CPPFLAGS'
34352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34355
34356
34357 fi
34358
34359 fi
34360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34361 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34362
34363 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34364 for ac_func in atan2f
34365 do :
34366 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34367 if test "x$ac_cv_func_atan2f" = x""yes; then :
34368 cat >>confdefs.h <<_ACEOF
34369 #define HAVE_ATAN2F 1
34370 _ACEOF
34371
34372 fi
34373 done
34374
34375 else
34376
34377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34378 $as_echo_n "checking for _atan2f declaration... " >&6; }
34379 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34380 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34381 $as_echo_n "(cached) " >&6
34382 else
34383
34384
34385 ac_ext=cpp
34386 ac_cpp='$CXXCPP $CPPFLAGS'
34387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34390
34391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34392 /* end confdefs.h. */
34393 #include <math.h>
34394 int
34395 main ()
34396 {
34397 _atan2f(0, 0);
34398 ;
34399 return 0;
34400 }
34401 _ACEOF
34402 if ac_fn_cxx_try_compile "$LINENO"; then :
34403 glibcxx_cv_func__atan2f_use=yes
34404 else
34405 glibcxx_cv_func__atan2f_use=no
34406 fi
34407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34408 ac_ext=c
34409 ac_cpp='$CPP $CPPFLAGS'
34410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34413
34414
34415 fi
34416
34417 fi
34418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34419 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34420
34421 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34422 for ac_func in _atan2f
34423 do :
34424 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34425 if test "x$ac_cv_func__atan2f" = x""yes; then :
34426 cat >>confdefs.h <<_ACEOF
34427 #define HAVE__ATAN2F 1
34428 _ACEOF
34429
34430 fi
34431 done
34432
34433 fi
34434 fi
34435
34436
34437
34438
34439
34440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34441 $as_echo_n "checking for fabsf declaration... " >&6; }
34442 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34443 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34444 $as_echo_n "(cached) " >&6
34445 else
34446
34447
34448 ac_ext=cpp
34449 ac_cpp='$CXXCPP $CPPFLAGS'
34450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34453
34454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34455 /* end confdefs.h. */
34456 #include <math.h>
34457 #ifdef HAVE_IEEEFP_H
34458 #include <ieeefp.h>
34459 #endif
34460
34461 int
34462 main ()
34463 {
34464 fabsf(0);
34465 ;
34466 return 0;
34467 }
34468 _ACEOF
34469 if ac_fn_cxx_try_compile "$LINENO"; then :
34470 glibcxx_cv_func_fabsf_use=yes
34471 else
34472 glibcxx_cv_func_fabsf_use=no
34473 fi
34474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34475 ac_ext=c
34476 ac_cpp='$CPP $CPPFLAGS'
34477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34480
34481
34482 fi
34483
34484 fi
34485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34486 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34487
34488 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34489 for ac_func in fabsf
34490 do :
34491 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34492 if test "x$ac_cv_func_fabsf" = x""yes; then :
34493 cat >>confdefs.h <<_ACEOF
34494 #define HAVE_FABSF 1
34495 _ACEOF
34496
34497 fi
34498 done
34499
34500 else
34501
34502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34503 $as_echo_n "checking for _fabsf declaration... " >&6; }
34504 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34505 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34506 $as_echo_n "(cached) " >&6
34507 else
34508
34509
34510 ac_ext=cpp
34511 ac_cpp='$CXXCPP $CPPFLAGS'
34512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34515
34516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34517 /* end confdefs.h. */
34518 #include <math.h>
34519 #ifdef HAVE_IEEEFP_H
34520 #include <ieeefp.h>
34521 #endif
34522
34523 int
34524 main ()
34525 {
34526 _fabsf(0);
34527 ;
34528 return 0;
34529 }
34530 _ACEOF
34531 if ac_fn_cxx_try_compile "$LINENO"; then :
34532 glibcxx_cv_func__fabsf_use=yes
34533 else
34534 glibcxx_cv_func__fabsf_use=no
34535 fi
34536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34537 ac_ext=c
34538 ac_cpp='$CPP $CPPFLAGS'
34539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34542
34543
34544 fi
34545
34546 fi
34547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34548 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34549
34550 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34551 for ac_func in _fabsf
34552 do :
34553 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34554 if test "x$ac_cv_func__fabsf" = x""yes; then :
34555 cat >>confdefs.h <<_ACEOF
34556 #define HAVE__FABSF 1
34557 _ACEOF
34558
34559 fi
34560 done
34561
34562 fi
34563 fi
34564
34565
34566
34567
34568
34569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34570 $as_echo_n "checking for fmodf declaration... " >&6; }
34571 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34572 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34573 $as_echo_n "(cached) " >&6
34574 else
34575
34576
34577 ac_ext=cpp
34578 ac_cpp='$CXXCPP $CPPFLAGS'
34579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34582
34583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34584 /* end confdefs.h. */
34585 #include <math.h>
34586 int
34587 main ()
34588 {
34589 fmodf(0, 0);
34590 ;
34591 return 0;
34592 }
34593 _ACEOF
34594 if ac_fn_cxx_try_compile "$LINENO"; then :
34595 glibcxx_cv_func_fmodf_use=yes
34596 else
34597 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
34611 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34612
34613 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34614 for ac_func in fmodf
34615 do :
34616 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34617 if test "x$ac_cv_func_fmodf" = x""yes; then :
34618 cat >>confdefs.h <<_ACEOF
34619 #define HAVE_FMODF 1
34620 _ACEOF
34621
34622 fi
34623 done
34624
34625 else
34626
34627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34628 $as_echo_n "checking for _fmodf declaration... " >&6; }
34629 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34630 if test "${glibcxx_cv_func__fmodf_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 int
34645 main ()
34646 {
34647 _fmodf(0, 0);
34648 ;
34649 return 0;
34650 }
34651 _ACEOF
34652 if ac_fn_cxx_try_compile "$LINENO"; then :
34653 glibcxx_cv_func__fmodf_use=yes
34654 else
34655 glibcxx_cv_func__fmodf_use=no
34656 fi
34657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34658 ac_ext=c
34659 ac_cpp='$CPP $CPPFLAGS'
34660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34663
34664
34665 fi
34666
34667 fi
34668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34669 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34670
34671 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34672 for ac_func in _fmodf
34673 do :
34674 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34675 if test "x$ac_cv_func__fmodf" = x""yes; then :
34676 cat >>confdefs.h <<_ACEOF
34677 #define HAVE__FMODF 1
34678 _ACEOF
34679
34680 fi
34681 done
34682
34683 fi
34684 fi
34685
34686
34687
34688
34689
34690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34691 $as_echo_n "checking for frexpf declaration... " >&6; }
34692 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34693 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34694 $as_echo_n "(cached) " >&6
34695 else
34696
34697
34698 ac_ext=cpp
34699 ac_cpp='$CXXCPP $CPPFLAGS'
34700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34703
34704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34705 /* end confdefs.h. */
34706 #include <math.h>
34707 int
34708 main ()
34709 {
34710 frexpf(0, 0);
34711 ;
34712 return 0;
34713 }
34714 _ACEOF
34715 if ac_fn_cxx_try_compile "$LINENO"; then :
34716 glibcxx_cv_func_frexpf_use=yes
34717 else
34718 glibcxx_cv_func_frexpf_use=no
34719 fi
34720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34721 ac_ext=c
34722 ac_cpp='$CPP $CPPFLAGS'
34723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34726
34727
34728 fi
34729
34730 fi
34731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34732 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34733
34734 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34735 for ac_func in frexpf
34736 do :
34737 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34738 if test "x$ac_cv_func_frexpf" = x""yes; then :
34739 cat >>confdefs.h <<_ACEOF
34740 #define HAVE_FREXPF 1
34741 _ACEOF
34742
34743 fi
34744 done
34745
34746 else
34747
34748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34749 $as_echo_n "checking for _frexpf declaration... " >&6; }
34750 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34751 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34752 $as_echo_n "(cached) " >&6
34753 else
34754
34755
34756 ac_ext=cpp
34757 ac_cpp='$CXXCPP $CPPFLAGS'
34758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34761
34762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34763 /* end confdefs.h. */
34764 #include <math.h>
34765 int
34766 main ()
34767 {
34768 _frexpf(0, 0);
34769 ;
34770 return 0;
34771 }
34772 _ACEOF
34773 if ac_fn_cxx_try_compile "$LINENO"; then :
34774 glibcxx_cv_func__frexpf_use=yes
34775 else
34776 glibcxx_cv_func__frexpf_use=no
34777 fi
34778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34779 ac_ext=c
34780 ac_cpp='$CPP $CPPFLAGS'
34781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34784
34785
34786 fi
34787
34788 fi
34789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34790 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34791
34792 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34793 for ac_func in _frexpf
34794 do :
34795 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34796 if test "x$ac_cv_func__frexpf" = x""yes; then :
34797 cat >>confdefs.h <<_ACEOF
34798 #define HAVE__FREXPF 1
34799 _ACEOF
34800
34801 fi
34802 done
34803
34804 fi
34805 fi
34806
34807
34808
34809
34810
34811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34812 $as_echo_n "checking for hypotf declaration... " >&6; }
34813 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34814 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34815 $as_echo_n "(cached) " >&6
34816 else
34817
34818
34819 ac_ext=cpp
34820 ac_cpp='$CXXCPP $CPPFLAGS'
34821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34824
34825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34826 /* end confdefs.h. */
34827 #include <math.h>
34828 int
34829 main ()
34830 {
34831 hypotf(0, 0);
34832 ;
34833 return 0;
34834 }
34835 _ACEOF
34836 if ac_fn_cxx_try_compile "$LINENO"; then :
34837 glibcxx_cv_func_hypotf_use=yes
34838 else
34839 glibcxx_cv_func_hypotf_use=no
34840 fi
34841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34842 ac_ext=c
34843 ac_cpp='$CPP $CPPFLAGS'
34844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34847
34848
34849 fi
34850
34851 fi
34852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34853 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34854
34855 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34856 for ac_func in hypotf
34857 do :
34858 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34859 if test "x$ac_cv_func_hypotf" = x""yes; then :
34860 cat >>confdefs.h <<_ACEOF
34861 #define HAVE_HYPOTF 1
34862 _ACEOF
34863
34864 fi
34865 done
34866
34867 else
34868
34869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34870 $as_echo_n "checking for _hypotf declaration... " >&6; }
34871 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34872 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34873 $as_echo_n "(cached) " >&6
34874 else
34875
34876
34877 ac_ext=cpp
34878 ac_cpp='$CXXCPP $CPPFLAGS'
34879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34882
34883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34884 /* end confdefs.h. */
34885 #include <math.h>
34886 int
34887 main ()
34888 {
34889 _hypotf(0, 0);
34890 ;
34891 return 0;
34892 }
34893 _ACEOF
34894 if ac_fn_cxx_try_compile "$LINENO"; then :
34895 glibcxx_cv_func__hypotf_use=yes
34896 else
34897 glibcxx_cv_func__hypotf_use=no
34898 fi
34899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34900 ac_ext=c
34901 ac_cpp='$CPP $CPPFLAGS'
34902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34905
34906
34907 fi
34908
34909 fi
34910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34911 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34912
34913 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34914 for ac_func in _hypotf
34915 do :
34916 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34917 if test "x$ac_cv_func__hypotf" = x""yes; then :
34918 cat >>confdefs.h <<_ACEOF
34919 #define HAVE__HYPOTF 1
34920 _ACEOF
34921
34922 fi
34923 done
34924
34925 fi
34926 fi
34927
34928
34929
34930
34931
34932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34933 $as_echo_n "checking for ldexpf declaration... " >&6; }
34934 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34935 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34936 $as_echo_n "(cached) " >&6
34937 else
34938
34939
34940 ac_ext=cpp
34941 ac_cpp='$CXXCPP $CPPFLAGS'
34942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34945
34946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34947 /* end confdefs.h. */
34948 #include <math.h>
34949 int
34950 main ()
34951 {
34952 ldexpf(0, 0);
34953 ;
34954 return 0;
34955 }
34956 _ACEOF
34957 if ac_fn_cxx_try_compile "$LINENO"; then :
34958 glibcxx_cv_func_ldexpf_use=yes
34959 else
34960 glibcxx_cv_func_ldexpf_use=no
34961 fi
34962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34963 ac_ext=c
34964 ac_cpp='$CPP $CPPFLAGS'
34965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34968
34969
34970 fi
34971
34972 fi
34973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34974 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34975
34976 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34977 for ac_func in ldexpf
34978 do :
34979 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34980 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34981 cat >>confdefs.h <<_ACEOF
34982 #define HAVE_LDEXPF 1
34983 _ACEOF
34984
34985 fi
34986 done
34987
34988 else
34989
34990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34991 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34992 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34993 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34994 $as_echo_n "(cached) " >&6
34995 else
34996
34997
34998 ac_ext=cpp
34999 ac_cpp='$CXXCPP $CPPFLAGS'
35000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35003
35004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35005 /* end confdefs.h. */
35006 #include <math.h>
35007 int
35008 main ()
35009 {
35010 _ldexpf(0, 0);
35011 ;
35012 return 0;
35013 }
35014 _ACEOF
35015 if ac_fn_cxx_try_compile "$LINENO"; then :
35016 glibcxx_cv_func__ldexpf_use=yes
35017 else
35018 glibcxx_cv_func__ldexpf_use=no
35019 fi
35020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35021 ac_ext=c
35022 ac_cpp='$CPP $CPPFLAGS'
35023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35026
35027
35028 fi
35029
35030 fi
35031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35032 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35033
35034 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35035 for ac_func in _ldexpf
35036 do :
35037 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35038 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35039 cat >>confdefs.h <<_ACEOF
35040 #define HAVE__LDEXPF 1
35041 _ACEOF
35042
35043 fi
35044 done
35045
35046 fi
35047 fi
35048
35049
35050
35051
35052
35053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35054 $as_echo_n "checking for logf declaration... " >&6; }
35055 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35056 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35057 $as_echo_n "(cached) " >&6
35058 else
35059
35060
35061 ac_ext=cpp
35062 ac_cpp='$CXXCPP $CPPFLAGS'
35063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35066
35067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35068 /* end confdefs.h. */
35069 #include <math.h>
35070 #ifdef HAVE_IEEEFP_H
35071 #include <ieeefp.h>
35072 #endif
35073
35074 int
35075 main ()
35076 {
35077 logf(0);
35078 ;
35079 return 0;
35080 }
35081 _ACEOF
35082 if ac_fn_cxx_try_compile "$LINENO"; then :
35083 glibcxx_cv_func_logf_use=yes
35084 else
35085 glibcxx_cv_func_logf_use=no
35086 fi
35087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35088 ac_ext=c
35089 ac_cpp='$CPP $CPPFLAGS'
35090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35093
35094
35095 fi
35096
35097 fi
35098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35099 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35100
35101 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35102 for ac_func in logf
35103 do :
35104 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35105 if test "x$ac_cv_func_logf" = x""yes; then :
35106 cat >>confdefs.h <<_ACEOF
35107 #define HAVE_LOGF 1
35108 _ACEOF
35109
35110 fi
35111 done
35112
35113 else
35114
35115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35116 $as_echo_n "checking for _logf declaration... " >&6; }
35117 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35118 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35119 $as_echo_n "(cached) " >&6
35120 else
35121
35122
35123 ac_ext=cpp
35124 ac_cpp='$CXXCPP $CPPFLAGS'
35125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35128
35129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35130 /* end confdefs.h. */
35131 #include <math.h>
35132 #ifdef HAVE_IEEEFP_H
35133 #include <ieeefp.h>
35134 #endif
35135
35136 int
35137 main ()
35138 {
35139 _logf(0);
35140 ;
35141 return 0;
35142 }
35143 _ACEOF
35144 if ac_fn_cxx_try_compile "$LINENO"; then :
35145 glibcxx_cv_func__logf_use=yes
35146 else
35147 glibcxx_cv_func__logf_use=no
35148 fi
35149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35150 ac_ext=c
35151 ac_cpp='$CPP $CPPFLAGS'
35152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35155
35156
35157 fi
35158
35159 fi
35160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35161 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35162
35163 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35164 for ac_func in _logf
35165 do :
35166 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35167 if test "x$ac_cv_func__logf" = x""yes; then :
35168 cat >>confdefs.h <<_ACEOF
35169 #define HAVE__LOGF 1
35170 _ACEOF
35171
35172 fi
35173 done
35174
35175 fi
35176 fi
35177
35178
35179
35180
35181
35182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35183 $as_echo_n "checking for log10f declaration... " >&6; }
35184 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35185 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35186 $as_echo_n "(cached) " >&6
35187 else
35188
35189
35190 ac_ext=cpp
35191 ac_cpp='$CXXCPP $CPPFLAGS'
35192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35195
35196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35197 /* end confdefs.h. */
35198 #include <math.h>
35199 #ifdef HAVE_IEEEFP_H
35200 #include <ieeefp.h>
35201 #endif
35202
35203 int
35204 main ()
35205 {
35206 log10f(0);
35207 ;
35208 return 0;
35209 }
35210 _ACEOF
35211 if ac_fn_cxx_try_compile "$LINENO"; then :
35212 glibcxx_cv_func_log10f_use=yes
35213 else
35214 glibcxx_cv_func_log10f_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_log10f_use" >&5
35228 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35229
35230 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35231 for ac_func in log10f
35232 do :
35233 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35234 if test "x$ac_cv_func_log10f" = x""yes; then :
35235 cat >>confdefs.h <<_ACEOF
35236 #define HAVE_LOG10F 1
35237 _ACEOF
35238
35239 fi
35240 done
35241
35242 else
35243
35244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35245 $as_echo_n "checking for _log10f declaration... " >&6; }
35246 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35247 if test "${glibcxx_cv_func__log10f_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 #ifdef HAVE_IEEEFP_H
35262 #include <ieeefp.h>
35263 #endif
35264
35265 int
35266 main ()
35267 {
35268 _log10f(0);
35269 ;
35270 return 0;
35271 }
35272 _ACEOF
35273 if ac_fn_cxx_try_compile "$LINENO"; then :
35274 glibcxx_cv_func__log10f_use=yes
35275 else
35276 glibcxx_cv_func__log10f_use=no
35277 fi
35278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35279 ac_ext=c
35280 ac_cpp='$CPP $CPPFLAGS'
35281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35284
35285
35286 fi
35287
35288 fi
35289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35290 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35291
35292 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35293 for ac_func in _log10f
35294 do :
35295 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35296 if test "x$ac_cv_func__log10f" = x""yes; then :
35297 cat >>confdefs.h <<_ACEOF
35298 #define HAVE__LOG10F 1
35299 _ACEOF
35300
35301 fi
35302 done
35303
35304 fi
35305 fi
35306
35307
35308
35309
35310
35311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35312 $as_echo_n "checking for modff declaration... " >&6; }
35313 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35314 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35315 $as_echo_n "(cached) " >&6
35316 else
35317
35318
35319 ac_ext=cpp
35320 ac_cpp='$CXXCPP $CPPFLAGS'
35321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35324
35325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35326 /* end confdefs.h. */
35327 #include <math.h>
35328 int
35329 main ()
35330 {
35331 modff(0, 0);
35332 ;
35333 return 0;
35334 }
35335 _ACEOF
35336 if ac_fn_cxx_try_compile "$LINENO"; then :
35337 glibcxx_cv_func_modff_use=yes
35338 else
35339 glibcxx_cv_func_modff_use=no
35340 fi
35341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35342 ac_ext=c
35343 ac_cpp='$CPP $CPPFLAGS'
35344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35347
35348
35349 fi
35350
35351 fi
35352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35353 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35354
35355 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35356 for ac_func in modff
35357 do :
35358 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35359 if test "x$ac_cv_func_modff" = x""yes; then :
35360 cat >>confdefs.h <<_ACEOF
35361 #define HAVE_MODFF 1
35362 _ACEOF
35363
35364 fi
35365 done
35366
35367 else
35368
35369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35370 $as_echo_n "checking for _modff declaration... " >&6; }
35371 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35372 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35373 $as_echo_n "(cached) " >&6
35374 else
35375
35376
35377 ac_ext=cpp
35378 ac_cpp='$CXXCPP $CPPFLAGS'
35379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35382
35383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35384 /* end confdefs.h. */
35385 #include <math.h>
35386 int
35387 main ()
35388 {
35389 _modff(0, 0);
35390 ;
35391 return 0;
35392 }
35393 _ACEOF
35394 if ac_fn_cxx_try_compile "$LINENO"; then :
35395 glibcxx_cv_func__modff_use=yes
35396 else
35397 glibcxx_cv_func__modff_use=no
35398 fi
35399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35400 ac_ext=c
35401 ac_cpp='$CPP $CPPFLAGS'
35402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35405
35406
35407 fi
35408
35409 fi
35410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35411 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35412
35413 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35414 for ac_func in _modff
35415 do :
35416 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35417 if test "x$ac_cv_func__modff" = x""yes; then :
35418 cat >>confdefs.h <<_ACEOF
35419 #define HAVE__MODFF 1
35420 _ACEOF
35421
35422 fi
35423 done
35424
35425 fi
35426 fi
35427
35428
35429
35430
35431
35432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35433 $as_echo_n "checking for modf declaration... " >&6; }
35434 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35435 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35436 $as_echo_n "(cached) " >&6
35437 else
35438
35439
35440 ac_ext=cpp
35441 ac_cpp='$CXXCPP $CPPFLAGS'
35442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35445
35446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35447 /* end confdefs.h. */
35448 #include <math.h>
35449 int
35450 main ()
35451 {
35452 modf(0, 0);
35453 ;
35454 return 0;
35455 }
35456 _ACEOF
35457 if ac_fn_cxx_try_compile "$LINENO"; then :
35458 glibcxx_cv_func_modf_use=yes
35459 else
35460 glibcxx_cv_func_modf_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_modf_use" >&5
35474 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35475
35476 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35477 for ac_func in modf
35478 do :
35479 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35480 if test "x$ac_cv_func_modf" = x""yes; then :
35481 cat >>confdefs.h <<_ACEOF
35482 #define HAVE_MODF 1
35483 _ACEOF
35484
35485 fi
35486 done
35487
35488 else
35489
35490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35491 $as_echo_n "checking for _modf declaration... " >&6; }
35492 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35493 if test "${glibcxx_cv_func__modf_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 int
35508 main ()
35509 {
35510 _modf(0, 0);
35511 ;
35512 return 0;
35513 }
35514 _ACEOF
35515 if ac_fn_cxx_try_compile "$LINENO"; then :
35516 glibcxx_cv_func__modf_use=yes
35517 else
35518 glibcxx_cv_func__modf_use=no
35519 fi
35520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35521 ac_ext=c
35522 ac_cpp='$CPP $CPPFLAGS'
35523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35526
35527
35528 fi
35529
35530 fi
35531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35532 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35533
35534 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35535 for ac_func in _modf
35536 do :
35537 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35538 if test "x$ac_cv_func__modf" = x""yes; then :
35539 cat >>confdefs.h <<_ACEOF
35540 #define HAVE__MODF 1
35541 _ACEOF
35542
35543 fi
35544 done
35545
35546 fi
35547 fi
35548
35549
35550
35551
35552
35553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35554 $as_echo_n "checking for powf declaration... " >&6; }
35555 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35556 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35557 $as_echo_n "(cached) " >&6
35558 else
35559
35560
35561 ac_ext=cpp
35562 ac_cpp='$CXXCPP $CPPFLAGS'
35563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35566
35567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35568 /* end confdefs.h. */
35569 #include <math.h>
35570 int
35571 main ()
35572 {
35573 powf(0, 0);
35574 ;
35575 return 0;
35576 }
35577 _ACEOF
35578 if ac_fn_cxx_try_compile "$LINENO"; then :
35579 glibcxx_cv_func_powf_use=yes
35580 else
35581 glibcxx_cv_func_powf_use=no
35582 fi
35583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35584 ac_ext=c
35585 ac_cpp='$CPP $CPPFLAGS'
35586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35589
35590
35591 fi
35592
35593 fi
35594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35595 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35596
35597 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35598 for ac_func in powf
35599 do :
35600 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35601 if test "x$ac_cv_func_powf" = x""yes; then :
35602 cat >>confdefs.h <<_ACEOF
35603 #define HAVE_POWF 1
35604 _ACEOF
35605
35606 fi
35607 done
35608
35609 else
35610
35611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35612 $as_echo_n "checking for _powf declaration... " >&6; }
35613 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35614 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35615 $as_echo_n "(cached) " >&6
35616 else
35617
35618
35619 ac_ext=cpp
35620 ac_cpp='$CXXCPP $CPPFLAGS'
35621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35624
35625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35626 /* end confdefs.h. */
35627 #include <math.h>
35628 int
35629 main ()
35630 {
35631 _powf(0, 0);
35632 ;
35633 return 0;
35634 }
35635 _ACEOF
35636 if ac_fn_cxx_try_compile "$LINENO"; then :
35637 glibcxx_cv_func__powf_use=yes
35638 else
35639 glibcxx_cv_func__powf_use=no
35640 fi
35641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35642 ac_ext=c
35643 ac_cpp='$CPP $CPPFLAGS'
35644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35647
35648
35649 fi
35650
35651 fi
35652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35653 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35654
35655 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35656 for ac_func in _powf
35657 do :
35658 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35659 if test "x$ac_cv_func__powf" = x""yes; then :
35660 cat >>confdefs.h <<_ACEOF
35661 #define HAVE__POWF 1
35662 _ACEOF
35663
35664 fi
35665 done
35666
35667 fi
35668 fi
35669
35670
35671
35672
35673
35674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35675 $as_echo_n "checking for sqrtf declaration... " >&6; }
35676 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35677 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35678 $as_echo_n "(cached) " >&6
35679 else
35680
35681
35682 ac_ext=cpp
35683 ac_cpp='$CXXCPP $CPPFLAGS'
35684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35687
35688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35689 /* end confdefs.h. */
35690 #include <math.h>
35691 #ifdef HAVE_IEEEFP_H
35692 #include <ieeefp.h>
35693 #endif
35694
35695 int
35696 main ()
35697 {
35698 sqrtf(0);
35699 ;
35700 return 0;
35701 }
35702 _ACEOF
35703 if ac_fn_cxx_try_compile "$LINENO"; then :
35704 glibcxx_cv_func_sqrtf_use=yes
35705 else
35706 glibcxx_cv_func_sqrtf_use=no
35707 fi
35708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35709 ac_ext=c
35710 ac_cpp='$CPP $CPPFLAGS'
35711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35714
35715
35716 fi
35717
35718 fi
35719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35720 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35721
35722 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35723 for ac_func in sqrtf
35724 do :
35725 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35726 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35727 cat >>confdefs.h <<_ACEOF
35728 #define HAVE_SQRTF 1
35729 _ACEOF
35730
35731 fi
35732 done
35733
35734 else
35735
35736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35737 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35738 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35739 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35740 $as_echo_n "(cached) " >&6
35741 else
35742
35743
35744 ac_ext=cpp
35745 ac_cpp='$CXXCPP $CPPFLAGS'
35746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35749
35750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35751 /* end confdefs.h. */
35752 #include <math.h>
35753 #ifdef HAVE_IEEEFP_H
35754 #include <ieeefp.h>
35755 #endif
35756
35757 int
35758 main ()
35759 {
35760 _sqrtf(0);
35761 ;
35762 return 0;
35763 }
35764 _ACEOF
35765 if ac_fn_cxx_try_compile "$LINENO"; then :
35766 glibcxx_cv_func__sqrtf_use=yes
35767 else
35768 glibcxx_cv_func__sqrtf_use=no
35769 fi
35770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35771 ac_ext=c
35772 ac_cpp='$CPP $CPPFLAGS'
35773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35776
35777
35778 fi
35779
35780 fi
35781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35782 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35783
35784 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35785 for ac_func in _sqrtf
35786 do :
35787 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35788 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35789 cat >>confdefs.h <<_ACEOF
35790 #define HAVE__SQRTF 1
35791 _ACEOF
35792
35793 fi
35794 done
35795
35796 fi
35797 fi
35798
35799
35800
35801
35802
35803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35804 $as_echo_n "checking for sincosf declaration... " >&6; }
35805 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35806 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35807 $as_echo_n "(cached) " >&6
35808 else
35809
35810
35811 ac_ext=cpp
35812 ac_cpp='$CXXCPP $CPPFLAGS'
35813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35816
35817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35818 /* end confdefs.h. */
35819 #include <math.h>
35820 int
35821 main ()
35822 {
35823 sincosf(0, 0, 0);
35824 ;
35825 return 0;
35826 }
35827 _ACEOF
35828 if ac_fn_cxx_try_compile "$LINENO"; then :
35829 glibcxx_cv_func_sincosf_use=yes
35830 else
35831 glibcxx_cv_func_sincosf_use=no
35832 fi
35833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35834 ac_ext=c
35835 ac_cpp='$CPP $CPPFLAGS'
35836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35839
35840
35841 fi
35842
35843 fi
35844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35845 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35846
35847 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35848 for ac_func in sincosf
35849 do :
35850 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35851 if test "x$ac_cv_func_sincosf" = x""yes; then :
35852 cat >>confdefs.h <<_ACEOF
35853 #define HAVE_SINCOSF 1
35854 _ACEOF
35855
35856 fi
35857 done
35858
35859 else
35860
35861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35862 $as_echo_n "checking for _sincosf declaration... " >&6; }
35863 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35864 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35865 $as_echo_n "(cached) " >&6
35866 else
35867
35868
35869 ac_ext=cpp
35870 ac_cpp='$CXXCPP $CPPFLAGS'
35871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35874
35875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35876 /* end confdefs.h. */
35877 #include <math.h>
35878 int
35879 main ()
35880 {
35881 _sincosf(0, 0, 0);
35882 ;
35883 return 0;
35884 }
35885 _ACEOF
35886 if ac_fn_cxx_try_compile "$LINENO"; then :
35887 glibcxx_cv_func__sincosf_use=yes
35888 else
35889 glibcxx_cv_func__sincosf_use=no
35890 fi
35891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35892 ac_ext=c
35893 ac_cpp='$CPP $CPPFLAGS'
35894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35897
35898
35899 fi
35900
35901 fi
35902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35903 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35904
35905 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35906 for ac_func in _sincosf
35907 do :
35908 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35909 if test "x$ac_cv_func__sincosf" = x""yes; then :
35910 cat >>confdefs.h <<_ACEOF
35911 #define HAVE__SINCOSF 1
35912 _ACEOF
35913
35914 fi
35915 done
35916
35917 fi
35918 fi
35919
35920
35921
35922
35923
35924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35925 $as_echo_n "checking for finitef declaration... " >&6; }
35926 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35927 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35928 $as_echo_n "(cached) " >&6
35929 else
35930
35931
35932 ac_ext=cpp
35933 ac_cpp='$CXXCPP $CPPFLAGS'
35934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35937
35938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35939 /* end confdefs.h. */
35940 #include <math.h>
35941 #ifdef HAVE_IEEEFP_H
35942 #include <ieeefp.h>
35943 #endif
35944
35945 int
35946 main ()
35947 {
35948 finitef(0);
35949 ;
35950 return 0;
35951 }
35952 _ACEOF
35953 if ac_fn_cxx_try_compile "$LINENO"; then :
35954 glibcxx_cv_func_finitef_use=yes
35955 else
35956 glibcxx_cv_func_finitef_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_finitef_use" >&5
35970 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35971
35972 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35973 for ac_func in finitef
35974 do :
35975 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35976 if test "x$ac_cv_func_finitef" = x""yes; then :
35977 cat >>confdefs.h <<_ACEOF
35978 #define HAVE_FINITEF 1
35979 _ACEOF
35980
35981 fi
35982 done
35983
35984 else
35985
35986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35987 $as_echo_n "checking for _finitef declaration... " >&6; }
35988 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35989 if test "${glibcxx_cv_func__finitef_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 #ifdef HAVE_IEEEFP_H
36004 #include <ieeefp.h>
36005 #endif
36006
36007 int
36008 main ()
36009 {
36010 _finitef(0);
36011 ;
36012 return 0;
36013 }
36014 _ACEOF
36015 if ac_fn_cxx_try_compile "$LINENO"; then :
36016 glibcxx_cv_func__finitef_use=yes
36017 else
36018 glibcxx_cv_func__finitef_use=no
36019 fi
36020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36021 ac_ext=c
36022 ac_cpp='$CPP $CPPFLAGS'
36023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36026
36027
36028 fi
36029
36030 fi
36031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36032 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36033
36034 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36035 for ac_func in _finitef
36036 do :
36037 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36038 if test "x$ac_cv_func__finitef" = x""yes; then :
36039 cat >>confdefs.h <<_ACEOF
36040 #define HAVE__FINITEF 1
36041 _ACEOF
36042
36043 fi
36044 done
36045
36046 fi
36047 fi
36048
36049
36050
36051
36052
36053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36054 $as_echo_n "checking for long double trig functions... " >&6; }
36055 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36056 $as_echo_n "(cached) " >&6
36057 else
36058
36059
36060 ac_ext=cpp
36061 ac_cpp='$CXXCPP $CPPFLAGS'
36062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36065
36066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36067 /* end confdefs.h. */
36068 #include <math.h>
36069 int
36070 main ()
36071 {
36072 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36073 ;
36074 return 0;
36075 }
36076 _ACEOF
36077 if ac_fn_cxx_try_compile "$LINENO"; then :
36078 glibcxx_cv_func_long_double_trig_use=yes
36079 else
36080 glibcxx_cv_func_long_double_trig_use=no
36081 fi
36082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36083 ac_ext=c
36084 ac_cpp='$CPP $CPPFLAGS'
36085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36088
36089 fi
36090
36091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36092 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36093 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36094 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36095 do :
36096 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36097 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36098 eval as_val=\$$as_ac_var
36099 if test "x$as_val" = x""yes; then :
36100 cat >>confdefs.h <<_ACEOF
36101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36102 _ACEOF
36103
36104 fi
36105 done
36106
36107 else
36108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36109 $as_echo_n "checking for _long double trig functions... " >&6; }
36110 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36111 $as_echo_n "(cached) " >&6
36112 else
36113
36114
36115 ac_ext=cpp
36116 ac_cpp='$CXXCPP $CPPFLAGS'
36117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36120
36121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36122 /* end confdefs.h. */
36123 #include <math.h>
36124 int
36125 main ()
36126 {
36127 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36128 ;
36129 return 0;
36130 }
36131 _ACEOF
36132 if ac_fn_cxx_try_compile "$LINENO"; then :
36133 glibcxx_cv_func__long_double_trig_use=yes
36134 else
36135 glibcxx_cv_func__long_double_trig_use=no
36136 fi
36137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36138 ac_ext=c
36139 ac_cpp='$CPP $CPPFLAGS'
36140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36143
36144 fi
36145
36146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36147 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36148 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36149 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36150 do :
36151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36153 eval as_val=\$$as_ac_var
36154 if test "x$as_val" = x""yes; then :
36155 cat >>confdefs.h <<_ACEOF
36156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36157 _ACEOF
36158
36159 fi
36160 done
36161
36162 fi
36163 fi
36164
36165
36166
36167
36168
36169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36170 $as_echo_n "checking for long double round functions... " >&6; }
36171 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36172 $as_echo_n "(cached) " >&6
36173 else
36174
36175
36176 ac_ext=cpp
36177 ac_cpp='$CXXCPP $CPPFLAGS'
36178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36181
36182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36183 /* end confdefs.h. */
36184 #include <math.h>
36185 int
36186 main ()
36187 {
36188 ceill (0); floorl (0);
36189 ;
36190 return 0;
36191 }
36192 _ACEOF
36193 if ac_fn_cxx_try_compile "$LINENO"; then :
36194 glibcxx_cv_func_long_double_round_use=yes
36195 else
36196 glibcxx_cv_func_long_double_round_use=no
36197 fi
36198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36199 ac_ext=c
36200 ac_cpp='$CPP $CPPFLAGS'
36201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36204
36205 fi
36206
36207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36208 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36209 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36210 for ac_func in ceill floorl
36211 do :
36212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36214 eval as_val=\$$as_ac_var
36215 if test "x$as_val" = x""yes; then :
36216 cat >>confdefs.h <<_ACEOF
36217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36218 _ACEOF
36219
36220 fi
36221 done
36222
36223 else
36224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36225 $as_echo_n "checking for _long double round functions... " >&6; }
36226 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36227 $as_echo_n "(cached) " >&6
36228 else
36229
36230
36231 ac_ext=cpp
36232 ac_cpp='$CXXCPP $CPPFLAGS'
36233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36236
36237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36238 /* end confdefs.h. */
36239 #include <math.h>
36240 int
36241 main ()
36242 {
36243 _ceill (0); _floorl (0);
36244 ;
36245 return 0;
36246 }
36247 _ACEOF
36248 if ac_fn_cxx_try_compile "$LINENO"; then :
36249 glibcxx_cv_func__long_double_round_use=yes
36250 else
36251 glibcxx_cv_func__long_double_round_use=no
36252 fi
36253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36254 ac_ext=c
36255 ac_cpp='$CPP $CPPFLAGS'
36256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36259
36260 fi
36261
36262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36263 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36264 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36265 for ac_func in _ceill _floorl
36266 do :
36267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36269 eval as_val=\$$as_ac_var
36270 if test "x$as_val" = x""yes; then :
36271 cat >>confdefs.h <<_ACEOF
36272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36273 _ACEOF
36274
36275 fi
36276 done
36277
36278 fi
36279 fi
36280
36281
36282
36283
36284
36285
36286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36287 $as_echo_n "checking for isnanl declaration... " >&6; }
36288 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36289 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36290 $as_echo_n "(cached) " >&6
36291 else
36292
36293
36294 ac_ext=cpp
36295 ac_cpp='$CXXCPP $CPPFLAGS'
36296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36299
36300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36301 /* end confdefs.h. */
36302 #include <math.h>
36303 #ifdef HAVE_IEEEFP_H
36304 #include <ieeefp.h>
36305 #endif
36306
36307 int
36308 main ()
36309 {
36310 isnanl(0);
36311 ;
36312 return 0;
36313 }
36314 _ACEOF
36315 if ac_fn_cxx_try_compile "$LINENO"; then :
36316 glibcxx_cv_func_isnanl_use=yes
36317 else
36318 glibcxx_cv_func_isnanl_use=no
36319 fi
36320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36321 ac_ext=c
36322 ac_cpp='$CPP $CPPFLAGS'
36323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36326
36327
36328 fi
36329
36330 fi
36331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36332 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36333
36334 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36335 for ac_func in isnanl
36336 do :
36337 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36338 if test "x$ac_cv_func_isnanl" = x""yes; then :
36339 cat >>confdefs.h <<_ACEOF
36340 #define HAVE_ISNANL 1
36341 _ACEOF
36342
36343 fi
36344 done
36345
36346 else
36347
36348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36349 $as_echo_n "checking for _isnanl declaration... " >&6; }
36350 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36351 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36352 $as_echo_n "(cached) " >&6
36353 else
36354
36355
36356 ac_ext=cpp
36357 ac_cpp='$CXXCPP $CPPFLAGS'
36358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36361
36362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36363 /* end confdefs.h. */
36364 #include <math.h>
36365 #ifdef HAVE_IEEEFP_H
36366 #include <ieeefp.h>
36367 #endif
36368
36369 int
36370 main ()
36371 {
36372 _isnanl(0);
36373 ;
36374 return 0;
36375 }
36376 _ACEOF
36377 if ac_fn_cxx_try_compile "$LINENO"; then :
36378 glibcxx_cv_func__isnanl_use=yes
36379 else
36380 glibcxx_cv_func__isnanl_use=no
36381 fi
36382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36383 ac_ext=c
36384 ac_cpp='$CPP $CPPFLAGS'
36385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36388
36389
36390 fi
36391
36392 fi
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36394 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36395
36396 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36397 for ac_func in _isnanl
36398 do :
36399 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36400 if test "x$ac_cv_func__isnanl" = x""yes; then :
36401 cat >>confdefs.h <<_ACEOF
36402 #define HAVE__ISNANL 1
36403 _ACEOF
36404
36405 fi
36406 done
36407
36408 fi
36409 fi
36410
36411
36412
36413
36414
36415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36416 $as_echo_n "checking for isinfl declaration... " >&6; }
36417 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36418 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36419 $as_echo_n "(cached) " >&6
36420 else
36421
36422
36423 ac_ext=cpp
36424 ac_cpp='$CXXCPP $CPPFLAGS'
36425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36428
36429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36430 /* end confdefs.h. */
36431 #include <math.h>
36432 #ifdef HAVE_IEEEFP_H
36433 #include <ieeefp.h>
36434 #endif
36435
36436 int
36437 main ()
36438 {
36439 isinfl(0);
36440 ;
36441 return 0;
36442 }
36443 _ACEOF
36444 if ac_fn_cxx_try_compile "$LINENO"; then :
36445 glibcxx_cv_func_isinfl_use=yes
36446 else
36447 glibcxx_cv_func_isinfl_use=no
36448 fi
36449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36450 ac_ext=c
36451 ac_cpp='$CPP $CPPFLAGS'
36452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36455
36456
36457 fi
36458
36459 fi
36460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36461 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36462
36463 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36464 for ac_func in isinfl
36465 do :
36466 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36467 if test "x$ac_cv_func_isinfl" = x""yes; then :
36468 cat >>confdefs.h <<_ACEOF
36469 #define HAVE_ISINFL 1
36470 _ACEOF
36471
36472 fi
36473 done
36474
36475 else
36476
36477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36478 $as_echo_n "checking for _isinfl declaration... " >&6; }
36479 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36480 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36481 $as_echo_n "(cached) " >&6
36482 else
36483
36484
36485 ac_ext=cpp
36486 ac_cpp='$CXXCPP $CPPFLAGS'
36487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36490
36491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36492 /* end confdefs.h. */
36493 #include <math.h>
36494 #ifdef HAVE_IEEEFP_H
36495 #include <ieeefp.h>
36496 #endif
36497
36498 int
36499 main ()
36500 {
36501 _isinfl(0);
36502 ;
36503 return 0;
36504 }
36505 _ACEOF
36506 if ac_fn_cxx_try_compile "$LINENO"; then :
36507 glibcxx_cv_func__isinfl_use=yes
36508 else
36509 glibcxx_cv_func__isinfl_use=no
36510 fi
36511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36512 ac_ext=c
36513 ac_cpp='$CPP $CPPFLAGS'
36514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36517
36518
36519 fi
36520
36521 fi
36522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36523 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36524
36525 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36526 for ac_func in _isinfl
36527 do :
36528 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36529 if test "x$ac_cv_func__isinfl" = x""yes; then :
36530 cat >>confdefs.h <<_ACEOF
36531 #define HAVE__ISINFL 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 atan2l declaration" >&5
36545 $as_echo_n "checking for atan2l declaration... " >&6; }
36546 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36547 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36548 $as_echo_n "(cached) " >&6
36549 else
36550
36551
36552 ac_ext=cpp
36553 ac_cpp='$CXXCPP $CPPFLAGS'
36554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36557
36558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36559 /* end confdefs.h. */
36560 #include <math.h>
36561 int
36562 main ()
36563 {
36564 atan2l(0, 0);
36565 ;
36566 return 0;
36567 }
36568 _ACEOF
36569 if ac_fn_cxx_try_compile "$LINENO"; then :
36570 glibcxx_cv_func_atan2l_use=yes
36571 else
36572 glibcxx_cv_func_atan2l_use=no
36573 fi
36574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36575 ac_ext=c
36576 ac_cpp='$CPP $CPPFLAGS'
36577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36580
36581
36582 fi
36583
36584 fi
36585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36586 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36587
36588 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36589 for ac_func in atan2l
36590 do :
36591 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36592 if test "x$ac_cv_func_atan2l" = x""yes; then :
36593 cat >>confdefs.h <<_ACEOF
36594 #define HAVE_ATAN2L 1
36595 _ACEOF
36596
36597 fi
36598 done
36599
36600 else
36601
36602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36603 $as_echo_n "checking for _atan2l declaration... " >&6; }
36604 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36605 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36606 $as_echo_n "(cached) " >&6
36607 else
36608
36609
36610 ac_ext=cpp
36611 ac_cpp='$CXXCPP $CPPFLAGS'
36612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36615
36616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36617 /* end confdefs.h. */
36618 #include <math.h>
36619 int
36620 main ()
36621 {
36622 _atan2l(0, 0);
36623 ;
36624 return 0;
36625 }
36626 _ACEOF
36627 if ac_fn_cxx_try_compile "$LINENO"; then :
36628 glibcxx_cv_func__atan2l_use=yes
36629 else
36630 glibcxx_cv_func__atan2l_use=no
36631 fi
36632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36633 ac_ext=c
36634 ac_cpp='$CPP $CPPFLAGS'
36635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36638
36639
36640 fi
36641
36642 fi
36643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36644 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36645
36646 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36647 for ac_func in _atan2l
36648 do :
36649 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36650 if test "x$ac_cv_func__atan2l" = x""yes; then :
36651 cat >>confdefs.h <<_ACEOF
36652 #define HAVE__ATAN2L 1
36653 _ACEOF
36654
36655 fi
36656 done
36657
36658 fi
36659 fi
36660
36661
36662
36663
36664
36665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36666 $as_echo_n "checking for expl declaration... " >&6; }
36667 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36668 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36669 $as_echo_n "(cached) " >&6
36670 else
36671
36672
36673 ac_ext=cpp
36674 ac_cpp='$CXXCPP $CPPFLAGS'
36675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36678
36679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36680 /* end confdefs.h. */
36681 #include <math.h>
36682 #ifdef HAVE_IEEEFP_H
36683 #include <ieeefp.h>
36684 #endif
36685
36686 int
36687 main ()
36688 {
36689 expl(0);
36690 ;
36691 return 0;
36692 }
36693 _ACEOF
36694 if ac_fn_cxx_try_compile "$LINENO"; then :
36695 glibcxx_cv_func_expl_use=yes
36696 else
36697 glibcxx_cv_func_expl_use=no
36698 fi
36699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36700 ac_ext=c
36701 ac_cpp='$CPP $CPPFLAGS'
36702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36705
36706
36707 fi
36708
36709 fi
36710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36711 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36712
36713 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36714 for ac_func in expl
36715 do :
36716 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36717 if test "x$ac_cv_func_expl" = x""yes; then :
36718 cat >>confdefs.h <<_ACEOF
36719 #define HAVE_EXPL 1
36720 _ACEOF
36721
36722 fi
36723 done
36724
36725 else
36726
36727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36728 $as_echo_n "checking for _expl declaration... " >&6; }
36729 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36730 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36731 $as_echo_n "(cached) " >&6
36732 else
36733
36734
36735 ac_ext=cpp
36736 ac_cpp='$CXXCPP $CPPFLAGS'
36737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36740
36741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36742 /* end confdefs.h. */
36743 #include <math.h>
36744 #ifdef HAVE_IEEEFP_H
36745 #include <ieeefp.h>
36746 #endif
36747
36748 int
36749 main ()
36750 {
36751 _expl(0);
36752 ;
36753 return 0;
36754 }
36755 _ACEOF
36756 if ac_fn_cxx_try_compile "$LINENO"; then :
36757 glibcxx_cv_func__expl_use=yes
36758 else
36759 glibcxx_cv_func__expl_use=no
36760 fi
36761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36762 ac_ext=c
36763 ac_cpp='$CPP $CPPFLAGS'
36764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36767
36768
36769 fi
36770
36771 fi
36772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36773 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36774
36775 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36776 for ac_func in _expl
36777 do :
36778 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36779 if test "x$ac_cv_func__expl" = x""yes; then :
36780 cat >>confdefs.h <<_ACEOF
36781 #define HAVE__EXPL 1
36782 _ACEOF
36783
36784 fi
36785 done
36786
36787 fi
36788 fi
36789
36790
36791
36792
36793
36794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36795 $as_echo_n "checking for fabsl declaration... " >&6; }
36796 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36797 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36798 $as_echo_n "(cached) " >&6
36799 else
36800
36801
36802 ac_ext=cpp
36803 ac_cpp='$CXXCPP $CPPFLAGS'
36804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36807
36808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36809 /* end confdefs.h. */
36810 #include <math.h>
36811 #ifdef HAVE_IEEEFP_H
36812 #include <ieeefp.h>
36813 #endif
36814
36815 int
36816 main ()
36817 {
36818 fabsl(0);
36819 ;
36820 return 0;
36821 }
36822 _ACEOF
36823 if ac_fn_cxx_try_compile "$LINENO"; then :
36824 glibcxx_cv_func_fabsl_use=yes
36825 else
36826 glibcxx_cv_func_fabsl_use=no
36827 fi
36828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36829 ac_ext=c
36830 ac_cpp='$CPP $CPPFLAGS'
36831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36834
36835
36836 fi
36837
36838 fi
36839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36840 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36841
36842 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36843 for ac_func in fabsl
36844 do :
36845 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36846 if test "x$ac_cv_func_fabsl" = x""yes; then :
36847 cat >>confdefs.h <<_ACEOF
36848 #define HAVE_FABSL 1
36849 _ACEOF
36850
36851 fi
36852 done
36853
36854 else
36855
36856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36857 $as_echo_n "checking for _fabsl declaration... " >&6; }
36858 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36859 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36860 $as_echo_n "(cached) " >&6
36861 else
36862
36863
36864 ac_ext=cpp
36865 ac_cpp='$CXXCPP $CPPFLAGS'
36866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36869
36870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36871 /* end confdefs.h. */
36872 #include <math.h>
36873 #ifdef HAVE_IEEEFP_H
36874 #include <ieeefp.h>
36875 #endif
36876
36877 int
36878 main ()
36879 {
36880 _fabsl(0);
36881 ;
36882 return 0;
36883 }
36884 _ACEOF
36885 if ac_fn_cxx_try_compile "$LINENO"; then :
36886 glibcxx_cv_func__fabsl_use=yes
36887 else
36888 glibcxx_cv_func__fabsl_use=no
36889 fi
36890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36891 ac_ext=c
36892 ac_cpp='$CPP $CPPFLAGS'
36893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36896
36897
36898 fi
36899
36900 fi
36901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36902 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36903
36904 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36905 for ac_func in _fabsl
36906 do :
36907 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36908 if test "x$ac_cv_func__fabsl" = x""yes; then :
36909 cat >>confdefs.h <<_ACEOF
36910 #define HAVE__FABSL 1
36911 _ACEOF
36912
36913 fi
36914 done
36915
36916 fi
36917 fi
36918
36919
36920
36921
36922
36923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36924 $as_echo_n "checking for fmodl declaration... " >&6; }
36925 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36926 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36927 $as_echo_n "(cached) " >&6
36928 else
36929
36930
36931 ac_ext=cpp
36932 ac_cpp='$CXXCPP $CPPFLAGS'
36933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36936
36937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36938 /* end confdefs.h. */
36939 #include <math.h>
36940 int
36941 main ()
36942 {
36943 fmodl(0, 0);
36944 ;
36945 return 0;
36946 }
36947 _ACEOF
36948 if ac_fn_cxx_try_compile "$LINENO"; then :
36949 glibcxx_cv_func_fmodl_use=yes
36950 else
36951 glibcxx_cv_func_fmodl_use=no
36952 fi
36953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36954 ac_ext=c
36955 ac_cpp='$CPP $CPPFLAGS'
36956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36959
36960
36961 fi
36962
36963 fi
36964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36965 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36966
36967 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36968 for ac_func in fmodl
36969 do :
36970 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36971 if test "x$ac_cv_func_fmodl" = x""yes; then :
36972 cat >>confdefs.h <<_ACEOF
36973 #define HAVE_FMODL 1
36974 _ACEOF
36975
36976 fi
36977 done
36978
36979 else
36980
36981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36982 $as_echo_n "checking for _fmodl declaration... " >&6; }
36983 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36984 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36985 $as_echo_n "(cached) " >&6
36986 else
36987
36988
36989 ac_ext=cpp
36990 ac_cpp='$CXXCPP $CPPFLAGS'
36991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36994
36995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36996 /* end confdefs.h. */
36997 #include <math.h>
36998 int
36999 main ()
37000 {
37001 _fmodl(0, 0);
37002 ;
37003 return 0;
37004 }
37005 _ACEOF
37006 if ac_fn_cxx_try_compile "$LINENO"; then :
37007 glibcxx_cv_func__fmodl_use=yes
37008 else
37009 glibcxx_cv_func__fmodl_use=no
37010 fi
37011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37012 ac_ext=c
37013 ac_cpp='$CPP $CPPFLAGS'
37014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37017
37018
37019 fi
37020
37021 fi
37022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37023 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37024
37025 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37026 for ac_func in _fmodl
37027 do :
37028 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37029 if test "x$ac_cv_func__fmodl" = x""yes; then :
37030 cat >>confdefs.h <<_ACEOF
37031 #define HAVE__FMODL 1
37032 _ACEOF
37033
37034 fi
37035 done
37036
37037 fi
37038 fi
37039
37040
37041
37042
37043
37044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37045 $as_echo_n "checking for frexpl declaration... " >&6; }
37046 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37047 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37048 $as_echo_n "(cached) " >&6
37049 else
37050
37051
37052 ac_ext=cpp
37053 ac_cpp='$CXXCPP $CPPFLAGS'
37054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37057
37058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37059 /* end confdefs.h. */
37060 #include <math.h>
37061 int
37062 main ()
37063 {
37064 frexpl(0, 0);
37065 ;
37066 return 0;
37067 }
37068 _ACEOF
37069 if ac_fn_cxx_try_compile "$LINENO"; then :
37070 glibcxx_cv_func_frexpl_use=yes
37071 else
37072 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
37086 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37087
37088 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37089 for ac_func in frexpl
37090 do :
37091 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37092 if test "x$ac_cv_func_frexpl" = x""yes; then :
37093 cat >>confdefs.h <<_ACEOF
37094 #define HAVE_FREXPL 1
37095 _ACEOF
37096
37097 fi
37098 done
37099
37100 else
37101
37102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37103 $as_echo_n "checking for _frexpl declaration... " >&6; }
37104 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37105 if test "${glibcxx_cv_func__frexpl_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 int
37120 main ()
37121 {
37122 _frexpl(0, 0);
37123 ;
37124 return 0;
37125 }
37126 _ACEOF
37127 if ac_fn_cxx_try_compile "$LINENO"; then :
37128 glibcxx_cv_func__frexpl_use=yes
37129 else
37130 glibcxx_cv_func__frexpl_use=no
37131 fi
37132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37133 ac_ext=c
37134 ac_cpp='$CPP $CPPFLAGS'
37135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37138
37139
37140 fi
37141
37142 fi
37143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37144 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37145
37146 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37147 for ac_func in _frexpl
37148 do :
37149 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37150 if test "x$ac_cv_func__frexpl" = x""yes; then :
37151 cat >>confdefs.h <<_ACEOF
37152 #define HAVE__FREXPL 1
37153 _ACEOF
37154
37155 fi
37156 done
37157
37158 fi
37159 fi
37160
37161
37162
37163
37164
37165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37166 $as_echo_n "checking for hypotl declaration... " >&6; }
37167 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37168 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37169 $as_echo_n "(cached) " >&6
37170 else
37171
37172
37173 ac_ext=cpp
37174 ac_cpp='$CXXCPP $CPPFLAGS'
37175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37178
37179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37180 /* end confdefs.h. */
37181 #include <math.h>
37182 int
37183 main ()
37184 {
37185 hypotl(0, 0);
37186 ;
37187 return 0;
37188 }
37189 _ACEOF
37190 if ac_fn_cxx_try_compile "$LINENO"; then :
37191 glibcxx_cv_func_hypotl_use=yes
37192 else
37193 glibcxx_cv_func_hypotl_use=no
37194 fi
37195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37196 ac_ext=c
37197 ac_cpp='$CPP $CPPFLAGS'
37198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37201
37202
37203 fi
37204
37205 fi
37206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37207 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37208
37209 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37210 for ac_func in hypotl
37211 do :
37212 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37213 if test "x$ac_cv_func_hypotl" = x""yes; then :
37214 cat >>confdefs.h <<_ACEOF
37215 #define HAVE_HYPOTL 1
37216 _ACEOF
37217
37218 fi
37219 done
37220
37221 else
37222
37223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37224 $as_echo_n "checking for _hypotl declaration... " >&6; }
37225 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37226 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37227 $as_echo_n "(cached) " >&6
37228 else
37229
37230
37231 ac_ext=cpp
37232 ac_cpp='$CXXCPP $CPPFLAGS'
37233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37236
37237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37238 /* end confdefs.h. */
37239 #include <math.h>
37240 int
37241 main ()
37242 {
37243 _hypotl(0, 0);
37244 ;
37245 return 0;
37246 }
37247 _ACEOF
37248 if ac_fn_cxx_try_compile "$LINENO"; then :
37249 glibcxx_cv_func__hypotl_use=yes
37250 else
37251 glibcxx_cv_func__hypotl_use=no
37252 fi
37253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37254 ac_ext=c
37255 ac_cpp='$CPP $CPPFLAGS'
37256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37259
37260
37261 fi
37262
37263 fi
37264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37265 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37266
37267 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37268 for ac_func in _hypotl
37269 do :
37270 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37271 if test "x$ac_cv_func__hypotl" = x""yes; then :
37272 cat >>confdefs.h <<_ACEOF
37273 #define HAVE__HYPOTL 1
37274 _ACEOF
37275
37276 fi
37277 done
37278
37279 fi
37280 fi
37281
37282
37283
37284
37285
37286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37287 $as_echo_n "checking for ldexpl declaration... " >&6; }
37288 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37289 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37290 $as_echo_n "(cached) " >&6
37291 else
37292
37293
37294 ac_ext=cpp
37295 ac_cpp='$CXXCPP $CPPFLAGS'
37296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37299
37300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37301 /* end confdefs.h. */
37302 #include <math.h>
37303 int
37304 main ()
37305 {
37306 ldexpl(0, 0);
37307 ;
37308 return 0;
37309 }
37310 _ACEOF
37311 if ac_fn_cxx_try_compile "$LINENO"; then :
37312 glibcxx_cv_func_ldexpl_use=yes
37313 else
37314 glibcxx_cv_func_ldexpl_use=no
37315 fi
37316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37317 ac_ext=c
37318 ac_cpp='$CPP $CPPFLAGS'
37319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37322
37323
37324 fi
37325
37326 fi
37327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37328 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37329
37330 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37331 for ac_func in ldexpl
37332 do :
37333 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37334 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37335 cat >>confdefs.h <<_ACEOF
37336 #define HAVE_LDEXPL 1
37337 _ACEOF
37338
37339 fi
37340 done
37341
37342 else
37343
37344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37345 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37346 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37347 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37348 $as_echo_n "(cached) " >&6
37349 else
37350
37351
37352 ac_ext=cpp
37353 ac_cpp='$CXXCPP $CPPFLAGS'
37354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37357
37358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37359 /* end confdefs.h. */
37360 #include <math.h>
37361 int
37362 main ()
37363 {
37364 _ldexpl(0, 0);
37365 ;
37366 return 0;
37367 }
37368 _ACEOF
37369 if ac_fn_cxx_try_compile "$LINENO"; then :
37370 glibcxx_cv_func__ldexpl_use=yes
37371 else
37372 glibcxx_cv_func__ldexpl_use=no
37373 fi
37374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37375 ac_ext=c
37376 ac_cpp='$CPP $CPPFLAGS'
37377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37380
37381
37382 fi
37383
37384 fi
37385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37386 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37387
37388 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37389 for ac_func in _ldexpl
37390 do :
37391 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37392 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37393 cat >>confdefs.h <<_ACEOF
37394 #define HAVE__LDEXPL 1
37395 _ACEOF
37396
37397 fi
37398 done
37399
37400 fi
37401 fi
37402
37403
37404
37405
37406
37407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37408 $as_echo_n "checking for logl declaration... " >&6; }
37409 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37410 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37411 $as_echo_n "(cached) " >&6
37412 else
37413
37414
37415 ac_ext=cpp
37416 ac_cpp='$CXXCPP $CPPFLAGS'
37417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37420
37421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37422 /* end confdefs.h. */
37423 #include <math.h>
37424 #ifdef HAVE_IEEEFP_H
37425 #include <ieeefp.h>
37426 #endif
37427
37428 int
37429 main ()
37430 {
37431 logl(0);
37432 ;
37433 return 0;
37434 }
37435 _ACEOF
37436 if ac_fn_cxx_try_compile "$LINENO"; then :
37437 glibcxx_cv_func_logl_use=yes
37438 else
37439 glibcxx_cv_func_logl_use=no
37440 fi
37441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37442 ac_ext=c
37443 ac_cpp='$CPP $CPPFLAGS'
37444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37447
37448
37449 fi
37450
37451 fi
37452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37453 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37454
37455 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37456 for ac_func in logl
37457 do :
37458 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37459 if test "x$ac_cv_func_logl" = x""yes; then :
37460 cat >>confdefs.h <<_ACEOF
37461 #define HAVE_LOGL 1
37462 _ACEOF
37463
37464 fi
37465 done
37466
37467 else
37468
37469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37470 $as_echo_n "checking for _logl declaration... " >&6; }
37471 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37472 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37473 $as_echo_n "(cached) " >&6
37474 else
37475
37476
37477 ac_ext=cpp
37478 ac_cpp='$CXXCPP $CPPFLAGS'
37479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37482
37483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37484 /* end confdefs.h. */
37485 #include <math.h>
37486 #ifdef HAVE_IEEEFP_H
37487 #include <ieeefp.h>
37488 #endif
37489
37490 int
37491 main ()
37492 {
37493 _logl(0);
37494 ;
37495 return 0;
37496 }
37497 _ACEOF
37498 if ac_fn_cxx_try_compile "$LINENO"; then :
37499 glibcxx_cv_func__logl_use=yes
37500 else
37501 glibcxx_cv_func__logl_use=no
37502 fi
37503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37504 ac_ext=c
37505 ac_cpp='$CPP $CPPFLAGS'
37506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37509
37510
37511 fi
37512
37513 fi
37514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37515 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37516
37517 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37518 for ac_func in _logl
37519 do :
37520 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37521 if test "x$ac_cv_func__logl" = x""yes; then :
37522 cat >>confdefs.h <<_ACEOF
37523 #define HAVE__LOGL 1
37524 _ACEOF
37525
37526 fi
37527 done
37528
37529 fi
37530 fi
37531
37532
37533
37534
37535
37536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37537 $as_echo_n "checking for log10l declaration... " >&6; }
37538 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37539 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37540 $as_echo_n "(cached) " >&6
37541 else
37542
37543
37544 ac_ext=cpp
37545 ac_cpp='$CXXCPP $CPPFLAGS'
37546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37549
37550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37551 /* end confdefs.h. */
37552 #include <math.h>
37553 #ifdef HAVE_IEEEFP_H
37554 #include <ieeefp.h>
37555 #endif
37556
37557 int
37558 main ()
37559 {
37560 log10l(0);
37561 ;
37562 return 0;
37563 }
37564 _ACEOF
37565 if ac_fn_cxx_try_compile "$LINENO"; then :
37566 glibcxx_cv_func_log10l_use=yes
37567 else
37568 glibcxx_cv_func_log10l_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_log10l_use" >&5
37582 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37583
37584 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37585 for ac_func in log10l
37586 do :
37587 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37588 if test "x$ac_cv_func_log10l" = x""yes; then :
37589 cat >>confdefs.h <<_ACEOF
37590 #define HAVE_LOG10L 1
37591 _ACEOF
37592
37593 fi
37594 done
37595
37596 else
37597
37598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37599 $as_echo_n "checking for _log10l declaration... " >&6; }
37600 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37601 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
37616 #include <ieeefp.h>
37617 #endif
37618
37619 int
37620 main ()
37621 {
37622 _log10l(0);
37623 ;
37624 return 0;
37625 }
37626 _ACEOF
37627 if ac_fn_cxx_try_compile "$LINENO"; then :
37628 glibcxx_cv_func__log10l_use=yes
37629 else
37630 glibcxx_cv_func__log10l_use=no
37631 fi
37632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37633 ac_ext=c
37634 ac_cpp='$CPP $CPPFLAGS'
37635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37638
37639
37640 fi
37641
37642 fi
37643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37644 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37645
37646 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37647 for ac_func in _log10l
37648 do :
37649 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37650 if test "x$ac_cv_func__log10l" = x""yes; then :
37651 cat >>confdefs.h <<_ACEOF
37652 #define HAVE__LOG10L 1
37653 _ACEOF
37654
37655 fi
37656 done
37657
37658 fi
37659 fi
37660
37661
37662
37663
37664
37665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37666 $as_echo_n "checking for modfl declaration... " >&6; }
37667 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37668 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37669 $as_echo_n "(cached) " >&6
37670 else
37671
37672
37673 ac_ext=cpp
37674 ac_cpp='$CXXCPP $CPPFLAGS'
37675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37678
37679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37680 /* end confdefs.h. */
37681 #include <math.h>
37682 int
37683 main ()
37684 {
37685 modfl(0, 0);
37686 ;
37687 return 0;
37688 }
37689 _ACEOF
37690 if ac_fn_cxx_try_compile "$LINENO"; then :
37691 glibcxx_cv_func_modfl_use=yes
37692 else
37693 glibcxx_cv_func_modfl_use=no
37694 fi
37695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37696 ac_ext=c
37697 ac_cpp='$CPP $CPPFLAGS'
37698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37701
37702
37703 fi
37704
37705 fi
37706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37707 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37708
37709 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37710 for ac_func in modfl
37711 do :
37712 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37713 if test "x$ac_cv_func_modfl" = x""yes; then :
37714 cat >>confdefs.h <<_ACEOF
37715 #define HAVE_MODFL 1
37716 _ACEOF
37717
37718 fi
37719 done
37720
37721 else
37722
37723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37724 $as_echo_n "checking for _modfl declaration... " >&6; }
37725 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37726 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37727 $as_echo_n "(cached) " >&6
37728 else
37729
37730
37731 ac_ext=cpp
37732 ac_cpp='$CXXCPP $CPPFLAGS'
37733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37736
37737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37738 /* end confdefs.h. */
37739 #include <math.h>
37740 int
37741 main ()
37742 {
37743 _modfl(0, 0);
37744 ;
37745 return 0;
37746 }
37747 _ACEOF
37748 if ac_fn_cxx_try_compile "$LINENO"; then :
37749 glibcxx_cv_func__modfl_use=yes
37750 else
37751 glibcxx_cv_func__modfl_use=no
37752 fi
37753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37754 ac_ext=c
37755 ac_cpp='$CPP $CPPFLAGS'
37756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37759
37760
37761 fi
37762
37763 fi
37764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37765 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37766
37767 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37768 for ac_func in _modfl
37769 do :
37770 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37771 if test "x$ac_cv_func__modfl" = x""yes; then :
37772 cat >>confdefs.h <<_ACEOF
37773 #define HAVE__MODFL 1
37774 _ACEOF
37775
37776 fi
37777 done
37778
37779 fi
37780 fi
37781
37782
37783
37784
37785
37786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37787 $as_echo_n "checking for powl declaration... " >&6; }
37788 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37789 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37790 $as_echo_n "(cached) " >&6
37791 else
37792
37793
37794 ac_ext=cpp
37795 ac_cpp='$CXXCPP $CPPFLAGS'
37796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37799
37800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37801 /* end confdefs.h. */
37802 #include <math.h>
37803 int
37804 main ()
37805 {
37806 powl(0, 0);
37807 ;
37808 return 0;
37809 }
37810 _ACEOF
37811 if ac_fn_cxx_try_compile "$LINENO"; then :
37812 glibcxx_cv_func_powl_use=yes
37813 else
37814 glibcxx_cv_func_powl_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_powl_use" >&5
37828 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37829
37830 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37831 for ac_func in powl
37832 do :
37833 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37834 if test "x$ac_cv_func_powl" = x""yes; then :
37835 cat >>confdefs.h <<_ACEOF
37836 #define HAVE_POWL 1
37837 _ACEOF
37838
37839 fi
37840 done
37841
37842 else
37843
37844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37845 $as_echo_n "checking for _powl declaration... " >&6; }
37846 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37847 if test "${glibcxx_cv_func__powl_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 int
37862 main ()
37863 {
37864 _powl(0, 0);
37865 ;
37866 return 0;
37867 }
37868 _ACEOF
37869 if ac_fn_cxx_try_compile "$LINENO"; then :
37870 glibcxx_cv_func__powl_use=yes
37871 else
37872 glibcxx_cv_func__powl_use=no
37873 fi
37874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37875 ac_ext=c
37876 ac_cpp='$CPP $CPPFLAGS'
37877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37880
37881
37882 fi
37883
37884 fi
37885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37886 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37887
37888 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37889 for ac_func in _powl
37890 do :
37891 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37892 if test "x$ac_cv_func__powl" = x""yes; then :
37893 cat >>confdefs.h <<_ACEOF
37894 #define HAVE__POWL 1
37895 _ACEOF
37896
37897 fi
37898 done
37899
37900 fi
37901 fi
37902
37903
37904
37905
37906
37907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37908 $as_echo_n "checking for sqrtl declaration... " >&6; }
37909 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37910 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37911 $as_echo_n "(cached) " >&6
37912 else
37913
37914
37915 ac_ext=cpp
37916 ac_cpp='$CXXCPP $CPPFLAGS'
37917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37920
37921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37922 /* end confdefs.h. */
37923 #include <math.h>
37924 #ifdef HAVE_IEEEFP_H
37925 #include <ieeefp.h>
37926 #endif
37927
37928 int
37929 main ()
37930 {
37931 sqrtl(0);
37932 ;
37933 return 0;
37934 }
37935 _ACEOF
37936 if ac_fn_cxx_try_compile "$LINENO"; then :
37937 glibcxx_cv_func_sqrtl_use=yes
37938 else
37939 glibcxx_cv_func_sqrtl_use=no
37940 fi
37941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37942 ac_ext=c
37943 ac_cpp='$CPP $CPPFLAGS'
37944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37947
37948
37949 fi
37950
37951 fi
37952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37953 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37954
37955 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37956 for ac_func in sqrtl
37957 do :
37958 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37959 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37960 cat >>confdefs.h <<_ACEOF
37961 #define HAVE_SQRTL 1
37962 _ACEOF
37963
37964 fi
37965 done
37966
37967 else
37968
37969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37970 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37971 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37972 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37973 $as_echo_n "(cached) " >&6
37974 else
37975
37976
37977 ac_ext=cpp
37978 ac_cpp='$CXXCPP $CPPFLAGS'
37979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37982
37983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37984 /* end confdefs.h. */
37985 #include <math.h>
37986 #ifdef HAVE_IEEEFP_H
37987 #include <ieeefp.h>
37988 #endif
37989
37990 int
37991 main ()
37992 {
37993 _sqrtl(0);
37994 ;
37995 return 0;
37996 }
37997 _ACEOF
37998 if ac_fn_cxx_try_compile "$LINENO"; then :
37999 glibcxx_cv_func__sqrtl_use=yes
38000 else
38001 glibcxx_cv_func__sqrtl_use=no
38002 fi
38003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38004 ac_ext=c
38005 ac_cpp='$CPP $CPPFLAGS'
38006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38009
38010
38011 fi
38012
38013 fi
38014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38015 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38016
38017 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38018 for ac_func in _sqrtl
38019 do :
38020 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38021 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38022 cat >>confdefs.h <<_ACEOF
38023 #define HAVE__SQRTL 1
38024 _ACEOF
38025
38026 fi
38027 done
38028
38029 fi
38030 fi
38031
38032
38033
38034
38035
38036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38037 $as_echo_n "checking for sincosl declaration... " >&6; }
38038 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38039 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38040 $as_echo_n "(cached) " >&6
38041 else
38042
38043
38044 ac_ext=cpp
38045 ac_cpp='$CXXCPP $CPPFLAGS'
38046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38049
38050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38051 /* end confdefs.h. */
38052 #include <math.h>
38053 int
38054 main ()
38055 {
38056 sincosl(0, 0, 0);
38057 ;
38058 return 0;
38059 }
38060 _ACEOF
38061 if ac_fn_cxx_try_compile "$LINENO"; then :
38062 glibcxx_cv_func_sincosl_use=yes
38063 else
38064 glibcxx_cv_func_sincosl_use=no
38065 fi
38066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38067 ac_ext=c
38068 ac_cpp='$CPP $CPPFLAGS'
38069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38072
38073
38074 fi
38075
38076 fi
38077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38078 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38079
38080 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38081 for ac_func in sincosl
38082 do :
38083 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38084 if test "x$ac_cv_func_sincosl" = x""yes; then :
38085 cat >>confdefs.h <<_ACEOF
38086 #define HAVE_SINCOSL 1
38087 _ACEOF
38088
38089 fi
38090 done
38091
38092 else
38093
38094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38095 $as_echo_n "checking for _sincosl declaration... " >&6; }
38096 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38097 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38098 $as_echo_n "(cached) " >&6
38099 else
38100
38101
38102 ac_ext=cpp
38103 ac_cpp='$CXXCPP $CPPFLAGS'
38104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38107
38108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38109 /* end confdefs.h. */
38110 #include <math.h>
38111 int
38112 main ()
38113 {
38114 _sincosl(0, 0, 0);
38115 ;
38116 return 0;
38117 }
38118 _ACEOF
38119 if ac_fn_cxx_try_compile "$LINENO"; then :
38120 glibcxx_cv_func__sincosl_use=yes
38121 else
38122 glibcxx_cv_func__sincosl_use=no
38123 fi
38124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38125 ac_ext=c
38126 ac_cpp='$CPP $CPPFLAGS'
38127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38130
38131
38132 fi
38133
38134 fi
38135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38136 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38137
38138 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38139 for ac_func in _sincosl
38140 do :
38141 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38142 if test "x$ac_cv_func__sincosl" = x""yes; then :
38143 cat >>confdefs.h <<_ACEOF
38144 #define HAVE__SINCOSL 1
38145 _ACEOF
38146
38147 fi
38148 done
38149
38150 fi
38151 fi
38152
38153
38154
38155
38156
38157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38158 $as_echo_n "checking for finitel declaration... " >&6; }
38159 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38160 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38161 $as_echo_n "(cached) " >&6
38162 else
38163
38164
38165 ac_ext=cpp
38166 ac_cpp='$CXXCPP $CPPFLAGS'
38167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38170
38171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38172 /* end confdefs.h. */
38173 #include <math.h>
38174 #ifdef HAVE_IEEEFP_H
38175 #include <ieeefp.h>
38176 #endif
38177
38178 int
38179 main ()
38180 {
38181 finitel(0);
38182 ;
38183 return 0;
38184 }
38185 _ACEOF
38186 if ac_fn_cxx_try_compile "$LINENO"; then :
38187 glibcxx_cv_func_finitel_use=yes
38188 else
38189 glibcxx_cv_func_finitel_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_finitel_use" >&5
38203 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38204
38205 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38206 for ac_func in finitel
38207 do :
38208 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38209 if test "x$ac_cv_func_finitel" = x""yes; then :
38210 cat >>confdefs.h <<_ACEOF
38211 #define HAVE_FINITEL 1
38212 _ACEOF
38213
38214 fi
38215 done
38216
38217 else
38218
38219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38220 $as_echo_n "checking for _finitel declaration... " >&6; }
38221 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38222 if test "${glibcxx_cv_func__finitel_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 #ifdef HAVE_IEEEFP_H
38237 #include <ieeefp.h>
38238 #endif
38239
38240 int
38241 main ()
38242 {
38243 _finitel(0);
38244 ;
38245 return 0;
38246 }
38247 _ACEOF
38248 if ac_fn_cxx_try_compile "$LINENO"; then :
38249 glibcxx_cv_func__finitel_use=yes
38250 else
38251 glibcxx_cv_func__finitel_use=no
38252 fi
38253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38254 ac_ext=c
38255 ac_cpp='$CPP $CPPFLAGS'
38256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38259
38260
38261 fi
38262
38263 fi
38264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38265 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38266
38267 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38268 for ac_func in _finitel
38269 do :
38270 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38271 if test "x$ac_cv_func__finitel" = x""yes; then :
38272 cat >>confdefs.h <<_ACEOF
38273 #define HAVE__FINITEL 1
38274 _ACEOF
38275
38276 fi
38277 done
38278
38279 fi
38280 fi
38281
38282
38283
38284
38285 LIBS="$ac_save_LIBS"
38286 CXXFLAGS="$ac_save_CXXFLAGS"
38287
38288
38289 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38290 ac_save_CXXFLAGS="$CXXFLAGS"
38291 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38292
38293
38294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38295 $as_echo_n "checking for strtold declaration... " >&6; }
38296 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38297 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38298 $as_echo_n "(cached) " >&6
38299 else
38300
38301
38302 ac_ext=cpp
38303 ac_cpp='$CXXCPP $CPPFLAGS'
38304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38307
38308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38309 /* end confdefs.h. */
38310 #include <stdlib.h>
38311 int
38312 main ()
38313 {
38314 strtold(0, 0);
38315 ;
38316 return 0;
38317 }
38318 _ACEOF
38319 if ac_fn_cxx_try_compile "$LINENO"; then :
38320 glibcxx_cv_func_strtold_use=yes
38321 else
38322 glibcxx_cv_func_strtold_use=no
38323 fi
38324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38325 ac_ext=c
38326 ac_cpp='$CPP $CPPFLAGS'
38327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38330
38331
38332 fi
38333
38334 fi
38335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38336 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38337 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38338 for ac_func in strtold
38339 do :
38340 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38341 if test "x$ac_cv_func_strtold" = x""yes; then :
38342 cat >>confdefs.h <<_ACEOF
38343 #define HAVE_STRTOLD 1
38344 _ACEOF
38345
38346 fi
38347 done
38348
38349 fi
38350
38351
38352
38353
38354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38355 $as_echo_n "checking for strtof declaration... " >&6; }
38356 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38357 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38358 $as_echo_n "(cached) " >&6
38359 else
38360
38361
38362 ac_ext=cpp
38363 ac_cpp='$CXXCPP $CPPFLAGS'
38364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38367
38368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38369 /* end confdefs.h. */
38370 #include <stdlib.h>
38371 int
38372 main ()
38373 {
38374 strtof(0, 0);
38375 ;
38376 return 0;
38377 }
38378 _ACEOF
38379 if ac_fn_cxx_try_compile "$LINENO"; then :
38380 glibcxx_cv_func_strtof_use=yes
38381 else
38382 glibcxx_cv_func_strtof_use=no
38383 fi
38384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38385 ac_ext=c
38386 ac_cpp='$CPP $CPPFLAGS'
38387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38390
38391
38392 fi
38393
38394 fi
38395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38396 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38397 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38398 for ac_func in strtof
38399 do :
38400 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38401 if test "x$ac_cv_func_strtof" = x""yes; then :
38402 cat >>confdefs.h <<_ACEOF
38403 #define HAVE_STRTOF 1
38404 _ACEOF
38405
38406 fi
38407 done
38408
38409 fi
38410
38411
38412
38413
38414 CXXFLAGS="$ac_save_CXXFLAGS"
38415
38416 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38417
38418 # We don't yet support AIX's TLS ABI.
38419 #GCC_CHECK_TLS
38420
38421
38422
38423
38424
38425 am_save_CPPFLAGS="$CPPFLAGS"
38426
38427 for element in $INCICONV; do
38428 haveit=
38429 for x in $CPPFLAGS; do
38430
38431 acl_save_prefix="$prefix"
38432 prefix="$acl_final_prefix"
38433 acl_save_exec_prefix="$exec_prefix"
38434 exec_prefix="$acl_final_exec_prefix"
38435 eval x=\"$x\"
38436 exec_prefix="$acl_save_exec_prefix"
38437 prefix="$acl_save_prefix"
38438
38439 if test "X$x" = "X$element"; then
38440 haveit=yes
38441 break
38442 fi
38443 done
38444 if test -z "$haveit"; then
38445 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38446 fi
38447 done
38448
38449
38450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38451 $as_echo_n "checking for iconv... " >&6; }
38452 if test "${am_cv_func_iconv+set}" = set; then :
38453 $as_echo_n "(cached) " >&6
38454 else
38455
38456 am_cv_func_iconv="no, consider installing GNU libiconv"
38457 am_cv_lib_iconv=no
38458 if test x$gcc_no_link = xyes; then
38459 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38460 fi
38461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38462 /* end confdefs.h. */
38463 #include <stdlib.h>
38464 #include <iconv.h>
38465 int
38466 main ()
38467 {
38468 iconv_t cd = iconv_open("","");
38469 iconv(cd,NULL,NULL,NULL,NULL);
38470 iconv_close(cd);
38471 ;
38472 return 0;
38473 }
38474 _ACEOF
38475 if ac_fn_c_try_link "$LINENO"; then :
38476 am_cv_func_iconv=yes
38477 fi
38478 rm -f core conftest.err conftest.$ac_objext \
38479 conftest$ac_exeext conftest.$ac_ext
38480 if test "$am_cv_func_iconv" != yes; then
38481 am_save_LIBS="$LIBS"
38482 LIBS="$LIBS $LIBICONV"
38483 if test x$gcc_no_link = xyes; then
38484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38485 fi
38486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38487 /* end confdefs.h. */
38488 #include <stdlib.h>
38489 #include <iconv.h>
38490 int
38491 main ()
38492 {
38493 iconv_t cd = iconv_open("","");
38494 iconv(cd,NULL,NULL,NULL,NULL);
38495 iconv_close(cd);
38496 ;
38497 return 0;
38498 }
38499 _ACEOF
38500 if ac_fn_c_try_link "$LINENO"; then :
38501 am_cv_lib_iconv=yes
38502 am_cv_func_iconv=yes
38503 fi
38504 rm -f core conftest.err conftest.$ac_objext \
38505 conftest$ac_exeext conftest.$ac_ext
38506 LIBS="$am_save_LIBS"
38507 fi
38508
38509 fi
38510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38511 $as_echo "$am_cv_func_iconv" >&6; }
38512 if test "$am_cv_func_iconv" = yes; then
38513
38514 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38515
38516 fi
38517 if test "$am_cv_lib_iconv" = yes; then
38518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38519 $as_echo_n "checking how to link with libiconv... " >&6; }
38520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38521 $as_echo "$LIBICONV" >&6; }
38522 else
38523 CPPFLAGS="$am_save_CPPFLAGS"
38524 LIBICONV=
38525 LTLIBICONV=
38526 fi
38527
38528
38529
38530 if test "$am_cv_func_iconv" = yes; then
38531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38532 $as_echo_n "checking for iconv declaration... " >&6; }
38533 if test "${am_cv_proto_iconv+set}" = set; then :
38534 $as_echo_n "(cached) " >&6
38535 else
38536
38537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38538 /* end confdefs.h. */
38539
38540 #include <stdlib.h>
38541 #include <iconv.h>
38542 extern
38543 #ifdef __cplusplus
38544 "C"
38545 #endif
38546 #if defined(__STDC__) || defined(__cplusplus)
38547 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38548 #else
38549 size_t iconv();
38550 #endif
38551
38552 int
38553 main ()
38554 {
38555
38556 ;
38557 return 0;
38558 }
38559 _ACEOF
38560 if ac_fn_c_try_compile "$LINENO"; then :
38561 am_cv_proto_iconv_arg1=""
38562 else
38563 am_cv_proto_iconv_arg1="const"
38564 fi
38565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38566 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);"
38567 fi
38568
38569 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38571 }$am_cv_proto_iconv" >&5
38572 $as_echo "${ac_t:-
38573 }$am_cv_proto_iconv" >&6; }
38574
38575 cat >>confdefs.h <<_ACEOF
38576 #define ICONV_CONST $am_cv_proto_iconv_arg1
38577 _ACEOF
38578
38579 fi
38580
38581 ;;
38582
38583 *-darwin*)
38584 # Darwin versions vary, but the linker should work in a cross environment,
38585 # so we just check for all the features here.
38586 # Check for available headers.
38587
38588 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38589
38590 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38591 ac_save_CXXFLAGS="$CXXFLAGS"
38592 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38593
38594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38595 $as_echo_n "checking for sin in -lm... " >&6; }
38596 if test "${ac_cv_lib_m_sin+set}" = set; then :
38597 $as_echo_n "(cached) " >&6
38598 else
38599 ac_check_lib_save_LIBS=$LIBS
38600 LIBS="-lm $LIBS"
38601 if test x$gcc_no_link = xyes; then
38602 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38603 fi
38604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38605 /* end confdefs.h. */
38606
38607 /* Override any GCC internal prototype to avoid an error.
38608 Use char because int might match the return type of a GCC
38609 builtin and then its argument prototype would still apply. */
38610 #ifdef __cplusplus
38611 extern "C"
38612 #endif
38613 char sin ();
38614 int
38615 main ()
38616 {
38617 return sin ();
38618 ;
38619 return 0;
38620 }
38621 _ACEOF
38622 if ac_fn_c_try_link "$LINENO"; then :
38623 ac_cv_lib_m_sin=yes
38624 else
38625 ac_cv_lib_m_sin=no
38626 fi
38627 rm -f core conftest.err conftest.$ac_objext \
38628 conftest$ac_exeext conftest.$ac_ext
38629 LIBS=$ac_check_lib_save_LIBS
38630 fi
38631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38632 $as_echo "$ac_cv_lib_m_sin" >&6; }
38633 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38634 libm="-lm"
38635 fi
38636
38637 ac_save_LIBS="$LIBS"
38638 LIBS="$LIBS $libm"
38639
38640
38641
38642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38643 $as_echo_n "checking for isinf declaration... " >&6; }
38644 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38645 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38646 $as_echo_n "(cached) " >&6
38647 else
38648
38649
38650 ac_ext=cpp
38651 ac_cpp='$CXXCPP $CPPFLAGS'
38652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38655
38656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38657 /* end confdefs.h. */
38658 #include <math.h>
38659 #ifdef HAVE_IEEEFP_H
38660 #include <ieeefp.h>
38661 #endif
38662
38663 int
38664 main ()
38665 {
38666 isinf(0);
38667 ;
38668 return 0;
38669 }
38670 _ACEOF
38671 if ac_fn_cxx_try_compile "$LINENO"; then :
38672 glibcxx_cv_func_isinf_use=yes
38673 else
38674 glibcxx_cv_func_isinf_use=no
38675 fi
38676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38677 ac_ext=c
38678 ac_cpp='$CPP $CPPFLAGS'
38679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38682
38683
38684 fi
38685
38686 fi
38687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38688 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38689
38690 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38691 for ac_func in isinf
38692 do :
38693 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38694 if test "x$ac_cv_func_isinf" = x""yes; then :
38695 cat >>confdefs.h <<_ACEOF
38696 #define HAVE_ISINF 1
38697 _ACEOF
38698
38699 fi
38700 done
38701
38702 else
38703
38704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38705 $as_echo_n "checking for _isinf declaration... " >&6; }
38706 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38707 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38708 $as_echo_n "(cached) " >&6
38709 else
38710
38711
38712 ac_ext=cpp
38713 ac_cpp='$CXXCPP $CPPFLAGS'
38714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38717
38718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38719 /* end confdefs.h. */
38720 #include <math.h>
38721 #ifdef HAVE_IEEEFP_H
38722 #include <ieeefp.h>
38723 #endif
38724
38725 int
38726 main ()
38727 {
38728 _isinf(0);
38729 ;
38730 return 0;
38731 }
38732 _ACEOF
38733 if ac_fn_cxx_try_compile "$LINENO"; then :
38734 glibcxx_cv_func__isinf_use=yes
38735 else
38736 glibcxx_cv_func__isinf_use=no
38737 fi
38738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38739 ac_ext=c
38740 ac_cpp='$CPP $CPPFLAGS'
38741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38744
38745
38746 fi
38747
38748 fi
38749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38750 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38751
38752 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38753 for ac_func in _isinf
38754 do :
38755 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38756 if test "x$ac_cv_func__isinf" = x""yes; then :
38757 cat >>confdefs.h <<_ACEOF
38758 #define HAVE__ISINF 1
38759 _ACEOF
38760
38761 fi
38762 done
38763
38764 fi
38765 fi
38766
38767
38768
38769
38770
38771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38772 $as_echo_n "checking for isnan declaration... " >&6; }
38773 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38774 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38775 $as_echo_n "(cached) " >&6
38776 else
38777
38778
38779 ac_ext=cpp
38780 ac_cpp='$CXXCPP $CPPFLAGS'
38781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38784
38785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38786 /* end confdefs.h. */
38787 #include <math.h>
38788 #ifdef HAVE_IEEEFP_H
38789 #include <ieeefp.h>
38790 #endif
38791
38792 int
38793 main ()
38794 {
38795 isnan(0);
38796 ;
38797 return 0;
38798 }
38799 _ACEOF
38800 if ac_fn_cxx_try_compile "$LINENO"; then :
38801 glibcxx_cv_func_isnan_use=yes
38802 else
38803 glibcxx_cv_func_isnan_use=no
38804 fi
38805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38806 ac_ext=c
38807 ac_cpp='$CPP $CPPFLAGS'
38808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38811
38812
38813 fi
38814
38815 fi
38816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38817 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38818
38819 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38820 for ac_func in isnan
38821 do :
38822 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38823 if test "x$ac_cv_func_isnan" = x""yes; then :
38824 cat >>confdefs.h <<_ACEOF
38825 #define HAVE_ISNAN 1
38826 _ACEOF
38827
38828 fi
38829 done
38830
38831 else
38832
38833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38834 $as_echo_n "checking for _isnan declaration... " >&6; }
38835 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38836 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38837 $as_echo_n "(cached) " >&6
38838 else
38839
38840
38841 ac_ext=cpp
38842 ac_cpp='$CXXCPP $CPPFLAGS'
38843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38846
38847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38848 /* end confdefs.h. */
38849 #include <math.h>
38850 #ifdef HAVE_IEEEFP_H
38851 #include <ieeefp.h>
38852 #endif
38853
38854 int
38855 main ()
38856 {
38857 _isnan(0);
38858 ;
38859 return 0;
38860 }
38861 _ACEOF
38862 if ac_fn_cxx_try_compile "$LINENO"; then :
38863 glibcxx_cv_func__isnan_use=yes
38864 else
38865 glibcxx_cv_func__isnan_use=no
38866 fi
38867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38868 ac_ext=c
38869 ac_cpp='$CPP $CPPFLAGS'
38870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38873
38874
38875 fi
38876
38877 fi
38878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38879 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38880
38881 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38882 for ac_func in _isnan
38883 do :
38884 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38885 if test "x$ac_cv_func__isnan" = x""yes; then :
38886 cat >>confdefs.h <<_ACEOF
38887 #define HAVE__ISNAN 1
38888 _ACEOF
38889
38890 fi
38891 done
38892
38893 fi
38894 fi
38895
38896
38897
38898
38899
38900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38901 $as_echo_n "checking for finite declaration... " >&6; }
38902 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38903 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38904 $as_echo_n "(cached) " >&6
38905 else
38906
38907
38908 ac_ext=cpp
38909 ac_cpp='$CXXCPP $CPPFLAGS'
38910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38913
38914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38915 /* end confdefs.h. */
38916 #include <math.h>
38917 #ifdef HAVE_IEEEFP_H
38918 #include <ieeefp.h>
38919 #endif
38920
38921 int
38922 main ()
38923 {
38924 finite(0);
38925 ;
38926 return 0;
38927 }
38928 _ACEOF
38929 if ac_fn_cxx_try_compile "$LINENO"; then :
38930 glibcxx_cv_func_finite_use=yes
38931 else
38932 glibcxx_cv_func_finite_use=no
38933 fi
38934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38935 ac_ext=c
38936 ac_cpp='$CPP $CPPFLAGS'
38937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38940
38941
38942 fi
38943
38944 fi
38945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38946 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38947
38948 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38949 for ac_func in finite
38950 do :
38951 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38952 if test "x$ac_cv_func_finite" = x""yes; then :
38953 cat >>confdefs.h <<_ACEOF
38954 #define HAVE_FINITE 1
38955 _ACEOF
38956
38957 fi
38958 done
38959
38960 else
38961
38962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38963 $as_echo_n "checking for _finite declaration... " >&6; }
38964 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38965 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38966 $as_echo_n "(cached) " >&6
38967 else
38968
38969
38970 ac_ext=cpp
38971 ac_cpp='$CXXCPP $CPPFLAGS'
38972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38975
38976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38977 /* end confdefs.h. */
38978 #include <math.h>
38979 #ifdef HAVE_IEEEFP_H
38980 #include <ieeefp.h>
38981 #endif
38982
38983 int
38984 main ()
38985 {
38986 _finite(0);
38987 ;
38988 return 0;
38989 }
38990 _ACEOF
38991 if ac_fn_cxx_try_compile "$LINENO"; then :
38992 glibcxx_cv_func__finite_use=yes
38993 else
38994 glibcxx_cv_func__finite_use=no
38995 fi
38996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38997 ac_ext=c
38998 ac_cpp='$CPP $CPPFLAGS'
38999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39002
39003
39004 fi
39005
39006 fi
39007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39008 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39009
39010 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39011 for ac_func in _finite
39012 do :
39013 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39014 if test "x$ac_cv_func__finite" = x""yes; then :
39015 cat >>confdefs.h <<_ACEOF
39016 #define HAVE__FINITE 1
39017 _ACEOF
39018
39019 fi
39020 done
39021
39022 fi
39023 fi
39024
39025
39026
39027
39028
39029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39030 $as_echo_n "checking for sincos declaration... " >&6; }
39031 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39032 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39033 $as_echo_n "(cached) " >&6
39034 else
39035
39036
39037 ac_ext=cpp
39038 ac_cpp='$CXXCPP $CPPFLAGS'
39039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39042
39043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39044 /* end confdefs.h. */
39045 #include <math.h>
39046 int
39047 main ()
39048 {
39049 sincos(0, 0, 0);
39050 ;
39051 return 0;
39052 }
39053 _ACEOF
39054 if ac_fn_cxx_try_compile "$LINENO"; then :
39055 glibcxx_cv_func_sincos_use=yes
39056 else
39057 glibcxx_cv_func_sincos_use=no
39058 fi
39059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39060 ac_ext=c
39061 ac_cpp='$CPP $CPPFLAGS'
39062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39065
39066
39067 fi
39068
39069 fi
39070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39071 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39072
39073 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39074 for ac_func in sincos
39075 do :
39076 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39077 if test "x$ac_cv_func_sincos" = x""yes; then :
39078 cat >>confdefs.h <<_ACEOF
39079 #define HAVE_SINCOS 1
39080 _ACEOF
39081
39082 fi
39083 done
39084
39085 else
39086
39087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39088 $as_echo_n "checking for _sincos declaration... " >&6; }
39089 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39090 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39091 $as_echo_n "(cached) " >&6
39092 else
39093
39094
39095 ac_ext=cpp
39096 ac_cpp='$CXXCPP $CPPFLAGS'
39097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39100
39101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39102 /* end confdefs.h. */
39103 #include <math.h>
39104 int
39105 main ()
39106 {
39107 _sincos(0, 0, 0);
39108 ;
39109 return 0;
39110 }
39111 _ACEOF
39112 if ac_fn_cxx_try_compile "$LINENO"; then :
39113 glibcxx_cv_func__sincos_use=yes
39114 else
39115 glibcxx_cv_func__sincos_use=no
39116 fi
39117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39118 ac_ext=c
39119 ac_cpp='$CPP $CPPFLAGS'
39120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39123
39124
39125 fi
39126
39127 fi
39128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39129 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39130
39131 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39132 for ac_func in _sincos
39133 do :
39134 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39135 if test "x$ac_cv_func__sincos" = x""yes; then :
39136 cat >>confdefs.h <<_ACEOF
39137 #define HAVE__SINCOS 1
39138 _ACEOF
39139
39140 fi
39141 done
39142
39143 fi
39144 fi
39145
39146
39147
39148
39149
39150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39151 $as_echo_n "checking for fpclass declaration... " >&6; }
39152 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39153 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39154 $as_echo_n "(cached) " >&6
39155 else
39156
39157
39158 ac_ext=cpp
39159 ac_cpp='$CXXCPP $CPPFLAGS'
39160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39163
39164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39165 /* end confdefs.h. */
39166 #include <math.h>
39167 #ifdef HAVE_IEEEFP_H
39168 #include <ieeefp.h>
39169 #endif
39170
39171 int
39172 main ()
39173 {
39174 fpclass(0);
39175 ;
39176 return 0;
39177 }
39178 _ACEOF
39179 if ac_fn_cxx_try_compile "$LINENO"; then :
39180 glibcxx_cv_func_fpclass_use=yes
39181 else
39182 glibcxx_cv_func_fpclass_use=no
39183 fi
39184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39185 ac_ext=c
39186 ac_cpp='$CPP $CPPFLAGS'
39187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39190
39191
39192 fi
39193
39194 fi
39195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39196 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39197
39198 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39199 for ac_func in fpclass
39200 do :
39201 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39202 if test "x$ac_cv_func_fpclass" = x""yes; then :
39203 cat >>confdefs.h <<_ACEOF
39204 #define HAVE_FPCLASS 1
39205 _ACEOF
39206
39207 fi
39208 done
39209
39210 else
39211
39212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39213 $as_echo_n "checking for _fpclass declaration... " >&6; }
39214 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39215 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39216 $as_echo_n "(cached) " >&6
39217 else
39218
39219
39220 ac_ext=cpp
39221 ac_cpp='$CXXCPP $CPPFLAGS'
39222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39225
39226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39227 /* end confdefs.h. */
39228 #include <math.h>
39229 #ifdef HAVE_IEEEFP_H
39230 #include <ieeefp.h>
39231 #endif
39232
39233 int
39234 main ()
39235 {
39236 _fpclass(0);
39237 ;
39238 return 0;
39239 }
39240 _ACEOF
39241 if ac_fn_cxx_try_compile "$LINENO"; then :
39242 glibcxx_cv_func__fpclass_use=yes
39243 else
39244 glibcxx_cv_func__fpclass_use=no
39245 fi
39246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39247 ac_ext=c
39248 ac_cpp='$CPP $CPPFLAGS'
39249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39252
39253
39254 fi
39255
39256 fi
39257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39258 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39259
39260 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39261 for ac_func in _fpclass
39262 do :
39263 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39264 if test "x$ac_cv_func__fpclass" = x""yes; then :
39265 cat >>confdefs.h <<_ACEOF
39266 #define HAVE__FPCLASS 1
39267 _ACEOF
39268
39269 fi
39270 done
39271
39272 fi
39273 fi
39274
39275
39276
39277
39278
39279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39280 $as_echo_n "checking for qfpclass declaration... " >&6; }
39281 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39282 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39283 $as_echo_n "(cached) " >&6
39284 else
39285
39286
39287 ac_ext=cpp
39288 ac_cpp='$CXXCPP $CPPFLAGS'
39289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39292
39293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39294 /* end confdefs.h. */
39295 #include <math.h>
39296 #ifdef HAVE_IEEEFP_H
39297 #include <ieeefp.h>
39298 #endif
39299
39300 int
39301 main ()
39302 {
39303 qfpclass(0);
39304 ;
39305 return 0;
39306 }
39307 _ACEOF
39308 if ac_fn_cxx_try_compile "$LINENO"; then :
39309 glibcxx_cv_func_qfpclass_use=yes
39310 else
39311 glibcxx_cv_func_qfpclass_use=no
39312 fi
39313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39314 ac_ext=c
39315 ac_cpp='$CPP $CPPFLAGS'
39316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39319
39320
39321 fi
39322
39323 fi
39324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39325 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39326
39327 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39328 for ac_func in qfpclass
39329 do :
39330 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39331 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39332 cat >>confdefs.h <<_ACEOF
39333 #define HAVE_QFPCLASS 1
39334 _ACEOF
39335
39336 fi
39337 done
39338
39339 else
39340
39341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39342 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39343 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39344 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39345 $as_echo_n "(cached) " >&6
39346 else
39347
39348
39349 ac_ext=cpp
39350 ac_cpp='$CXXCPP $CPPFLAGS'
39351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39354
39355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39356 /* end confdefs.h. */
39357 #include <math.h>
39358 #ifdef HAVE_IEEEFP_H
39359 #include <ieeefp.h>
39360 #endif
39361
39362 int
39363 main ()
39364 {
39365 _qfpclass(0);
39366 ;
39367 return 0;
39368 }
39369 _ACEOF
39370 if ac_fn_cxx_try_compile "$LINENO"; then :
39371 glibcxx_cv_func__qfpclass_use=yes
39372 else
39373 glibcxx_cv_func__qfpclass_use=no
39374 fi
39375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39376 ac_ext=c
39377 ac_cpp='$CPP $CPPFLAGS'
39378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39381
39382
39383 fi
39384
39385 fi
39386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39387 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39388
39389 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39390 for ac_func in _qfpclass
39391 do :
39392 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39393 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39394 cat >>confdefs.h <<_ACEOF
39395 #define HAVE__QFPCLASS 1
39396 _ACEOF
39397
39398 fi
39399 done
39400
39401 fi
39402 fi
39403
39404
39405
39406
39407
39408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39409 $as_echo_n "checking for hypot declaration... " >&6; }
39410 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39411 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39412 $as_echo_n "(cached) " >&6
39413 else
39414
39415
39416 ac_ext=cpp
39417 ac_cpp='$CXXCPP $CPPFLAGS'
39418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39421
39422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39423 /* end confdefs.h. */
39424 #include <math.h>
39425 int
39426 main ()
39427 {
39428 hypot(0, 0);
39429 ;
39430 return 0;
39431 }
39432 _ACEOF
39433 if ac_fn_cxx_try_compile "$LINENO"; then :
39434 glibcxx_cv_func_hypot_use=yes
39435 else
39436 glibcxx_cv_func_hypot_use=no
39437 fi
39438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39439 ac_ext=c
39440 ac_cpp='$CPP $CPPFLAGS'
39441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39444
39445
39446 fi
39447
39448 fi
39449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39450 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39451
39452 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39453 for ac_func in hypot
39454 do :
39455 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39456 if test "x$ac_cv_func_hypot" = x""yes; then :
39457 cat >>confdefs.h <<_ACEOF
39458 #define HAVE_HYPOT 1
39459 _ACEOF
39460
39461 fi
39462 done
39463
39464 else
39465
39466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39467 $as_echo_n "checking for _hypot declaration... " >&6; }
39468 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39469 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39470 $as_echo_n "(cached) " >&6
39471 else
39472
39473
39474 ac_ext=cpp
39475 ac_cpp='$CXXCPP $CPPFLAGS'
39476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39479
39480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39481 /* end confdefs.h. */
39482 #include <math.h>
39483 int
39484 main ()
39485 {
39486 _hypot(0, 0);
39487 ;
39488 return 0;
39489 }
39490 _ACEOF
39491 if ac_fn_cxx_try_compile "$LINENO"; then :
39492 glibcxx_cv_func__hypot_use=yes
39493 else
39494 glibcxx_cv_func__hypot_use=no
39495 fi
39496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39497 ac_ext=c
39498 ac_cpp='$CPP $CPPFLAGS'
39499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39502
39503
39504 fi
39505
39506 fi
39507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39508 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39509
39510 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39511 for ac_func in _hypot
39512 do :
39513 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39514 if test "x$ac_cv_func__hypot" = x""yes; then :
39515 cat >>confdefs.h <<_ACEOF
39516 #define HAVE__HYPOT 1
39517 _ACEOF
39518
39519 fi
39520 done
39521
39522 fi
39523 fi
39524
39525
39526
39527
39528
39529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39530 $as_echo_n "checking for float trig functions... " >&6; }
39531 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39532 $as_echo_n "(cached) " >&6
39533 else
39534
39535
39536 ac_ext=cpp
39537 ac_cpp='$CXXCPP $CPPFLAGS'
39538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39541
39542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39543 /* end confdefs.h. */
39544 #include <math.h>
39545 int
39546 main ()
39547 {
39548 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39549 ;
39550 return 0;
39551 }
39552 _ACEOF
39553 if ac_fn_cxx_try_compile "$LINENO"; then :
39554 glibcxx_cv_func_float_trig_use=yes
39555 else
39556 glibcxx_cv_func_float_trig_use=no
39557 fi
39558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39559 ac_ext=c
39560 ac_cpp='$CPP $CPPFLAGS'
39561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39564
39565 fi
39566
39567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39568 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39569 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39570 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39571 do :
39572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39573 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39574 eval as_val=\$$as_ac_var
39575 if test "x$as_val" = x""yes; then :
39576 cat >>confdefs.h <<_ACEOF
39577 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39578 _ACEOF
39579
39580 fi
39581 done
39582
39583 else
39584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39585 $as_echo_n "checking for _float trig functions... " >&6; }
39586 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39587 $as_echo_n "(cached) " >&6
39588 else
39589
39590
39591 ac_ext=cpp
39592 ac_cpp='$CXXCPP $CPPFLAGS'
39593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39596
39597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39598 /* end confdefs.h. */
39599 #include <math.h>
39600 int
39601 main ()
39602 {
39603 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39604 ;
39605 return 0;
39606 }
39607 _ACEOF
39608 if ac_fn_cxx_try_compile "$LINENO"; then :
39609 glibcxx_cv_func__float_trig_use=yes
39610 else
39611 glibcxx_cv_func__float_trig_use=no
39612 fi
39613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39614 ac_ext=c
39615 ac_cpp='$CPP $CPPFLAGS'
39616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39619
39620 fi
39621
39622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39623 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39624 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39625 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39626 do :
39627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39629 eval as_val=\$$as_ac_var
39630 if test "x$as_val" = x""yes; then :
39631 cat >>confdefs.h <<_ACEOF
39632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39633 _ACEOF
39634
39635 fi
39636 done
39637
39638 fi
39639 fi
39640
39641
39642
39643
39644
39645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39646 $as_echo_n "checking for float round functions... " >&6; }
39647 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39648 $as_echo_n "(cached) " >&6
39649 else
39650
39651
39652 ac_ext=cpp
39653 ac_cpp='$CXXCPP $CPPFLAGS'
39654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39657
39658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39659 /* end confdefs.h. */
39660 #include <math.h>
39661 int
39662 main ()
39663 {
39664 ceilf (0); floorf (0);
39665 ;
39666 return 0;
39667 }
39668 _ACEOF
39669 if ac_fn_cxx_try_compile "$LINENO"; then :
39670 glibcxx_cv_func_float_round_use=yes
39671 else
39672 glibcxx_cv_func_float_round_use=no
39673 fi
39674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39675 ac_ext=c
39676 ac_cpp='$CPP $CPPFLAGS'
39677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39680
39681 fi
39682
39683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39684 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39685 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39686 for ac_func in ceilf floorf
39687 do :
39688 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39689 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39690 eval as_val=\$$as_ac_var
39691 if test "x$as_val" = x""yes; then :
39692 cat >>confdefs.h <<_ACEOF
39693 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39694 _ACEOF
39695
39696 fi
39697 done
39698
39699 else
39700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39701 $as_echo_n "checking for _float round functions... " >&6; }
39702 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39703 $as_echo_n "(cached) " >&6
39704 else
39705
39706
39707 ac_ext=cpp
39708 ac_cpp='$CXXCPP $CPPFLAGS'
39709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39712
39713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39714 /* end confdefs.h. */
39715 #include <math.h>
39716 int
39717 main ()
39718 {
39719 _ceilf (0); _floorf (0);
39720 ;
39721 return 0;
39722 }
39723 _ACEOF
39724 if ac_fn_cxx_try_compile "$LINENO"; then :
39725 glibcxx_cv_func__float_round_use=yes
39726 else
39727 glibcxx_cv_func__float_round_use=no
39728 fi
39729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39730 ac_ext=c
39731 ac_cpp='$CPP $CPPFLAGS'
39732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39735
39736 fi
39737
39738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39739 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39740 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39741 for ac_func in _ceilf _floorf
39742 do :
39743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39745 eval as_val=\$$as_ac_var
39746 if test "x$as_val" = x""yes; then :
39747 cat >>confdefs.h <<_ACEOF
39748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39749 _ACEOF
39750
39751 fi
39752 done
39753
39754 fi
39755 fi
39756
39757
39758
39759
39760
39761
39762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39763 $as_echo_n "checking for expf declaration... " >&6; }
39764 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39765 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39766 $as_echo_n "(cached) " >&6
39767 else
39768
39769
39770 ac_ext=cpp
39771 ac_cpp='$CXXCPP $CPPFLAGS'
39772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39775
39776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39777 /* end confdefs.h. */
39778 #include <math.h>
39779 #ifdef HAVE_IEEEFP_H
39780 #include <ieeefp.h>
39781 #endif
39782
39783 int
39784 main ()
39785 {
39786 expf(0);
39787 ;
39788 return 0;
39789 }
39790 _ACEOF
39791 if ac_fn_cxx_try_compile "$LINENO"; then :
39792 glibcxx_cv_func_expf_use=yes
39793 else
39794 glibcxx_cv_func_expf_use=no
39795 fi
39796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39797 ac_ext=c
39798 ac_cpp='$CPP $CPPFLAGS'
39799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39802
39803
39804 fi
39805
39806 fi
39807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39808 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39809
39810 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39811 for ac_func in expf
39812 do :
39813 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39814 if test "x$ac_cv_func_expf" = x""yes; then :
39815 cat >>confdefs.h <<_ACEOF
39816 #define HAVE_EXPF 1
39817 _ACEOF
39818
39819 fi
39820 done
39821
39822 else
39823
39824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39825 $as_echo_n "checking for _expf declaration... " >&6; }
39826 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39827 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39828 $as_echo_n "(cached) " >&6
39829 else
39830
39831
39832 ac_ext=cpp
39833 ac_cpp='$CXXCPP $CPPFLAGS'
39834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39837
39838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39839 /* end confdefs.h. */
39840 #include <math.h>
39841 #ifdef HAVE_IEEEFP_H
39842 #include <ieeefp.h>
39843 #endif
39844
39845 int
39846 main ()
39847 {
39848 _expf(0);
39849 ;
39850 return 0;
39851 }
39852 _ACEOF
39853 if ac_fn_cxx_try_compile "$LINENO"; then :
39854 glibcxx_cv_func__expf_use=yes
39855 else
39856 glibcxx_cv_func__expf_use=no
39857 fi
39858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39859 ac_ext=c
39860 ac_cpp='$CPP $CPPFLAGS'
39861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39864
39865
39866 fi
39867
39868 fi
39869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39870 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39871
39872 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39873 for ac_func in _expf
39874 do :
39875 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39876 if test "x$ac_cv_func__expf" = x""yes; then :
39877 cat >>confdefs.h <<_ACEOF
39878 #define HAVE__EXPF 1
39879 _ACEOF
39880
39881 fi
39882 done
39883
39884 fi
39885 fi
39886
39887
39888
39889
39890
39891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39892 $as_echo_n "checking for isnanf declaration... " >&6; }
39893 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39894 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39895 $as_echo_n "(cached) " >&6
39896 else
39897
39898
39899 ac_ext=cpp
39900 ac_cpp='$CXXCPP $CPPFLAGS'
39901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39904
39905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39906 /* end confdefs.h. */
39907 #include <math.h>
39908 #ifdef HAVE_IEEEFP_H
39909 #include <ieeefp.h>
39910 #endif
39911
39912 int
39913 main ()
39914 {
39915 isnanf(0);
39916 ;
39917 return 0;
39918 }
39919 _ACEOF
39920 if ac_fn_cxx_try_compile "$LINENO"; then :
39921 glibcxx_cv_func_isnanf_use=yes
39922 else
39923 glibcxx_cv_func_isnanf_use=no
39924 fi
39925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39926 ac_ext=c
39927 ac_cpp='$CPP $CPPFLAGS'
39928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39931
39932
39933 fi
39934
39935 fi
39936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39937 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39938
39939 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39940 for ac_func in isnanf
39941 do :
39942 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39943 if test "x$ac_cv_func_isnanf" = x""yes; then :
39944 cat >>confdefs.h <<_ACEOF
39945 #define HAVE_ISNANF 1
39946 _ACEOF
39947
39948 fi
39949 done
39950
39951 else
39952
39953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39954 $as_echo_n "checking for _isnanf declaration... " >&6; }
39955 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39956 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39957 $as_echo_n "(cached) " >&6
39958 else
39959
39960
39961 ac_ext=cpp
39962 ac_cpp='$CXXCPP $CPPFLAGS'
39963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39966
39967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39968 /* end confdefs.h. */
39969 #include <math.h>
39970 #ifdef HAVE_IEEEFP_H
39971 #include <ieeefp.h>
39972 #endif
39973
39974 int
39975 main ()
39976 {
39977 _isnanf(0);
39978 ;
39979 return 0;
39980 }
39981 _ACEOF
39982 if ac_fn_cxx_try_compile "$LINENO"; then :
39983 glibcxx_cv_func__isnanf_use=yes
39984 else
39985 glibcxx_cv_func__isnanf_use=no
39986 fi
39987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39988 ac_ext=c
39989 ac_cpp='$CPP $CPPFLAGS'
39990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39993
39994
39995 fi
39996
39997 fi
39998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39999 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40000
40001 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40002 for ac_func in _isnanf
40003 do :
40004 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40005 if test "x$ac_cv_func__isnanf" = x""yes; then :
40006 cat >>confdefs.h <<_ACEOF
40007 #define HAVE__ISNANF 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 isinff declaration" >&5
40021 $as_echo_n "checking for isinff declaration... " >&6; }
40022 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40023 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40024 $as_echo_n "(cached) " >&6
40025 else
40026
40027
40028 ac_ext=cpp
40029 ac_cpp='$CXXCPP $CPPFLAGS'
40030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40033
40034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40035 /* end confdefs.h. */
40036 #include <math.h>
40037 #ifdef HAVE_IEEEFP_H
40038 #include <ieeefp.h>
40039 #endif
40040
40041 int
40042 main ()
40043 {
40044 isinff(0);
40045 ;
40046 return 0;
40047 }
40048 _ACEOF
40049 if ac_fn_cxx_try_compile "$LINENO"; then :
40050 glibcxx_cv_func_isinff_use=yes
40051 else
40052 glibcxx_cv_func_isinff_use=no
40053 fi
40054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40055 ac_ext=c
40056 ac_cpp='$CPP $CPPFLAGS'
40057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40060
40061
40062 fi
40063
40064 fi
40065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40066 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40067
40068 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40069 for ac_func in isinff
40070 do :
40071 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40072 if test "x$ac_cv_func_isinff" = x""yes; then :
40073 cat >>confdefs.h <<_ACEOF
40074 #define HAVE_ISINFF 1
40075 _ACEOF
40076
40077 fi
40078 done
40079
40080 else
40081
40082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40083 $as_echo_n "checking for _isinff declaration... " >&6; }
40084 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40085 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40086 $as_echo_n "(cached) " >&6
40087 else
40088
40089
40090 ac_ext=cpp
40091 ac_cpp='$CXXCPP $CPPFLAGS'
40092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40095
40096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40097 /* end confdefs.h. */
40098 #include <math.h>
40099 #ifdef HAVE_IEEEFP_H
40100 #include <ieeefp.h>
40101 #endif
40102
40103 int
40104 main ()
40105 {
40106 _isinff(0);
40107 ;
40108 return 0;
40109 }
40110 _ACEOF
40111 if ac_fn_cxx_try_compile "$LINENO"; then :
40112 glibcxx_cv_func__isinff_use=yes
40113 else
40114 glibcxx_cv_func__isinff_use=no
40115 fi
40116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40117 ac_ext=c
40118 ac_cpp='$CPP $CPPFLAGS'
40119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40122
40123
40124 fi
40125
40126 fi
40127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40128 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40129
40130 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40131 for ac_func in _isinff
40132 do :
40133 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40134 if test "x$ac_cv_func__isinff" = x""yes; then :
40135 cat >>confdefs.h <<_ACEOF
40136 #define HAVE__ISINFF 1
40137 _ACEOF
40138
40139 fi
40140 done
40141
40142 fi
40143 fi
40144
40145
40146
40147
40148
40149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40150 $as_echo_n "checking for atan2f declaration... " >&6; }
40151 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40152 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40153 $as_echo_n "(cached) " >&6
40154 else
40155
40156
40157 ac_ext=cpp
40158 ac_cpp='$CXXCPP $CPPFLAGS'
40159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40162
40163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40164 /* end confdefs.h. */
40165 #include <math.h>
40166 int
40167 main ()
40168 {
40169 atan2f(0, 0);
40170 ;
40171 return 0;
40172 }
40173 _ACEOF
40174 if ac_fn_cxx_try_compile "$LINENO"; then :
40175 glibcxx_cv_func_atan2f_use=yes
40176 else
40177 glibcxx_cv_func_atan2f_use=no
40178 fi
40179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40180 ac_ext=c
40181 ac_cpp='$CPP $CPPFLAGS'
40182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40185
40186
40187 fi
40188
40189 fi
40190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40191 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40192
40193 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40194 for ac_func in atan2f
40195 do :
40196 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40197 if test "x$ac_cv_func_atan2f" = x""yes; then :
40198 cat >>confdefs.h <<_ACEOF
40199 #define HAVE_ATAN2F 1
40200 _ACEOF
40201
40202 fi
40203 done
40204
40205 else
40206
40207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40208 $as_echo_n "checking for _atan2f declaration... " >&6; }
40209 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40210 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40211 $as_echo_n "(cached) " >&6
40212 else
40213
40214
40215 ac_ext=cpp
40216 ac_cpp='$CXXCPP $CPPFLAGS'
40217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40220
40221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40222 /* end confdefs.h. */
40223 #include <math.h>
40224 int
40225 main ()
40226 {
40227 _atan2f(0, 0);
40228 ;
40229 return 0;
40230 }
40231 _ACEOF
40232 if ac_fn_cxx_try_compile "$LINENO"; then :
40233 glibcxx_cv_func__atan2f_use=yes
40234 else
40235 glibcxx_cv_func__atan2f_use=no
40236 fi
40237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40238 ac_ext=c
40239 ac_cpp='$CPP $CPPFLAGS'
40240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40243
40244
40245 fi
40246
40247 fi
40248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40249 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40250
40251 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40252 for ac_func in _atan2f
40253 do :
40254 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40255 if test "x$ac_cv_func__atan2f" = x""yes; then :
40256 cat >>confdefs.h <<_ACEOF
40257 #define HAVE__ATAN2F 1
40258 _ACEOF
40259
40260 fi
40261 done
40262
40263 fi
40264 fi
40265
40266
40267
40268
40269
40270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40271 $as_echo_n "checking for fabsf declaration... " >&6; }
40272 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40273 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40274 $as_echo_n "(cached) " >&6
40275 else
40276
40277
40278 ac_ext=cpp
40279 ac_cpp='$CXXCPP $CPPFLAGS'
40280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40283
40284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40285 /* end confdefs.h. */
40286 #include <math.h>
40287 #ifdef HAVE_IEEEFP_H
40288 #include <ieeefp.h>
40289 #endif
40290
40291 int
40292 main ()
40293 {
40294 fabsf(0);
40295 ;
40296 return 0;
40297 }
40298 _ACEOF
40299 if ac_fn_cxx_try_compile "$LINENO"; then :
40300 glibcxx_cv_func_fabsf_use=yes
40301 else
40302 glibcxx_cv_func_fabsf_use=no
40303 fi
40304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40305 ac_ext=c
40306 ac_cpp='$CPP $CPPFLAGS'
40307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40310
40311
40312 fi
40313
40314 fi
40315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40316 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40317
40318 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40319 for ac_func in fabsf
40320 do :
40321 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40322 if test "x$ac_cv_func_fabsf" = x""yes; then :
40323 cat >>confdefs.h <<_ACEOF
40324 #define HAVE_FABSF 1
40325 _ACEOF
40326
40327 fi
40328 done
40329
40330 else
40331
40332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40333 $as_echo_n "checking for _fabsf declaration... " >&6; }
40334 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40335 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40336 $as_echo_n "(cached) " >&6
40337 else
40338
40339
40340 ac_ext=cpp
40341 ac_cpp='$CXXCPP $CPPFLAGS'
40342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40345
40346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40347 /* end confdefs.h. */
40348 #include <math.h>
40349 #ifdef HAVE_IEEEFP_H
40350 #include <ieeefp.h>
40351 #endif
40352
40353 int
40354 main ()
40355 {
40356 _fabsf(0);
40357 ;
40358 return 0;
40359 }
40360 _ACEOF
40361 if ac_fn_cxx_try_compile "$LINENO"; then :
40362 glibcxx_cv_func__fabsf_use=yes
40363 else
40364 glibcxx_cv_func__fabsf_use=no
40365 fi
40366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40367 ac_ext=c
40368 ac_cpp='$CPP $CPPFLAGS'
40369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40372
40373
40374 fi
40375
40376 fi
40377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40378 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40379
40380 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40381 for ac_func in _fabsf
40382 do :
40383 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40384 if test "x$ac_cv_func__fabsf" = x""yes; then :
40385 cat >>confdefs.h <<_ACEOF
40386 #define HAVE__FABSF 1
40387 _ACEOF
40388
40389 fi
40390 done
40391
40392 fi
40393 fi
40394
40395
40396
40397
40398
40399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40400 $as_echo_n "checking for fmodf declaration... " >&6; }
40401 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40402 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40403 $as_echo_n "(cached) " >&6
40404 else
40405
40406
40407 ac_ext=cpp
40408 ac_cpp='$CXXCPP $CPPFLAGS'
40409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40412
40413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40414 /* end confdefs.h. */
40415 #include <math.h>
40416 int
40417 main ()
40418 {
40419 fmodf(0, 0);
40420 ;
40421 return 0;
40422 }
40423 _ACEOF
40424 if ac_fn_cxx_try_compile "$LINENO"; then :
40425 glibcxx_cv_func_fmodf_use=yes
40426 else
40427 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
40441 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40442
40443 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40444 for ac_func in fmodf
40445 do :
40446 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40447 if test "x$ac_cv_func_fmodf" = x""yes; then :
40448 cat >>confdefs.h <<_ACEOF
40449 #define HAVE_FMODF 1
40450 _ACEOF
40451
40452 fi
40453 done
40454
40455 else
40456
40457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40458 $as_echo_n "checking for _fmodf declaration... " >&6; }
40459 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40460 if test "${glibcxx_cv_func__fmodf_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 int
40475 main ()
40476 {
40477 _fmodf(0, 0);
40478 ;
40479 return 0;
40480 }
40481 _ACEOF
40482 if ac_fn_cxx_try_compile "$LINENO"; then :
40483 glibcxx_cv_func__fmodf_use=yes
40484 else
40485 glibcxx_cv_func__fmodf_use=no
40486 fi
40487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40488 ac_ext=c
40489 ac_cpp='$CPP $CPPFLAGS'
40490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40493
40494
40495 fi
40496
40497 fi
40498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40499 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40500
40501 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40502 for ac_func in _fmodf
40503 do :
40504 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40505 if test "x$ac_cv_func__fmodf" = x""yes; then :
40506 cat >>confdefs.h <<_ACEOF
40507 #define HAVE__FMODF 1
40508 _ACEOF
40509
40510 fi
40511 done
40512
40513 fi
40514 fi
40515
40516
40517
40518
40519
40520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40521 $as_echo_n "checking for frexpf declaration... " >&6; }
40522 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40523 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40524 $as_echo_n "(cached) " >&6
40525 else
40526
40527
40528 ac_ext=cpp
40529 ac_cpp='$CXXCPP $CPPFLAGS'
40530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40533
40534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40535 /* end confdefs.h. */
40536 #include <math.h>
40537 int
40538 main ()
40539 {
40540 frexpf(0, 0);
40541 ;
40542 return 0;
40543 }
40544 _ACEOF
40545 if ac_fn_cxx_try_compile "$LINENO"; then :
40546 glibcxx_cv_func_frexpf_use=yes
40547 else
40548 glibcxx_cv_func_frexpf_use=no
40549 fi
40550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40551 ac_ext=c
40552 ac_cpp='$CPP $CPPFLAGS'
40553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40556
40557
40558 fi
40559
40560 fi
40561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40562 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40563
40564 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40565 for ac_func in frexpf
40566 do :
40567 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40568 if test "x$ac_cv_func_frexpf" = x""yes; then :
40569 cat >>confdefs.h <<_ACEOF
40570 #define HAVE_FREXPF 1
40571 _ACEOF
40572
40573 fi
40574 done
40575
40576 else
40577
40578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40579 $as_echo_n "checking for _frexpf declaration... " >&6; }
40580 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40581 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40582 $as_echo_n "(cached) " >&6
40583 else
40584
40585
40586 ac_ext=cpp
40587 ac_cpp='$CXXCPP $CPPFLAGS'
40588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40591
40592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40593 /* end confdefs.h. */
40594 #include <math.h>
40595 int
40596 main ()
40597 {
40598 _frexpf(0, 0);
40599 ;
40600 return 0;
40601 }
40602 _ACEOF
40603 if ac_fn_cxx_try_compile "$LINENO"; then :
40604 glibcxx_cv_func__frexpf_use=yes
40605 else
40606 glibcxx_cv_func__frexpf_use=no
40607 fi
40608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40609 ac_ext=c
40610 ac_cpp='$CPP $CPPFLAGS'
40611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40614
40615
40616 fi
40617
40618 fi
40619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40620 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40621
40622 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40623 for ac_func in _frexpf
40624 do :
40625 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40626 if test "x$ac_cv_func__frexpf" = x""yes; then :
40627 cat >>confdefs.h <<_ACEOF
40628 #define HAVE__FREXPF 1
40629 _ACEOF
40630
40631 fi
40632 done
40633
40634 fi
40635 fi
40636
40637
40638
40639
40640
40641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40642 $as_echo_n "checking for hypotf declaration... " >&6; }
40643 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40644 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40645 $as_echo_n "(cached) " >&6
40646 else
40647
40648
40649 ac_ext=cpp
40650 ac_cpp='$CXXCPP $CPPFLAGS'
40651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40654
40655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40656 /* end confdefs.h. */
40657 #include <math.h>
40658 int
40659 main ()
40660 {
40661 hypotf(0, 0);
40662 ;
40663 return 0;
40664 }
40665 _ACEOF
40666 if ac_fn_cxx_try_compile "$LINENO"; then :
40667 glibcxx_cv_func_hypotf_use=yes
40668 else
40669 glibcxx_cv_func_hypotf_use=no
40670 fi
40671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40672 ac_ext=c
40673 ac_cpp='$CPP $CPPFLAGS'
40674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40677
40678
40679 fi
40680
40681 fi
40682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40683 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40684
40685 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40686 for ac_func in hypotf
40687 do :
40688 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40689 if test "x$ac_cv_func_hypotf" = x""yes; then :
40690 cat >>confdefs.h <<_ACEOF
40691 #define HAVE_HYPOTF 1
40692 _ACEOF
40693
40694 fi
40695 done
40696
40697 else
40698
40699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40700 $as_echo_n "checking for _hypotf declaration... " >&6; }
40701 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40702 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40703 $as_echo_n "(cached) " >&6
40704 else
40705
40706
40707 ac_ext=cpp
40708 ac_cpp='$CXXCPP $CPPFLAGS'
40709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40712
40713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40714 /* end confdefs.h. */
40715 #include <math.h>
40716 int
40717 main ()
40718 {
40719 _hypotf(0, 0);
40720 ;
40721 return 0;
40722 }
40723 _ACEOF
40724 if ac_fn_cxx_try_compile "$LINENO"; then :
40725 glibcxx_cv_func__hypotf_use=yes
40726 else
40727 glibcxx_cv_func__hypotf_use=no
40728 fi
40729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40730 ac_ext=c
40731 ac_cpp='$CPP $CPPFLAGS'
40732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40735
40736
40737 fi
40738
40739 fi
40740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40741 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40742
40743 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40744 for ac_func in _hypotf
40745 do :
40746 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40747 if test "x$ac_cv_func__hypotf" = x""yes; then :
40748 cat >>confdefs.h <<_ACEOF
40749 #define HAVE__HYPOTF 1
40750 _ACEOF
40751
40752 fi
40753 done
40754
40755 fi
40756 fi
40757
40758
40759
40760
40761
40762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40763 $as_echo_n "checking for ldexpf declaration... " >&6; }
40764 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40765 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40766 $as_echo_n "(cached) " >&6
40767 else
40768
40769
40770 ac_ext=cpp
40771 ac_cpp='$CXXCPP $CPPFLAGS'
40772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40775
40776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40777 /* end confdefs.h. */
40778 #include <math.h>
40779 int
40780 main ()
40781 {
40782 ldexpf(0, 0);
40783 ;
40784 return 0;
40785 }
40786 _ACEOF
40787 if ac_fn_cxx_try_compile "$LINENO"; then :
40788 glibcxx_cv_func_ldexpf_use=yes
40789 else
40790 glibcxx_cv_func_ldexpf_use=no
40791 fi
40792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40793 ac_ext=c
40794 ac_cpp='$CPP $CPPFLAGS'
40795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40798
40799
40800 fi
40801
40802 fi
40803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40804 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40805
40806 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40807 for ac_func in ldexpf
40808 do :
40809 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40810 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40811 cat >>confdefs.h <<_ACEOF
40812 #define HAVE_LDEXPF 1
40813 _ACEOF
40814
40815 fi
40816 done
40817
40818 else
40819
40820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40821 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40822 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40823 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40824 $as_echo_n "(cached) " >&6
40825 else
40826
40827
40828 ac_ext=cpp
40829 ac_cpp='$CXXCPP $CPPFLAGS'
40830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40833
40834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40835 /* end confdefs.h. */
40836 #include <math.h>
40837 int
40838 main ()
40839 {
40840 _ldexpf(0, 0);
40841 ;
40842 return 0;
40843 }
40844 _ACEOF
40845 if ac_fn_cxx_try_compile "$LINENO"; then :
40846 glibcxx_cv_func__ldexpf_use=yes
40847 else
40848 glibcxx_cv_func__ldexpf_use=no
40849 fi
40850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40851 ac_ext=c
40852 ac_cpp='$CPP $CPPFLAGS'
40853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40856
40857
40858 fi
40859
40860 fi
40861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40862 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40863
40864 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40865 for ac_func in _ldexpf
40866 do :
40867 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40868 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40869 cat >>confdefs.h <<_ACEOF
40870 #define HAVE__LDEXPF 1
40871 _ACEOF
40872
40873 fi
40874 done
40875
40876 fi
40877 fi
40878
40879
40880
40881
40882
40883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40884 $as_echo_n "checking for logf declaration... " >&6; }
40885 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40886 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40887 $as_echo_n "(cached) " >&6
40888 else
40889
40890
40891 ac_ext=cpp
40892 ac_cpp='$CXXCPP $CPPFLAGS'
40893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40896
40897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40898 /* end confdefs.h. */
40899 #include <math.h>
40900 #ifdef HAVE_IEEEFP_H
40901 #include <ieeefp.h>
40902 #endif
40903
40904 int
40905 main ()
40906 {
40907 logf(0);
40908 ;
40909 return 0;
40910 }
40911 _ACEOF
40912 if ac_fn_cxx_try_compile "$LINENO"; then :
40913 glibcxx_cv_func_logf_use=yes
40914 else
40915 glibcxx_cv_func_logf_use=no
40916 fi
40917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40918 ac_ext=c
40919 ac_cpp='$CPP $CPPFLAGS'
40920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40923
40924
40925 fi
40926
40927 fi
40928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40929 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40930
40931 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40932 for ac_func in logf
40933 do :
40934 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40935 if test "x$ac_cv_func_logf" = x""yes; then :
40936 cat >>confdefs.h <<_ACEOF
40937 #define HAVE_LOGF 1
40938 _ACEOF
40939
40940 fi
40941 done
40942
40943 else
40944
40945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40946 $as_echo_n "checking for _logf declaration... " >&6; }
40947 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40948 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40949 $as_echo_n "(cached) " >&6
40950 else
40951
40952
40953 ac_ext=cpp
40954 ac_cpp='$CXXCPP $CPPFLAGS'
40955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40958
40959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40960 /* end confdefs.h. */
40961 #include <math.h>
40962 #ifdef HAVE_IEEEFP_H
40963 #include <ieeefp.h>
40964 #endif
40965
40966 int
40967 main ()
40968 {
40969 _logf(0);
40970 ;
40971 return 0;
40972 }
40973 _ACEOF
40974 if ac_fn_cxx_try_compile "$LINENO"; then :
40975 glibcxx_cv_func__logf_use=yes
40976 else
40977 glibcxx_cv_func__logf_use=no
40978 fi
40979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40980 ac_ext=c
40981 ac_cpp='$CPP $CPPFLAGS'
40982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40985
40986
40987 fi
40988
40989 fi
40990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40991 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40992
40993 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40994 for ac_func in _logf
40995 do :
40996 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40997 if test "x$ac_cv_func__logf" = x""yes; then :
40998 cat >>confdefs.h <<_ACEOF
40999 #define HAVE__LOGF 1
41000 _ACEOF
41001
41002 fi
41003 done
41004
41005 fi
41006 fi
41007
41008
41009
41010
41011
41012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41013 $as_echo_n "checking for log10f declaration... " >&6; }
41014 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41015 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41016 $as_echo_n "(cached) " >&6
41017 else
41018
41019
41020 ac_ext=cpp
41021 ac_cpp='$CXXCPP $CPPFLAGS'
41022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41025
41026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41027 /* end confdefs.h. */
41028 #include <math.h>
41029 #ifdef HAVE_IEEEFP_H
41030 #include <ieeefp.h>
41031 #endif
41032
41033 int
41034 main ()
41035 {
41036 log10f(0);
41037 ;
41038 return 0;
41039 }
41040 _ACEOF
41041 if ac_fn_cxx_try_compile "$LINENO"; then :
41042 glibcxx_cv_func_log10f_use=yes
41043 else
41044 glibcxx_cv_func_log10f_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_log10f_use" >&5
41058 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41059
41060 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41061 for ac_func in log10f
41062 do :
41063 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41064 if test "x$ac_cv_func_log10f" = x""yes; then :
41065 cat >>confdefs.h <<_ACEOF
41066 #define HAVE_LOG10F 1
41067 _ACEOF
41068
41069 fi
41070 done
41071
41072 else
41073
41074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41075 $as_echo_n "checking for _log10f declaration... " >&6; }
41076 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41077 if test "${glibcxx_cv_func__log10f_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 #ifdef HAVE_IEEEFP_H
41092 #include <ieeefp.h>
41093 #endif
41094
41095 int
41096 main ()
41097 {
41098 _log10f(0);
41099 ;
41100 return 0;
41101 }
41102 _ACEOF
41103 if ac_fn_cxx_try_compile "$LINENO"; then :
41104 glibcxx_cv_func__log10f_use=yes
41105 else
41106 glibcxx_cv_func__log10f_use=no
41107 fi
41108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41109 ac_ext=c
41110 ac_cpp='$CPP $CPPFLAGS'
41111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41114
41115
41116 fi
41117
41118 fi
41119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41120 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41121
41122 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41123 for ac_func in _log10f
41124 do :
41125 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41126 if test "x$ac_cv_func__log10f" = x""yes; then :
41127 cat >>confdefs.h <<_ACEOF
41128 #define HAVE__LOG10F 1
41129 _ACEOF
41130
41131 fi
41132 done
41133
41134 fi
41135 fi
41136
41137
41138
41139
41140
41141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41142 $as_echo_n "checking for modff declaration... " >&6; }
41143 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41144 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41145 $as_echo_n "(cached) " >&6
41146 else
41147
41148
41149 ac_ext=cpp
41150 ac_cpp='$CXXCPP $CPPFLAGS'
41151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41154
41155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41156 /* end confdefs.h. */
41157 #include <math.h>
41158 int
41159 main ()
41160 {
41161 modff(0, 0);
41162 ;
41163 return 0;
41164 }
41165 _ACEOF
41166 if ac_fn_cxx_try_compile "$LINENO"; then :
41167 glibcxx_cv_func_modff_use=yes
41168 else
41169 glibcxx_cv_func_modff_use=no
41170 fi
41171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41172 ac_ext=c
41173 ac_cpp='$CPP $CPPFLAGS'
41174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41177
41178
41179 fi
41180
41181 fi
41182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41183 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41184
41185 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41186 for ac_func in modff
41187 do :
41188 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41189 if test "x$ac_cv_func_modff" = x""yes; then :
41190 cat >>confdefs.h <<_ACEOF
41191 #define HAVE_MODFF 1
41192 _ACEOF
41193
41194 fi
41195 done
41196
41197 else
41198
41199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41200 $as_echo_n "checking for _modff declaration... " >&6; }
41201 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41202 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41203 $as_echo_n "(cached) " >&6
41204 else
41205
41206
41207 ac_ext=cpp
41208 ac_cpp='$CXXCPP $CPPFLAGS'
41209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41212
41213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41214 /* end confdefs.h. */
41215 #include <math.h>
41216 int
41217 main ()
41218 {
41219 _modff(0, 0);
41220 ;
41221 return 0;
41222 }
41223 _ACEOF
41224 if ac_fn_cxx_try_compile "$LINENO"; then :
41225 glibcxx_cv_func__modff_use=yes
41226 else
41227 glibcxx_cv_func__modff_use=no
41228 fi
41229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41230 ac_ext=c
41231 ac_cpp='$CPP $CPPFLAGS'
41232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41235
41236
41237 fi
41238
41239 fi
41240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41241 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41242
41243 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41244 for ac_func in _modff
41245 do :
41246 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41247 if test "x$ac_cv_func__modff" = x""yes; then :
41248 cat >>confdefs.h <<_ACEOF
41249 #define HAVE__MODFF 1
41250 _ACEOF
41251
41252 fi
41253 done
41254
41255 fi
41256 fi
41257
41258
41259
41260
41261
41262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41263 $as_echo_n "checking for modf declaration... " >&6; }
41264 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41265 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41266 $as_echo_n "(cached) " >&6
41267 else
41268
41269
41270 ac_ext=cpp
41271 ac_cpp='$CXXCPP $CPPFLAGS'
41272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41275
41276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41277 /* end confdefs.h. */
41278 #include <math.h>
41279 int
41280 main ()
41281 {
41282 modf(0, 0);
41283 ;
41284 return 0;
41285 }
41286 _ACEOF
41287 if ac_fn_cxx_try_compile "$LINENO"; then :
41288 glibcxx_cv_func_modf_use=yes
41289 else
41290 glibcxx_cv_func_modf_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_modf_use" >&5
41304 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41305
41306 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41307 for ac_func in modf
41308 do :
41309 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41310 if test "x$ac_cv_func_modf" = x""yes; then :
41311 cat >>confdefs.h <<_ACEOF
41312 #define HAVE_MODF 1
41313 _ACEOF
41314
41315 fi
41316 done
41317
41318 else
41319
41320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41321 $as_echo_n "checking for _modf declaration... " >&6; }
41322 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41323 if test "${glibcxx_cv_func__modf_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 int
41338 main ()
41339 {
41340 _modf(0, 0);
41341 ;
41342 return 0;
41343 }
41344 _ACEOF
41345 if ac_fn_cxx_try_compile "$LINENO"; then :
41346 glibcxx_cv_func__modf_use=yes
41347 else
41348 glibcxx_cv_func__modf_use=no
41349 fi
41350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41351 ac_ext=c
41352 ac_cpp='$CPP $CPPFLAGS'
41353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41356
41357
41358 fi
41359
41360 fi
41361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41362 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41363
41364 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41365 for ac_func in _modf
41366 do :
41367 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41368 if test "x$ac_cv_func__modf" = x""yes; then :
41369 cat >>confdefs.h <<_ACEOF
41370 #define HAVE__MODF 1
41371 _ACEOF
41372
41373 fi
41374 done
41375
41376 fi
41377 fi
41378
41379
41380
41381
41382
41383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41384 $as_echo_n "checking for powf declaration... " >&6; }
41385 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41386 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41387 $as_echo_n "(cached) " >&6
41388 else
41389
41390
41391 ac_ext=cpp
41392 ac_cpp='$CXXCPP $CPPFLAGS'
41393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41396
41397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41398 /* end confdefs.h. */
41399 #include <math.h>
41400 int
41401 main ()
41402 {
41403 powf(0, 0);
41404 ;
41405 return 0;
41406 }
41407 _ACEOF
41408 if ac_fn_cxx_try_compile "$LINENO"; then :
41409 glibcxx_cv_func_powf_use=yes
41410 else
41411 glibcxx_cv_func_powf_use=no
41412 fi
41413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41414 ac_ext=c
41415 ac_cpp='$CPP $CPPFLAGS'
41416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41419
41420
41421 fi
41422
41423 fi
41424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41425 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41426
41427 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41428 for ac_func in powf
41429 do :
41430 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41431 if test "x$ac_cv_func_powf" = x""yes; then :
41432 cat >>confdefs.h <<_ACEOF
41433 #define HAVE_POWF 1
41434 _ACEOF
41435
41436 fi
41437 done
41438
41439 else
41440
41441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41442 $as_echo_n "checking for _powf declaration... " >&6; }
41443 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41444 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41445 $as_echo_n "(cached) " >&6
41446 else
41447
41448
41449 ac_ext=cpp
41450 ac_cpp='$CXXCPP $CPPFLAGS'
41451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41454
41455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41456 /* end confdefs.h. */
41457 #include <math.h>
41458 int
41459 main ()
41460 {
41461 _powf(0, 0);
41462 ;
41463 return 0;
41464 }
41465 _ACEOF
41466 if ac_fn_cxx_try_compile "$LINENO"; then :
41467 glibcxx_cv_func__powf_use=yes
41468 else
41469 glibcxx_cv_func__powf_use=no
41470 fi
41471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41472 ac_ext=c
41473 ac_cpp='$CPP $CPPFLAGS'
41474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41477
41478
41479 fi
41480
41481 fi
41482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41483 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41484
41485 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41486 for ac_func in _powf
41487 do :
41488 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41489 if test "x$ac_cv_func__powf" = x""yes; then :
41490 cat >>confdefs.h <<_ACEOF
41491 #define HAVE__POWF 1
41492 _ACEOF
41493
41494 fi
41495 done
41496
41497 fi
41498 fi
41499
41500
41501
41502
41503
41504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41505 $as_echo_n "checking for sqrtf declaration... " >&6; }
41506 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41507 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41508 $as_echo_n "(cached) " >&6
41509 else
41510
41511
41512 ac_ext=cpp
41513 ac_cpp='$CXXCPP $CPPFLAGS'
41514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41517
41518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41519 /* end confdefs.h. */
41520 #include <math.h>
41521 #ifdef HAVE_IEEEFP_H
41522 #include <ieeefp.h>
41523 #endif
41524
41525 int
41526 main ()
41527 {
41528 sqrtf(0);
41529 ;
41530 return 0;
41531 }
41532 _ACEOF
41533 if ac_fn_cxx_try_compile "$LINENO"; then :
41534 glibcxx_cv_func_sqrtf_use=yes
41535 else
41536 glibcxx_cv_func_sqrtf_use=no
41537 fi
41538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41539 ac_ext=c
41540 ac_cpp='$CPP $CPPFLAGS'
41541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41544
41545
41546 fi
41547
41548 fi
41549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41550 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41551
41552 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41553 for ac_func in sqrtf
41554 do :
41555 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41556 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41557 cat >>confdefs.h <<_ACEOF
41558 #define HAVE_SQRTF 1
41559 _ACEOF
41560
41561 fi
41562 done
41563
41564 else
41565
41566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41567 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41568 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41569 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41570 $as_echo_n "(cached) " >&6
41571 else
41572
41573
41574 ac_ext=cpp
41575 ac_cpp='$CXXCPP $CPPFLAGS'
41576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41579
41580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41581 /* end confdefs.h. */
41582 #include <math.h>
41583 #ifdef HAVE_IEEEFP_H
41584 #include <ieeefp.h>
41585 #endif
41586
41587 int
41588 main ()
41589 {
41590 _sqrtf(0);
41591 ;
41592 return 0;
41593 }
41594 _ACEOF
41595 if ac_fn_cxx_try_compile "$LINENO"; then :
41596 glibcxx_cv_func__sqrtf_use=yes
41597 else
41598 glibcxx_cv_func__sqrtf_use=no
41599 fi
41600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41601 ac_ext=c
41602 ac_cpp='$CPP $CPPFLAGS'
41603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41606
41607
41608 fi
41609
41610 fi
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41612 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41613
41614 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41615 for ac_func in _sqrtf
41616 do :
41617 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41618 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41619 cat >>confdefs.h <<_ACEOF
41620 #define HAVE__SQRTF 1
41621 _ACEOF
41622
41623 fi
41624 done
41625
41626 fi
41627 fi
41628
41629
41630
41631
41632
41633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41634 $as_echo_n "checking for sincosf declaration... " >&6; }
41635 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41636 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41637 $as_echo_n "(cached) " >&6
41638 else
41639
41640
41641 ac_ext=cpp
41642 ac_cpp='$CXXCPP $CPPFLAGS'
41643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41646
41647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41648 /* end confdefs.h. */
41649 #include <math.h>
41650 int
41651 main ()
41652 {
41653 sincosf(0, 0, 0);
41654 ;
41655 return 0;
41656 }
41657 _ACEOF
41658 if ac_fn_cxx_try_compile "$LINENO"; then :
41659 glibcxx_cv_func_sincosf_use=yes
41660 else
41661 glibcxx_cv_func_sincosf_use=no
41662 fi
41663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41664 ac_ext=c
41665 ac_cpp='$CPP $CPPFLAGS'
41666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41669
41670
41671 fi
41672
41673 fi
41674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41675 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41676
41677 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41678 for ac_func in sincosf
41679 do :
41680 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41681 if test "x$ac_cv_func_sincosf" = x""yes; then :
41682 cat >>confdefs.h <<_ACEOF
41683 #define HAVE_SINCOSF 1
41684 _ACEOF
41685
41686 fi
41687 done
41688
41689 else
41690
41691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41692 $as_echo_n "checking for _sincosf declaration... " >&6; }
41693 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41694 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41695 $as_echo_n "(cached) " >&6
41696 else
41697
41698
41699 ac_ext=cpp
41700 ac_cpp='$CXXCPP $CPPFLAGS'
41701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41704
41705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41706 /* end confdefs.h. */
41707 #include <math.h>
41708 int
41709 main ()
41710 {
41711 _sincosf(0, 0, 0);
41712 ;
41713 return 0;
41714 }
41715 _ACEOF
41716 if ac_fn_cxx_try_compile "$LINENO"; then :
41717 glibcxx_cv_func__sincosf_use=yes
41718 else
41719 glibcxx_cv_func__sincosf_use=no
41720 fi
41721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41722 ac_ext=c
41723 ac_cpp='$CPP $CPPFLAGS'
41724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41727
41728
41729 fi
41730
41731 fi
41732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41733 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41734
41735 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41736 for ac_func in _sincosf
41737 do :
41738 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41739 if test "x$ac_cv_func__sincosf" = x""yes; then :
41740 cat >>confdefs.h <<_ACEOF
41741 #define HAVE__SINCOSF 1
41742 _ACEOF
41743
41744 fi
41745 done
41746
41747 fi
41748 fi
41749
41750
41751
41752
41753
41754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41755 $as_echo_n "checking for finitef declaration... " >&6; }
41756 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41757 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41758 $as_echo_n "(cached) " >&6
41759 else
41760
41761
41762 ac_ext=cpp
41763 ac_cpp='$CXXCPP $CPPFLAGS'
41764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41767
41768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41769 /* end confdefs.h. */
41770 #include <math.h>
41771 #ifdef HAVE_IEEEFP_H
41772 #include <ieeefp.h>
41773 #endif
41774
41775 int
41776 main ()
41777 {
41778 finitef(0);
41779 ;
41780 return 0;
41781 }
41782 _ACEOF
41783 if ac_fn_cxx_try_compile "$LINENO"; then :
41784 glibcxx_cv_func_finitef_use=yes
41785 else
41786 glibcxx_cv_func_finitef_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_finitef_use" >&5
41800 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41801
41802 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41803 for ac_func in finitef
41804 do :
41805 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41806 if test "x$ac_cv_func_finitef" = x""yes; then :
41807 cat >>confdefs.h <<_ACEOF
41808 #define HAVE_FINITEF 1
41809 _ACEOF
41810
41811 fi
41812 done
41813
41814 else
41815
41816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41817 $as_echo_n "checking for _finitef declaration... " >&6; }
41818 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41819 if test "${glibcxx_cv_func__finitef_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 #ifdef HAVE_IEEEFP_H
41834 #include <ieeefp.h>
41835 #endif
41836
41837 int
41838 main ()
41839 {
41840 _finitef(0);
41841 ;
41842 return 0;
41843 }
41844 _ACEOF
41845 if ac_fn_cxx_try_compile "$LINENO"; then :
41846 glibcxx_cv_func__finitef_use=yes
41847 else
41848 glibcxx_cv_func__finitef_use=no
41849 fi
41850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41851 ac_ext=c
41852 ac_cpp='$CPP $CPPFLAGS'
41853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41856
41857
41858 fi
41859
41860 fi
41861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41862 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41863
41864 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41865 for ac_func in _finitef
41866 do :
41867 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41868 if test "x$ac_cv_func__finitef" = x""yes; then :
41869 cat >>confdefs.h <<_ACEOF
41870 #define HAVE__FINITEF 1
41871 _ACEOF
41872
41873 fi
41874 done
41875
41876 fi
41877 fi
41878
41879
41880
41881
41882
41883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41884 $as_echo_n "checking for long double trig functions... " >&6; }
41885 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41886 $as_echo_n "(cached) " >&6
41887 else
41888
41889
41890 ac_ext=cpp
41891 ac_cpp='$CXXCPP $CPPFLAGS'
41892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41895
41896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41897 /* end confdefs.h. */
41898 #include <math.h>
41899 int
41900 main ()
41901 {
41902 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41903 ;
41904 return 0;
41905 }
41906 _ACEOF
41907 if ac_fn_cxx_try_compile "$LINENO"; then :
41908 glibcxx_cv_func_long_double_trig_use=yes
41909 else
41910 glibcxx_cv_func_long_double_trig_use=no
41911 fi
41912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41913 ac_ext=c
41914 ac_cpp='$CPP $CPPFLAGS'
41915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41918
41919 fi
41920
41921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41922 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41923 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41924 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41925 do :
41926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41928 eval as_val=\$$as_ac_var
41929 if test "x$as_val" = x""yes; then :
41930 cat >>confdefs.h <<_ACEOF
41931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41932 _ACEOF
41933
41934 fi
41935 done
41936
41937 else
41938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41939 $as_echo_n "checking for _long double trig functions... " >&6; }
41940 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41941 $as_echo_n "(cached) " >&6
41942 else
41943
41944
41945 ac_ext=cpp
41946 ac_cpp='$CXXCPP $CPPFLAGS'
41947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41950
41951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41952 /* end confdefs.h. */
41953 #include <math.h>
41954 int
41955 main ()
41956 {
41957 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41958 ;
41959 return 0;
41960 }
41961 _ACEOF
41962 if ac_fn_cxx_try_compile "$LINENO"; then :
41963 glibcxx_cv_func__long_double_trig_use=yes
41964 else
41965 glibcxx_cv_func__long_double_trig_use=no
41966 fi
41967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41968 ac_ext=c
41969 ac_cpp='$CPP $CPPFLAGS'
41970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41973
41974 fi
41975
41976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41977 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41978 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41979 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41980 do :
41981 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41982 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41983 eval as_val=\$$as_ac_var
41984 if test "x$as_val" = x""yes; then :
41985 cat >>confdefs.h <<_ACEOF
41986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41987 _ACEOF
41988
41989 fi
41990 done
41991
41992 fi
41993 fi
41994
41995
41996
41997
41998
41999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42000 $as_echo_n "checking for long double round functions... " >&6; }
42001 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42002 $as_echo_n "(cached) " >&6
42003 else
42004
42005
42006 ac_ext=cpp
42007 ac_cpp='$CXXCPP $CPPFLAGS'
42008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42011
42012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42013 /* end confdefs.h. */
42014 #include <math.h>
42015 int
42016 main ()
42017 {
42018 ceill (0); floorl (0);
42019 ;
42020 return 0;
42021 }
42022 _ACEOF
42023 if ac_fn_cxx_try_compile "$LINENO"; then :
42024 glibcxx_cv_func_long_double_round_use=yes
42025 else
42026 glibcxx_cv_func_long_double_round_use=no
42027 fi
42028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42029 ac_ext=c
42030 ac_cpp='$CPP $CPPFLAGS'
42031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42034
42035 fi
42036
42037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42038 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42039 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42040 for ac_func in ceill floorl
42041 do :
42042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42044 eval as_val=\$$as_ac_var
42045 if test "x$as_val" = x""yes; then :
42046 cat >>confdefs.h <<_ACEOF
42047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42048 _ACEOF
42049
42050 fi
42051 done
42052
42053 else
42054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42055 $as_echo_n "checking for _long double round functions... " >&6; }
42056 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42057 $as_echo_n "(cached) " >&6
42058 else
42059
42060
42061 ac_ext=cpp
42062 ac_cpp='$CXXCPP $CPPFLAGS'
42063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42066
42067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42068 /* end confdefs.h. */
42069 #include <math.h>
42070 int
42071 main ()
42072 {
42073 _ceill (0); _floorl (0);
42074 ;
42075 return 0;
42076 }
42077 _ACEOF
42078 if ac_fn_cxx_try_compile "$LINENO"; then :
42079 glibcxx_cv_func__long_double_round_use=yes
42080 else
42081 glibcxx_cv_func__long_double_round_use=no
42082 fi
42083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42084 ac_ext=c
42085 ac_cpp='$CPP $CPPFLAGS'
42086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42089
42090 fi
42091
42092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42093 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42094 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42095 for ac_func in _ceill _floorl
42096 do :
42097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42099 eval as_val=\$$as_ac_var
42100 if test "x$as_val" = x""yes; then :
42101 cat >>confdefs.h <<_ACEOF
42102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42103 _ACEOF
42104
42105 fi
42106 done
42107
42108 fi
42109 fi
42110
42111
42112
42113
42114
42115
42116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42117 $as_echo_n "checking for isnanl declaration... " >&6; }
42118 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42119 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42120 $as_echo_n "(cached) " >&6
42121 else
42122
42123
42124 ac_ext=cpp
42125 ac_cpp='$CXXCPP $CPPFLAGS'
42126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42129
42130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42131 /* end confdefs.h. */
42132 #include <math.h>
42133 #ifdef HAVE_IEEEFP_H
42134 #include <ieeefp.h>
42135 #endif
42136
42137 int
42138 main ()
42139 {
42140 isnanl(0);
42141 ;
42142 return 0;
42143 }
42144 _ACEOF
42145 if ac_fn_cxx_try_compile "$LINENO"; then :
42146 glibcxx_cv_func_isnanl_use=yes
42147 else
42148 glibcxx_cv_func_isnanl_use=no
42149 fi
42150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42151 ac_ext=c
42152 ac_cpp='$CPP $CPPFLAGS'
42153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42156
42157
42158 fi
42159
42160 fi
42161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42162 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42163
42164 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42165 for ac_func in isnanl
42166 do :
42167 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42168 if test "x$ac_cv_func_isnanl" = x""yes; then :
42169 cat >>confdefs.h <<_ACEOF
42170 #define HAVE_ISNANL 1
42171 _ACEOF
42172
42173 fi
42174 done
42175
42176 else
42177
42178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42179 $as_echo_n "checking for _isnanl declaration... " >&6; }
42180 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42181 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42182 $as_echo_n "(cached) " >&6
42183 else
42184
42185
42186 ac_ext=cpp
42187 ac_cpp='$CXXCPP $CPPFLAGS'
42188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42191
42192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42193 /* end confdefs.h. */
42194 #include <math.h>
42195 #ifdef HAVE_IEEEFP_H
42196 #include <ieeefp.h>
42197 #endif
42198
42199 int
42200 main ()
42201 {
42202 _isnanl(0);
42203 ;
42204 return 0;
42205 }
42206 _ACEOF
42207 if ac_fn_cxx_try_compile "$LINENO"; then :
42208 glibcxx_cv_func__isnanl_use=yes
42209 else
42210 glibcxx_cv_func__isnanl_use=no
42211 fi
42212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42213 ac_ext=c
42214 ac_cpp='$CPP $CPPFLAGS'
42215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42218
42219
42220 fi
42221
42222 fi
42223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42224 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42225
42226 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42227 for ac_func in _isnanl
42228 do :
42229 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42230 if test "x$ac_cv_func__isnanl" = x""yes; then :
42231 cat >>confdefs.h <<_ACEOF
42232 #define HAVE__ISNANL 1
42233 _ACEOF
42234
42235 fi
42236 done
42237
42238 fi
42239 fi
42240
42241
42242
42243
42244
42245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42246 $as_echo_n "checking for isinfl declaration... " >&6; }
42247 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42248 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42249 $as_echo_n "(cached) " >&6
42250 else
42251
42252
42253 ac_ext=cpp
42254 ac_cpp='$CXXCPP $CPPFLAGS'
42255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42258
42259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42260 /* end confdefs.h. */
42261 #include <math.h>
42262 #ifdef HAVE_IEEEFP_H
42263 #include <ieeefp.h>
42264 #endif
42265
42266 int
42267 main ()
42268 {
42269 isinfl(0);
42270 ;
42271 return 0;
42272 }
42273 _ACEOF
42274 if ac_fn_cxx_try_compile "$LINENO"; then :
42275 glibcxx_cv_func_isinfl_use=yes
42276 else
42277 glibcxx_cv_func_isinfl_use=no
42278 fi
42279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42280 ac_ext=c
42281 ac_cpp='$CPP $CPPFLAGS'
42282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42285
42286
42287 fi
42288
42289 fi
42290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42291 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42292
42293 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42294 for ac_func in isinfl
42295 do :
42296 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42297 if test "x$ac_cv_func_isinfl" = x""yes; then :
42298 cat >>confdefs.h <<_ACEOF
42299 #define HAVE_ISINFL 1
42300 _ACEOF
42301
42302 fi
42303 done
42304
42305 else
42306
42307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42308 $as_echo_n "checking for _isinfl declaration... " >&6; }
42309 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42310 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42311 $as_echo_n "(cached) " >&6
42312 else
42313
42314
42315 ac_ext=cpp
42316 ac_cpp='$CXXCPP $CPPFLAGS'
42317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42320
42321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42322 /* end confdefs.h. */
42323 #include <math.h>
42324 #ifdef HAVE_IEEEFP_H
42325 #include <ieeefp.h>
42326 #endif
42327
42328 int
42329 main ()
42330 {
42331 _isinfl(0);
42332 ;
42333 return 0;
42334 }
42335 _ACEOF
42336 if ac_fn_cxx_try_compile "$LINENO"; then :
42337 glibcxx_cv_func__isinfl_use=yes
42338 else
42339 glibcxx_cv_func__isinfl_use=no
42340 fi
42341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42342 ac_ext=c
42343 ac_cpp='$CPP $CPPFLAGS'
42344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42347
42348
42349 fi
42350
42351 fi
42352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42353 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42354
42355 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42356 for ac_func in _isinfl
42357 do :
42358 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42359 if test "x$ac_cv_func__isinfl" = x""yes; then :
42360 cat >>confdefs.h <<_ACEOF
42361 #define HAVE__ISINFL 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 atan2l declaration" >&5
42375 $as_echo_n "checking for atan2l declaration... " >&6; }
42376 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42377 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42378 $as_echo_n "(cached) " >&6
42379 else
42380
42381
42382 ac_ext=cpp
42383 ac_cpp='$CXXCPP $CPPFLAGS'
42384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42387
42388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42389 /* end confdefs.h. */
42390 #include <math.h>
42391 int
42392 main ()
42393 {
42394 atan2l(0, 0);
42395 ;
42396 return 0;
42397 }
42398 _ACEOF
42399 if ac_fn_cxx_try_compile "$LINENO"; then :
42400 glibcxx_cv_func_atan2l_use=yes
42401 else
42402 glibcxx_cv_func_atan2l_use=no
42403 fi
42404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42405 ac_ext=c
42406 ac_cpp='$CPP $CPPFLAGS'
42407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42410
42411
42412 fi
42413
42414 fi
42415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42416 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42417
42418 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42419 for ac_func in atan2l
42420 do :
42421 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42422 if test "x$ac_cv_func_atan2l" = x""yes; then :
42423 cat >>confdefs.h <<_ACEOF
42424 #define HAVE_ATAN2L 1
42425 _ACEOF
42426
42427 fi
42428 done
42429
42430 else
42431
42432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42433 $as_echo_n "checking for _atan2l declaration... " >&6; }
42434 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42435 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42436 $as_echo_n "(cached) " >&6
42437 else
42438
42439
42440 ac_ext=cpp
42441 ac_cpp='$CXXCPP $CPPFLAGS'
42442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42445
42446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42447 /* end confdefs.h. */
42448 #include <math.h>
42449 int
42450 main ()
42451 {
42452 _atan2l(0, 0);
42453 ;
42454 return 0;
42455 }
42456 _ACEOF
42457 if ac_fn_cxx_try_compile "$LINENO"; then :
42458 glibcxx_cv_func__atan2l_use=yes
42459 else
42460 glibcxx_cv_func__atan2l_use=no
42461 fi
42462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42463 ac_ext=c
42464 ac_cpp='$CPP $CPPFLAGS'
42465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42468
42469
42470 fi
42471
42472 fi
42473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42474 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42475
42476 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42477 for ac_func in _atan2l
42478 do :
42479 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42480 if test "x$ac_cv_func__atan2l" = x""yes; then :
42481 cat >>confdefs.h <<_ACEOF
42482 #define HAVE__ATAN2L 1
42483 _ACEOF
42484
42485 fi
42486 done
42487
42488 fi
42489 fi
42490
42491
42492
42493
42494
42495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42496 $as_echo_n "checking for expl declaration... " >&6; }
42497 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42498 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42499 $as_echo_n "(cached) " >&6
42500 else
42501
42502
42503 ac_ext=cpp
42504 ac_cpp='$CXXCPP $CPPFLAGS'
42505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42508
42509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42510 /* end confdefs.h. */
42511 #include <math.h>
42512 #ifdef HAVE_IEEEFP_H
42513 #include <ieeefp.h>
42514 #endif
42515
42516 int
42517 main ()
42518 {
42519 expl(0);
42520 ;
42521 return 0;
42522 }
42523 _ACEOF
42524 if ac_fn_cxx_try_compile "$LINENO"; then :
42525 glibcxx_cv_func_expl_use=yes
42526 else
42527 glibcxx_cv_func_expl_use=no
42528 fi
42529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42530 ac_ext=c
42531 ac_cpp='$CPP $CPPFLAGS'
42532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42535
42536
42537 fi
42538
42539 fi
42540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42541 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42542
42543 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42544 for ac_func in expl
42545 do :
42546 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42547 if test "x$ac_cv_func_expl" = x""yes; then :
42548 cat >>confdefs.h <<_ACEOF
42549 #define HAVE_EXPL 1
42550 _ACEOF
42551
42552 fi
42553 done
42554
42555 else
42556
42557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42558 $as_echo_n "checking for _expl declaration... " >&6; }
42559 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42560 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42561 $as_echo_n "(cached) " >&6
42562 else
42563
42564
42565 ac_ext=cpp
42566 ac_cpp='$CXXCPP $CPPFLAGS'
42567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42570
42571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42572 /* end confdefs.h. */
42573 #include <math.h>
42574 #ifdef HAVE_IEEEFP_H
42575 #include <ieeefp.h>
42576 #endif
42577
42578 int
42579 main ()
42580 {
42581 _expl(0);
42582 ;
42583 return 0;
42584 }
42585 _ACEOF
42586 if ac_fn_cxx_try_compile "$LINENO"; then :
42587 glibcxx_cv_func__expl_use=yes
42588 else
42589 glibcxx_cv_func__expl_use=no
42590 fi
42591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42592 ac_ext=c
42593 ac_cpp='$CPP $CPPFLAGS'
42594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42597
42598
42599 fi
42600
42601 fi
42602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42603 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42604
42605 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42606 for ac_func in _expl
42607 do :
42608 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42609 if test "x$ac_cv_func__expl" = x""yes; then :
42610 cat >>confdefs.h <<_ACEOF
42611 #define HAVE__EXPL 1
42612 _ACEOF
42613
42614 fi
42615 done
42616
42617 fi
42618 fi
42619
42620
42621
42622
42623
42624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42625 $as_echo_n "checking for fabsl declaration... " >&6; }
42626 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42627 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42628 $as_echo_n "(cached) " >&6
42629 else
42630
42631
42632 ac_ext=cpp
42633 ac_cpp='$CXXCPP $CPPFLAGS'
42634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42637
42638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42639 /* end confdefs.h. */
42640 #include <math.h>
42641 #ifdef HAVE_IEEEFP_H
42642 #include <ieeefp.h>
42643 #endif
42644
42645 int
42646 main ()
42647 {
42648 fabsl(0);
42649 ;
42650 return 0;
42651 }
42652 _ACEOF
42653 if ac_fn_cxx_try_compile "$LINENO"; then :
42654 glibcxx_cv_func_fabsl_use=yes
42655 else
42656 glibcxx_cv_func_fabsl_use=no
42657 fi
42658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42659 ac_ext=c
42660 ac_cpp='$CPP $CPPFLAGS'
42661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42664
42665
42666 fi
42667
42668 fi
42669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42670 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42671
42672 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42673 for ac_func in fabsl
42674 do :
42675 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42676 if test "x$ac_cv_func_fabsl" = x""yes; then :
42677 cat >>confdefs.h <<_ACEOF
42678 #define HAVE_FABSL 1
42679 _ACEOF
42680
42681 fi
42682 done
42683
42684 else
42685
42686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42687 $as_echo_n "checking for _fabsl declaration... " >&6; }
42688 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42689 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42690 $as_echo_n "(cached) " >&6
42691 else
42692
42693
42694 ac_ext=cpp
42695 ac_cpp='$CXXCPP $CPPFLAGS'
42696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42699
42700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42701 /* end confdefs.h. */
42702 #include <math.h>
42703 #ifdef HAVE_IEEEFP_H
42704 #include <ieeefp.h>
42705 #endif
42706
42707 int
42708 main ()
42709 {
42710 _fabsl(0);
42711 ;
42712 return 0;
42713 }
42714 _ACEOF
42715 if ac_fn_cxx_try_compile "$LINENO"; then :
42716 glibcxx_cv_func__fabsl_use=yes
42717 else
42718 glibcxx_cv_func__fabsl_use=no
42719 fi
42720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42721 ac_ext=c
42722 ac_cpp='$CPP $CPPFLAGS'
42723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42726
42727
42728 fi
42729
42730 fi
42731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42732 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42733
42734 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42735 for ac_func in _fabsl
42736 do :
42737 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42738 if test "x$ac_cv_func__fabsl" = x""yes; then :
42739 cat >>confdefs.h <<_ACEOF
42740 #define HAVE__FABSL 1
42741 _ACEOF
42742
42743 fi
42744 done
42745
42746 fi
42747 fi
42748
42749
42750
42751
42752
42753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42754 $as_echo_n "checking for fmodl declaration... " >&6; }
42755 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42756 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42757 $as_echo_n "(cached) " >&6
42758 else
42759
42760
42761 ac_ext=cpp
42762 ac_cpp='$CXXCPP $CPPFLAGS'
42763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42766
42767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42768 /* end confdefs.h. */
42769 #include <math.h>
42770 int
42771 main ()
42772 {
42773 fmodl(0, 0);
42774 ;
42775 return 0;
42776 }
42777 _ACEOF
42778 if ac_fn_cxx_try_compile "$LINENO"; then :
42779 glibcxx_cv_func_fmodl_use=yes
42780 else
42781 glibcxx_cv_func_fmodl_use=no
42782 fi
42783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42784 ac_ext=c
42785 ac_cpp='$CPP $CPPFLAGS'
42786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42789
42790
42791 fi
42792
42793 fi
42794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42795 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42796
42797 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42798 for ac_func in fmodl
42799 do :
42800 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42801 if test "x$ac_cv_func_fmodl" = x""yes; then :
42802 cat >>confdefs.h <<_ACEOF
42803 #define HAVE_FMODL 1
42804 _ACEOF
42805
42806 fi
42807 done
42808
42809 else
42810
42811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42812 $as_echo_n "checking for _fmodl declaration... " >&6; }
42813 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42814 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42815 $as_echo_n "(cached) " >&6
42816 else
42817
42818
42819 ac_ext=cpp
42820 ac_cpp='$CXXCPP $CPPFLAGS'
42821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42824
42825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42826 /* end confdefs.h. */
42827 #include <math.h>
42828 int
42829 main ()
42830 {
42831 _fmodl(0, 0);
42832 ;
42833 return 0;
42834 }
42835 _ACEOF
42836 if ac_fn_cxx_try_compile "$LINENO"; then :
42837 glibcxx_cv_func__fmodl_use=yes
42838 else
42839 glibcxx_cv_func__fmodl_use=no
42840 fi
42841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42842 ac_ext=c
42843 ac_cpp='$CPP $CPPFLAGS'
42844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42847
42848
42849 fi
42850
42851 fi
42852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42853 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42854
42855 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42856 for ac_func in _fmodl
42857 do :
42858 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42859 if test "x$ac_cv_func__fmodl" = x""yes; then :
42860 cat >>confdefs.h <<_ACEOF
42861 #define HAVE__FMODL 1
42862 _ACEOF
42863
42864 fi
42865 done
42866
42867 fi
42868 fi
42869
42870
42871
42872
42873
42874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42875 $as_echo_n "checking for frexpl declaration... " >&6; }
42876 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42877 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42878 $as_echo_n "(cached) " >&6
42879 else
42880
42881
42882 ac_ext=cpp
42883 ac_cpp='$CXXCPP $CPPFLAGS'
42884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42887
42888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42889 /* end confdefs.h. */
42890 #include <math.h>
42891 int
42892 main ()
42893 {
42894 frexpl(0, 0);
42895 ;
42896 return 0;
42897 }
42898 _ACEOF
42899 if ac_fn_cxx_try_compile "$LINENO"; then :
42900 glibcxx_cv_func_frexpl_use=yes
42901 else
42902 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
42916 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42917
42918 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42919 for ac_func in frexpl
42920 do :
42921 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42922 if test "x$ac_cv_func_frexpl" = x""yes; then :
42923 cat >>confdefs.h <<_ACEOF
42924 #define HAVE_FREXPL 1
42925 _ACEOF
42926
42927 fi
42928 done
42929
42930 else
42931
42932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42933 $as_echo_n "checking for _frexpl declaration... " >&6; }
42934 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42935 if test "${glibcxx_cv_func__frexpl_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 int
42950 main ()
42951 {
42952 _frexpl(0, 0);
42953 ;
42954 return 0;
42955 }
42956 _ACEOF
42957 if ac_fn_cxx_try_compile "$LINENO"; then :
42958 glibcxx_cv_func__frexpl_use=yes
42959 else
42960 glibcxx_cv_func__frexpl_use=no
42961 fi
42962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42963 ac_ext=c
42964 ac_cpp='$CPP $CPPFLAGS'
42965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42968
42969
42970 fi
42971
42972 fi
42973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42974 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42975
42976 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42977 for ac_func in _frexpl
42978 do :
42979 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42980 if test "x$ac_cv_func__frexpl" = x""yes; then :
42981 cat >>confdefs.h <<_ACEOF
42982 #define HAVE__FREXPL 1
42983 _ACEOF
42984
42985 fi
42986 done
42987
42988 fi
42989 fi
42990
42991
42992
42993
42994
42995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42996 $as_echo_n "checking for hypotl declaration... " >&6; }
42997 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42998 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42999 $as_echo_n "(cached) " >&6
43000 else
43001
43002
43003 ac_ext=cpp
43004 ac_cpp='$CXXCPP $CPPFLAGS'
43005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43008
43009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43010 /* end confdefs.h. */
43011 #include <math.h>
43012 int
43013 main ()
43014 {
43015 hypotl(0, 0);
43016 ;
43017 return 0;
43018 }
43019 _ACEOF
43020 if ac_fn_cxx_try_compile "$LINENO"; then :
43021 glibcxx_cv_func_hypotl_use=yes
43022 else
43023 glibcxx_cv_func_hypotl_use=no
43024 fi
43025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43026 ac_ext=c
43027 ac_cpp='$CPP $CPPFLAGS'
43028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43031
43032
43033 fi
43034
43035 fi
43036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43037 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43038
43039 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43040 for ac_func in hypotl
43041 do :
43042 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43043 if test "x$ac_cv_func_hypotl" = x""yes; then :
43044 cat >>confdefs.h <<_ACEOF
43045 #define HAVE_HYPOTL 1
43046 _ACEOF
43047
43048 fi
43049 done
43050
43051 else
43052
43053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43054 $as_echo_n "checking for _hypotl declaration... " >&6; }
43055 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43056 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43057 $as_echo_n "(cached) " >&6
43058 else
43059
43060
43061 ac_ext=cpp
43062 ac_cpp='$CXXCPP $CPPFLAGS'
43063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43066
43067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43068 /* end confdefs.h. */
43069 #include <math.h>
43070 int
43071 main ()
43072 {
43073 _hypotl(0, 0);
43074 ;
43075 return 0;
43076 }
43077 _ACEOF
43078 if ac_fn_cxx_try_compile "$LINENO"; then :
43079 glibcxx_cv_func__hypotl_use=yes
43080 else
43081 glibcxx_cv_func__hypotl_use=no
43082 fi
43083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43084 ac_ext=c
43085 ac_cpp='$CPP $CPPFLAGS'
43086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43089
43090
43091 fi
43092
43093 fi
43094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43095 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43096
43097 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43098 for ac_func in _hypotl
43099 do :
43100 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43101 if test "x$ac_cv_func__hypotl" = x""yes; then :
43102 cat >>confdefs.h <<_ACEOF
43103 #define HAVE__HYPOTL 1
43104 _ACEOF
43105
43106 fi
43107 done
43108
43109 fi
43110 fi
43111
43112
43113
43114
43115
43116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43117 $as_echo_n "checking for ldexpl declaration... " >&6; }
43118 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43119 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43120 $as_echo_n "(cached) " >&6
43121 else
43122
43123
43124 ac_ext=cpp
43125 ac_cpp='$CXXCPP $CPPFLAGS'
43126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43129
43130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43131 /* end confdefs.h. */
43132 #include <math.h>
43133 int
43134 main ()
43135 {
43136 ldexpl(0, 0);
43137 ;
43138 return 0;
43139 }
43140 _ACEOF
43141 if ac_fn_cxx_try_compile "$LINENO"; then :
43142 glibcxx_cv_func_ldexpl_use=yes
43143 else
43144 glibcxx_cv_func_ldexpl_use=no
43145 fi
43146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43147 ac_ext=c
43148 ac_cpp='$CPP $CPPFLAGS'
43149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43152
43153
43154 fi
43155
43156 fi
43157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43158 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43159
43160 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43161 for ac_func in ldexpl
43162 do :
43163 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43164 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43165 cat >>confdefs.h <<_ACEOF
43166 #define HAVE_LDEXPL 1
43167 _ACEOF
43168
43169 fi
43170 done
43171
43172 else
43173
43174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43175 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43176 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43177 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43178 $as_echo_n "(cached) " >&6
43179 else
43180
43181
43182 ac_ext=cpp
43183 ac_cpp='$CXXCPP $CPPFLAGS'
43184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43187
43188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43189 /* end confdefs.h. */
43190 #include <math.h>
43191 int
43192 main ()
43193 {
43194 _ldexpl(0, 0);
43195 ;
43196 return 0;
43197 }
43198 _ACEOF
43199 if ac_fn_cxx_try_compile "$LINENO"; then :
43200 glibcxx_cv_func__ldexpl_use=yes
43201 else
43202 glibcxx_cv_func__ldexpl_use=no
43203 fi
43204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43205 ac_ext=c
43206 ac_cpp='$CPP $CPPFLAGS'
43207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43210
43211
43212 fi
43213
43214 fi
43215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43216 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43217
43218 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43219 for ac_func in _ldexpl
43220 do :
43221 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43222 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43223 cat >>confdefs.h <<_ACEOF
43224 #define HAVE__LDEXPL 1
43225 _ACEOF
43226
43227 fi
43228 done
43229
43230 fi
43231 fi
43232
43233
43234
43235
43236
43237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43238 $as_echo_n "checking for logl declaration... " >&6; }
43239 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43240 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43241 $as_echo_n "(cached) " >&6
43242 else
43243
43244
43245 ac_ext=cpp
43246 ac_cpp='$CXXCPP $CPPFLAGS'
43247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43250
43251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43252 /* end confdefs.h. */
43253 #include <math.h>
43254 #ifdef HAVE_IEEEFP_H
43255 #include <ieeefp.h>
43256 #endif
43257
43258 int
43259 main ()
43260 {
43261 logl(0);
43262 ;
43263 return 0;
43264 }
43265 _ACEOF
43266 if ac_fn_cxx_try_compile "$LINENO"; then :
43267 glibcxx_cv_func_logl_use=yes
43268 else
43269 glibcxx_cv_func_logl_use=no
43270 fi
43271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43272 ac_ext=c
43273 ac_cpp='$CPP $CPPFLAGS'
43274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43277
43278
43279 fi
43280
43281 fi
43282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43283 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43284
43285 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43286 for ac_func in logl
43287 do :
43288 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43289 if test "x$ac_cv_func_logl" = x""yes; then :
43290 cat >>confdefs.h <<_ACEOF
43291 #define HAVE_LOGL 1
43292 _ACEOF
43293
43294 fi
43295 done
43296
43297 else
43298
43299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43300 $as_echo_n "checking for _logl declaration... " >&6; }
43301 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43302 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43303 $as_echo_n "(cached) " >&6
43304 else
43305
43306
43307 ac_ext=cpp
43308 ac_cpp='$CXXCPP $CPPFLAGS'
43309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43312
43313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43314 /* end confdefs.h. */
43315 #include <math.h>
43316 #ifdef HAVE_IEEEFP_H
43317 #include <ieeefp.h>
43318 #endif
43319
43320 int
43321 main ()
43322 {
43323 _logl(0);
43324 ;
43325 return 0;
43326 }
43327 _ACEOF
43328 if ac_fn_cxx_try_compile "$LINENO"; then :
43329 glibcxx_cv_func__logl_use=yes
43330 else
43331 glibcxx_cv_func__logl_use=no
43332 fi
43333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43334 ac_ext=c
43335 ac_cpp='$CPP $CPPFLAGS'
43336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43339
43340
43341 fi
43342
43343 fi
43344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43345 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43346
43347 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43348 for ac_func in _logl
43349 do :
43350 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43351 if test "x$ac_cv_func__logl" = x""yes; then :
43352 cat >>confdefs.h <<_ACEOF
43353 #define HAVE__LOGL 1
43354 _ACEOF
43355
43356 fi
43357 done
43358
43359 fi
43360 fi
43361
43362
43363
43364
43365
43366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43367 $as_echo_n "checking for log10l declaration... " >&6; }
43368 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43369 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43370 $as_echo_n "(cached) " >&6
43371 else
43372
43373
43374 ac_ext=cpp
43375 ac_cpp='$CXXCPP $CPPFLAGS'
43376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43379
43380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43381 /* end confdefs.h. */
43382 #include <math.h>
43383 #ifdef HAVE_IEEEFP_H
43384 #include <ieeefp.h>
43385 #endif
43386
43387 int
43388 main ()
43389 {
43390 log10l(0);
43391 ;
43392 return 0;
43393 }
43394 _ACEOF
43395 if ac_fn_cxx_try_compile "$LINENO"; then :
43396 glibcxx_cv_func_log10l_use=yes
43397 else
43398 glibcxx_cv_func_log10l_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_log10l_use" >&5
43412 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43413
43414 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43415 for ac_func in log10l
43416 do :
43417 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43418 if test "x$ac_cv_func_log10l" = x""yes; then :
43419 cat >>confdefs.h <<_ACEOF
43420 #define HAVE_LOG10L 1
43421 _ACEOF
43422
43423 fi
43424 done
43425
43426 else
43427
43428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43429 $as_echo_n "checking for _log10l declaration... " >&6; }
43430 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43431 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
43446 #include <ieeefp.h>
43447 #endif
43448
43449 int
43450 main ()
43451 {
43452 _log10l(0);
43453 ;
43454 return 0;
43455 }
43456 _ACEOF
43457 if ac_fn_cxx_try_compile "$LINENO"; then :
43458 glibcxx_cv_func__log10l_use=yes
43459 else
43460 glibcxx_cv_func__log10l_use=no
43461 fi
43462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43463 ac_ext=c
43464 ac_cpp='$CPP $CPPFLAGS'
43465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43468
43469
43470 fi
43471
43472 fi
43473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43474 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43475
43476 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43477 for ac_func in _log10l
43478 do :
43479 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43480 if test "x$ac_cv_func__log10l" = x""yes; then :
43481 cat >>confdefs.h <<_ACEOF
43482 #define HAVE__LOG10L 1
43483 _ACEOF
43484
43485 fi
43486 done
43487
43488 fi
43489 fi
43490
43491
43492
43493
43494
43495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43496 $as_echo_n "checking for modfl declaration... " >&6; }
43497 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43498 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43499 $as_echo_n "(cached) " >&6
43500 else
43501
43502
43503 ac_ext=cpp
43504 ac_cpp='$CXXCPP $CPPFLAGS'
43505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43508
43509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43510 /* end confdefs.h. */
43511 #include <math.h>
43512 int
43513 main ()
43514 {
43515 modfl(0, 0);
43516 ;
43517 return 0;
43518 }
43519 _ACEOF
43520 if ac_fn_cxx_try_compile "$LINENO"; then :
43521 glibcxx_cv_func_modfl_use=yes
43522 else
43523 glibcxx_cv_func_modfl_use=no
43524 fi
43525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43526 ac_ext=c
43527 ac_cpp='$CPP $CPPFLAGS'
43528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43531
43532
43533 fi
43534
43535 fi
43536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43537 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43538
43539 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43540 for ac_func in modfl
43541 do :
43542 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43543 if test "x$ac_cv_func_modfl" = x""yes; then :
43544 cat >>confdefs.h <<_ACEOF
43545 #define HAVE_MODFL 1
43546 _ACEOF
43547
43548 fi
43549 done
43550
43551 else
43552
43553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43554 $as_echo_n "checking for _modfl declaration... " >&6; }
43555 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43556 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43557 $as_echo_n "(cached) " >&6
43558 else
43559
43560
43561 ac_ext=cpp
43562 ac_cpp='$CXXCPP $CPPFLAGS'
43563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43566
43567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43568 /* end confdefs.h. */
43569 #include <math.h>
43570 int
43571 main ()
43572 {
43573 _modfl(0, 0);
43574 ;
43575 return 0;
43576 }
43577 _ACEOF
43578 if ac_fn_cxx_try_compile "$LINENO"; then :
43579 glibcxx_cv_func__modfl_use=yes
43580 else
43581 glibcxx_cv_func__modfl_use=no
43582 fi
43583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43584 ac_ext=c
43585 ac_cpp='$CPP $CPPFLAGS'
43586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43589
43590
43591 fi
43592
43593 fi
43594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43595 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43596
43597 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43598 for ac_func in _modfl
43599 do :
43600 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43601 if test "x$ac_cv_func__modfl" = x""yes; then :
43602 cat >>confdefs.h <<_ACEOF
43603 #define HAVE__MODFL 1
43604 _ACEOF
43605
43606 fi
43607 done
43608
43609 fi
43610 fi
43611
43612
43613
43614
43615
43616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43617 $as_echo_n "checking for powl declaration... " >&6; }
43618 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43619 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43620 $as_echo_n "(cached) " >&6
43621 else
43622
43623
43624 ac_ext=cpp
43625 ac_cpp='$CXXCPP $CPPFLAGS'
43626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43629
43630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43631 /* end confdefs.h. */
43632 #include <math.h>
43633 int
43634 main ()
43635 {
43636 powl(0, 0);
43637 ;
43638 return 0;
43639 }
43640 _ACEOF
43641 if ac_fn_cxx_try_compile "$LINENO"; then :
43642 glibcxx_cv_func_powl_use=yes
43643 else
43644 glibcxx_cv_func_powl_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_powl_use" >&5
43658 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43659
43660 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43661 for ac_func in powl
43662 do :
43663 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43664 if test "x$ac_cv_func_powl" = x""yes; then :
43665 cat >>confdefs.h <<_ACEOF
43666 #define HAVE_POWL 1
43667 _ACEOF
43668
43669 fi
43670 done
43671
43672 else
43673
43674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43675 $as_echo_n "checking for _powl declaration... " >&6; }
43676 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43677 if test "${glibcxx_cv_func__powl_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 int
43692 main ()
43693 {
43694 _powl(0, 0);
43695 ;
43696 return 0;
43697 }
43698 _ACEOF
43699 if ac_fn_cxx_try_compile "$LINENO"; then :
43700 glibcxx_cv_func__powl_use=yes
43701 else
43702 glibcxx_cv_func__powl_use=no
43703 fi
43704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43705 ac_ext=c
43706 ac_cpp='$CPP $CPPFLAGS'
43707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43710
43711
43712 fi
43713
43714 fi
43715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43716 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43717
43718 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43719 for ac_func in _powl
43720 do :
43721 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43722 if test "x$ac_cv_func__powl" = x""yes; then :
43723 cat >>confdefs.h <<_ACEOF
43724 #define HAVE__POWL 1
43725 _ACEOF
43726
43727 fi
43728 done
43729
43730 fi
43731 fi
43732
43733
43734
43735
43736
43737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43738 $as_echo_n "checking for sqrtl declaration... " >&6; }
43739 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43740 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43741 $as_echo_n "(cached) " >&6
43742 else
43743
43744
43745 ac_ext=cpp
43746 ac_cpp='$CXXCPP $CPPFLAGS'
43747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43750
43751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43752 /* end confdefs.h. */
43753 #include <math.h>
43754 #ifdef HAVE_IEEEFP_H
43755 #include <ieeefp.h>
43756 #endif
43757
43758 int
43759 main ()
43760 {
43761 sqrtl(0);
43762 ;
43763 return 0;
43764 }
43765 _ACEOF
43766 if ac_fn_cxx_try_compile "$LINENO"; then :
43767 glibcxx_cv_func_sqrtl_use=yes
43768 else
43769 glibcxx_cv_func_sqrtl_use=no
43770 fi
43771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43772 ac_ext=c
43773 ac_cpp='$CPP $CPPFLAGS'
43774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43777
43778
43779 fi
43780
43781 fi
43782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43783 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43784
43785 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43786 for ac_func in sqrtl
43787 do :
43788 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43789 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43790 cat >>confdefs.h <<_ACEOF
43791 #define HAVE_SQRTL 1
43792 _ACEOF
43793
43794 fi
43795 done
43796
43797 else
43798
43799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43800 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43801 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43802 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43803 $as_echo_n "(cached) " >&6
43804 else
43805
43806
43807 ac_ext=cpp
43808 ac_cpp='$CXXCPP $CPPFLAGS'
43809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43812
43813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43814 /* end confdefs.h. */
43815 #include <math.h>
43816 #ifdef HAVE_IEEEFP_H
43817 #include <ieeefp.h>
43818 #endif
43819
43820 int
43821 main ()
43822 {
43823 _sqrtl(0);
43824 ;
43825 return 0;
43826 }
43827 _ACEOF
43828 if ac_fn_cxx_try_compile "$LINENO"; then :
43829 glibcxx_cv_func__sqrtl_use=yes
43830 else
43831 glibcxx_cv_func__sqrtl_use=no
43832 fi
43833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43834 ac_ext=c
43835 ac_cpp='$CPP $CPPFLAGS'
43836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43839
43840
43841 fi
43842
43843 fi
43844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43845 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43846
43847 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43848 for ac_func in _sqrtl
43849 do :
43850 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43851 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43852 cat >>confdefs.h <<_ACEOF
43853 #define HAVE__SQRTL 1
43854 _ACEOF
43855
43856 fi
43857 done
43858
43859 fi
43860 fi
43861
43862
43863
43864
43865
43866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43867 $as_echo_n "checking for sincosl declaration... " >&6; }
43868 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43869 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43870 $as_echo_n "(cached) " >&6
43871 else
43872
43873
43874 ac_ext=cpp
43875 ac_cpp='$CXXCPP $CPPFLAGS'
43876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43879
43880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43881 /* end confdefs.h. */
43882 #include <math.h>
43883 int
43884 main ()
43885 {
43886 sincosl(0, 0, 0);
43887 ;
43888 return 0;
43889 }
43890 _ACEOF
43891 if ac_fn_cxx_try_compile "$LINENO"; then :
43892 glibcxx_cv_func_sincosl_use=yes
43893 else
43894 glibcxx_cv_func_sincosl_use=no
43895 fi
43896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43897 ac_ext=c
43898 ac_cpp='$CPP $CPPFLAGS'
43899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43902
43903
43904 fi
43905
43906 fi
43907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43908 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43909
43910 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43911 for ac_func in sincosl
43912 do :
43913 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43914 if test "x$ac_cv_func_sincosl" = x""yes; then :
43915 cat >>confdefs.h <<_ACEOF
43916 #define HAVE_SINCOSL 1
43917 _ACEOF
43918
43919 fi
43920 done
43921
43922 else
43923
43924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43925 $as_echo_n "checking for _sincosl declaration... " >&6; }
43926 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43927 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43928 $as_echo_n "(cached) " >&6
43929 else
43930
43931
43932 ac_ext=cpp
43933 ac_cpp='$CXXCPP $CPPFLAGS'
43934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43937
43938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43939 /* end confdefs.h. */
43940 #include <math.h>
43941 int
43942 main ()
43943 {
43944 _sincosl(0, 0, 0);
43945 ;
43946 return 0;
43947 }
43948 _ACEOF
43949 if ac_fn_cxx_try_compile "$LINENO"; then :
43950 glibcxx_cv_func__sincosl_use=yes
43951 else
43952 glibcxx_cv_func__sincosl_use=no
43953 fi
43954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43955 ac_ext=c
43956 ac_cpp='$CPP $CPPFLAGS'
43957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43960
43961
43962 fi
43963
43964 fi
43965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43966 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43967
43968 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43969 for ac_func in _sincosl
43970 do :
43971 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43972 if test "x$ac_cv_func__sincosl" = x""yes; then :
43973 cat >>confdefs.h <<_ACEOF
43974 #define HAVE__SINCOSL 1
43975 _ACEOF
43976
43977 fi
43978 done
43979
43980 fi
43981 fi
43982
43983
43984
43985
43986
43987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43988 $as_echo_n "checking for finitel declaration... " >&6; }
43989 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43990 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43991 $as_echo_n "(cached) " >&6
43992 else
43993
43994
43995 ac_ext=cpp
43996 ac_cpp='$CXXCPP $CPPFLAGS'
43997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44000
44001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44002 /* end confdefs.h. */
44003 #include <math.h>
44004 #ifdef HAVE_IEEEFP_H
44005 #include <ieeefp.h>
44006 #endif
44007
44008 int
44009 main ()
44010 {
44011 finitel(0);
44012 ;
44013 return 0;
44014 }
44015 _ACEOF
44016 if ac_fn_cxx_try_compile "$LINENO"; then :
44017 glibcxx_cv_func_finitel_use=yes
44018 else
44019 glibcxx_cv_func_finitel_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_finitel_use" >&5
44033 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44034
44035 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44036 for ac_func in finitel
44037 do :
44038 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44039 if test "x$ac_cv_func_finitel" = x""yes; then :
44040 cat >>confdefs.h <<_ACEOF
44041 #define HAVE_FINITEL 1
44042 _ACEOF
44043
44044 fi
44045 done
44046
44047 else
44048
44049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44050 $as_echo_n "checking for _finitel declaration... " >&6; }
44051 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44052 if test "${glibcxx_cv_func__finitel_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 #ifdef HAVE_IEEEFP_H
44067 #include <ieeefp.h>
44068 #endif
44069
44070 int
44071 main ()
44072 {
44073 _finitel(0);
44074 ;
44075 return 0;
44076 }
44077 _ACEOF
44078 if ac_fn_cxx_try_compile "$LINENO"; then :
44079 glibcxx_cv_func__finitel_use=yes
44080 else
44081 glibcxx_cv_func__finitel_use=no
44082 fi
44083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44084 ac_ext=c
44085 ac_cpp='$CPP $CPPFLAGS'
44086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44089
44090
44091 fi
44092
44093 fi
44094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44095 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44096
44097 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44098 for ac_func in _finitel
44099 do :
44100 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44101 if test "x$ac_cv_func__finitel" = x""yes; then :
44102 cat >>confdefs.h <<_ACEOF
44103 #define HAVE__FINITEL 1
44104 _ACEOF
44105
44106 fi
44107 done
44108
44109 fi
44110 fi
44111
44112
44113
44114
44115 LIBS="$ac_save_LIBS"
44116 CXXFLAGS="$ac_save_CXXFLAGS"
44117
44118
44119 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44120 ac_save_CXXFLAGS="$CXXFLAGS"
44121 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44122
44123
44124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44125 $as_echo_n "checking for strtold declaration... " >&6; }
44126 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44127 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44128 $as_echo_n "(cached) " >&6
44129 else
44130
44131
44132 ac_ext=cpp
44133 ac_cpp='$CXXCPP $CPPFLAGS'
44134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44137
44138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44139 /* end confdefs.h. */
44140 #include <stdlib.h>
44141 int
44142 main ()
44143 {
44144 strtold(0, 0);
44145 ;
44146 return 0;
44147 }
44148 _ACEOF
44149 if ac_fn_cxx_try_compile "$LINENO"; then :
44150 glibcxx_cv_func_strtold_use=yes
44151 else
44152 glibcxx_cv_func_strtold_use=no
44153 fi
44154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44155 ac_ext=c
44156 ac_cpp='$CPP $CPPFLAGS'
44157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44160
44161
44162 fi
44163
44164 fi
44165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44166 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44167 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44168 for ac_func in strtold
44169 do :
44170 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44171 if test "x$ac_cv_func_strtold" = x""yes; then :
44172 cat >>confdefs.h <<_ACEOF
44173 #define HAVE_STRTOLD 1
44174 _ACEOF
44175
44176 fi
44177 done
44178
44179 fi
44180
44181
44182
44183
44184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44185 $as_echo_n "checking for strtof declaration... " >&6; }
44186 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44187 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44188 $as_echo_n "(cached) " >&6
44189 else
44190
44191
44192 ac_ext=cpp
44193 ac_cpp='$CXXCPP $CPPFLAGS'
44194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44197
44198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44199 /* end confdefs.h. */
44200 #include <stdlib.h>
44201 int
44202 main ()
44203 {
44204 strtof(0, 0);
44205 ;
44206 return 0;
44207 }
44208 _ACEOF
44209 if ac_fn_cxx_try_compile "$LINENO"; then :
44210 glibcxx_cv_func_strtof_use=yes
44211 else
44212 glibcxx_cv_func_strtof_use=no
44213 fi
44214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44215 ac_ext=c
44216 ac_cpp='$CPP $CPPFLAGS'
44217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44220
44221
44222 fi
44223
44224 fi
44225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44226 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44227 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44228 for ac_func in strtof
44229 do :
44230 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44231 if test "x$ac_cv_func_strtof" = x""yes; then :
44232 cat >>confdefs.h <<_ACEOF
44233 #define HAVE_STRTOF 1
44234 _ACEOF
44235
44236 fi
44237 done
44238
44239 fi
44240
44241
44242
44243
44244 CXXFLAGS="$ac_save_CXXFLAGS"
44245
44246 ;;
44247
44248 *djgpp)
44249 # GLIBCXX_CHECK_MATH_SUPPORT
44250 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44251
44252 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44253
44254 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44255
44256 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44257
44258 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44259
44260 ;;
44261
44262 *-freebsd*)
44263 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44264
44265
44266 # If we're not using GNU ld, then there's no point in even trying these
44267 # tests. Check for that first. We should have already tested for gld
44268 # by now (in libtool), but require it now just to be safe...
44269 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44270 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44271
44272
44273
44274 # The name set by libtool depends on the version of libtool. Shame on us
44275 # for depending on an impl detail, but c'est la vie. Older versions used
44276 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44277 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44278 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44279 # set (hence we're using an older libtool), then set it.
44280 if test x${with_gnu_ld+set} != xset; then
44281 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44282 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44283 with_gnu_ld=no
44284 else
44285 with_gnu_ld=$ac_cv_prog_gnu_ld
44286 fi
44287 fi
44288
44289 # Start by getting the version number. I think the libtool test already
44290 # does some of this, but throws away the result.
44291 glibcxx_ld_is_gold=no
44292 if test x"$with_gnu_ld" = x"yes"; then
44293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44294 $as_echo_n "checking for ld version... " >&6; }
44295
44296 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44297 glibcxx_ld_is_gold=yes
44298 fi
44299 ldver=`$LD --version 2>/dev/null |
44300 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'`
44301
44302 glibcxx_gnu_ld_version=`echo $ldver | \
44303 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44305 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44306 fi
44307
44308 # Set --gc-sections.
44309 glibcxx_have_gc_sections=no
44310 if test "$glibcxx_ld_is_gold" = "yes"; then
44311 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44312 glibcxx_have_gc_sections=yes
44313 fi
44314 else
44315 glibcxx_gcsections_min_ld=21602
44316 if test x"$with_gnu_ld" = x"yes" &&
44317 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44318 glibcxx_have_gc_sections=yes
44319 fi
44320 fi
44321 if test "$glibcxx_have_gc_sections" = "yes"; then
44322 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44323 # NB: This flag only works reliably after 2.16.1. Configure tests
44324 # for this are difficult, so hard wire a value that should work.
44325
44326 ac_test_CFLAGS="${CFLAGS+set}"
44327 ac_save_CFLAGS="$CFLAGS"
44328 CFLAGS='-Wl,--gc-sections'
44329
44330 # Check for -Wl,--gc-sections
44331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44332 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44333 if test x$gcc_no_link = xyes; then
44334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44335 fi
44336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44337 /* end confdefs.h. */
44338 int one(void) { return 1; }
44339 int two(void) { return 2; }
44340
44341 int
44342 main ()
44343 {
44344 two();
44345 ;
44346 return 0;
44347 }
44348 _ACEOF
44349 if ac_fn_c_try_link "$LINENO"; then :
44350 ac_gcsections=yes
44351 else
44352 ac_gcsections=no
44353 fi
44354 rm -f core conftest.err conftest.$ac_objext \
44355 conftest$ac_exeext conftest.$ac_ext
44356 if test "$ac_gcsections" = "yes"; then
44357 rm -f conftest.c
44358 touch conftest.c
44359 if $CC -c conftest.c; then
44360 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44361 grep "Warning: gc-sections option ignored" > /dev/null; then
44362 ac_gcsections=no
44363 fi
44364 fi
44365 rm -f conftest.c conftest.o conftest
44366 fi
44367 if test "$ac_gcsections" = "yes"; then
44368 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44369 fi
44370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44371 $as_echo "$ac_gcsections" >&6; }
44372
44373 if test "$ac_test_CFLAGS" = set; then
44374 CFLAGS="$ac_save_CFLAGS"
44375 else
44376 # this is the suspicious part
44377 CFLAGS=''
44378 fi
44379 fi
44380
44381 # Set -z,relro.
44382 # Note this is only for shared objects.
44383 ac_ld_relro=no
44384 if test x"$with_gnu_ld" = x"yes"; then
44385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44386 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44387 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44388 if test -n "$cxx_z_relo"; then
44389 OPT_LDFLAGS="-Wl,-z,relro"
44390 ac_ld_relro=yes
44391 fi
44392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44393 $as_echo "$ac_ld_relro" >&6; }
44394 fi
44395
44396 # Set linker optimization flags.
44397 if test x"$with_gnu_ld" = x"yes"; then
44398 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44399 fi
44400
44401
44402
44403
44404 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44405
44406 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44407
44408 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44409
44410 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44411
44412 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44413
44414 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44415
44416 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44417
44418 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44419
44420 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44421
44422
44423 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44424
44425 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44426
44427 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44428
44429 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44430
44431 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44432
44433 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44434
44435 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44436
44437 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44438
44439 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44440
44441 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44442
44443 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44444
44445 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44446
44447 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44448
44449 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44450
44451 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44452
44453 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44454
44455 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44456
44457 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44458
44459 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44460
44461 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44462
44463 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44464
44465 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44466
44467 if test x"long_double_math_on_this_cpu" = x"yes"; then
44468 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44469
44470 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44471
44472 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44473
44474 fi
44475 ;;
44476 *-hpux*)
44477 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44478
44479
44480 # If we're not using GNU ld, then there's no point in even trying these
44481 # tests. Check for that first. We should have already tested for gld
44482 # by now (in libtool), but require it now just to be safe...
44483 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44484 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44485
44486
44487
44488 # The name set by libtool depends on the version of libtool. Shame on us
44489 # for depending on an impl detail, but c'est la vie. Older versions used
44490 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44491 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44492 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44493 # set (hence we're using an older libtool), then set it.
44494 if test x${with_gnu_ld+set} != xset; then
44495 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44496 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44497 with_gnu_ld=no
44498 else
44499 with_gnu_ld=$ac_cv_prog_gnu_ld
44500 fi
44501 fi
44502
44503 # Start by getting the version number. I think the libtool test already
44504 # does some of this, but throws away the result.
44505 glibcxx_ld_is_gold=no
44506 if test x"$with_gnu_ld" = x"yes"; then
44507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44508 $as_echo_n "checking for ld version... " >&6; }
44509
44510 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44511 glibcxx_ld_is_gold=yes
44512 fi
44513 ldver=`$LD --version 2>/dev/null |
44514 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'`
44515
44516 glibcxx_gnu_ld_version=`echo $ldver | \
44517 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44519 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44520 fi
44521
44522 # Set --gc-sections.
44523 glibcxx_have_gc_sections=no
44524 if test "$glibcxx_ld_is_gold" = "yes"; then
44525 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44526 glibcxx_have_gc_sections=yes
44527 fi
44528 else
44529 glibcxx_gcsections_min_ld=21602
44530 if test x"$with_gnu_ld" = x"yes" &&
44531 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44532 glibcxx_have_gc_sections=yes
44533 fi
44534 fi
44535 if test "$glibcxx_have_gc_sections" = "yes"; then
44536 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44537 # NB: This flag only works reliably after 2.16.1. Configure tests
44538 # for this are difficult, so hard wire a value that should work.
44539
44540 ac_test_CFLAGS="${CFLAGS+set}"
44541 ac_save_CFLAGS="$CFLAGS"
44542 CFLAGS='-Wl,--gc-sections'
44543
44544 # Check for -Wl,--gc-sections
44545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44546 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44547 if test x$gcc_no_link = xyes; then
44548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44549 fi
44550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44551 /* end confdefs.h. */
44552 int one(void) { return 1; }
44553 int two(void) { return 2; }
44554
44555 int
44556 main ()
44557 {
44558 two();
44559 ;
44560 return 0;
44561 }
44562 _ACEOF
44563 if ac_fn_c_try_link "$LINENO"; then :
44564 ac_gcsections=yes
44565 else
44566 ac_gcsections=no
44567 fi
44568 rm -f core conftest.err conftest.$ac_objext \
44569 conftest$ac_exeext conftest.$ac_ext
44570 if test "$ac_gcsections" = "yes"; then
44571 rm -f conftest.c
44572 touch conftest.c
44573 if $CC -c conftest.c; then
44574 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44575 grep "Warning: gc-sections option ignored" > /dev/null; then
44576 ac_gcsections=no
44577 fi
44578 fi
44579 rm -f conftest.c conftest.o conftest
44580 fi
44581 if test "$ac_gcsections" = "yes"; then
44582 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44583 fi
44584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44585 $as_echo "$ac_gcsections" >&6; }
44586
44587 if test "$ac_test_CFLAGS" = set; then
44588 CFLAGS="$ac_save_CFLAGS"
44589 else
44590 # this is the suspicious part
44591 CFLAGS=''
44592 fi
44593 fi
44594
44595 # Set -z,relro.
44596 # Note this is only for shared objects.
44597 ac_ld_relro=no
44598 if test x"$with_gnu_ld" = x"yes"; then
44599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44600 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44601 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44602 if test -n "$cxx_z_relo"; then
44603 OPT_LDFLAGS="-Wl,-z,relro"
44604 ac_ld_relro=yes
44605 fi
44606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44607 $as_echo "$ac_ld_relro" >&6; }
44608 fi
44609
44610 # Set linker optimization flags.
44611 if test x"$with_gnu_ld" = x"yes"; then
44612 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44613 fi
44614
44615
44616
44617
44618
44619 # GLIBCXX_CHECK_MATH_SUPPORT
44620 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44621
44622 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44623
44624 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44625
44626 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44627
44628 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44629
44630 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44631
44632 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44633
44634 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44635
44636 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44637
44638 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44639
44640 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44641
44642 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44643
44644 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44645
44646 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44647
44648 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44649
44650 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44651
44652 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44653
44654 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44655
44656 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44657
44658 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44659
44660 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44661
44662
44663 # GLIBCXX_CHECK_STDLIB_SUPPORT
44664 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44665
44666
44667
44668
44669 # Check whether --enable-tls was given.
44670 if test "${enable_tls+set}" = set; then :
44671 enableval=$enable_tls;
44672 case "$enableval" in
44673 yes|no) ;;
44674 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44675 esac
44676
44677 else
44678 enable_tls=yes
44679 fi
44680
44681
44682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44683 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44684 if test "${gcc_cv_have_tls+set}" = set; then :
44685 $as_echo_n "(cached) " >&6
44686 else
44687
44688 if test "$cross_compiling" = yes; then :
44689 if test x$gcc_no_link = xyes; then
44690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44691 fi
44692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44693 /* end confdefs.h. */
44694 __thread int a; int b; int main() { return a = b; }
44695 _ACEOF
44696 if ac_fn_c_try_link "$LINENO"; then :
44697 chktls_save_LDFLAGS="$LDFLAGS"
44698 case $host in
44699 *-*-linux*)
44700 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44701 ;;
44702 esac
44703 chktls_save_CFLAGS="$CFLAGS"
44704 CFLAGS="-fPIC $CFLAGS"
44705 if test x$gcc_no_link = xyes; then
44706 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44707 fi
44708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44709 /* end confdefs.h. */
44710 int f() { return 0; }
44711 _ACEOF
44712 if ac_fn_c_try_link "$LINENO"; then :
44713 if test x$gcc_no_link = xyes; then
44714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44715 fi
44716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44717 /* end confdefs.h. */
44718 __thread int a; int b; int f() { return a = b; }
44719 _ACEOF
44720 if ac_fn_c_try_link "$LINENO"; then :
44721 gcc_cv_have_tls=yes
44722 else
44723 gcc_cv_have_tls=no
44724 fi
44725 rm -f core conftest.err conftest.$ac_objext \
44726 conftest$ac_exeext conftest.$ac_ext
44727 else
44728 gcc_cv_have_tls=yes
44729 fi
44730 rm -f core conftest.err conftest.$ac_objext \
44731 conftest$ac_exeext conftest.$ac_ext
44732 CFLAGS="$chktls_save_CFLAGS"
44733 LDFLAGS="$chktls_save_LDFLAGS"
44734 else
44735 gcc_cv_have_tls=no
44736 fi
44737 rm -f core conftest.err conftest.$ac_objext \
44738 conftest$ac_exeext conftest.$ac_ext
44739
44740
44741 else
44742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44743 /* end confdefs.h. */
44744 __thread int a; int b; int main() { return a = b; }
44745 _ACEOF
44746 if ac_fn_c_try_run "$LINENO"; then :
44747 chktls_save_LDFLAGS="$LDFLAGS"
44748 LDFLAGS="-static $LDFLAGS"
44749 if test x$gcc_no_link = xyes; then
44750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44751 fi
44752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44753 /* end confdefs.h. */
44754 int main() { return 0; }
44755 _ACEOF
44756 if ac_fn_c_try_link "$LINENO"; then :
44757 if test "$cross_compiling" = yes; then :
44758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44760 as_fn_error "cannot run test program while cross compiling
44761 See \`config.log' for more details." "$LINENO" 5; }
44762 else
44763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44764 /* end confdefs.h. */
44765 __thread int a; int b; int main() { return a = b; }
44766 _ACEOF
44767 if ac_fn_c_try_run "$LINENO"; then :
44768 gcc_cv_have_tls=yes
44769 else
44770 gcc_cv_have_tls=no
44771 fi
44772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44773 conftest.$ac_objext conftest.beam conftest.$ac_ext
44774 fi
44775
44776 else
44777 gcc_cv_have_tls=yes
44778 fi
44779 rm -f core conftest.err conftest.$ac_objext \
44780 conftest$ac_exeext conftest.$ac_ext
44781 LDFLAGS="$chktls_save_LDFLAGS"
44782 if test $gcc_cv_have_tls = yes; then
44783 chktls_save_CFLAGS="$CFLAGS"
44784 thread_CFLAGS=failed
44785 for flag in '' '-pthread' '-lpthread'; do
44786 CFLAGS="$flag $chktls_save_CFLAGS"
44787 if test x$gcc_no_link = xyes; then
44788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44789 fi
44790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44791 /* end confdefs.h. */
44792 #include <pthread.h>
44793 void *g(void *d) { return NULL; }
44794 int
44795 main ()
44796 {
44797 pthread_t t; pthread_create(&t,NULL,g,NULL);
44798 ;
44799 return 0;
44800 }
44801 _ACEOF
44802 if ac_fn_c_try_link "$LINENO"; then :
44803 thread_CFLAGS="$flag"
44804 fi
44805 rm -f core conftest.err conftest.$ac_objext \
44806 conftest$ac_exeext conftest.$ac_ext
44807 if test "X$thread_CFLAGS" != Xfailed; then
44808 break
44809 fi
44810 done
44811 CFLAGS="$chktls_save_CFLAGS"
44812 if test "X$thread_CFLAGS" != Xfailed; then
44813 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44814 if test "$cross_compiling" = yes; then :
44815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44817 as_fn_error "cannot run test program while cross compiling
44818 See \`config.log' for more details." "$LINENO" 5; }
44819 else
44820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44821 /* end confdefs.h. */
44822 #include <pthread.h>
44823 __thread int a;
44824 static int *volatile a_in_other_thread;
44825 static void *
44826 thread_func (void *arg)
44827 {
44828 a_in_other_thread = &a;
44829 return (void *)0;
44830 }
44831 int
44832 main ()
44833 {
44834 pthread_t thread;
44835 void *thread_retval;
44836 int *volatile a_in_main_thread;
44837 a_in_main_thread = &a;
44838 if (pthread_create (&thread, (pthread_attr_t *)0,
44839 thread_func, (void *)0))
44840 return 0;
44841 if (pthread_join (thread, &thread_retval))
44842 return 0;
44843 return (a_in_other_thread == a_in_main_thread);
44844 ;
44845 return 0;
44846 }
44847 _ACEOF
44848 if ac_fn_c_try_run "$LINENO"; then :
44849 gcc_cv_have_tls=yes
44850 else
44851 gcc_cv_have_tls=no
44852 fi
44853 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44854 conftest.$ac_objext conftest.beam conftest.$ac_ext
44855 fi
44856
44857 CFLAGS="$chktls_save_CFLAGS"
44858 fi
44859 fi
44860 else
44861 gcc_cv_have_tls=no
44862 fi
44863 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44864 conftest.$ac_objext conftest.beam conftest.$ac_ext
44865 fi
44866
44867 fi
44868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44869 $as_echo "$gcc_cv_have_tls" >&6; }
44870 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44871
44872 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44873
44874 fi
44875 case "$target" in
44876 *-hpux10*)
44877 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44878
44879 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44880
44881 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44882
44883 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44884
44885 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44886
44887 ;;
44888 esac
44889 ;;
44890 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44891
44892 # All these tests are for C++; save the language and the compiler flags.
44893 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44894 # found in GLIBCXX_CONFIGURE.
44895
44896 ac_ext=cpp
44897 ac_cpp='$CXXCPP $CPPFLAGS'
44898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44901
44902 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44903 ac_save_CXXFLAGS="$CXXFLAGS"
44904
44905 # Check for maintainer-mode bits.
44906 if test x"$USE_MAINTAINER_MODE" = xno; then
44907 WERROR=''
44908 else
44909 WERROR='-Werror'
44910 fi
44911
44912 # Check for -ffunction-sections -fdata-sections
44913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44914 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44915 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44917 /* end confdefs.h. */
44918 int foo; void bar() { };
44919 int
44920 main ()
44921 {
44922
44923 ;
44924 return 0;
44925 }
44926 _ACEOF
44927 if ac_fn_cxx_try_compile "$LINENO"; then :
44928 ac_fdsections=yes
44929 else
44930 ac_fdsections=no
44931 fi
44932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44933 if test "$ac_test_CXXFLAGS" = set; then
44934 CXXFLAGS="$ac_save_CXXFLAGS"
44935 else
44936 # this is the suspicious part
44937 CXXFLAGS=''
44938 fi
44939 if test x"$ac_fdsections" = x"yes"; then
44940 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44941 fi
44942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44943 $as_echo "$ac_fdsections" >&6; }
44944
44945 ac_ext=c
44946 ac_cpp='$CPP $CPPFLAGS'
44947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44950
44951
44952
44953
44954
44955 # If we're not using GNU ld, then there's no point in even trying these
44956 # tests. Check for that first. We should have already tested for gld
44957 # by now (in libtool), but require it now just to be safe...
44958 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44959 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44960
44961
44962
44963 # The name set by libtool depends on the version of libtool. Shame on us
44964 # for depending on an impl detail, but c'est la vie. Older versions used
44965 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44966 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44967 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44968 # set (hence we're using an older libtool), then set it.
44969 if test x${with_gnu_ld+set} != xset; then
44970 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44971 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44972 with_gnu_ld=no
44973 else
44974 with_gnu_ld=$ac_cv_prog_gnu_ld
44975 fi
44976 fi
44977
44978 # Start by getting the version number. I think the libtool test already
44979 # does some of this, but throws away the result.
44980 glibcxx_ld_is_gold=no
44981 if test x"$with_gnu_ld" = x"yes"; then
44982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44983 $as_echo_n "checking for ld version... " >&6; }
44984
44985 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44986 glibcxx_ld_is_gold=yes
44987 fi
44988 ldver=`$LD --version 2>/dev/null |
44989 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'`
44990
44991 glibcxx_gnu_ld_version=`echo $ldver | \
44992 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44994 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44995 fi
44996
44997 # Set --gc-sections.
44998 glibcxx_have_gc_sections=no
44999 if test "$glibcxx_ld_is_gold" = "yes"; then
45000 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45001 glibcxx_have_gc_sections=yes
45002 fi
45003 else
45004 glibcxx_gcsections_min_ld=21602
45005 if test x"$with_gnu_ld" = x"yes" &&
45006 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45007 glibcxx_have_gc_sections=yes
45008 fi
45009 fi
45010 if test "$glibcxx_have_gc_sections" = "yes"; then
45011 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45012 # NB: This flag only works reliably after 2.16.1. Configure tests
45013 # for this are difficult, so hard wire a value that should work.
45014
45015 ac_test_CFLAGS="${CFLAGS+set}"
45016 ac_save_CFLAGS="$CFLAGS"
45017 CFLAGS='-Wl,--gc-sections'
45018
45019 # Check for -Wl,--gc-sections
45020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45021 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45022 if test x$gcc_no_link = xyes; then
45023 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45024 fi
45025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45026 /* end confdefs.h. */
45027 int one(void) { return 1; }
45028 int two(void) { return 2; }
45029
45030 int
45031 main ()
45032 {
45033 two();
45034 ;
45035 return 0;
45036 }
45037 _ACEOF
45038 if ac_fn_c_try_link "$LINENO"; then :
45039 ac_gcsections=yes
45040 else
45041 ac_gcsections=no
45042 fi
45043 rm -f core conftest.err conftest.$ac_objext \
45044 conftest$ac_exeext conftest.$ac_ext
45045 if test "$ac_gcsections" = "yes"; then
45046 rm -f conftest.c
45047 touch conftest.c
45048 if $CC -c conftest.c; then
45049 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45050 grep "Warning: gc-sections option ignored" > /dev/null; then
45051 ac_gcsections=no
45052 fi
45053 fi
45054 rm -f conftest.c conftest.o conftest
45055 fi
45056 if test "$ac_gcsections" = "yes"; then
45057 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45058 fi
45059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45060 $as_echo "$ac_gcsections" >&6; }
45061
45062 if test "$ac_test_CFLAGS" = set; then
45063 CFLAGS="$ac_save_CFLAGS"
45064 else
45065 # this is the suspicious part
45066 CFLAGS=''
45067 fi
45068 fi
45069
45070 # Set -z,relro.
45071 # Note this is only for shared objects.
45072 ac_ld_relro=no
45073 if test x"$with_gnu_ld" = x"yes"; then
45074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45075 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45076 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45077 if test -n "$cxx_z_relo"; then
45078 OPT_LDFLAGS="-Wl,-z,relro"
45079 ac_ld_relro=yes
45080 fi
45081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45082 $as_echo "$ac_ld_relro" >&6; }
45083 fi
45084
45085 # Set linker optimization flags.
45086 if test x"$with_gnu_ld" = x"yes"; then
45087 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45088 fi
45089
45090
45091
45092
45093
45094 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45095 ac_save_CXXFLAGS="$CXXFLAGS"
45096 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45097
45098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45099 $as_echo_n "checking for sin in -lm... " >&6; }
45100 if test "${ac_cv_lib_m_sin+set}" = set; then :
45101 $as_echo_n "(cached) " >&6
45102 else
45103 ac_check_lib_save_LIBS=$LIBS
45104 LIBS="-lm $LIBS"
45105 if test x$gcc_no_link = xyes; then
45106 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45107 fi
45108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45109 /* end confdefs.h. */
45110
45111 /* Override any GCC internal prototype to avoid an error.
45112 Use char because int might match the return type of a GCC
45113 builtin and then its argument prototype would still apply. */
45114 #ifdef __cplusplus
45115 extern "C"
45116 #endif
45117 char sin ();
45118 int
45119 main ()
45120 {
45121 return sin ();
45122 ;
45123 return 0;
45124 }
45125 _ACEOF
45126 if ac_fn_c_try_link "$LINENO"; then :
45127 ac_cv_lib_m_sin=yes
45128 else
45129 ac_cv_lib_m_sin=no
45130 fi
45131 rm -f core conftest.err conftest.$ac_objext \
45132 conftest$ac_exeext conftest.$ac_ext
45133 LIBS=$ac_check_lib_save_LIBS
45134 fi
45135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45136 $as_echo "$ac_cv_lib_m_sin" >&6; }
45137 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45138 libm="-lm"
45139 fi
45140
45141 ac_save_LIBS="$LIBS"
45142 LIBS="$LIBS $libm"
45143
45144
45145
45146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45147 $as_echo_n "checking for isinf declaration... " >&6; }
45148 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45149 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45150 $as_echo_n "(cached) " >&6
45151 else
45152
45153
45154 ac_ext=cpp
45155 ac_cpp='$CXXCPP $CPPFLAGS'
45156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45159
45160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45161 /* end confdefs.h. */
45162 #include <math.h>
45163 #ifdef HAVE_IEEEFP_H
45164 #include <ieeefp.h>
45165 #endif
45166
45167 int
45168 main ()
45169 {
45170 isinf(0);
45171 ;
45172 return 0;
45173 }
45174 _ACEOF
45175 if ac_fn_cxx_try_compile "$LINENO"; then :
45176 glibcxx_cv_func_isinf_use=yes
45177 else
45178 glibcxx_cv_func_isinf_use=no
45179 fi
45180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45181 ac_ext=c
45182 ac_cpp='$CPP $CPPFLAGS'
45183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45186
45187
45188 fi
45189
45190 fi
45191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45192 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45193
45194 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45195 for ac_func in isinf
45196 do :
45197 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45198 if test "x$ac_cv_func_isinf" = x""yes; then :
45199 cat >>confdefs.h <<_ACEOF
45200 #define HAVE_ISINF 1
45201 _ACEOF
45202
45203 fi
45204 done
45205
45206 else
45207
45208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45209 $as_echo_n "checking for _isinf declaration... " >&6; }
45210 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45211 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45212 $as_echo_n "(cached) " >&6
45213 else
45214
45215
45216 ac_ext=cpp
45217 ac_cpp='$CXXCPP $CPPFLAGS'
45218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45221
45222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45223 /* end confdefs.h. */
45224 #include <math.h>
45225 #ifdef HAVE_IEEEFP_H
45226 #include <ieeefp.h>
45227 #endif
45228
45229 int
45230 main ()
45231 {
45232 _isinf(0);
45233 ;
45234 return 0;
45235 }
45236 _ACEOF
45237 if ac_fn_cxx_try_compile "$LINENO"; then :
45238 glibcxx_cv_func__isinf_use=yes
45239 else
45240 glibcxx_cv_func__isinf_use=no
45241 fi
45242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45243 ac_ext=c
45244 ac_cpp='$CPP $CPPFLAGS'
45245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45248
45249
45250 fi
45251
45252 fi
45253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45254 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45255
45256 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45257 for ac_func in _isinf
45258 do :
45259 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45260 if test "x$ac_cv_func__isinf" = x""yes; then :
45261 cat >>confdefs.h <<_ACEOF
45262 #define HAVE__ISINF 1
45263 _ACEOF
45264
45265 fi
45266 done
45267
45268 fi
45269 fi
45270
45271
45272
45273
45274
45275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45276 $as_echo_n "checking for isnan declaration... " >&6; }
45277 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45278 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45279 $as_echo_n "(cached) " >&6
45280 else
45281
45282
45283 ac_ext=cpp
45284 ac_cpp='$CXXCPP $CPPFLAGS'
45285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45288
45289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45290 /* end confdefs.h. */
45291 #include <math.h>
45292 #ifdef HAVE_IEEEFP_H
45293 #include <ieeefp.h>
45294 #endif
45295
45296 int
45297 main ()
45298 {
45299 isnan(0);
45300 ;
45301 return 0;
45302 }
45303 _ACEOF
45304 if ac_fn_cxx_try_compile "$LINENO"; then :
45305 glibcxx_cv_func_isnan_use=yes
45306 else
45307 glibcxx_cv_func_isnan_use=no
45308 fi
45309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45310 ac_ext=c
45311 ac_cpp='$CPP $CPPFLAGS'
45312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45315
45316
45317 fi
45318
45319 fi
45320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45321 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45322
45323 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45324 for ac_func in isnan
45325 do :
45326 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45327 if test "x$ac_cv_func_isnan" = x""yes; then :
45328 cat >>confdefs.h <<_ACEOF
45329 #define HAVE_ISNAN 1
45330 _ACEOF
45331
45332 fi
45333 done
45334
45335 else
45336
45337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45338 $as_echo_n "checking for _isnan declaration... " >&6; }
45339 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45340 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45341 $as_echo_n "(cached) " >&6
45342 else
45343
45344
45345 ac_ext=cpp
45346 ac_cpp='$CXXCPP $CPPFLAGS'
45347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45350
45351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45352 /* end confdefs.h. */
45353 #include <math.h>
45354 #ifdef HAVE_IEEEFP_H
45355 #include <ieeefp.h>
45356 #endif
45357
45358 int
45359 main ()
45360 {
45361 _isnan(0);
45362 ;
45363 return 0;
45364 }
45365 _ACEOF
45366 if ac_fn_cxx_try_compile "$LINENO"; then :
45367 glibcxx_cv_func__isnan_use=yes
45368 else
45369 glibcxx_cv_func__isnan_use=no
45370 fi
45371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45372 ac_ext=c
45373 ac_cpp='$CPP $CPPFLAGS'
45374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45377
45378
45379 fi
45380
45381 fi
45382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45383 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45384
45385 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45386 for ac_func in _isnan
45387 do :
45388 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45389 if test "x$ac_cv_func__isnan" = x""yes; then :
45390 cat >>confdefs.h <<_ACEOF
45391 #define HAVE__ISNAN 1
45392 _ACEOF
45393
45394 fi
45395 done
45396
45397 fi
45398 fi
45399
45400
45401
45402
45403
45404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45405 $as_echo_n "checking for finite declaration... " >&6; }
45406 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45407 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45408 $as_echo_n "(cached) " >&6
45409 else
45410
45411
45412 ac_ext=cpp
45413 ac_cpp='$CXXCPP $CPPFLAGS'
45414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45417
45418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45419 /* end confdefs.h. */
45420 #include <math.h>
45421 #ifdef HAVE_IEEEFP_H
45422 #include <ieeefp.h>
45423 #endif
45424
45425 int
45426 main ()
45427 {
45428 finite(0);
45429 ;
45430 return 0;
45431 }
45432 _ACEOF
45433 if ac_fn_cxx_try_compile "$LINENO"; then :
45434 glibcxx_cv_func_finite_use=yes
45435 else
45436 glibcxx_cv_func_finite_use=no
45437 fi
45438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45439 ac_ext=c
45440 ac_cpp='$CPP $CPPFLAGS'
45441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45444
45445
45446 fi
45447
45448 fi
45449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45450 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45451
45452 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45453 for ac_func in finite
45454 do :
45455 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45456 if test "x$ac_cv_func_finite" = x""yes; then :
45457 cat >>confdefs.h <<_ACEOF
45458 #define HAVE_FINITE 1
45459 _ACEOF
45460
45461 fi
45462 done
45463
45464 else
45465
45466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45467 $as_echo_n "checking for _finite declaration... " >&6; }
45468 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45469 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45470 $as_echo_n "(cached) " >&6
45471 else
45472
45473
45474 ac_ext=cpp
45475 ac_cpp='$CXXCPP $CPPFLAGS'
45476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45479
45480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45481 /* end confdefs.h. */
45482 #include <math.h>
45483 #ifdef HAVE_IEEEFP_H
45484 #include <ieeefp.h>
45485 #endif
45486
45487 int
45488 main ()
45489 {
45490 _finite(0);
45491 ;
45492 return 0;
45493 }
45494 _ACEOF
45495 if ac_fn_cxx_try_compile "$LINENO"; then :
45496 glibcxx_cv_func__finite_use=yes
45497 else
45498 glibcxx_cv_func__finite_use=no
45499 fi
45500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45501 ac_ext=c
45502 ac_cpp='$CPP $CPPFLAGS'
45503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45506
45507
45508 fi
45509
45510 fi
45511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45512 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45513
45514 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45515 for ac_func in _finite
45516 do :
45517 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45518 if test "x$ac_cv_func__finite" = x""yes; then :
45519 cat >>confdefs.h <<_ACEOF
45520 #define HAVE__FINITE 1
45521 _ACEOF
45522
45523 fi
45524 done
45525
45526 fi
45527 fi
45528
45529
45530
45531
45532
45533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45534 $as_echo_n "checking for sincos declaration... " >&6; }
45535 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45536 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45537 $as_echo_n "(cached) " >&6
45538 else
45539
45540
45541 ac_ext=cpp
45542 ac_cpp='$CXXCPP $CPPFLAGS'
45543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45546
45547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45548 /* end confdefs.h. */
45549 #include <math.h>
45550 int
45551 main ()
45552 {
45553 sincos(0, 0, 0);
45554 ;
45555 return 0;
45556 }
45557 _ACEOF
45558 if ac_fn_cxx_try_compile "$LINENO"; then :
45559 glibcxx_cv_func_sincos_use=yes
45560 else
45561 glibcxx_cv_func_sincos_use=no
45562 fi
45563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45564 ac_ext=c
45565 ac_cpp='$CPP $CPPFLAGS'
45566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45569
45570
45571 fi
45572
45573 fi
45574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45575 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45576
45577 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45578 for ac_func in sincos
45579 do :
45580 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45581 if test "x$ac_cv_func_sincos" = x""yes; then :
45582 cat >>confdefs.h <<_ACEOF
45583 #define HAVE_SINCOS 1
45584 _ACEOF
45585
45586 fi
45587 done
45588
45589 else
45590
45591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45592 $as_echo_n "checking for _sincos declaration... " >&6; }
45593 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45594 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45595 $as_echo_n "(cached) " >&6
45596 else
45597
45598
45599 ac_ext=cpp
45600 ac_cpp='$CXXCPP $CPPFLAGS'
45601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45604
45605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45606 /* end confdefs.h. */
45607 #include <math.h>
45608 int
45609 main ()
45610 {
45611 _sincos(0, 0, 0);
45612 ;
45613 return 0;
45614 }
45615 _ACEOF
45616 if ac_fn_cxx_try_compile "$LINENO"; then :
45617 glibcxx_cv_func__sincos_use=yes
45618 else
45619 glibcxx_cv_func__sincos_use=no
45620 fi
45621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45622 ac_ext=c
45623 ac_cpp='$CPP $CPPFLAGS'
45624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45627
45628
45629 fi
45630
45631 fi
45632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45633 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45634
45635 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45636 for ac_func in _sincos
45637 do :
45638 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45639 if test "x$ac_cv_func__sincos" = x""yes; then :
45640 cat >>confdefs.h <<_ACEOF
45641 #define HAVE__SINCOS 1
45642 _ACEOF
45643
45644 fi
45645 done
45646
45647 fi
45648 fi
45649
45650
45651
45652
45653
45654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45655 $as_echo_n "checking for fpclass declaration... " >&6; }
45656 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45657 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45658 $as_echo_n "(cached) " >&6
45659 else
45660
45661
45662 ac_ext=cpp
45663 ac_cpp='$CXXCPP $CPPFLAGS'
45664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45667
45668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45669 /* end confdefs.h. */
45670 #include <math.h>
45671 #ifdef HAVE_IEEEFP_H
45672 #include <ieeefp.h>
45673 #endif
45674
45675 int
45676 main ()
45677 {
45678 fpclass(0);
45679 ;
45680 return 0;
45681 }
45682 _ACEOF
45683 if ac_fn_cxx_try_compile "$LINENO"; then :
45684 glibcxx_cv_func_fpclass_use=yes
45685 else
45686 glibcxx_cv_func_fpclass_use=no
45687 fi
45688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45689 ac_ext=c
45690 ac_cpp='$CPP $CPPFLAGS'
45691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45694
45695
45696 fi
45697
45698 fi
45699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45700 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45701
45702 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45703 for ac_func in fpclass
45704 do :
45705 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45706 if test "x$ac_cv_func_fpclass" = x""yes; then :
45707 cat >>confdefs.h <<_ACEOF
45708 #define HAVE_FPCLASS 1
45709 _ACEOF
45710
45711 fi
45712 done
45713
45714 else
45715
45716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45717 $as_echo_n "checking for _fpclass declaration... " >&6; }
45718 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45719 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45720 $as_echo_n "(cached) " >&6
45721 else
45722
45723
45724 ac_ext=cpp
45725 ac_cpp='$CXXCPP $CPPFLAGS'
45726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45729
45730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45731 /* end confdefs.h. */
45732 #include <math.h>
45733 #ifdef HAVE_IEEEFP_H
45734 #include <ieeefp.h>
45735 #endif
45736
45737 int
45738 main ()
45739 {
45740 _fpclass(0);
45741 ;
45742 return 0;
45743 }
45744 _ACEOF
45745 if ac_fn_cxx_try_compile "$LINENO"; then :
45746 glibcxx_cv_func__fpclass_use=yes
45747 else
45748 glibcxx_cv_func__fpclass_use=no
45749 fi
45750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45751 ac_ext=c
45752 ac_cpp='$CPP $CPPFLAGS'
45753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45756
45757
45758 fi
45759
45760 fi
45761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45762 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45763
45764 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45765 for ac_func in _fpclass
45766 do :
45767 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45768 if test "x$ac_cv_func__fpclass" = x""yes; then :
45769 cat >>confdefs.h <<_ACEOF
45770 #define HAVE__FPCLASS 1
45771 _ACEOF
45772
45773 fi
45774 done
45775
45776 fi
45777 fi
45778
45779
45780
45781
45782
45783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45784 $as_echo_n "checking for qfpclass declaration... " >&6; }
45785 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45786 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45787 $as_echo_n "(cached) " >&6
45788 else
45789
45790
45791 ac_ext=cpp
45792 ac_cpp='$CXXCPP $CPPFLAGS'
45793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45796
45797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45798 /* end confdefs.h. */
45799 #include <math.h>
45800 #ifdef HAVE_IEEEFP_H
45801 #include <ieeefp.h>
45802 #endif
45803
45804 int
45805 main ()
45806 {
45807 qfpclass(0);
45808 ;
45809 return 0;
45810 }
45811 _ACEOF
45812 if ac_fn_cxx_try_compile "$LINENO"; then :
45813 glibcxx_cv_func_qfpclass_use=yes
45814 else
45815 glibcxx_cv_func_qfpclass_use=no
45816 fi
45817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45818 ac_ext=c
45819 ac_cpp='$CPP $CPPFLAGS'
45820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45823
45824
45825 fi
45826
45827 fi
45828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45829 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45830
45831 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45832 for ac_func in qfpclass
45833 do :
45834 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45835 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45836 cat >>confdefs.h <<_ACEOF
45837 #define HAVE_QFPCLASS 1
45838 _ACEOF
45839
45840 fi
45841 done
45842
45843 else
45844
45845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45846 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45847 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45848 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45849 $as_echo_n "(cached) " >&6
45850 else
45851
45852
45853 ac_ext=cpp
45854 ac_cpp='$CXXCPP $CPPFLAGS'
45855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45858
45859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45860 /* end confdefs.h. */
45861 #include <math.h>
45862 #ifdef HAVE_IEEEFP_H
45863 #include <ieeefp.h>
45864 #endif
45865
45866 int
45867 main ()
45868 {
45869 _qfpclass(0);
45870 ;
45871 return 0;
45872 }
45873 _ACEOF
45874 if ac_fn_cxx_try_compile "$LINENO"; then :
45875 glibcxx_cv_func__qfpclass_use=yes
45876 else
45877 glibcxx_cv_func__qfpclass_use=no
45878 fi
45879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45880 ac_ext=c
45881 ac_cpp='$CPP $CPPFLAGS'
45882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45885
45886
45887 fi
45888
45889 fi
45890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45891 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45892
45893 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45894 for ac_func in _qfpclass
45895 do :
45896 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45897 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45898 cat >>confdefs.h <<_ACEOF
45899 #define HAVE__QFPCLASS 1
45900 _ACEOF
45901
45902 fi
45903 done
45904
45905 fi
45906 fi
45907
45908
45909
45910
45911
45912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45913 $as_echo_n "checking for hypot declaration... " >&6; }
45914 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45915 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45916 $as_echo_n "(cached) " >&6
45917 else
45918
45919
45920 ac_ext=cpp
45921 ac_cpp='$CXXCPP $CPPFLAGS'
45922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45925
45926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45927 /* end confdefs.h. */
45928 #include <math.h>
45929 int
45930 main ()
45931 {
45932 hypot(0, 0);
45933 ;
45934 return 0;
45935 }
45936 _ACEOF
45937 if ac_fn_cxx_try_compile "$LINENO"; then :
45938 glibcxx_cv_func_hypot_use=yes
45939 else
45940 glibcxx_cv_func_hypot_use=no
45941 fi
45942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45943 ac_ext=c
45944 ac_cpp='$CPP $CPPFLAGS'
45945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45948
45949
45950 fi
45951
45952 fi
45953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45954 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45955
45956 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45957 for ac_func in hypot
45958 do :
45959 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45960 if test "x$ac_cv_func_hypot" = x""yes; then :
45961 cat >>confdefs.h <<_ACEOF
45962 #define HAVE_HYPOT 1
45963 _ACEOF
45964
45965 fi
45966 done
45967
45968 else
45969
45970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45971 $as_echo_n "checking for _hypot declaration... " >&6; }
45972 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45973 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45974 $as_echo_n "(cached) " >&6
45975 else
45976
45977
45978 ac_ext=cpp
45979 ac_cpp='$CXXCPP $CPPFLAGS'
45980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45983
45984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45985 /* end confdefs.h. */
45986 #include <math.h>
45987 int
45988 main ()
45989 {
45990 _hypot(0, 0);
45991 ;
45992 return 0;
45993 }
45994 _ACEOF
45995 if ac_fn_cxx_try_compile "$LINENO"; then :
45996 glibcxx_cv_func__hypot_use=yes
45997 else
45998 glibcxx_cv_func__hypot_use=no
45999 fi
46000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46001 ac_ext=c
46002 ac_cpp='$CPP $CPPFLAGS'
46003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46006
46007
46008 fi
46009
46010 fi
46011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46012 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46013
46014 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46015 for ac_func in _hypot
46016 do :
46017 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46018 if test "x$ac_cv_func__hypot" = x""yes; then :
46019 cat >>confdefs.h <<_ACEOF
46020 #define HAVE__HYPOT 1
46021 _ACEOF
46022
46023 fi
46024 done
46025
46026 fi
46027 fi
46028
46029
46030
46031
46032
46033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46034 $as_echo_n "checking for float trig functions... " >&6; }
46035 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46036 $as_echo_n "(cached) " >&6
46037 else
46038
46039
46040 ac_ext=cpp
46041 ac_cpp='$CXXCPP $CPPFLAGS'
46042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46045
46046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46047 /* end confdefs.h. */
46048 #include <math.h>
46049 int
46050 main ()
46051 {
46052 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46053 ;
46054 return 0;
46055 }
46056 _ACEOF
46057 if ac_fn_cxx_try_compile "$LINENO"; then :
46058 glibcxx_cv_func_float_trig_use=yes
46059 else
46060 glibcxx_cv_func_float_trig_use=no
46061 fi
46062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46063 ac_ext=c
46064 ac_cpp='$CPP $CPPFLAGS'
46065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46068
46069 fi
46070
46071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46072 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46073 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46074 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46075 do :
46076 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46077 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46078 eval as_val=\$$as_ac_var
46079 if test "x$as_val" = x""yes; then :
46080 cat >>confdefs.h <<_ACEOF
46081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46082 _ACEOF
46083
46084 fi
46085 done
46086
46087 else
46088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46089 $as_echo_n "checking for _float trig functions... " >&6; }
46090 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46091 $as_echo_n "(cached) " >&6
46092 else
46093
46094
46095 ac_ext=cpp
46096 ac_cpp='$CXXCPP $CPPFLAGS'
46097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46100
46101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46102 /* end confdefs.h. */
46103 #include <math.h>
46104 int
46105 main ()
46106 {
46107 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46108 ;
46109 return 0;
46110 }
46111 _ACEOF
46112 if ac_fn_cxx_try_compile "$LINENO"; then :
46113 glibcxx_cv_func__float_trig_use=yes
46114 else
46115 glibcxx_cv_func__float_trig_use=no
46116 fi
46117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46118 ac_ext=c
46119 ac_cpp='$CPP $CPPFLAGS'
46120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46123
46124 fi
46125
46126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46127 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46128 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46129 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46130 do :
46131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46133 eval as_val=\$$as_ac_var
46134 if test "x$as_val" = x""yes; then :
46135 cat >>confdefs.h <<_ACEOF
46136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46137 _ACEOF
46138
46139 fi
46140 done
46141
46142 fi
46143 fi
46144
46145
46146
46147
46148
46149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46150 $as_echo_n "checking for float round functions... " >&6; }
46151 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46152 $as_echo_n "(cached) " >&6
46153 else
46154
46155
46156 ac_ext=cpp
46157 ac_cpp='$CXXCPP $CPPFLAGS'
46158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46161
46162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46163 /* end confdefs.h. */
46164 #include <math.h>
46165 int
46166 main ()
46167 {
46168 ceilf (0); floorf (0);
46169 ;
46170 return 0;
46171 }
46172 _ACEOF
46173 if ac_fn_cxx_try_compile "$LINENO"; then :
46174 glibcxx_cv_func_float_round_use=yes
46175 else
46176 glibcxx_cv_func_float_round_use=no
46177 fi
46178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46179 ac_ext=c
46180 ac_cpp='$CPP $CPPFLAGS'
46181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46184
46185 fi
46186
46187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46188 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46189 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46190 for ac_func in ceilf floorf
46191 do :
46192 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46193 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46194 eval as_val=\$$as_ac_var
46195 if test "x$as_val" = x""yes; then :
46196 cat >>confdefs.h <<_ACEOF
46197 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46198 _ACEOF
46199
46200 fi
46201 done
46202
46203 else
46204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46205 $as_echo_n "checking for _float round functions... " >&6; }
46206 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46207 $as_echo_n "(cached) " >&6
46208 else
46209
46210
46211 ac_ext=cpp
46212 ac_cpp='$CXXCPP $CPPFLAGS'
46213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46216
46217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46218 /* end confdefs.h. */
46219 #include <math.h>
46220 int
46221 main ()
46222 {
46223 _ceilf (0); _floorf (0);
46224 ;
46225 return 0;
46226 }
46227 _ACEOF
46228 if ac_fn_cxx_try_compile "$LINENO"; then :
46229 glibcxx_cv_func__float_round_use=yes
46230 else
46231 glibcxx_cv_func__float_round_use=no
46232 fi
46233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46234 ac_ext=c
46235 ac_cpp='$CPP $CPPFLAGS'
46236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46239
46240 fi
46241
46242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46243 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46244 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46245 for ac_func in _ceilf _floorf
46246 do :
46247 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46248 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46249 eval as_val=\$$as_ac_var
46250 if test "x$as_val" = x""yes; then :
46251 cat >>confdefs.h <<_ACEOF
46252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46253 _ACEOF
46254
46255 fi
46256 done
46257
46258 fi
46259 fi
46260
46261
46262
46263
46264
46265
46266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46267 $as_echo_n "checking for expf declaration... " >&6; }
46268 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46269 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46270 $as_echo_n "(cached) " >&6
46271 else
46272
46273
46274 ac_ext=cpp
46275 ac_cpp='$CXXCPP $CPPFLAGS'
46276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46279
46280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46281 /* end confdefs.h. */
46282 #include <math.h>
46283 #ifdef HAVE_IEEEFP_H
46284 #include <ieeefp.h>
46285 #endif
46286
46287 int
46288 main ()
46289 {
46290 expf(0);
46291 ;
46292 return 0;
46293 }
46294 _ACEOF
46295 if ac_fn_cxx_try_compile "$LINENO"; then :
46296 glibcxx_cv_func_expf_use=yes
46297 else
46298 glibcxx_cv_func_expf_use=no
46299 fi
46300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46301 ac_ext=c
46302 ac_cpp='$CPP $CPPFLAGS'
46303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46306
46307
46308 fi
46309
46310 fi
46311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46312 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46313
46314 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46315 for ac_func in expf
46316 do :
46317 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46318 if test "x$ac_cv_func_expf" = x""yes; then :
46319 cat >>confdefs.h <<_ACEOF
46320 #define HAVE_EXPF 1
46321 _ACEOF
46322
46323 fi
46324 done
46325
46326 else
46327
46328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46329 $as_echo_n "checking for _expf declaration... " >&6; }
46330 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46331 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46332 $as_echo_n "(cached) " >&6
46333 else
46334
46335
46336 ac_ext=cpp
46337 ac_cpp='$CXXCPP $CPPFLAGS'
46338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46341
46342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46343 /* end confdefs.h. */
46344 #include <math.h>
46345 #ifdef HAVE_IEEEFP_H
46346 #include <ieeefp.h>
46347 #endif
46348
46349 int
46350 main ()
46351 {
46352 _expf(0);
46353 ;
46354 return 0;
46355 }
46356 _ACEOF
46357 if ac_fn_cxx_try_compile "$LINENO"; then :
46358 glibcxx_cv_func__expf_use=yes
46359 else
46360 glibcxx_cv_func__expf_use=no
46361 fi
46362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46363 ac_ext=c
46364 ac_cpp='$CPP $CPPFLAGS'
46365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46368
46369
46370 fi
46371
46372 fi
46373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46374 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46375
46376 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46377 for ac_func in _expf
46378 do :
46379 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46380 if test "x$ac_cv_func__expf" = x""yes; then :
46381 cat >>confdefs.h <<_ACEOF
46382 #define HAVE__EXPF 1
46383 _ACEOF
46384
46385 fi
46386 done
46387
46388 fi
46389 fi
46390
46391
46392
46393
46394
46395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46396 $as_echo_n "checking for isnanf declaration... " >&6; }
46397 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46398 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46399 $as_echo_n "(cached) " >&6
46400 else
46401
46402
46403 ac_ext=cpp
46404 ac_cpp='$CXXCPP $CPPFLAGS'
46405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46408
46409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46410 /* end confdefs.h. */
46411 #include <math.h>
46412 #ifdef HAVE_IEEEFP_H
46413 #include <ieeefp.h>
46414 #endif
46415
46416 int
46417 main ()
46418 {
46419 isnanf(0);
46420 ;
46421 return 0;
46422 }
46423 _ACEOF
46424 if ac_fn_cxx_try_compile "$LINENO"; then :
46425 glibcxx_cv_func_isnanf_use=yes
46426 else
46427 glibcxx_cv_func_isnanf_use=no
46428 fi
46429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46430 ac_ext=c
46431 ac_cpp='$CPP $CPPFLAGS'
46432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46435
46436
46437 fi
46438
46439 fi
46440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46441 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46442
46443 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46444 for ac_func in isnanf
46445 do :
46446 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46447 if test "x$ac_cv_func_isnanf" = x""yes; then :
46448 cat >>confdefs.h <<_ACEOF
46449 #define HAVE_ISNANF 1
46450 _ACEOF
46451
46452 fi
46453 done
46454
46455 else
46456
46457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46458 $as_echo_n "checking for _isnanf declaration... " >&6; }
46459 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46460 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46461 $as_echo_n "(cached) " >&6
46462 else
46463
46464
46465 ac_ext=cpp
46466 ac_cpp='$CXXCPP $CPPFLAGS'
46467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46470
46471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46472 /* end confdefs.h. */
46473 #include <math.h>
46474 #ifdef HAVE_IEEEFP_H
46475 #include <ieeefp.h>
46476 #endif
46477
46478 int
46479 main ()
46480 {
46481 _isnanf(0);
46482 ;
46483 return 0;
46484 }
46485 _ACEOF
46486 if ac_fn_cxx_try_compile "$LINENO"; then :
46487 glibcxx_cv_func__isnanf_use=yes
46488 else
46489 glibcxx_cv_func__isnanf_use=no
46490 fi
46491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46492 ac_ext=c
46493 ac_cpp='$CPP $CPPFLAGS'
46494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46497
46498
46499 fi
46500
46501 fi
46502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46503 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46504
46505 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46506 for ac_func in _isnanf
46507 do :
46508 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46509 if test "x$ac_cv_func__isnanf" = x""yes; then :
46510 cat >>confdefs.h <<_ACEOF
46511 #define HAVE__ISNANF 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 isinff declaration" >&5
46525 $as_echo_n "checking for isinff declaration... " >&6; }
46526 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46527 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46528 $as_echo_n "(cached) " >&6
46529 else
46530
46531
46532 ac_ext=cpp
46533 ac_cpp='$CXXCPP $CPPFLAGS'
46534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46537
46538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46539 /* end confdefs.h. */
46540 #include <math.h>
46541 #ifdef HAVE_IEEEFP_H
46542 #include <ieeefp.h>
46543 #endif
46544
46545 int
46546 main ()
46547 {
46548 isinff(0);
46549 ;
46550 return 0;
46551 }
46552 _ACEOF
46553 if ac_fn_cxx_try_compile "$LINENO"; then :
46554 glibcxx_cv_func_isinff_use=yes
46555 else
46556 glibcxx_cv_func_isinff_use=no
46557 fi
46558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46559 ac_ext=c
46560 ac_cpp='$CPP $CPPFLAGS'
46561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46564
46565
46566 fi
46567
46568 fi
46569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46570 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46571
46572 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46573 for ac_func in isinff
46574 do :
46575 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46576 if test "x$ac_cv_func_isinff" = x""yes; then :
46577 cat >>confdefs.h <<_ACEOF
46578 #define HAVE_ISINFF 1
46579 _ACEOF
46580
46581 fi
46582 done
46583
46584 else
46585
46586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46587 $as_echo_n "checking for _isinff declaration... " >&6; }
46588 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46589 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46590 $as_echo_n "(cached) " >&6
46591 else
46592
46593
46594 ac_ext=cpp
46595 ac_cpp='$CXXCPP $CPPFLAGS'
46596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46599
46600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46601 /* end confdefs.h. */
46602 #include <math.h>
46603 #ifdef HAVE_IEEEFP_H
46604 #include <ieeefp.h>
46605 #endif
46606
46607 int
46608 main ()
46609 {
46610 _isinff(0);
46611 ;
46612 return 0;
46613 }
46614 _ACEOF
46615 if ac_fn_cxx_try_compile "$LINENO"; then :
46616 glibcxx_cv_func__isinff_use=yes
46617 else
46618 glibcxx_cv_func__isinff_use=no
46619 fi
46620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46621 ac_ext=c
46622 ac_cpp='$CPP $CPPFLAGS'
46623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46626
46627
46628 fi
46629
46630 fi
46631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46632 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46633
46634 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46635 for ac_func in _isinff
46636 do :
46637 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46638 if test "x$ac_cv_func__isinff" = x""yes; then :
46639 cat >>confdefs.h <<_ACEOF
46640 #define HAVE__ISINFF 1
46641 _ACEOF
46642
46643 fi
46644 done
46645
46646 fi
46647 fi
46648
46649
46650
46651
46652
46653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46654 $as_echo_n "checking for atan2f declaration... " >&6; }
46655 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46656 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46657 $as_echo_n "(cached) " >&6
46658 else
46659
46660
46661 ac_ext=cpp
46662 ac_cpp='$CXXCPP $CPPFLAGS'
46663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46666
46667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46668 /* end confdefs.h. */
46669 #include <math.h>
46670 int
46671 main ()
46672 {
46673 atan2f(0, 0);
46674 ;
46675 return 0;
46676 }
46677 _ACEOF
46678 if ac_fn_cxx_try_compile "$LINENO"; then :
46679 glibcxx_cv_func_atan2f_use=yes
46680 else
46681 glibcxx_cv_func_atan2f_use=no
46682 fi
46683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46684 ac_ext=c
46685 ac_cpp='$CPP $CPPFLAGS'
46686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46689
46690
46691 fi
46692
46693 fi
46694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46695 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46696
46697 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46698 for ac_func in atan2f
46699 do :
46700 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46701 if test "x$ac_cv_func_atan2f" = x""yes; then :
46702 cat >>confdefs.h <<_ACEOF
46703 #define HAVE_ATAN2F 1
46704 _ACEOF
46705
46706 fi
46707 done
46708
46709 else
46710
46711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46712 $as_echo_n "checking for _atan2f declaration... " >&6; }
46713 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46714 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46715 $as_echo_n "(cached) " >&6
46716 else
46717
46718
46719 ac_ext=cpp
46720 ac_cpp='$CXXCPP $CPPFLAGS'
46721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46724
46725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46726 /* end confdefs.h. */
46727 #include <math.h>
46728 int
46729 main ()
46730 {
46731 _atan2f(0, 0);
46732 ;
46733 return 0;
46734 }
46735 _ACEOF
46736 if ac_fn_cxx_try_compile "$LINENO"; then :
46737 glibcxx_cv_func__atan2f_use=yes
46738 else
46739 glibcxx_cv_func__atan2f_use=no
46740 fi
46741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46742 ac_ext=c
46743 ac_cpp='$CPP $CPPFLAGS'
46744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46747
46748
46749 fi
46750
46751 fi
46752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46753 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46754
46755 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46756 for ac_func in _atan2f
46757 do :
46758 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46759 if test "x$ac_cv_func__atan2f" = x""yes; then :
46760 cat >>confdefs.h <<_ACEOF
46761 #define HAVE__ATAN2F 1
46762 _ACEOF
46763
46764 fi
46765 done
46766
46767 fi
46768 fi
46769
46770
46771
46772
46773
46774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46775 $as_echo_n "checking for fabsf declaration... " >&6; }
46776 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46777 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46778 $as_echo_n "(cached) " >&6
46779 else
46780
46781
46782 ac_ext=cpp
46783 ac_cpp='$CXXCPP $CPPFLAGS'
46784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46787
46788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46789 /* end confdefs.h. */
46790 #include <math.h>
46791 #ifdef HAVE_IEEEFP_H
46792 #include <ieeefp.h>
46793 #endif
46794
46795 int
46796 main ()
46797 {
46798 fabsf(0);
46799 ;
46800 return 0;
46801 }
46802 _ACEOF
46803 if ac_fn_cxx_try_compile "$LINENO"; then :
46804 glibcxx_cv_func_fabsf_use=yes
46805 else
46806 glibcxx_cv_func_fabsf_use=no
46807 fi
46808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46809 ac_ext=c
46810 ac_cpp='$CPP $CPPFLAGS'
46811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46814
46815
46816 fi
46817
46818 fi
46819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46820 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46821
46822 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46823 for ac_func in fabsf
46824 do :
46825 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46826 if test "x$ac_cv_func_fabsf" = x""yes; then :
46827 cat >>confdefs.h <<_ACEOF
46828 #define HAVE_FABSF 1
46829 _ACEOF
46830
46831 fi
46832 done
46833
46834 else
46835
46836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46837 $as_echo_n "checking for _fabsf declaration... " >&6; }
46838 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46839 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46840 $as_echo_n "(cached) " >&6
46841 else
46842
46843
46844 ac_ext=cpp
46845 ac_cpp='$CXXCPP $CPPFLAGS'
46846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46849
46850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46851 /* end confdefs.h. */
46852 #include <math.h>
46853 #ifdef HAVE_IEEEFP_H
46854 #include <ieeefp.h>
46855 #endif
46856
46857 int
46858 main ()
46859 {
46860 _fabsf(0);
46861 ;
46862 return 0;
46863 }
46864 _ACEOF
46865 if ac_fn_cxx_try_compile "$LINENO"; then :
46866 glibcxx_cv_func__fabsf_use=yes
46867 else
46868 glibcxx_cv_func__fabsf_use=no
46869 fi
46870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46871 ac_ext=c
46872 ac_cpp='$CPP $CPPFLAGS'
46873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46876
46877
46878 fi
46879
46880 fi
46881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46882 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46883
46884 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46885 for ac_func in _fabsf
46886 do :
46887 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46888 if test "x$ac_cv_func__fabsf" = x""yes; then :
46889 cat >>confdefs.h <<_ACEOF
46890 #define HAVE__FABSF 1
46891 _ACEOF
46892
46893 fi
46894 done
46895
46896 fi
46897 fi
46898
46899
46900
46901
46902
46903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46904 $as_echo_n "checking for fmodf declaration... " >&6; }
46905 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46906 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46907 $as_echo_n "(cached) " >&6
46908 else
46909
46910
46911 ac_ext=cpp
46912 ac_cpp='$CXXCPP $CPPFLAGS'
46913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46916
46917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46918 /* end confdefs.h. */
46919 #include <math.h>
46920 int
46921 main ()
46922 {
46923 fmodf(0, 0);
46924 ;
46925 return 0;
46926 }
46927 _ACEOF
46928 if ac_fn_cxx_try_compile "$LINENO"; then :
46929 glibcxx_cv_func_fmodf_use=yes
46930 else
46931 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
46945 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46946
46947 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46948 for ac_func in fmodf
46949 do :
46950 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46951 if test "x$ac_cv_func_fmodf" = x""yes; then :
46952 cat >>confdefs.h <<_ACEOF
46953 #define HAVE_FMODF 1
46954 _ACEOF
46955
46956 fi
46957 done
46958
46959 else
46960
46961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46962 $as_echo_n "checking for _fmodf declaration... " >&6; }
46963 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46964 if test "${glibcxx_cv_func__fmodf_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 int
46979 main ()
46980 {
46981 _fmodf(0, 0);
46982 ;
46983 return 0;
46984 }
46985 _ACEOF
46986 if ac_fn_cxx_try_compile "$LINENO"; then :
46987 glibcxx_cv_func__fmodf_use=yes
46988 else
46989 glibcxx_cv_func__fmodf_use=no
46990 fi
46991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46992 ac_ext=c
46993 ac_cpp='$CPP $CPPFLAGS'
46994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46997
46998
46999 fi
47000
47001 fi
47002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47003 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47004
47005 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47006 for ac_func in _fmodf
47007 do :
47008 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47009 if test "x$ac_cv_func__fmodf" = x""yes; then :
47010 cat >>confdefs.h <<_ACEOF
47011 #define HAVE__FMODF 1
47012 _ACEOF
47013
47014 fi
47015 done
47016
47017 fi
47018 fi
47019
47020
47021
47022
47023
47024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47025 $as_echo_n "checking for frexpf declaration... " >&6; }
47026 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47027 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47028 $as_echo_n "(cached) " >&6
47029 else
47030
47031
47032 ac_ext=cpp
47033 ac_cpp='$CXXCPP $CPPFLAGS'
47034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47037
47038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47039 /* end confdefs.h. */
47040 #include <math.h>
47041 int
47042 main ()
47043 {
47044 frexpf(0, 0);
47045 ;
47046 return 0;
47047 }
47048 _ACEOF
47049 if ac_fn_cxx_try_compile "$LINENO"; then :
47050 glibcxx_cv_func_frexpf_use=yes
47051 else
47052 glibcxx_cv_func_frexpf_use=no
47053 fi
47054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47055 ac_ext=c
47056 ac_cpp='$CPP $CPPFLAGS'
47057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47060
47061
47062 fi
47063
47064 fi
47065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47066 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47067
47068 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47069 for ac_func in frexpf
47070 do :
47071 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47072 if test "x$ac_cv_func_frexpf" = x""yes; then :
47073 cat >>confdefs.h <<_ACEOF
47074 #define HAVE_FREXPF 1
47075 _ACEOF
47076
47077 fi
47078 done
47079
47080 else
47081
47082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47083 $as_echo_n "checking for _frexpf declaration... " >&6; }
47084 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47085 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47086 $as_echo_n "(cached) " >&6
47087 else
47088
47089
47090 ac_ext=cpp
47091 ac_cpp='$CXXCPP $CPPFLAGS'
47092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47095
47096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47097 /* end confdefs.h. */
47098 #include <math.h>
47099 int
47100 main ()
47101 {
47102 _frexpf(0, 0);
47103 ;
47104 return 0;
47105 }
47106 _ACEOF
47107 if ac_fn_cxx_try_compile "$LINENO"; then :
47108 glibcxx_cv_func__frexpf_use=yes
47109 else
47110 glibcxx_cv_func__frexpf_use=no
47111 fi
47112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47113 ac_ext=c
47114 ac_cpp='$CPP $CPPFLAGS'
47115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47118
47119
47120 fi
47121
47122 fi
47123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47124 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47125
47126 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47127 for ac_func in _frexpf
47128 do :
47129 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47130 if test "x$ac_cv_func__frexpf" = x""yes; then :
47131 cat >>confdefs.h <<_ACEOF
47132 #define HAVE__FREXPF 1
47133 _ACEOF
47134
47135 fi
47136 done
47137
47138 fi
47139 fi
47140
47141
47142
47143
47144
47145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47146 $as_echo_n "checking for hypotf declaration... " >&6; }
47147 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47148 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47149 $as_echo_n "(cached) " >&6
47150 else
47151
47152
47153 ac_ext=cpp
47154 ac_cpp='$CXXCPP $CPPFLAGS'
47155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47158
47159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47160 /* end confdefs.h. */
47161 #include <math.h>
47162 int
47163 main ()
47164 {
47165 hypotf(0, 0);
47166 ;
47167 return 0;
47168 }
47169 _ACEOF
47170 if ac_fn_cxx_try_compile "$LINENO"; then :
47171 glibcxx_cv_func_hypotf_use=yes
47172 else
47173 glibcxx_cv_func_hypotf_use=no
47174 fi
47175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47176 ac_ext=c
47177 ac_cpp='$CPP $CPPFLAGS'
47178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47181
47182
47183 fi
47184
47185 fi
47186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47187 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47188
47189 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47190 for ac_func in hypotf
47191 do :
47192 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47193 if test "x$ac_cv_func_hypotf" = x""yes; then :
47194 cat >>confdefs.h <<_ACEOF
47195 #define HAVE_HYPOTF 1
47196 _ACEOF
47197
47198 fi
47199 done
47200
47201 else
47202
47203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47204 $as_echo_n "checking for _hypotf declaration... " >&6; }
47205 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47206 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47207 $as_echo_n "(cached) " >&6
47208 else
47209
47210
47211 ac_ext=cpp
47212 ac_cpp='$CXXCPP $CPPFLAGS'
47213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47216
47217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47218 /* end confdefs.h. */
47219 #include <math.h>
47220 int
47221 main ()
47222 {
47223 _hypotf(0, 0);
47224 ;
47225 return 0;
47226 }
47227 _ACEOF
47228 if ac_fn_cxx_try_compile "$LINENO"; then :
47229 glibcxx_cv_func__hypotf_use=yes
47230 else
47231 glibcxx_cv_func__hypotf_use=no
47232 fi
47233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47234 ac_ext=c
47235 ac_cpp='$CPP $CPPFLAGS'
47236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47239
47240
47241 fi
47242
47243 fi
47244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47245 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47246
47247 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47248 for ac_func in _hypotf
47249 do :
47250 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47251 if test "x$ac_cv_func__hypotf" = x""yes; then :
47252 cat >>confdefs.h <<_ACEOF
47253 #define HAVE__HYPOTF 1
47254 _ACEOF
47255
47256 fi
47257 done
47258
47259 fi
47260 fi
47261
47262
47263
47264
47265
47266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47267 $as_echo_n "checking for ldexpf declaration... " >&6; }
47268 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47269 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47270 $as_echo_n "(cached) " >&6
47271 else
47272
47273
47274 ac_ext=cpp
47275 ac_cpp='$CXXCPP $CPPFLAGS'
47276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47279
47280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47281 /* end confdefs.h. */
47282 #include <math.h>
47283 int
47284 main ()
47285 {
47286 ldexpf(0, 0);
47287 ;
47288 return 0;
47289 }
47290 _ACEOF
47291 if ac_fn_cxx_try_compile "$LINENO"; then :
47292 glibcxx_cv_func_ldexpf_use=yes
47293 else
47294 glibcxx_cv_func_ldexpf_use=no
47295 fi
47296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47297 ac_ext=c
47298 ac_cpp='$CPP $CPPFLAGS'
47299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47302
47303
47304 fi
47305
47306 fi
47307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47308 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47309
47310 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47311 for ac_func in ldexpf
47312 do :
47313 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47314 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47315 cat >>confdefs.h <<_ACEOF
47316 #define HAVE_LDEXPF 1
47317 _ACEOF
47318
47319 fi
47320 done
47321
47322 else
47323
47324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47325 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47326 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47327 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47328 $as_echo_n "(cached) " >&6
47329 else
47330
47331
47332 ac_ext=cpp
47333 ac_cpp='$CXXCPP $CPPFLAGS'
47334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47337
47338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47339 /* end confdefs.h. */
47340 #include <math.h>
47341 int
47342 main ()
47343 {
47344 _ldexpf(0, 0);
47345 ;
47346 return 0;
47347 }
47348 _ACEOF
47349 if ac_fn_cxx_try_compile "$LINENO"; then :
47350 glibcxx_cv_func__ldexpf_use=yes
47351 else
47352 glibcxx_cv_func__ldexpf_use=no
47353 fi
47354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47355 ac_ext=c
47356 ac_cpp='$CPP $CPPFLAGS'
47357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47360
47361
47362 fi
47363
47364 fi
47365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47366 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47367
47368 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47369 for ac_func in _ldexpf
47370 do :
47371 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47372 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47373 cat >>confdefs.h <<_ACEOF
47374 #define HAVE__LDEXPF 1
47375 _ACEOF
47376
47377 fi
47378 done
47379
47380 fi
47381 fi
47382
47383
47384
47385
47386
47387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47388 $as_echo_n "checking for logf declaration... " >&6; }
47389 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47390 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47391 $as_echo_n "(cached) " >&6
47392 else
47393
47394
47395 ac_ext=cpp
47396 ac_cpp='$CXXCPP $CPPFLAGS'
47397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47400
47401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47402 /* end confdefs.h. */
47403 #include <math.h>
47404 #ifdef HAVE_IEEEFP_H
47405 #include <ieeefp.h>
47406 #endif
47407
47408 int
47409 main ()
47410 {
47411 logf(0);
47412 ;
47413 return 0;
47414 }
47415 _ACEOF
47416 if ac_fn_cxx_try_compile "$LINENO"; then :
47417 glibcxx_cv_func_logf_use=yes
47418 else
47419 glibcxx_cv_func_logf_use=no
47420 fi
47421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47422 ac_ext=c
47423 ac_cpp='$CPP $CPPFLAGS'
47424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47427
47428
47429 fi
47430
47431 fi
47432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47433 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47434
47435 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47436 for ac_func in logf
47437 do :
47438 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47439 if test "x$ac_cv_func_logf" = x""yes; then :
47440 cat >>confdefs.h <<_ACEOF
47441 #define HAVE_LOGF 1
47442 _ACEOF
47443
47444 fi
47445 done
47446
47447 else
47448
47449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47450 $as_echo_n "checking for _logf declaration... " >&6; }
47451 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47452 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47453 $as_echo_n "(cached) " >&6
47454 else
47455
47456
47457 ac_ext=cpp
47458 ac_cpp='$CXXCPP $CPPFLAGS'
47459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47462
47463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47464 /* end confdefs.h. */
47465 #include <math.h>
47466 #ifdef HAVE_IEEEFP_H
47467 #include <ieeefp.h>
47468 #endif
47469
47470 int
47471 main ()
47472 {
47473 _logf(0);
47474 ;
47475 return 0;
47476 }
47477 _ACEOF
47478 if ac_fn_cxx_try_compile "$LINENO"; then :
47479 glibcxx_cv_func__logf_use=yes
47480 else
47481 glibcxx_cv_func__logf_use=no
47482 fi
47483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47484 ac_ext=c
47485 ac_cpp='$CPP $CPPFLAGS'
47486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47489
47490
47491 fi
47492
47493 fi
47494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47495 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47496
47497 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47498 for ac_func in _logf
47499 do :
47500 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47501 if test "x$ac_cv_func__logf" = x""yes; then :
47502 cat >>confdefs.h <<_ACEOF
47503 #define HAVE__LOGF 1
47504 _ACEOF
47505
47506 fi
47507 done
47508
47509 fi
47510 fi
47511
47512
47513
47514
47515
47516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47517 $as_echo_n "checking for log10f declaration... " >&6; }
47518 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47519 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47520 $as_echo_n "(cached) " >&6
47521 else
47522
47523
47524 ac_ext=cpp
47525 ac_cpp='$CXXCPP $CPPFLAGS'
47526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47529
47530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47531 /* end confdefs.h. */
47532 #include <math.h>
47533 #ifdef HAVE_IEEEFP_H
47534 #include <ieeefp.h>
47535 #endif
47536
47537 int
47538 main ()
47539 {
47540 log10f(0);
47541 ;
47542 return 0;
47543 }
47544 _ACEOF
47545 if ac_fn_cxx_try_compile "$LINENO"; then :
47546 glibcxx_cv_func_log10f_use=yes
47547 else
47548 glibcxx_cv_func_log10f_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_log10f_use" >&5
47562 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47563
47564 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47565 for ac_func in log10f
47566 do :
47567 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47568 if test "x$ac_cv_func_log10f" = x""yes; then :
47569 cat >>confdefs.h <<_ACEOF
47570 #define HAVE_LOG10F 1
47571 _ACEOF
47572
47573 fi
47574 done
47575
47576 else
47577
47578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47579 $as_echo_n "checking for _log10f declaration... " >&6; }
47580 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47581 if test "${glibcxx_cv_func__log10f_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 #ifdef HAVE_IEEEFP_H
47596 #include <ieeefp.h>
47597 #endif
47598
47599 int
47600 main ()
47601 {
47602 _log10f(0);
47603 ;
47604 return 0;
47605 }
47606 _ACEOF
47607 if ac_fn_cxx_try_compile "$LINENO"; then :
47608 glibcxx_cv_func__log10f_use=yes
47609 else
47610 glibcxx_cv_func__log10f_use=no
47611 fi
47612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47613 ac_ext=c
47614 ac_cpp='$CPP $CPPFLAGS'
47615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47618
47619
47620 fi
47621
47622 fi
47623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47624 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47625
47626 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47627 for ac_func in _log10f
47628 do :
47629 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47630 if test "x$ac_cv_func__log10f" = x""yes; then :
47631 cat >>confdefs.h <<_ACEOF
47632 #define HAVE__LOG10F 1
47633 _ACEOF
47634
47635 fi
47636 done
47637
47638 fi
47639 fi
47640
47641
47642
47643
47644
47645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47646 $as_echo_n "checking for modff declaration... " >&6; }
47647 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47648 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47649 $as_echo_n "(cached) " >&6
47650 else
47651
47652
47653 ac_ext=cpp
47654 ac_cpp='$CXXCPP $CPPFLAGS'
47655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47658
47659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47660 /* end confdefs.h. */
47661 #include <math.h>
47662 int
47663 main ()
47664 {
47665 modff(0, 0);
47666 ;
47667 return 0;
47668 }
47669 _ACEOF
47670 if ac_fn_cxx_try_compile "$LINENO"; then :
47671 glibcxx_cv_func_modff_use=yes
47672 else
47673 glibcxx_cv_func_modff_use=no
47674 fi
47675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47676 ac_ext=c
47677 ac_cpp='$CPP $CPPFLAGS'
47678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47681
47682
47683 fi
47684
47685 fi
47686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47687 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47688
47689 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47690 for ac_func in modff
47691 do :
47692 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47693 if test "x$ac_cv_func_modff" = x""yes; then :
47694 cat >>confdefs.h <<_ACEOF
47695 #define HAVE_MODFF 1
47696 _ACEOF
47697
47698 fi
47699 done
47700
47701 else
47702
47703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47704 $as_echo_n "checking for _modff declaration... " >&6; }
47705 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47706 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47707 $as_echo_n "(cached) " >&6
47708 else
47709
47710
47711 ac_ext=cpp
47712 ac_cpp='$CXXCPP $CPPFLAGS'
47713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47716
47717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47718 /* end confdefs.h. */
47719 #include <math.h>
47720 int
47721 main ()
47722 {
47723 _modff(0, 0);
47724 ;
47725 return 0;
47726 }
47727 _ACEOF
47728 if ac_fn_cxx_try_compile "$LINENO"; then :
47729 glibcxx_cv_func__modff_use=yes
47730 else
47731 glibcxx_cv_func__modff_use=no
47732 fi
47733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47734 ac_ext=c
47735 ac_cpp='$CPP $CPPFLAGS'
47736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47739
47740
47741 fi
47742
47743 fi
47744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47745 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47746
47747 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47748 for ac_func in _modff
47749 do :
47750 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47751 if test "x$ac_cv_func__modff" = x""yes; then :
47752 cat >>confdefs.h <<_ACEOF
47753 #define HAVE__MODFF 1
47754 _ACEOF
47755
47756 fi
47757 done
47758
47759 fi
47760 fi
47761
47762
47763
47764
47765
47766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47767 $as_echo_n "checking for modf declaration... " >&6; }
47768 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47769 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47770 $as_echo_n "(cached) " >&6
47771 else
47772
47773
47774 ac_ext=cpp
47775 ac_cpp='$CXXCPP $CPPFLAGS'
47776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47779
47780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47781 /* end confdefs.h. */
47782 #include <math.h>
47783 int
47784 main ()
47785 {
47786 modf(0, 0);
47787 ;
47788 return 0;
47789 }
47790 _ACEOF
47791 if ac_fn_cxx_try_compile "$LINENO"; then :
47792 glibcxx_cv_func_modf_use=yes
47793 else
47794 glibcxx_cv_func_modf_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_modf_use" >&5
47808 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47809
47810 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47811 for ac_func in modf
47812 do :
47813 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47814 if test "x$ac_cv_func_modf" = x""yes; then :
47815 cat >>confdefs.h <<_ACEOF
47816 #define HAVE_MODF 1
47817 _ACEOF
47818
47819 fi
47820 done
47821
47822 else
47823
47824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47825 $as_echo_n "checking for _modf declaration... " >&6; }
47826 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47827 if test "${glibcxx_cv_func__modf_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 int
47842 main ()
47843 {
47844 _modf(0, 0);
47845 ;
47846 return 0;
47847 }
47848 _ACEOF
47849 if ac_fn_cxx_try_compile "$LINENO"; then :
47850 glibcxx_cv_func__modf_use=yes
47851 else
47852 glibcxx_cv_func__modf_use=no
47853 fi
47854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47855 ac_ext=c
47856 ac_cpp='$CPP $CPPFLAGS'
47857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47860
47861
47862 fi
47863
47864 fi
47865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47866 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47867
47868 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47869 for ac_func in _modf
47870 do :
47871 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47872 if test "x$ac_cv_func__modf" = x""yes; then :
47873 cat >>confdefs.h <<_ACEOF
47874 #define HAVE__MODF 1
47875 _ACEOF
47876
47877 fi
47878 done
47879
47880 fi
47881 fi
47882
47883
47884
47885
47886
47887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47888 $as_echo_n "checking for powf declaration... " >&6; }
47889 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47890 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47891 $as_echo_n "(cached) " >&6
47892 else
47893
47894
47895 ac_ext=cpp
47896 ac_cpp='$CXXCPP $CPPFLAGS'
47897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47900
47901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47902 /* end confdefs.h. */
47903 #include <math.h>
47904 int
47905 main ()
47906 {
47907 powf(0, 0);
47908 ;
47909 return 0;
47910 }
47911 _ACEOF
47912 if ac_fn_cxx_try_compile "$LINENO"; then :
47913 glibcxx_cv_func_powf_use=yes
47914 else
47915 glibcxx_cv_func_powf_use=no
47916 fi
47917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47918 ac_ext=c
47919 ac_cpp='$CPP $CPPFLAGS'
47920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47923
47924
47925 fi
47926
47927 fi
47928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47929 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47930
47931 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47932 for ac_func in powf
47933 do :
47934 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47935 if test "x$ac_cv_func_powf" = x""yes; then :
47936 cat >>confdefs.h <<_ACEOF
47937 #define HAVE_POWF 1
47938 _ACEOF
47939
47940 fi
47941 done
47942
47943 else
47944
47945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47946 $as_echo_n "checking for _powf declaration... " >&6; }
47947 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47948 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47949 $as_echo_n "(cached) " >&6
47950 else
47951
47952
47953 ac_ext=cpp
47954 ac_cpp='$CXXCPP $CPPFLAGS'
47955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47958
47959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47960 /* end confdefs.h. */
47961 #include <math.h>
47962 int
47963 main ()
47964 {
47965 _powf(0, 0);
47966 ;
47967 return 0;
47968 }
47969 _ACEOF
47970 if ac_fn_cxx_try_compile "$LINENO"; then :
47971 glibcxx_cv_func__powf_use=yes
47972 else
47973 glibcxx_cv_func__powf_use=no
47974 fi
47975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47976 ac_ext=c
47977 ac_cpp='$CPP $CPPFLAGS'
47978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47981
47982
47983 fi
47984
47985 fi
47986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47987 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47988
47989 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47990 for ac_func in _powf
47991 do :
47992 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47993 if test "x$ac_cv_func__powf" = x""yes; then :
47994 cat >>confdefs.h <<_ACEOF
47995 #define HAVE__POWF 1
47996 _ACEOF
47997
47998 fi
47999 done
48000
48001 fi
48002 fi
48003
48004
48005
48006
48007
48008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48009 $as_echo_n "checking for sqrtf declaration... " >&6; }
48010 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48011 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48012 $as_echo_n "(cached) " >&6
48013 else
48014
48015
48016 ac_ext=cpp
48017 ac_cpp='$CXXCPP $CPPFLAGS'
48018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48021
48022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48023 /* end confdefs.h. */
48024 #include <math.h>
48025 #ifdef HAVE_IEEEFP_H
48026 #include <ieeefp.h>
48027 #endif
48028
48029 int
48030 main ()
48031 {
48032 sqrtf(0);
48033 ;
48034 return 0;
48035 }
48036 _ACEOF
48037 if ac_fn_cxx_try_compile "$LINENO"; then :
48038 glibcxx_cv_func_sqrtf_use=yes
48039 else
48040 glibcxx_cv_func_sqrtf_use=no
48041 fi
48042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48043 ac_ext=c
48044 ac_cpp='$CPP $CPPFLAGS'
48045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48048
48049
48050 fi
48051
48052 fi
48053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48054 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48055
48056 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48057 for ac_func in sqrtf
48058 do :
48059 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48060 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48061 cat >>confdefs.h <<_ACEOF
48062 #define HAVE_SQRTF 1
48063 _ACEOF
48064
48065 fi
48066 done
48067
48068 else
48069
48070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48071 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48072 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48073 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48074 $as_echo_n "(cached) " >&6
48075 else
48076
48077
48078 ac_ext=cpp
48079 ac_cpp='$CXXCPP $CPPFLAGS'
48080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48083
48084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48085 /* end confdefs.h. */
48086 #include <math.h>
48087 #ifdef HAVE_IEEEFP_H
48088 #include <ieeefp.h>
48089 #endif
48090
48091 int
48092 main ()
48093 {
48094 _sqrtf(0);
48095 ;
48096 return 0;
48097 }
48098 _ACEOF
48099 if ac_fn_cxx_try_compile "$LINENO"; then :
48100 glibcxx_cv_func__sqrtf_use=yes
48101 else
48102 glibcxx_cv_func__sqrtf_use=no
48103 fi
48104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48105 ac_ext=c
48106 ac_cpp='$CPP $CPPFLAGS'
48107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48110
48111
48112 fi
48113
48114 fi
48115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48116 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48117
48118 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48119 for ac_func in _sqrtf
48120 do :
48121 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48122 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48123 cat >>confdefs.h <<_ACEOF
48124 #define HAVE__SQRTF 1
48125 _ACEOF
48126
48127 fi
48128 done
48129
48130 fi
48131 fi
48132
48133
48134
48135
48136
48137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48138 $as_echo_n "checking for sincosf declaration... " >&6; }
48139 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48140 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48141 $as_echo_n "(cached) " >&6
48142 else
48143
48144
48145 ac_ext=cpp
48146 ac_cpp='$CXXCPP $CPPFLAGS'
48147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48150
48151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48152 /* end confdefs.h. */
48153 #include <math.h>
48154 int
48155 main ()
48156 {
48157 sincosf(0, 0, 0);
48158 ;
48159 return 0;
48160 }
48161 _ACEOF
48162 if ac_fn_cxx_try_compile "$LINENO"; then :
48163 glibcxx_cv_func_sincosf_use=yes
48164 else
48165 glibcxx_cv_func_sincosf_use=no
48166 fi
48167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48168 ac_ext=c
48169 ac_cpp='$CPP $CPPFLAGS'
48170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48173
48174
48175 fi
48176
48177 fi
48178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48179 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48180
48181 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48182 for ac_func in sincosf
48183 do :
48184 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48185 if test "x$ac_cv_func_sincosf" = x""yes; then :
48186 cat >>confdefs.h <<_ACEOF
48187 #define HAVE_SINCOSF 1
48188 _ACEOF
48189
48190 fi
48191 done
48192
48193 else
48194
48195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48196 $as_echo_n "checking for _sincosf declaration... " >&6; }
48197 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48198 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48199 $as_echo_n "(cached) " >&6
48200 else
48201
48202
48203 ac_ext=cpp
48204 ac_cpp='$CXXCPP $CPPFLAGS'
48205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48208
48209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48210 /* end confdefs.h. */
48211 #include <math.h>
48212 int
48213 main ()
48214 {
48215 _sincosf(0, 0, 0);
48216 ;
48217 return 0;
48218 }
48219 _ACEOF
48220 if ac_fn_cxx_try_compile "$LINENO"; then :
48221 glibcxx_cv_func__sincosf_use=yes
48222 else
48223 glibcxx_cv_func__sincosf_use=no
48224 fi
48225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48226 ac_ext=c
48227 ac_cpp='$CPP $CPPFLAGS'
48228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48231
48232
48233 fi
48234
48235 fi
48236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48237 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48238
48239 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48240 for ac_func in _sincosf
48241 do :
48242 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48243 if test "x$ac_cv_func__sincosf" = x""yes; then :
48244 cat >>confdefs.h <<_ACEOF
48245 #define HAVE__SINCOSF 1
48246 _ACEOF
48247
48248 fi
48249 done
48250
48251 fi
48252 fi
48253
48254
48255
48256
48257
48258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48259 $as_echo_n "checking for finitef declaration... " >&6; }
48260 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48261 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48262 $as_echo_n "(cached) " >&6
48263 else
48264
48265
48266 ac_ext=cpp
48267 ac_cpp='$CXXCPP $CPPFLAGS'
48268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48271
48272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48273 /* end confdefs.h. */
48274 #include <math.h>
48275 #ifdef HAVE_IEEEFP_H
48276 #include <ieeefp.h>
48277 #endif
48278
48279 int
48280 main ()
48281 {
48282 finitef(0);
48283 ;
48284 return 0;
48285 }
48286 _ACEOF
48287 if ac_fn_cxx_try_compile "$LINENO"; then :
48288 glibcxx_cv_func_finitef_use=yes
48289 else
48290 glibcxx_cv_func_finitef_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_finitef_use" >&5
48304 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48305
48306 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48307 for ac_func in finitef
48308 do :
48309 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48310 if test "x$ac_cv_func_finitef" = x""yes; then :
48311 cat >>confdefs.h <<_ACEOF
48312 #define HAVE_FINITEF 1
48313 _ACEOF
48314
48315 fi
48316 done
48317
48318 else
48319
48320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48321 $as_echo_n "checking for _finitef declaration... " >&6; }
48322 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48323 if test "${glibcxx_cv_func__finitef_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 #ifdef HAVE_IEEEFP_H
48338 #include <ieeefp.h>
48339 #endif
48340
48341 int
48342 main ()
48343 {
48344 _finitef(0);
48345 ;
48346 return 0;
48347 }
48348 _ACEOF
48349 if ac_fn_cxx_try_compile "$LINENO"; then :
48350 glibcxx_cv_func__finitef_use=yes
48351 else
48352 glibcxx_cv_func__finitef_use=no
48353 fi
48354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48355 ac_ext=c
48356 ac_cpp='$CPP $CPPFLAGS'
48357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48360
48361
48362 fi
48363
48364 fi
48365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48366 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48367
48368 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48369 for ac_func in _finitef
48370 do :
48371 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48372 if test "x$ac_cv_func__finitef" = x""yes; then :
48373 cat >>confdefs.h <<_ACEOF
48374 #define HAVE__FINITEF 1
48375 _ACEOF
48376
48377 fi
48378 done
48379
48380 fi
48381 fi
48382
48383
48384
48385
48386
48387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48388 $as_echo_n "checking for long double trig functions... " >&6; }
48389 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48390 $as_echo_n "(cached) " >&6
48391 else
48392
48393
48394 ac_ext=cpp
48395 ac_cpp='$CXXCPP $CPPFLAGS'
48396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48399
48400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48401 /* end confdefs.h. */
48402 #include <math.h>
48403 int
48404 main ()
48405 {
48406 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48407 ;
48408 return 0;
48409 }
48410 _ACEOF
48411 if ac_fn_cxx_try_compile "$LINENO"; then :
48412 glibcxx_cv_func_long_double_trig_use=yes
48413 else
48414 glibcxx_cv_func_long_double_trig_use=no
48415 fi
48416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48417 ac_ext=c
48418 ac_cpp='$CPP $CPPFLAGS'
48419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48422
48423 fi
48424
48425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48426 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48427 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48428 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48429 do :
48430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48432 eval as_val=\$$as_ac_var
48433 if test "x$as_val" = x""yes; then :
48434 cat >>confdefs.h <<_ACEOF
48435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48436 _ACEOF
48437
48438 fi
48439 done
48440
48441 else
48442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48443 $as_echo_n "checking for _long double trig functions... " >&6; }
48444 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48445 $as_echo_n "(cached) " >&6
48446 else
48447
48448
48449 ac_ext=cpp
48450 ac_cpp='$CXXCPP $CPPFLAGS'
48451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48454
48455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48456 /* end confdefs.h. */
48457 #include <math.h>
48458 int
48459 main ()
48460 {
48461 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48462 ;
48463 return 0;
48464 }
48465 _ACEOF
48466 if ac_fn_cxx_try_compile "$LINENO"; then :
48467 glibcxx_cv_func__long_double_trig_use=yes
48468 else
48469 glibcxx_cv_func__long_double_trig_use=no
48470 fi
48471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48472 ac_ext=c
48473 ac_cpp='$CPP $CPPFLAGS'
48474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48477
48478 fi
48479
48480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48481 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48482 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48483 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48484 do :
48485 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48486 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48487 eval as_val=\$$as_ac_var
48488 if test "x$as_val" = x""yes; then :
48489 cat >>confdefs.h <<_ACEOF
48490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48491 _ACEOF
48492
48493 fi
48494 done
48495
48496 fi
48497 fi
48498
48499
48500
48501
48502
48503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48504 $as_echo_n "checking for long double round functions... " >&6; }
48505 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48506 $as_echo_n "(cached) " >&6
48507 else
48508
48509
48510 ac_ext=cpp
48511 ac_cpp='$CXXCPP $CPPFLAGS'
48512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48515
48516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48517 /* end confdefs.h. */
48518 #include <math.h>
48519 int
48520 main ()
48521 {
48522 ceill (0); floorl (0);
48523 ;
48524 return 0;
48525 }
48526 _ACEOF
48527 if ac_fn_cxx_try_compile "$LINENO"; then :
48528 glibcxx_cv_func_long_double_round_use=yes
48529 else
48530 glibcxx_cv_func_long_double_round_use=no
48531 fi
48532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48533 ac_ext=c
48534 ac_cpp='$CPP $CPPFLAGS'
48535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48538
48539 fi
48540
48541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48542 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48543 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48544 for ac_func in ceill floorl
48545 do :
48546 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48547 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48548 eval as_val=\$$as_ac_var
48549 if test "x$as_val" = x""yes; then :
48550 cat >>confdefs.h <<_ACEOF
48551 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48552 _ACEOF
48553
48554 fi
48555 done
48556
48557 else
48558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48559 $as_echo_n "checking for _long double round functions... " >&6; }
48560 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48561 $as_echo_n "(cached) " >&6
48562 else
48563
48564
48565 ac_ext=cpp
48566 ac_cpp='$CXXCPP $CPPFLAGS'
48567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48570
48571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48572 /* end confdefs.h. */
48573 #include <math.h>
48574 int
48575 main ()
48576 {
48577 _ceill (0); _floorl (0);
48578 ;
48579 return 0;
48580 }
48581 _ACEOF
48582 if ac_fn_cxx_try_compile "$LINENO"; then :
48583 glibcxx_cv_func__long_double_round_use=yes
48584 else
48585 glibcxx_cv_func__long_double_round_use=no
48586 fi
48587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48588 ac_ext=c
48589 ac_cpp='$CPP $CPPFLAGS'
48590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48593
48594 fi
48595
48596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48597 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48598 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48599 for ac_func in _ceill _floorl
48600 do :
48601 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48602 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48603 eval as_val=\$$as_ac_var
48604 if test "x$as_val" = x""yes; then :
48605 cat >>confdefs.h <<_ACEOF
48606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48607 _ACEOF
48608
48609 fi
48610 done
48611
48612 fi
48613 fi
48614
48615
48616
48617
48618
48619
48620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48621 $as_echo_n "checking for isnanl declaration... " >&6; }
48622 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48623 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48624 $as_echo_n "(cached) " >&6
48625 else
48626
48627
48628 ac_ext=cpp
48629 ac_cpp='$CXXCPP $CPPFLAGS'
48630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48633
48634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48635 /* end confdefs.h. */
48636 #include <math.h>
48637 #ifdef HAVE_IEEEFP_H
48638 #include <ieeefp.h>
48639 #endif
48640
48641 int
48642 main ()
48643 {
48644 isnanl(0);
48645 ;
48646 return 0;
48647 }
48648 _ACEOF
48649 if ac_fn_cxx_try_compile "$LINENO"; then :
48650 glibcxx_cv_func_isnanl_use=yes
48651 else
48652 glibcxx_cv_func_isnanl_use=no
48653 fi
48654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48655 ac_ext=c
48656 ac_cpp='$CPP $CPPFLAGS'
48657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48660
48661
48662 fi
48663
48664 fi
48665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48666 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48667
48668 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48669 for ac_func in isnanl
48670 do :
48671 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48672 if test "x$ac_cv_func_isnanl" = x""yes; then :
48673 cat >>confdefs.h <<_ACEOF
48674 #define HAVE_ISNANL 1
48675 _ACEOF
48676
48677 fi
48678 done
48679
48680 else
48681
48682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48683 $as_echo_n "checking for _isnanl declaration... " >&6; }
48684 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48685 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48686 $as_echo_n "(cached) " >&6
48687 else
48688
48689
48690 ac_ext=cpp
48691 ac_cpp='$CXXCPP $CPPFLAGS'
48692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48695
48696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48697 /* end confdefs.h. */
48698 #include <math.h>
48699 #ifdef HAVE_IEEEFP_H
48700 #include <ieeefp.h>
48701 #endif
48702
48703 int
48704 main ()
48705 {
48706 _isnanl(0);
48707 ;
48708 return 0;
48709 }
48710 _ACEOF
48711 if ac_fn_cxx_try_compile "$LINENO"; then :
48712 glibcxx_cv_func__isnanl_use=yes
48713 else
48714 glibcxx_cv_func__isnanl_use=no
48715 fi
48716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48717 ac_ext=c
48718 ac_cpp='$CPP $CPPFLAGS'
48719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48722
48723
48724 fi
48725
48726 fi
48727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48728 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48729
48730 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48731 for ac_func in _isnanl
48732 do :
48733 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48734 if test "x$ac_cv_func__isnanl" = x""yes; then :
48735 cat >>confdefs.h <<_ACEOF
48736 #define HAVE__ISNANL 1
48737 _ACEOF
48738
48739 fi
48740 done
48741
48742 fi
48743 fi
48744
48745
48746
48747
48748
48749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48750 $as_echo_n "checking for isinfl declaration... " >&6; }
48751 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48752 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48753 $as_echo_n "(cached) " >&6
48754 else
48755
48756
48757 ac_ext=cpp
48758 ac_cpp='$CXXCPP $CPPFLAGS'
48759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48762
48763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48764 /* end confdefs.h. */
48765 #include <math.h>
48766 #ifdef HAVE_IEEEFP_H
48767 #include <ieeefp.h>
48768 #endif
48769
48770 int
48771 main ()
48772 {
48773 isinfl(0);
48774 ;
48775 return 0;
48776 }
48777 _ACEOF
48778 if ac_fn_cxx_try_compile "$LINENO"; then :
48779 glibcxx_cv_func_isinfl_use=yes
48780 else
48781 glibcxx_cv_func_isinfl_use=no
48782 fi
48783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48784 ac_ext=c
48785 ac_cpp='$CPP $CPPFLAGS'
48786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48789
48790
48791 fi
48792
48793 fi
48794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48795 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48796
48797 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48798 for ac_func in isinfl
48799 do :
48800 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48801 if test "x$ac_cv_func_isinfl" = x""yes; then :
48802 cat >>confdefs.h <<_ACEOF
48803 #define HAVE_ISINFL 1
48804 _ACEOF
48805
48806 fi
48807 done
48808
48809 else
48810
48811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48812 $as_echo_n "checking for _isinfl declaration... " >&6; }
48813 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48814 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48815 $as_echo_n "(cached) " >&6
48816 else
48817
48818
48819 ac_ext=cpp
48820 ac_cpp='$CXXCPP $CPPFLAGS'
48821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48824
48825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48826 /* end confdefs.h. */
48827 #include <math.h>
48828 #ifdef HAVE_IEEEFP_H
48829 #include <ieeefp.h>
48830 #endif
48831
48832 int
48833 main ()
48834 {
48835 _isinfl(0);
48836 ;
48837 return 0;
48838 }
48839 _ACEOF
48840 if ac_fn_cxx_try_compile "$LINENO"; then :
48841 glibcxx_cv_func__isinfl_use=yes
48842 else
48843 glibcxx_cv_func__isinfl_use=no
48844 fi
48845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48846 ac_ext=c
48847 ac_cpp='$CPP $CPPFLAGS'
48848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48851
48852
48853 fi
48854
48855 fi
48856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48857 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48858
48859 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48860 for ac_func in _isinfl
48861 do :
48862 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48863 if test "x$ac_cv_func__isinfl" = x""yes; then :
48864 cat >>confdefs.h <<_ACEOF
48865 #define HAVE__ISINFL 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 atan2l declaration" >&5
48879 $as_echo_n "checking for atan2l declaration... " >&6; }
48880 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48881 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48882 $as_echo_n "(cached) " >&6
48883 else
48884
48885
48886 ac_ext=cpp
48887 ac_cpp='$CXXCPP $CPPFLAGS'
48888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48891
48892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48893 /* end confdefs.h. */
48894 #include <math.h>
48895 int
48896 main ()
48897 {
48898 atan2l(0, 0);
48899 ;
48900 return 0;
48901 }
48902 _ACEOF
48903 if ac_fn_cxx_try_compile "$LINENO"; then :
48904 glibcxx_cv_func_atan2l_use=yes
48905 else
48906 glibcxx_cv_func_atan2l_use=no
48907 fi
48908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48909 ac_ext=c
48910 ac_cpp='$CPP $CPPFLAGS'
48911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48914
48915
48916 fi
48917
48918 fi
48919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48920 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48921
48922 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48923 for ac_func in atan2l
48924 do :
48925 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48926 if test "x$ac_cv_func_atan2l" = x""yes; then :
48927 cat >>confdefs.h <<_ACEOF
48928 #define HAVE_ATAN2L 1
48929 _ACEOF
48930
48931 fi
48932 done
48933
48934 else
48935
48936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48937 $as_echo_n "checking for _atan2l declaration... " >&6; }
48938 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48939 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48940 $as_echo_n "(cached) " >&6
48941 else
48942
48943
48944 ac_ext=cpp
48945 ac_cpp='$CXXCPP $CPPFLAGS'
48946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48949
48950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48951 /* end confdefs.h. */
48952 #include <math.h>
48953 int
48954 main ()
48955 {
48956 _atan2l(0, 0);
48957 ;
48958 return 0;
48959 }
48960 _ACEOF
48961 if ac_fn_cxx_try_compile "$LINENO"; then :
48962 glibcxx_cv_func__atan2l_use=yes
48963 else
48964 glibcxx_cv_func__atan2l_use=no
48965 fi
48966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48967 ac_ext=c
48968 ac_cpp='$CPP $CPPFLAGS'
48969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48972
48973
48974 fi
48975
48976 fi
48977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48978 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48979
48980 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48981 for ac_func in _atan2l
48982 do :
48983 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48984 if test "x$ac_cv_func__atan2l" = x""yes; then :
48985 cat >>confdefs.h <<_ACEOF
48986 #define HAVE__ATAN2L 1
48987 _ACEOF
48988
48989 fi
48990 done
48991
48992 fi
48993 fi
48994
48995
48996
48997
48998
48999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49000 $as_echo_n "checking for expl declaration... " >&6; }
49001 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49002 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49003 $as_echo_n "(cached) " >&6
49004 else
49005
49006
49007 ac_ext=cpp
49008 ac_cpp='$CXXCPP $CPPFLAGS'
49009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49012
49013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49014 /* end confdefs.h. */
49015 #include <math.h>
49016 #ifdef HAVE_IEEEFP_H
49017 #include <ieeefp.h>
49018 #endif
49019
49020 int
49021 main ()
49022 {
49023 expl(0);
49024 ;
49025 return 0;
49026 }
49027 _ACEOF
49028 if ac_fn_cxx_try_compile "$LINENO"; then :
49029 glibcxx_cv_func_expl_use=yes
49030 else
49031 glibcxx_cv_func_expl_use=no
49032 fi
49033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49034 ac_ext=c
49035 ac_cpp='$CPP $CPPFLAGS'
49036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49039
49040
49041 fi
49042
49043 fi
49044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49045 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49046
49047 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49048 for ac_func in expl
49049 do :
49050 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49051 if test "x$ac_cv_func_expl" = x""yes; then :
49052 cat >>confdefs.h <<_ACEOF
49053 #define HAVE_EXPL 1
49054 _ACEOF
49055
49056 fi
49057 done
49058
49059 else
49060
49061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49062 $as_echo_n "checking for _expl declaration... " >&6; }
49063 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49064 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49065 $as_echo_n "(cached) " >&6
49066 else
49067
49068
49069 ac_ext=cpp
49070 ac_cpp='$CXXCPP $CPPFLAGS'
49071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49074
49075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49076 /* end confdefs.h. */
49077 #include <math.h>
49078 #ifdef HAVE_IEEEFP_H
49079 #include <ieeefp.h>
49080 #endif
49081
49082 int
49083 main ()
49084 {
49085 _expl(0);
49086 ;
49087 return 0;
49088 }
49089 _ACEOF
49090 if ac_fn_cxx_try_compile "$LINENO"; then :
49091 glibcxx_cv_func__expl_use=yes
49092 else
49093 glibcxx_cv_func__expl_use=no
49094 fi
49095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49096 ac_ext=c
49097 ac_cpp='$CPP $CPPFLAGS'
49098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49101
49102
49103 fi
49104
49105 fi
49106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49107 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49108
49109 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49110 for ac_func in _expl
49111 do :
49112 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49113 if test "x$ac_cv_func__expl" = x""yes; then :
49114 cat >>confdefs.h <<_ACEOF
49115 #define HAVE__EXPL 1
49116 _ACEOF
49117
49118 fi
49119 done
49120
49121 fi
49122 fi
49123
49124
49125
49126
49127
49128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49129 $as_echo_n "checking for fabsl declaration... " >&6; }
49130 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49131 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49132 $as_echo_n "(cached) " >&6
49133 else
49134
49135
49136 ac_ext=cpp
49137 ac_cpp='$CXXCPP $CPPFLAGS'
49138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49141
49142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49143 /* end confdefs.h. */
49144 #include <math.h>
49145 #ifdef HAVE_IEEEFP_H
49146 #include <ieeefp.h>
49147 #endif
49148
49149 int
49150 main ()
49151 {
49152 fabsl(0);
49153 ;
49154 return 0;
49155 }
49156 _ACEOF
49157 if ac_fn_cxx_try_compile "$LINENO"; then :
49158 glibcxx_cv_func_fabsl_use=yes
49159 else
49160 glibcxx_cv_func_fabsl_use=no
49161 fi
49162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49163 ac_ext=c
49164 ac_cpp='$CPP $CPPFLAGS'
49165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49168
49169
49170 fi
49171
49172 fi
49173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49174 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49175
49176 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49177 for ac_func in fabsl
49178 do :
49179 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49180 if test "x$ac_cv_func_fabsl" = x""yes; then :
49181 cat >>confdefs.h <<_ACEOF
49182 #define HAVE_FABSL 1
49183 _ACEOF
49184
49185 fi
49186 done
49187
49188 else
49189
49190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49191 $as_echo_n "checking for _fabsl declaration... " >&6; }
49192 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49193 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49194 $as_echo_n "(cached) " >&6
49195 else
49196
49197
49198 ac_ext=cpp
49199 ac_cpp='$CXXCPP $CPPFLAGS'
49200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49203
49204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49205 /* end confdefs.h. */
49206 #include <math.h>
49207 #ifdef HAVE_IEEEFP_H
49208 #include <ieeefp.h>
49209 #endif
49210
49211 int
49212 main ()
49213 {
49214 _fabsl(0);
49215 ;
49216 return 0;
49217 }
49218 _ACEOF
49219 if ac_fn_cxx_try_compile "$LINENO"; then :
49220 glibcxx_cv_func__fabsl_use=yes
49221 else
49222 glibcxx_cv_func__fabsl_use=no
49223 fi
49224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49225 ac_ext=c
49226 ac_cpp='$CPP $CPPFLAGS'
49227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49230
49231
49232 fi
49233
49234 fi
49235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49236 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49237
49238 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49239 for ac_func in _fabsl
49240 do :
49241 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49242 if test "x$ac_cv_func__fabsl" = x""yes; then :
49243 cat >>confdefs.h <<_ACEOF
49244 #define HAVE__FABSL 1
49245 _ACEOF
49246
49247 fi
49248 done
49249
49250 fi
49251 fi
49252
49253
49254
49255
49256
49257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49258 $as_echo_n "checking for fmodl declaration... " >&6; }
49259 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49260 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49261 $as_echo_n "(cached) " >&6
49262 else
49263
49264
49265 ac_ext=cpp
49266 ac_cpp='$CXXCPP $CPPFLAGS'
49267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49270
49271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49272 /* end confdefs.h. */
49273 #include <math.h>
49274 int
49275 main ()
49276 {
49277 fmodl(0, 0);
49278 ;
49279 return 0;
49280 }
49281 _ACEOF
49282 if ac_fn_cxx_try_compile "$LINENO"; then :
49283 glibcxx_cv_func_fmodl_use=yes
49284 else
49285 glibcxx_cv_func_fmodl_use=no
49286 fi
49287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49288 ac_ext=c
49289 ac_cpp='$CPP $CPPFLAGS'
49290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49293
49294
49295 fi
49296
49297 fi
49298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49299 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49300
49301 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49302 for ac_func in fmodl
49303 do :
49304 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49305 if test "x$ac_cv_func_fmodl" = x""yes; then :
49306 cat >>confdefs.h <<_ACEOF
49307 #define HAVE_FMODL 1
49308 _ACEOF
49309
49310 fi
49311 done
49312
49313 else
49314
49315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49316 $as_echo_n "checking for _fmodl declaration... " >&6; }
49317 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49318 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49319 $as_echo_n "(cached) " >&6
49320 else
49321
49322
49323 ac_ext=cpp
49324 ac_cpp='$CXXCPP $CPPFLAGS'
49325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49328
49329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49330 /* end confdefs.h. */
49331 #include <math.h>
49332 int
49333 main ()
49334 {
49335 _fmodl(0, 0);
49336 ;
49337 return 0;
49338 }
49339 _ACEOF
49340 if ac_fn_cxx_try_compile "$LINENO"; then :
49341 glibcxx_cv_func__fmodl_use=yes
49342 else
49343 glibcxx_cv_func__fmodl_use=no
49344 fi
49345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49346 ac_ext=c
49347 ac_cpp='$CPP $CPPFLAGS'
49348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49351
49352
49353 fi
49354
49355 fi
49356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49357 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49358
49359 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49360 for ac_func in _fmodl
49361 do :
49362 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49363 if test "x$ac_cv_func__fmodl" = x""yes; then :
49364 cat >>confdefs.h <<_ACEOF
49365 #define HAVE__FMODL 1
49366 _ACEOF
49367
49368 fi
49369 done
49370
49371 fi
49372 fi
49373
49374
49375
49376
49377
49378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49379 $as_echo_n "checking for frexpl declaration... " >&6; }
49380 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49381 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49382 $as_echo_n "(cached) " >&6
49383 else
49384
49385
49386 ac_ext=cpp
49387 ac_cpp='$CXXCPP $CPPFLAGS'
49388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49391
49392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49393 /* end confdefs.h. */
49394 #include <math.h>
49395 int
49396 main ()
49397 {
49398 frexpl(0, 0);
49399 ;
49400 return 0;
49401 }
49402 _ACEOF
49403 if ac_fn_cxx_try_compile "$LINENO"; then :
49404 glibcxx_cv_func_frexpl_use=yes
49405 else
49406 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
49420 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49421
49422 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49423 for ac_func in frexpl
49424 do :
49425 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49426 if test "x$ac_cv_func_frexpl" = x""yes; then :
49427 cat >>confdefs.h <<_ACEOF
49428 #define HAVE_FREXPL 1
49429 _ACEOF
49430
49431 fi
49432 done
49433
49434 else
49435
49436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49437 $as_echo_n "checking for _frexpl declaration... " >&6; }
49438 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49439 if test "${glibcxx_cv_func__frexpl_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 int
49454 main ()
49455 {
49456 _frexpl(0, 0);
49457 ;
49458 return 0;
49459 }
49460 _ACEOF
49461 if ac_fn_cxx_try_compile "$LINENO"; then :
49462 glibcxx_cv_func__frexpl_use=yes
49463 else
49464 glibcxx_cv_func__frexpl_use=no
49465 fi
49466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49467 ac_ext=c
49468 ac_cpp='$CPP $CPPFLAGS'
49469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49472
49473
49474 fi
49475
49476 fi
49477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49478 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49479
49480 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49481 for ac_func in _frexpl
49482 do :
49483 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49484 if test "x$ac_cv_func__frexpl" = x""yes; then :
49485 cat >>confdefs.h <<_ACEOF
49486 #define HAVE__FREXPL 1
49487 _ACEOF
49488
49489 fi
49490 done
49491
49492 fi
49493 fi
49494
49495
49496
49497
49498
49499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49500 $as_echo_n "checking for hypotl declaration... " >&6; }
49501 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49502 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49503 $as_echo_n "(cached) " >&6
49504 else
49505
49506
49507 ac_ext=cpp
49508 ac_cpp='$CXXCPP $CPPFLAGS'
49509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49512
49513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49514 /* end confdefs.h. */
49515 #include <math.h>
49516 int
49517 main ()
49518 {
49519 hypotl(0, 0);
49520 ;
49521 return 0;
49522 }
49523 _ACEOF
49524 if ac_fn_cxx_try_compile "$LINENO"; then :
49525 glibcxx_cv_func_hypotl_use=yes
49526 else
49527 glibcxx_cv_func_hypotl_use=no
49528 fi
49529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49530 ac_ext=c
49531 ac_cpp='$CPP $CPPFLAGS'
49532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49535
49536
49537 fi
49538
49539 fi
49540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49541 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49542
49543 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49544 for ac_func in hypotl
49545 do :
49546 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49547 if test "x$ac_cv_func_hypotl" = x""yes; then :
49548 cat >>confdefs.h <<_ACEOF
49549 #define HAVE_HYPOTL 1
49550 _ACEOF
49551
49552 fi
49553 done
49554
49555 else
49556
49557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49558 $as_echo_n "checking for _hypotl declaration... " >&6; }
49559 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49560 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49561 $as_echo_n "(cached) " >&6
49562 else
49563
49564
49565 ac_ext=cpp
49566 ac_cpp='$CXXCPP $CPPFLAGS'
49567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49570
49571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49572 /* end confdefs.h. */
49573 #include <math.h>
49574 int
49575 main ()
49576 {
49577 _hypotl(0, 0);
49578 ;
49579 return 0;
49580 }
49581 _ACEOF
49582 if ac_fn_cxx_try_compile "$LINENO"; then :
49583 glibcxx_cv_func__hypotl_use=yes
49584 else
49585 glibcxx_cv_func__hypotl_use=no
49586 fi
49587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49588 ac_ext=c
49589 ac_cpp='$CPP $CPPFLAGS'
49590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49593
49594
49595 fi
49596
49597 fi
49598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49599 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49600
49601 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49602 for ac_func in _hypotl
49603 do :
49604 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49605 if test "x$ac_cv_func__hypotl" = x""yes; then :
49606 cat >>confdefs.h <<_ACEOF
49607 #define HAVE__HYPOTL 1
49608 _ACEOF
49609
49610 fi
49611 done
49612
49613 fi
49614 fi
49615
49616
49617
49618
49619
49620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49621 $as_echo_n "checking for ldexpl declaration... " >&6; }
49622 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49623 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49624 $as_echo_n "(cached) " >&6
49625 else
49626
49627
49628 ac_ext=cpp
49629 ac_cpp='$CXXCPP $CPPFLAGS'
49630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49633
49634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49635 /* end confdefs.h. */
49636 #include <math.h>
49637 int
49638 main ()
49639 {
49640 ldexpl(0, 0);
49641 ;
49642 return 0;
49643 }
49644 _ACEOF
49645 if ac_fn_cxx_try_compile "$LINENO"; then :
49646 glibcxx_cv_func_ldexpl_use=yes
49647 else
49648 glibcxx_cv_func_ldexpl_use=no
49649 fi
49650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49651 ac_ext=c
49652 ac_cpp='$CPP $CPPFLAGS'
49653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49656
49657
49658 fi
49659
49660 fi
49661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49662 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49663
49664 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49665 for ac_func in ldexpl
49666 do :
49667 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49668 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49669 cat >>confdefs.h <<_ACEOF
49670 #define HAVE_LDEXPL 1
49671 _ACEOF
49672
49673 fi
49674 done
49675
49676 else
49677
49678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49679 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49680 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49681 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49682 $as_echo_n "(cached) " >&6
49683 else
49684
49685
49686 ac_ext=cpp
49687 ac_cpp='$CXXCPP $CPPFLAGS'
49688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49691
49692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49693 /* end confdefs.h. */
49694 #include <math.h>
49695 int
49696 main ()
49697 {
49698 _ldexpl(0, 0);
49699 ;
49700 return 0;
49701 }
49702 _ACEOF
49703 if ac_fn_cxx_try_compile "$LINENO"; then :
49704 glibcxx_cv_func__ldexpl_use=yes
49705 else
49706 glibcxx_cv_func__ldexpl_use=no
49707 fi
49708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49709 ac_ext=c
49710 ac_cpp='$CPP $CPPFLAGS'
49711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49714
49715
49716 fi
49717
49718 fi
49719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49720 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49721
49722 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49723 for ac_func in _ldexpl
49724 do :
49725 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49726 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49727 cat >>confdefs.h <<_ACEOF
49728 #define HAVE__LDEXPL 1
49729 _ACEOF
49730
49731 fi
49732 done
49733
49734 fi
49735 fi
49736
49737
49738
49739
49740
49741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49742 $as_echo_n "checking for logl declaration... " >&6; }
49743 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49744 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49745 $as_echo_n "(cached) " >&6
49746 else
49747
49748
49749 ac_ext=cpp
49750 ac_cpp='$CXXCPP $CPPFLAGS'
49751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49754
49755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49756 /* end confdefs.h. */
49757 #include <math.h>
49758 #ifdef HAVE_IEEEFP_H
49759 #include <ieeefp.h>
49760 #endif
49761
49762 int
49763 main ()
49764 {
49765 logl(0);
49766 ;
49767 return 0;
49768 }
49769 _ACEOF
49770 if ac_fn_cxx_try_compile "$LINENO"; then :
49771 glibcxx_cv_func_logl_use=yes
49772 else
49773 glibcxx_cv_func_logl_use=no
49774 fi
49775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49776 ac_ext=c
49777 ac_cpp='$CPP $CPPFLAGS'
49778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49781
49782
49783 fi
49784
49785 fi
49786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49787 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49788
49789 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49790 for ac_func in logl
49791 do :
49792 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49793 if test "x$ac_cv_func_logl" = x""yes; then :
49794 cat >>confdefs.h <<_ACEOF
49795 #define HAVE_LOGL 1
49796 _ACEOF
49797
49798 fi
49799 done
49800
49801 else
49802
49803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49804 $as_echo_n "checking for _logl declaration... " >&6; }
49805 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49806 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49807 $as_echo_n "(cached) " >&6
49808 else
49809
49810
49811 ac_ext=cpp
49812 ac_cpp='$CXXCPP $CPPFLAGS'
49813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49816
49817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49818 /* end confdefs.h. */
49819 #include <math.h>
49820 #ifdef HAVE_IEEEFP_H
49821 #include <ieeefp.h>
49822 #endif
49823
49824 int
49825 main ()
49826 {
49827 _logl(0);
49828 ;
49829 return 0;
49830 }
49831 _ACEOF
49832 if ac_fn_cxx_try_compile "$LINENO"; then :
49833 glibcxx_cv_func__logl_use=yes
49834 else
49835 glibcxx_cv_func__logl_use=no
49836 fi
49837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49838 ac_ext=c
49839 ac_cpp='$CPP $CPPFLAGS'
49840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49843
49844
49845 fi
49846
49847 fi
49848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49849 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49850
49851 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49852 for ac_func in _logl
49853 do :
49854 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49855 if test "x$ac_cv_func__logl" = x""yes; then :
49856 cat >>confdefs.h <<_ACEOF
49857 #define HAVE__LOGL 1
49858 _ACEOF
49859
49860 fi
49861 done
49862
49863 fi
49864 fi
49865
49866
49867
49868
49869
49870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49871 $as_echo_n "checking for log10l declaration... " >&6; }
49872 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49873 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49874 $as_echo_n "(cached) " >&6
49875 else
49876
49877
49878 ac_ext=cpp
49879 ac_cpp='$CXXCPP $CPPFLAGS'
49880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49883
49884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49885 /* end confdefs.h. */
49886 #include <math.h>
49887 #ifdef HAVE_IEEEFP_H
49888 #include <ieeefp.h>
49889 #endif
49890
49891 int
49892 main ()
49893 {
49894 log10l(0);
49895 ;
49896 return 0;
49897 }
49898 _ACEOF
49899 if ac_fn_cxx_try_compile "$LINENO"; then :
49900 glibcxx_cv_func_log10l_use=yes
49901 else
49902 glibcxx_cv_func_log10l_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_log10l_use" >&5
49916 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49917
49918 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49919 for ac_func in log10l
49920 do :
49921 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49922 if test "x$ac_cv_func_log10l" = x""yes; then :
49923 cat >>confdefs.h <<_ACEOF
49924 #define HAVE_LOG10L 1
49925 _ACEOF
49926
49927 fi
49928 done
49929
49930 else
49931
49932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49933 $as_echo_n "checking for _log10l declaration... " >&6; }
49934 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49935 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
49950 #include <ieeefp.h>
49951 #endif
49952
49953 int
49954 main ()
49955 {
49956 _log10l(0);
49957 ;
49958 return 0;
49959 }
49960 _ACEOF
49961 if ac_fn_cxx_try_compile "$LINENO"; then :
49962 glibcxx_cv_func__log10l_use=yes
49963 else
49964 glibcxx_cv_func__log10l_use=no
49965 fi
49966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49967 ac_ext=c
49968 ac_cpp='$CPP $CPPFLAGS'
49969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49972
49973
49974 fi
49975
49976 fi
49977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49978 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49979
49980 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49981 for ac_func in _log10l
49982 do :
49983 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49984 if test "x$ac_cv_func__log10l" = x""yes; then :
49985 cat >>confdefs.h <<_ACEOF
49986 #define HAVE__LOG10L 1
49987 _ACEOF
49988
49989 fi
49990 done
49991
49992 fi
49993 fi
49994
49995
49996
49997
49998
49999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50000 $as_echo_n "checking for modfl declaration... " >&6; }
50001 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50002 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50003 $as_echo_n "(cached) " >&6
50004 else
50005
50006
50007 ac_ext=cpp
50008 ac_cpp='$CXXCPP $CPPFLAGS'
50009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50012
50013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50014 /* end confdefs.h. */
50015 #include <math.h>
50016 int
50017 main ()
50018 {
50019 modfl(0, 0);
50020 ;
50021 return 0;
50022 }
50023 _ACEOF
50024 if ac_fn_cxx_try_compile "$LINENO"; then :
50025 glibcxx_cv_func_modfl_use=yes
50026 else
50027 glibcxx_cv_func_modfl_use=no
50028 fi
50029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50030 ac_ext=c
50031 ac_cpp='$CPP $CPPFLAGS'
50032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50035
50036
50037 fi
50038
50039 fi
50040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50041 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50042
50043 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50044 for ac_func in modfl
50045 do :
50046 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50047 if test "x$ac_cv_func_modfl" = x""yes; then :
50048 cat >>confdefs.h <<_ACEOF
50049 #define HAVE_MODFL 1
50050 _ACEOF
50051
50052 fi
50053 done
50054
50055 else
50056
50057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50058 $as_echo_n "checking for _modfl declaration... " >&6; }
50059 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50060 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50061 $as_echo_n "(cached) " >&6
50062 else
50063
50064
50065 ac_ext=cpp
50066 ac_cpp='$CXXCPP $CPPFLAGS'
50067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50070
50071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50072 /* end confdefs.h. */
50073 #include <math.h>
50074 int
50075 main ()
50076 {
50077 _modfl(0, 0);
50078 ;
50079 return 0;
50080 }
50081 _ACEOF
50082 if ac_fn_cxx_try_compile "$LINENO"; then :
50083 glibcxx_cv_func__modfl_use=yes
50084 else
50085 glibcxx_cv_func__modfl_use=no
50086 fi
50087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50088 ac_ext=c
50089 ac_cpp='$CPP $CPPFLAGS'
50090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50093
50094
50095 fi
50096
50097 fi
50098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50099 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50100
50101 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50102 for ac_func in _modfl
50103 do :
50104 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50105 if test "x$ac_cv_func__modfl" = x""yes; then :
50106 cat >>confdefs.h <<_ACEOF
50107 #define HAVE__MODFL 1
50108 _ACEOF
50109
50110 fi
50111 done
50112
50113 fi
50114 fi
50115
50116
50117
50118
50119
50120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50121 $as_echo_n "checking for powl declaration... " >&6; }
50122 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50123 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50124 $as_echo_n "(cached) " >&6
50125 else
50126
50127
50128 ac_ext=cpp
50129 ac_cpp='$CXXCPP $CPPFLAGS'
50130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50133
50134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50135 /* end confdefs.h. */
50136 #include <math.h>
50137 int
50138 main ()
50139 {
50140 powl(0, 0);
50141 ;
50142 return 0;
50143 }
50144 _ACEOF
50145 if ac_fn_cxx_try_compile "$LINENO"; then :
50146 glibcxx_cv_func_powl_use=yes
50147 else
50148 glibcxx_cv_func_powl_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_powl_use" >&5
50162 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50163
50164 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50165 for ac_func in powl
50166 do :
50167 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50168 if test "x$ac_cv_func_powl" = x""yes; then :
50169 cat >>confdefs.h <<_ACEOF
50170 #define HAVE_POWL 1
50171 _ACEOF
50172
50173 fi
50174 done
50175
50176 else
50177
50178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50179 $as_echo_n "checking for _powl declaration... " >&6; }
50180 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50181 if test "${glibcxx_cv_func__powl_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 int
50196 main ()
50197 {
50198 _powl(0, 0);
50199 ;
50200 return 0;
50201 }
50202 _ACEOF
50203 if ac_fn_cxx_try_compile "$LINENO"; then :
50204 glibcxx_cv_func__powl_use=yes
50205 else
50206 glibcxx_cv_func__powl_use=no
50207 fi
50208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50209 ac_ext=c
50210 ac_cpp='$CPP $CPPFLAGS'
50211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50214
50215
50216 fi
50217
50218 fi
50219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50220 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50221
50222 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50223 for ac_func in _powl
50224 do :
50225 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50226 if test "x$ac_cv_func__powl" = x""yes; then :
50227 cat >>confdefs.h <<_ACEOF
50228 #define HAVE__POWL 1
50229 _ACEOF
50230
50231 fi
50232 done
50233
50234 fi
50235 fi
50236
50237
50238
50239
50240
50241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50242 $as_echo_n "checking for sqrtl declaration... " >&6; }
50243 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50244 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50245 $as_echo_n "(cached) " >&6
50246 else
50247
50248
50249 ac_ext=cpp
50250 ac_cpp='$CXXCPP $CPPFLAGS'
50251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50254
50255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50256 /* end confdefs.h. */
50257 #include <math.h>
50258 #ifdef HAVE_IEEEFP_H
50259 #include <ieeefp.h>
50260 #endif
50261
50262 int
50263 main ()
50264 {
50265 sqrtl(0);
50266 ;
50267 return 0;
50268 }
50269 _ACEOF
50270 if ac_fn_cxx_try_compile "$LINENO"; then :
50271 glibcxx_cv_func_sqrtl_use=yes
50272 else
50273 glibcxx_cv_func_sqrtl_use=no
50274 fi
50275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50276 ac_ext=c
50277 ac_cpp='$CPP $CPPFLAGS'
50278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50281
50282
50283 fi
50284
50285 fi
50286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50287 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50288
50289 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50290 for ac_func in sqrtl
50291 do :
50292 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50293 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50294 cat >>confdefs.h <<_ACEOF
50295 #define HAVE_SQRTL 1
50296 _ACEOF
50297
50298 fi
50299 done
50300
50301 else
50302
50303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50304 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50305 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50306 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50307 $as_echo_n "(cached) " >&6
50308 else
50309
50310
50311 ac_ext=cpp
50312 ac_cpp='$CXXCPP $CPPFLAGS'
50313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50316
50317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50318 /* end confdefs.h. */
50319 #include <math.h>
50320 #ifdef HAVE_IEEEFP_H
50321 #include <ieeefp.h>
50322 #endif
50323
50324 int
50325 main ()
50326 {
50327 _sqrtl(0);
50328 ;
50329 return 0;
50330 }
50331 _ACEOF
50332 if ac_fn_cxx_try_compile "$LINENO"; then :
50333 glibcxx_cv_func__sqrtl_use=yes
50334 else
50335 glibcxx_cv_func__sqrtl_use=no
50336 fi
50337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50338 ac_ext=c
50339 ac_cpp='$CPP $CPPFLAGS'
50340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50343
50344
50345 fi
50346
50347 fi
50348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50349 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50350
50351 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50352 for ac_func in _sqrtl
50353 do :
50354 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50355 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50356 cat >>confdefs.h <<_ACEOF
50357 #define HAVE__SQRTL 1
50358 _ACEOF
50359
50360 fi
50361 done
50362
50363 fi
50364 fi
50365
50366
50367
50368
50369
50370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50371 $as_echo_n "checking for sincosl declaration... " >&6; }
50372 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50373 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50374 $as_echo_n "(cached) " >&6
50375 else
50376
50377
50378 ac_ext=cpp
50379 ac_cpp='$CXXCPP $CPPFLAGS'
50380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50383
50384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50385 /* end confdefs.h. */
50386 #include <math.h>
50387 int
50388 main ()
50389 {
50390 sincosl(0, 0, 0);
50391 ;
50392 return 0;
50393 }
50394 _ACEOF
50395 if ac_fn_cxx_try_compile "$LINENO"; then :
50396 glibcxx_cv_func_sincosl_use=yes
50397 else
50398 glibcxx_cv_func_sincosl_use=no
50399 fi
50400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50401 ac_ext=c
50402 ac_cpp='$CPP $CPPFLAGS'
50403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50406
50407
50408 fi
50409
50410 fi
50411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50412 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50413
50414 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50415 for ac_func in sincosl
50416 do :
50417 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50418 if test "x$ac_cv_func_sincosl" = x""yes; then :
50419 cat >>confdefs.h <<_ACEOF
50420 #define HAVE_SINCOSL 1
50421 _ACEOF
50422
50423 fi
50424 done
50425
50426 else
50427
50428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50429 $as_echo_n "checking for _sincosl declaration... " >&6; }
50430 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50431 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50432 $as_echo_n "(cached) " >&6
50433 else
50434
50435
50436 ac_ext=cpp
50437 ac_cpp='$CXXCPP $CPPFLAGS'
50438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50441
50442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50443 /* end confdefs.h. */
50444 #include <math.h>
50445 int
50446 main ()
50447 {
50448 _sincosl(0, 0, 0);
50449 ;
50450 return 0;
50451 }
50452 _ACEOF
50453 if ac_fn_cxx_try_compile "$LINENO"; then :
50454 glibcxx_cv_func__sincosl_use=yes
50455 else
50456 glibcxx_cv_func__sincosl_use=no
50457 fi
50458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50459 ac_ext=c
50460 ac_cpp='$CPP $CPPFLAGS'
50461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50464
50465
50466 fi
50467
50468 fi
50469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50470 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50471
50472 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50473 for ac_func in _sincosl
50474 do :
50475 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50476 if test "x$ac_cv_func__sincosl" = x""yes; then :
50477 cat >>confdefs.h <<_ACEOF
50478 #define HAVE__SINCOSL 1
50479 _ACEOF
50480
50481 fi
50482 done
50483
50484 fi
50485 fi
50486
50487
50488
50489
50490
50491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50492 $as_echo_n "checking for finitel declaration... " >&6; }
50493 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50494 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50495 $as_echo_n "(cached) " >&6
50496 else
50497
50498
50499 ac_ext=cpp
50500 ac_cpp='$CXXCPP $CPPFLAGS'
50501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50504
50505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50506 /* end confdefs.h. */
50507 #include <math.h>
50508 #ifdef HAVE_IEEEFP_H
50509 #include <ieeefp.h>
50510 #endif
50511
50512 int
50513 main ()
50514 {
50515 finitel(0);
50516 ;
50517 return 0;
50518 }
50519 _ACEOF
50520 if ac_fn_cxx_try_compile "$LINENO"; then :
50521 glibcxx_cv_func_finitel_use=yes
50522 else
50523 glibcxx_cv_func_finitel_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_finitel_use" >&5
50537 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50538
50539 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50540 for ac_func in finitel
50541 do :
50542 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50543 if test "x$ac_cv_func_finitel" = x""yes; then :
50544 cat >>confdefs.h <<_ACEOF
50545 #define HAVE_FINITEL 1
50546 _ACEOF
50547
50548 fi
50549 done
50550
50551 else
50552
50553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50554 $as_echo_n "checking for _finitel declaration... " >&6; }
50555 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50556 if test "${glibcxx_cv_func__finitel_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 #ifdef HAVE_IEEEFP_H
50571 #include <ieeefp.h>
50572 #endif
50573
50574 int
50575 main ()
50576 {
50577 _finitel(0);
50578 ;
50579 return 0;
50580 }
50581 _ACEOF
50582 if ac_fn_cxx_try_compile "$LINENO"; then :
50583 glibcxx_cv_func__finitel_use=yes
50584 else
50585 glibcxx_cv_func__finitel_use=no
50586 fi
50587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50588 ac_ext=c
50589 ac_cpp='$CPP $CPPFLAGS'
50590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50593
50594
50595 fi
50596
50597 fi
50598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50599 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50600
50601 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50602 for ac_func in _finitel
50603 do :
50604 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50605 if test "x$ac_cv_func__finitel" = x""yes; then :
50606 cat >>confdefs.h <<_ACEOF
50607 #define HAVE__FINITEL 1
50608 _ACEOF
50609
50610 fi
50611 done
50612
50613 fi
50614 fi
50615
50616
50617
50618
50619 LIBS="$ac_save_LIBS"
50620 CXXFLAGS="$ac_save_CXXFLAGS"
50621
50622
50623 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50624 ac_save_CXXFLAGS="$CXXFLAGS"
50625 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50626
50627
50628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50629 $as_echo_n "checking for strtold declaration... " >&6; }
50630 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50631 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50632 $as_echo_n "(cached) " >&6
50633 else
50634
50635
50636 ac_ext=cpp
50637 ac_cpp='$CXXCPP $CPPFLAGS'
50638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50641
50642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50643 /* end confdefs.h. */
50644 #include <stdlib.h>
50645 int
50646 main ()
50647 {
50648 strtold(0, 0);
50649 ;
50650 return 0;
50651 }
50652 _ACEOF
50653 if ac_fn_cxx_try_compile "$LINENO"; then :
50654 glibcxx_cv_func_strtold_use=yes
50655 else
50656 glibcxx_cv_func_strtold_use=no
50657 fi
50658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50659 ac_ext=c
50660 ac_cpp='$CPP $CPPFLAGS'
50661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50664
50665
50666 fi
50667
50668 fi
50669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50670 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50671 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50672 for ac_func in strtold
50673 do :
50674 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50675 if test "x$ac_cv_func_strtold" = x""yes; then :
50676 cat >>confdefs.h <<_ACEOF
50677 #define HAVE_STRTOLD 1
50678 _ACEOF
50679
50680 fi
50681 done
50682
50683 fi
50684
50685
50686
50687
50688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50689 $as_echo_n "checking for strtof declaration... " >&6; }
50690 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50691 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50692 $as_echo_n "(cached) " >&6
50693 else
50694
50695
50696 ac_ext=cpp
50697 ac_cpp='$CXXCPP $CPPFLAGS'
50698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50701
50702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50703 /* end confdefs.h. */
50704 #include <stdlib.h>
50705 int
50706 main ()
50707 {
50708 strtof(0, 0);
50709 ;
50710 return 0;
50711 }
50712 _ACEOF
50713 if ac_fn_cxx_try_compile "$LINENO"; then :
50714 glibcxx_cv_func_strtof_use=yes
50715 else
50716 glibcxx_cv_func_strtof_use=no
50717 fi
50718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50719 ac_ext=c
50720 ac_cpp='$CPP $CPPFLAGS'
50721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50724
50725
50726 fi
50727
50728 fi
50729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50730 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50731 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50732 for ac_func in strtof
50733 do :
50734 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50735 if test "x$ac_cv_func_strtof" = x""yes; then :
50736 cat >>confdefs.h <<_ACEOF
50737 #define HAVE_STRTOF 1
50738 _ACEOF
50739
50740 fi
50741 done
50742
50743 fi
50744
50745
50746
50747
50748 CXXFLAGS="$ac_save_CXXFLAGS"
50749
50750 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50751
50752
50753
50754 # Check whether --enable-tls was given.
50755 if test "${enable_tls+set}" = set; then :
50756 enableval=$enable_tls;
50757 case "$enableval" in
50758 yes|no) ;;
50759 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50760 esac
50761
50762 else
50763 enable_tls=yes
50764 fi
50765
50766
50767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50768 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50769 if test "${gcc_cv_have_tls+set}" = set; then :
50770 $as_echo_n "(cached) " >&6
50771 else
50772
50773 if test "$cross_compiling" = yes; then :
50774 if test x$gcc_no_link = xyes; then
50775 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50776 fi
50777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50778 /* end confdefs.h. */
50779 __thread int a; int b; int main() { return a = b; }
50780 _ACEOF
50781 if ac_fn_c_try_link "$LINENO"; then :
50782 chktls_save_LDFLAGS="$LDFLAGS"
50783 case $host in
50784 *-*-linux*)
50785 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50786 ;;
50787 esac
50788 chktls_save_CFLAGS="$CFLAGS"
50789 CFLAGS="-fPIC $CFLAGS"
50790 if test x$gcc_no_link = xyes; then
50791 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50792 fi
50793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50794 /* end confdefs.h. */
50795 int f() { return 0; }
50796 _ACEOF
50797 if ac_fn_c_try_link "$LINENO"; then :
50798 if test x$gcc_no_link = xyes; then
50799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50800 fi
50801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50802 /* end confdefs.h. */
50803 __thread int a; int b; int f() { return a = b; }
50804 _ACEOF
50805 if ac_fn_c_try_link "$LINENO"; then :
50806 gcc_cv_have_tls=yes
50807 else
50808 gcc_cv_have_tls=no
50809 fi
50810 rm -f core conftest.err conftest.$ac_objext \
50811 conftest$ac_exeext conftest.$ac_ext
50812 else
50813 gcc_cv_have_tls=yes
50814 fi
50815 rm -f core conftest.err conftest.$ac_objext \
50816 conftest$ac_exeext conftest.$ac_ext
50817 CFLAGS="$chktls_save_CFLAGS"
50818 LDFLAGS="$chktls_save_LDFLAGS"
50819 else
50820 gcc_cv_have_tls=no
50821 fi
50822 rm -f core conftest.err conftest.$ac_objext \
50823 conftest$ac_exeext conftest.$ac_ext
50824
50825
50826 else
50827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50828 /* end confdefs.h. */
50829 __thread int a; int b; int main() { return a = b; }
50830 _ACEOF
50831 if ac_fn_c_try_run "$LINENO"; then :
50832 chktls_save_LDFLAGS="$LDFLAGS"
50833 LDFLAGS="-static $LDFLAGS"
50834 if test x$gcc_no_link = xyes; then
50835 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50836 fi
50837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50838 /* end confdefs.h. */
50839 int main() { return 0; }
50840 _ACEOF
50841 if ac_fn_c_try_link "$LINENO"; then :
50842 if test "$cross_compiling" = yes; then :
50843 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50845 as_fn_error "cannot run test program while cross compiling
50846 See \`config.log' for more details." "$LINENO" 5; }
50847 else
50848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50849 /* end confdefs.h. */
50850 __thread int a; int b; int main() { return a = b; }
50851 _ACEOF
50852 if ac_fn_c_try_run "$LINENO"; then :
50853 gcc_cv_have_tls=yes
50854 else
50855 gcc_cv_have_tls=no
50856 fi
50857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50858 conftest.$ac_objext conftest.beam conftest.$ac_ext
50859 fi
50860
50861 else
50862 gcc_cv_have_tls=yes
50863 fi
50864 rm -f core conftest.err conftest.$ac_objext \
50865 conftest$ac_exeext conftest.$ac_ext
50866 LDFLAGS="$chktls_save_LDFLAGS"
50867 if test $gcc_cv_have_tls = yes; then
50868 chktls_save_CFLAGS="$CFLAGS"
50869 thread_CFLAGS=failed
50870 for flag in '' '-pthread' '-lpthread'; do
50871 CFLAGS="$flag $chktls_save_CFLAGS"
50872 if test x$gcc_no_link = xyes; then
50873 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50874 fi
50875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50876 /* end confdefs.h. */
50877 #include <pthread.h>
50878 void *g(void *d) { return NULL; }
50879 int
50880 main ()
50881 {
50882 pthread_t t; pthread_create(&t,NULL,g,NULL);
50883 ;
50884 return 0;
50885 }
50886 _ACEOF
50887 if ac_fn_c_try_link "$LINENO"; then :
50888 thread_CFLAGS="$flag"
50889 fi
50890 rm -f core conftest.err conftest.$ac_objext \
50891 conftest$ac_exeext conftest.$ac_ext
50892 if test "X$thread_CFLAGS" != Xfailed; then
50893 break
50894 fi
50895 done
50896 CFLAGS="$chktls_save_CFLAGS"
50897 if test "X$thread_CFLAGS" != Xfailed; then
50898 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50899 if test "$cross_compiling" = yes; then :
50900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50902 as_fn_error "cannot run test program while cross compiling
50903 See \`config.log' for more details." "$LINENO" 5; }
50904 else
50905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50906 /* end confdefs.h. */
50907 #include <pthread.h>
50908 __thread int a;
50909 static int *volatile a_in_other_thread;
50910 static void *
50911 thread_func (void *arg)
50912 {
50913 a_in_other_thread = &a;
50914 return (void *)0;
50915 }
50916 int
50917 main ()
50918 {
50919 pthread_t thread;
50920 void *thread_retval;
50921 int *volatile a_in_main_thread;
50922 a_in_main_thread = &a;
50923 if (pthread_create (&thread, (pthread_attr_t *)0,
50924 thread_func, (void *)0))
50925 return 0;
50926 if (pthread_join (thread, &thread_retval))
50927 return 0;
50928 return (a_in_other_thread == a_in_main_thread);
50929 ;
50930 return 0;
50931 }
50932 _ACEOF
50933 if ac_fn_c_try_run "$LINENO"; then :
50934 gcc_cv_have_tls=yes
50935 else
50936 gcc_cv_have_tls=no
50937 fi
50938 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50939 conftest.$ac_objext conftest.beam conftest.$ac_ext
50940 fi
50941
50942 CFLAGS="$chktls_save_CFLAGS"
50943 fi
50944 fi
50945 else
50946 gcc_cv_have_tls=no
50947 fi
50948 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50949 conftest.$ac_objext conftest.beam conftest.$ac_ext
50950 fi
50951
50952 fi
50953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50954 $as_echo "$gcc_cv_have_tls" >&6; }
50955 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50956
50957 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50958
50959 fi
50960
50961
50962
50963
50964
50965 am_save_CPPFLAGS="$CPPFLAGS"
50966
50967 for element in $INCICONV; do
50968 haveit=
50969 for x in $CPPFLAGS; do
50970
50971 acl_save_prefix="$prefix"
50972 prefix="$acl_final_prefix"
50973 acl_save_exec_prefix="$exec_prefix"
50974 exec_prefix="$acl_final_exec_prefix"
50975 eval x=\"$x\"
50976 exec_prefix="$acl_save_exec_prefix"
50977 prefix="$acl_save_prefix"
50978
50979 if test "X$x" = "X$element"; then
50980 haveit=yes
50981 break
50982 fi
50983 done
50984 if test -z "$haveit"; then
50985 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50986 fi
50987 done
50988
50989
50990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50991 $as_echo_n "checking for iconv... " >&6; }
50992 if test "${am_cv_func_iconv+set}" = set; then :
50993 $as_echo_n "(cached) " >&6
50994 else
50995
50996 am_cv_func_iconv="no, consider installing GNU libiconv"
50997 am_cv_lib_iconv=no
50998 if test x$gcc_no_link = xyes; then
50999 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51000 fi
51001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51002 /* end confdefs.h. */
51003 #include <stdlib.h>
51004 #include <iconv.h>
51005 int
51006 main ()
51007 {
51008 iconv_t cd = iconv_open("","");
51009 iconv(cd,NULL,NULL,NULL,NULL);
51010 iconv_close(cd);
51011 ;
51012 return 0;
51013 }
51014 _ACEOF
51015 if ac_fn_c_try_link "$LINENO"; then :
51016 am_cv_func_iconv=yes
51017 fi
51018 rm -f core conftest.err conftest.$ac_objext \
51019 conftest$ac_exeext conftest.$ac_ext
51020 if test "$am_cv_func_iconv" != yes; then
51021 am_save_LIBS="$LIBS"
51022 LIBS="$LIBS $LIBICONV"
51023 if test x$gcc_no_link = xyes; then
51024 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51025 fi
51026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51027 /* end confdefs.h. */
51028 #include <stdlib.h>
51029 #include <iconv.h>
51030 int
51031 main ()
51032 {
51033 iconv_t cd = iconv_open("","");
51034 iconv(cd,NULL,NULL,NULL,NULL);
51035 iconv_close(cd);
51036 ;
51037 return 0;
51038 }
51039 _ACEOF
51040 if ac_fn_c_try_link "$LINENO"; then :
51041 am_cv_lib_iconv=yes
51042 am_cv_func_iconv=yes
51043 fi
51044 rm -f core conftest.err conftest.$ac_objext \
51045 conftest$ac_exeext conftest.$ac_ext
51046 LIBS="$am_save_LIBS"
51047 fi
51048
51049 fi
51050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51051 $as_echo "$am_cv_func_iconv" >&6; }
51052 if test "$am_cv_func_iconv" = yes; then
51053
51054 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51055
51056 fi
51057 if test "$am_cv_lib_iconv" = yes; then
51058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51059 $as_echo_n "checking how to link with libiconv... " >&6; }
51060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51061 $as_echo "$LIBICONV" >&6; }
51062 else
51063 CPPFLAGS="$am_save_CPPFLAGS"
51064 LIBICONV=
51065 LTLIBICONV=
51066 fi
51067
51068
51069
51070 if test "$am_cv_func_iconv" = yes; then
51071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51072 $as_echo_n "checking for iconv declaration... " >&6; }
51073 if test "${am_cv_proto_iconv+set}" = set; then :
51074 $as_echo_n "(cached) " >&6
51075 else
51076
51077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51078 /* end confdefs.h. */
51079
51080 #include <stdlib.h>
51081 #include <iconv.h>
51082 extern
51083 #ifdef __cplusplus
51084 "C"
51085 #endif
51086 #if defined(__STDC__) || defined(__cplusplus)
51087 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51088 #else
51089 size_t iconv();
51090 #endif
51091
51092 int
51093 main ()
51094 {
51095
51096 ;
51097 return 0;
51098 }
51099 _ACEOF
51100 if ac_fn_c_try_compile "$LINENO"; then :
51101 am_cv_proto_iconv_arg1=""
51102 else
51103 am_cv_proto_iconv_arg1="const"
51104 fi
51105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51106 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);"
51107 fi
51108
51109 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51111 }$am_cv_proto_iconv" >&5
51112 $as_echo "${ac_t:-
51113 }$am_cv_proto_iconv" >&6; }
51114
51115 cat >>confdefs.h <<_ACEOF
51116 #define ICONV_CONST $am_cv_proto_iconv_arg1
51117 _ACEOF
51118
51119 fi
51120
51121 ;;
51122 *-mingw32*)
51123
51124 # If we're not using GNU ld, then there's no point in even trying these
51125 # tests. Check for that first. We should have already tested for gld
51126 # by now (in libtool), but require it now just to be safe...
51127 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51128 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51129
51130
51131
51132 # The name set by libtool depends on the version of libtool. Shame on us
51133 # for depending on an impl detail, but c'est la vie. Older versions used
51134 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51135 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51136 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51137 # set (hence we're using an older libtool), then set it.
51138 if test x${with_gnu_ld+set} != xset; then
51139 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51140 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51141 with_gnu_ld=no
51142 else
51143 with_gnu_ld=$ac_cv_prog_gnu_ld
51144 fi
51145 fi
51146
51147 # Start by getting the version number. I think the libtool test already
51148 # does some of this, but throws away the result.
51149 glibcxx_ld_is_gold=no
51150 if test x"$with_gnu_ld" = x"yes"; then
51151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51152 $as_echo_n "checking for ld version... " >&6; }
51153
51154 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51155 glibcxx_ld_is_gold=yes
51156 fi
51157 ldver=`$LD --version 2>/dev/null |
51158 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'`
51159
51160 glibcxx_gnu_ld_version=`echo $ldver | \
51161 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51163 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51164 fi
51165
51166 # Set --gc-sections.
51167 glibcxx_have_gc_sections=no
51168 if test "$glibcxx_ld_is_gold" = "yes"; then
51169 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51170 glibcxx_have_gc_sections=yes
51171 fi
51172 else
51173 glibcxx_gcsections_min_ld=21602
51174 if test x"$with_gnu_ld" = x"yes" &&
51175 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51176 glibcxx_have_gc_sections=yes
51177 fi
51178 fi
51179 if test "$glibcxx_have_gc_sections" = "yes"; then
51180 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51181 # NB: This flag only works reliably after 2.16.1. Configure tests
51182 # for this are difficult, so hard wire a value that should work.
51183
51184 ac_test_CFLAGS="${CFLAGS+set}"
51185 ac_save_CFLAGS="$CFLAGS"
51186 CFLAGS='-Wl,--gc-sections'
51187
51188 # Check for -Wl,--gc-sections
51189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51190 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51191 if test x$gcc_no_link = xyes; then
51192 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51193 fi
51194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51195 /* end confdefs.h. */
51196 int one(void) { return 1; }
51197 int two(void) { return 2; }
51198
51199 int
51200 main ()
51201 {
51202 two();
51203 ;
51204 return 0;
51205 }
51206 _ACEOF
51207 if ac_fn_c_try_link "$LINENO"; then :
51208 ac_gcsections=yes
51209 else
51210 ac_gcsections=no
51211 fi
51212 rm -f core conftest.err conftest.$ac_objext \
51213 conftest$ac_exeext conftest.$ac_ext
51214 if test "$ac_gcsections" = "yes"; then
51215 rm -f conftest.c
51216 touch conftest.c
51217 if $CC -c conftest.c; then
51218 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51219 grep "Warning: gc-sections option ignored" > /dev/null; then
51220 ac_gcsections=no
51221 fi
51222 fi
51223 rm -f conftest.c conftest.o conftest
51224 fi
51225 if test "$ac_gcsections" = "yes"; then
51226 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51227 fi
51228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51229 $as_echo "$ac_gcsections" >&6; }
51230
51231 if test "$ac_test_CFLAGS" = set; then
51232 CFLAGS="$ac_save_CFLAGS"
51233 else
51234 # this is the suspicious part
51235 CFLAGS=''
51236 fi
51237 fi
51238
51239 # Set -z,relro.
51240 # Note this is only for shared objects.
51241 ac_ld_relro=no
51242 if test x"$with_gnu_ld" = x"yes"; then
51243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51244 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51245 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51246 if test -n "$cxx_z_relo"; then
51247 OPT_LDFLAGS="-Wl,-z,relro"
51248 ac_ld_relro=yes
51249 fi
51250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51251 $as_echo "$ac_ld_relro" >&6; }
51252 fi
51253
51254 # Set linker optimization flags.
51255 if test x"$with_gnu_ld" = x"yes"; then
51256 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51257 fi
51258
51259
51260
51261
51262
51263 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51264 ac_save_CXXFLAGS="$CXXFLAGS"
51265 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51266
51267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51268 $as_echo_n "checking for sin in -lm... " >&6; }
51269 if test "${ac_cv_lib_m_sin+set}" = set; then :
51270 $as_echo_n "(cached) " >&6
51271 else
51272 ac_check_lib_save_LIBS=$LIBS
51273 LIBS="-lm $LIBS"
51274 if test x$gcc_no_link = xyes; then
51275 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51276 fi
51277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51278 /* end confdefs.h. */
51279
51280 /* Override any GCC internal prototype to avoid an error.
51281 Use char because int might match the return type of a GCC
51282 builtin and then its argument prototype would still apply. */
51283 #ifdef __cplusplus
51284 extern "C"
51285 #endif
51286 char sin ();
51287 int
51288 main ()
51289 {
51290 return sin ();
51291 ;
51292 return 0;
51293 }
51294 _ACEOF
51295 if ac_fn_c_try_link "$LINENO"; then :
51296 ac_cv_lib_m_sin=yes
51297 else
51298 ac_cv_lib_m_sin=no
51299 fi
51300 rm -f core conftest.err conftest.$ac_objext \
51301 conftest$ac_exeext conftest.$ac_ext
51302 LIBS=$ac_check_lib_save_LIBS
51303 fi
51304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51305 $as_echo "$ac_cv_lib_m_sin" >&6; }
51306 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51307 libm="-lm"
51308 fi
51309
51310 ac_save_LIBS="$LIBS"
51311 LIBS="$LIBS $libm"
51312
51313
51314
51315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51316 $as_echo_n "checking for isinf declaration... " >&6; }
51317 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51318 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51319 $as_echo_n "(cached) " >&6
51320 else
51321
51322
51323 ac_ext=cpp
51324 ac_cpp='$CXXCPP $CPPFLAGS'
51325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51328
51329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51330 /* end confdefs.h. */
51331 #include <math.h>
51332 #ifdef HAVE_IEEEFP_H
51333 #include <ieeefp.h>
51334 #endif
51335
51336 int
51337 main ()
51338 {
51339 isinf(0);
51340 ;
51341 return 0;
51342 }
51343 _ACEOF
51344 if ac_fn_cxx_try_compile "$LINENO"; then :
51345 glibcxx_cv_func_isinf_use=yes
51346 else
51347 glibcxx_cv_func_isinf_use=no
51348 fi
51349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51350 ac_ext=c
51351 ac_cpp='$CPP $CPPFLAGS'
51352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51355
51356
51357 fi
51358
51359 fi
51360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51361 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51362
51363 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51364 for ac_func in isinf
51365 do :
51366 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51367 if test "x$ac_cv_func_isinf" = x""yes; then :
51368 cat >>confdefs.h <<_ACEOF
51369 #define HAVE_ISINF 1
51370 _ACEOF
51371
51372 fi
51373 done
51374
51375 else
51376
51377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51378 $as_echo_n "checking for _isinf declaration... " >&6; }
51379 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51380 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51381 $as_echo_n "(cached) " >&6
51382 else
51383
51384
51385 ac_ext=cpp
51386 ac_cpp='$CXXCPP $CPPFLAGS'
51387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51390
51391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51392 /* end confdefs.h. */
51393 #include <math.h>
51394 #ifdef HAVE_IEEEFP_H
51395 #include <ieeefp.h>
51396 #endif
51397
51398 int
51399 main ()
51400 {
51401 _isinf(0);
51402 ;
51403 return 0;
51404 }
51405 _ACEOF
51406 if ac_fn_cxx_try_compile "$LINENO"; then :
51407 glibcxx_cv_func__isinf_use=yes
51408 else
51409 glibcxx_cv_func__isinf_use=no
51410 fi
51411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51412 ac_ext=c
51413 ac_cpp='$CPP $CPPFLAGS'
51414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51417
51418
51419 fi
51420
51421 fi
51422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51423 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51424
51425 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51426 for ac_func in _isinf
51427 do :
51428 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51429 if test "x$ac_cv_func__isinf" = x""yes; then :
51430 cat >>confdefs.h <<_ACEOF
51431 #define HAVE__ISINF 1
51432 _ACEOF
51433
51434 fi
51435 done
51436
51437 fi
51438 fi
51439
51440
51441
51442
51443
51444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51445 $as_echo_n "checking for isnan declaration... " >&6; }
51446 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51447 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51448 $as_echo_n "(cached) " >&6
51449 else
51450
51451
51452 ac_ext=cpp
51453 ac_cpp='$CXXCPP $CPPFLAGS'
51454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51457
51458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51459 /* end confdefs.h. */
51460 #include <math.h>
51461 #ifdef HAVE_IEEEFP_H
51462 #include <ieeefp.h>
51463 #endif
51464
51465 int
51466 main ()
51467 {
51468 isnan(0);
51469 ;
51470 return 0;
51471 }
51472 _ACEOF
51473 if ac_fn_cxx_try_compile "$LINENO"; then :
51474 glibcxx_cv_func_isnan_use=yes
51475 else
51476 glibcxx_cv_func_isnan_use=no
51477 fi
51478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51479 ac_ext=c
51480 ac_cpp='$CPP $CPPFLAGS'
51481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51484
51485
51486 fi
51487
51488 fi
51489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51490 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51491
51492 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51493 for ac_func in isnan
51494 do :
51495 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51496 if test "x$ac_cv_func_isnan" = x""yes; then :
51497 cat >>confdefs.h <<_ACEOF
51498 #define HAVE_ISNAN 1
51499 _ACEOF
51500
51501 fi
51502 done
51503
51504 else
51505
51506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51507 $as_echo_n "checking for _isnan declaration... " >&6; }
51508 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51509 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51510 $as_echo_n "(cached) " >&6
51511 else
51512
51513
51514 ac_ext=cpp
51515 ac_cpp='$CXXCPP $CPPFLAGS'
51516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51519
51520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51521 /* end confdefs.h. */
51522 #include <math.h>
51523 #ifdef HAVE_IEEEFP_H
51524 #include <ieeefp.h>
51525 #endif
51526
51527 int
51528 main ()
51529 {
51530 _isnan(0);
51531 ;
51532 return 0;
51533 }
51534 _ACEOF
51535 if ac_fn_cxx_try_compile "$LINENO"; then :
51536 glibcxx_cv_func__isnan_use=yes
51537 else
51538 glibcxx_cv_func__isnan_use=no
51539 fi
51540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51541 ac_ext=c
51542 ac_cpp='$CPP $CPPFLAGS'
51543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51546
51547
51548 fi
51549
51550 fi
51551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51552 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51553
51554 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51555 for ac_func in _isnan
51556 do :
51557 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51558 if test "x$ac_cv_func__isnan" = x""yes; then :
51559 cat >>confdefs.h <<_ACEOF
51560 #define HAVE__ISNAN 1
51561 _ACEOF
51562
51563 fi
51564 done
51565
51566 fi
51567 fi
51568
51569
51570
51571
51572
51573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51574 $as_echo_n "checking for finite declaration... " >&6; }
51575 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51576 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51577 $as_echo_n "(cached) " >&6
51578 else
51579
51580
51581 ac_ext=cpp
51582 ac_cpp='$CXXCPP $CPPFLAGS'
51583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51586
51587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51588 /* end confdefs.h. */
51589 #include <math.h>
51590 #ifdef HAVE_IEEEFP_H
51591 #include <ieeefp.h>
51592 #endif
51593
51594 int
51595 main ()
51596 {
51597 finite(0);
51598 ;
51599 return 0;
51600 }
51601 _ACEOF
51602 if ac_fn_cxx_try_compile "$LINENO"; then :
51603 glibcxx_cv_func_finite_use=yes
51604 else
51605 glibcxx_cv_func_finite_use=no
51606 fi
51607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51608 ac_ext=c
51609 ac_cpp='$CPP $CPPFLAGS'
51610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51613
51614
51615 fi
51616
51617 fi
51618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51619 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51620
51621 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51622 for ac_func in finite
51623 do :
51624 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51625 if test "x$ac_cv_func_finite" = x""yes; then :
51626 cat >>confdefs.h <<_ACEOF
51627 #define HAVE_FINITE 1
51628 _ACEOF
51629
51630 fi
51631 done
51632
51633 else
51634
51635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51636 $as_echo_n "checking for _finite declaration... " >&6; }
51637 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51638 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51639 $as_echo_n "(cached) " >&6
51640 else
51641
51642
51643 ac_ext=cpp
51644 ac_cpp='$CXXCPP $CPPFLAGS'
51645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51648
51649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51650 /* end confdefs.h. */
51651 #include <math.h>
51652 #ifdef HAVE_IEEEFP_H
51653 #include <ieeefp.h>
51654 #endif
51655
51656 int
51657 main ()
51658 {
51659 _finite(0);
51660 ;
51661 return 0;
51662 }
51663 _ACEOF
51664 if ac_fn_cxx_try_compile "$LINENO"; then :
51665 glibcxx_cv_func__finite_use=yes
51666 else
51667 glibcxx_cv_func__finite_use=no
51668 fi
51669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51670 ac_ext=c
51671 ac_cpp='$CPP $CPPFLAGS'
51672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51675
51676
51677 fi
51678
51679 fi
51680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51681 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51682
51683 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51684 for ac_func in _finite
51685 do :
51686 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51687 if test "x$ac_cv_func__finite" = x""yes; then :
51688 cat >>confdefs.h <<_ACEOF
51689 #define HAVE__FINITE 1
51690 _ACEOF
51691
51692 fi
51693 done
51694
51695 fi
51696 fi
51697
51698
51699
51700
51701
51702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51703 $as_echo_n "checking for sincos declaration... " >&6; }
51704 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51705 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51706 $as_echo_n "(cached) " >&6
51707 else
51708
51709
51710 ac_ext=cpp
51711 ac_cpp='$CXXCPP $CPPFLAGS'
51712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51715
51716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51717 /* end confdefs.h. */
51718 #include <math.h>
51719 int
51720 main ()
51721 {
51722 sincos(0, 0, 0);
51723 ;
51724 return 0;
51725 }
51726 _ACEOF
51727 if ac_fn_cxx_try_compile "$LINENO"; then :
51728 glibcxx_cv_func_sincos_use=yes
51729 else
51730 glibcxx_cv_func_sincos_use=no
51731 fi
51732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51733 ac_ext=c
51734 ac_cpp='$CPP $CPPFLAGS'
51735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51738
51739
51740 fi
51741
51742 fi
51743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51744 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51745
51746 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51747 for ac_func in sincos
51748 do :
51749 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51750 if test "x$ac_cv_func_sincos" = x""yes; then :
51751 cat >>confdefs.h <<_ACEOF
51752 #define HAVE_SINCOS 1
51753 _ACEOF
51754
51755 fi
51756 done
51757
51758 else
51759
51760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51761 $as_echo_n "checking for _sincos declaration... " >&6; }
51762 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51763 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51764 $as_echo_n "(cached) " >&6
51765 else
51766
51767
51768 ac_ext=cpp
51769 ac_cpp='$CXXCPP $CPPFLAGS'
51770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51773
51774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51775 /* end confdefs.h. */
51776 #include <math.h>
51777 int
51778 main ()
51779 {
51780 _sincos(0, 0, 0);
51781 ;
51782 return 0;
51783 }
51784 _ACEOF
51785 if ac_fn_cxx_try_compile "$LINENO"; then :
51786 glibcxx_cv_func__sincos_use=yes
51787 else
51788 glibcxx_cv_func__sincos_use=no
51789 fi
51790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51791 ac_ext=c
51792 ac_cpp='$CPP $CPPFLAGS'
51793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51796
51797
51798 fi
51799
51800 fi
51801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51802 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51803
51804 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51805 for ac_func in _sincos
51806 do :
51807 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51808 if test "x$ac_cv_func__sincos" = x""yes; then :
51809 cat >>confdefs.h <<_ACEOF
51810 #define HAVE__SINCOS 1
51811 _ACEOF
51812
51813 fi
51814 done
51815
51816 fi
51817 fi
51818
51819
51820
51821
51822
51823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51824 $as_echo_n "checking for fpclass declaration... " >&6; }
51825 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51826 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51827 $as_echo_n "(cached) " >&6
51828 else
51829
51830
51831 ac_ext=cpp
51832 ac_cpp='$CXXCPP $CPPFLAGS'
51833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51836
51837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51838 /* end confdefs.h. */
51839 #include <math.h>
51840 #ifdef HAVE_IEEEFP_H
51841 #include <ieeefp.h>
51842 #endif
51843
51844 int
51845 main ()
51846 {
51847 fpclass(0);
51848 ;
51849 return 0;
51850 }
51851 _ACEOF
51852 if ac_fn_cxx_try_compile "$LINENO"; then :
51853 glibcxx_cv_func_fpclass_use=yes
51854 else
51855 glibcxx_cv_func_fpclass_use=no
51856 fi
51857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51858 ac_ext=c
51859 ac_cpp='$CPP $CPPFLAGS'
51860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51863
51864
51865 fi
51866
51867 fi
51868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51869 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51870
51871 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51872 for ac_func in fpclass
51873 do :
51874 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51875 if test "x$ac_cv_func_fpclass" = x""yes; then :
51876 cat >>confdefs.h <<_ACEOF
51877 #define HAVE_FPCLASS 1
51878 _ACEOF
51879
51880 fi
51881 done
51882
51883 else
51884
51885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51886 $as_echo_n "checking for _fpclass declaration... " >&6; }
51887 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51888 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51889 $as_echo_n "(cached) " >&6
51890 else
51891
51892
51893 ac_ext=cpp
51894 ac_cpp='$CXXCPP $CPPFLAGS'
51895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51898
51899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51900 /* end confdefs.h. */
51901 #include <math.h>
51902 #ifdef HAVE_IEEEFP_H
51903 #include <ieeefp.h>
51904 #endif
51905
51906 int
51907 main ()
51908 {
51909 _fpclass(0);
51910 ;
51911 return 0;
51912 }
51913 _ACEOF
51914 if ac_fn_cxx_try_compile "$LINENO"; then :
51915 glibcxx_cv_func__fpclass_use=yes
51916 else
51917 glibcxx_cv_func__fpclass_use=no
51918 fi
51919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51920 ac_ext=c
51921 ac_cpp='$CPP $CPPFLAGS'
51922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51925
51926
51927 fi
51928
51929 fi
51930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51931 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51932
51933 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51934 for ac_func in _fpclass
51935 do :
51936 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51937 if test "x$ac_cv_func__fpclass" = x""yes; then :
51938 cat >>confdefs.h <<_ACEOF
51939 #define HAVE__FPCLASS 1
51940 _ACEOF
51941
51942 fi
51943 done
51944
51945 fi
51946 fi
51947
51948
51949
51950
51951
51952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51953 $as_echo_n "checking for qfpclass declaration... " >&6; }
51954 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51955 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51956 $as_echo_n "(cached) " >&6
51957 else
51958
51959
51960 ac_ext=cpp
51961 ac_cpp='$CXXCPP $CPPFLAGS'
51962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51965
51966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51967 /* end confdefs.h. */
51968 #include <math.h>
51969 #ifdef HAVE_IEEEFP_H
51970 #include <ieeefp.h>
51971 #endif
51972
51973 int
51974 main ()
51975 {
51976 qfpclass(0);
51977 ;
51978 return 0;
51979 }
51980 _ACEOF
51981 if ac_fn_cxx_try_compile "$LINENO"; then :
51982 glibcxx_cv_func_qfpclass_use=yes
51983 else
51984 glibcxx_cv_func_qfpclass_use=no
51985 fi
51986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51987 ac_ext=c
51988 ac_cpp='$CPP $CPPFLAGS'
51989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51992
51993
51994 fi
51995
51996 fi
51997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51998 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51999
52000 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52001 for ac_func in qfpclass
52002 do :
52003 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52004 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52005 cat >>confdefs.h <<_ACEOF
52006 #define HAVE_QFPCLASS 1
52007 _ACEOF
52008
52009 fi
52010 done
52011
52012 else
52013
52014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52015 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52016 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52017 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52018 $as_echo_n "(cached) " >&6
52019 else
52020
52021
52022 ac_ext=cpp
52023 ac_cpp='$CXXCPP $CPPFLAGS'
52024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52027
52028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52029 /* end confdefs.h. */
52030 #include <math.h>
52031 #ifdef HAVE_IEEEFP_H
52032 #include <ieeefp.h>
52033 #endif
52034
52035 int
52036 main ()
52037 {
52038 _qfpclass(0);
52039 ;
52040 return 0;
52041 }
52042 _ACEOF
52043 if ac_fn_cxx_try_compile "$LINENO"; then :
52044 glibcxx_cv_func__qfpclass_use=yes
52045 else
52046 glibcxx_cv_func__qfpclass_use=no
52047 fi
52048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52049 ac_ext=c
52050 ac_cpp='$CPP $CPPFLAGS'
52051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52054
52055
52056 fi
52057
52058 fi
52059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52060 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52061
52062 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52063 for ac_func in _qfpclass
52064 do :
52065 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52066 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52067 cat >>confdefs.h <<_ACEOF
52068 #define HAVE__QFPCLASS 1
52069 _ACEOF
52070
52071 fi
52072 done
52073
52074 fi
52075 fi
52076
52077
52078
52079
52080
52081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52082 $as_echo_n "checking for hypot declaration... " >&6; }
52083 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52084 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52085 $as_echo_n "(cached) " >&6
52086 else
52087
52088
52089 ac_ext=cpp
52090 ac_cpp='$CXXCPP $CPPFLAGS'
52091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52094
52095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52096 /* end confdefs.h. */
52097 #include <math.h>
52098 int
52099 main ()
52100 {
52101 hypot(0, 0);
52102 ;
52103 return 0;
52104 }
52105 _ACEOF
52106 if ac_fn_cxx_try_compile "$LINENO"; then :
52107 glibcxx_cv_func_hypot_use=yes
52108 else
52109 glibcxx_cv_func_hypot_use=no
52110 fi
52111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52112 ac_ext=c
52113 ac_cpp='$CPP $CPPFLAGS'
52114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52117
52118
52119 fi
52120
52121 fi
52122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52123 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52124
52125 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52126 for ac_func in hypot
52127 do :
52128 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52129 if test "x$ac_cv_func_hypot" = x""yes; then :
52130 cat >>confdefs.h <<_ACEOF
52131 #define HAVE_HYPOT 1
52132 _ACEOF
52133
52134 fi
52135 done
52136
52137 else
52138
52139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52140 $as_echo_n "checking for _hypot declaration... " >&6; }
52141 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52142 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52143 $as_echo_n "(cached) " >&6
52144 else
52145
52146
52147 ac_ext=cpp
52148 ac_cpp='$CXXCPP $CPPFLAGS'
52149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52152
52153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52154 /* end confdefs.h. */
52155 #include <math.h>
52156 int
52157 main ()
52158 {
52159 _hypot(0, 0);
52160 ;
52161 return 0;
52162 }
52163 _ACEOF
52164 if ac_fn_cxx_try_compile "$LINENO"; then :
52165 glibcxx_cv_func__hypot_use=yes
52166 else
52167 glibcxx_cv_func__hypot_use=no
52168 fi
52169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52170 ac_ext=c
52171 ac_cpp='$CPP $CPPFLAGS'
52172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52175
52176
52177 fi
52178
52179 fi
52180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52181 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52182
52183 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52184 for ac_func in _hypot
52185 do :
52186 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52187 if test "x$ac_cv_func__hypot" = x""yes; then :
52188 cat >>confdefs.h <<_ACEOF
52189 #define HAVE__HYPOT 1
52190 _ACEOF
52191
52192 fi
52193 done
52194
52195 fi
52196 fi
52197
52198
52199
52200
52201
52202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52203 $as_echo_n "checking for float trig functions... " >&6; }
52204 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52205 $as_echo_n "(cached) " >&6
52206 else
52207
52208
52209 ac_ext=cpp
52210 ac_cpp='$CXXCPP $CPPFLAGS'
52211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52214
52215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52216 /* end confdefs.h. */
52217 #include <math.h>
52218 int
52219 main ()
52220 {
52221 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52222 ;
52223 return 0;
52224 }
52225 _ACEOF
52226 if ac_fn_cxx_try_compile "$LINENO"; then :
52227 glibcxx_cv_func_float_trig_use=yes
52228 else
52229 glibcxx_cv_func_float_trig_use=no
52230 fi
52231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52232 ac_ext=c
52233 ac_cpp='$CPP $CPPFLAGS'
52234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52237
52238 fi
52239
52240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52241 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52242 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52243 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52244 do :
52245 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52246 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52247 eval as_val=\$$as_ac_var
52248 if test "x$as_val" = x""yes; then :
52249 cat >>confdefs.h <<_ACEOF
52250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52251 _ACEOF
52252
52253 fi
52254 done
52255
52256 else
52257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52258 $as_echo_n "checking for _float trig functions... " >&6; }
52259 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52260 $as_echo_n "(cached) " >&6
52261 else
52262
52263
52264 ac_ext=cpp
52265 ac_cpp='$CXXCPP $CPPFLAGS'
52266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52269
52270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52271 /* end confdefs.h. */
52272 #include <math.h>
52273 int
52274 main ()
52275 {
52276 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52277 ;
52278 return 0;
52279 }
52280 _ACEOF
52281 if ac_fn_cxx_try_compile "$LINENO"; then :
52282 glibcxx_cv_func__float_trig_use=yes
52283 else
52284 glibcxx_cv_func__float_trig_use=no
52285 fi
52286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52287 ac_ext=c
52288 ac_cpp='$CPP $CPPFLAGS'
52289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52292
52293 fi
52294
52295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52296 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52297 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52298 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52299 do :
52300 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52301 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52302 eval as_val=\$$as_ac_var
52303 if test "x$as_val" = x""yes; then :
52304 cat >>confdefs.h <<_ACEOF
52305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52306 _ACEOF
52307
52308 fi
52309 done
52310
52311 fi
52312 fi
52313
52314
52315
52316
52317
52318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52319 $as_echo_n "checking for float round functions... " >&6; }
52320 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52321 $as_echo_n "(cached) " >&6
52322 else
52323
52324
52325 ac_ext=cpp
52326 ac_cpp='$CXXCPP $CPPFLAGS'
52327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52330
52331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52332 /* end confdefs.h. */
52333 #include <math.h>
52334 int
52335 main ()
52336 {
52337 ceilf (0); floorf (0);
52338 ;
52339 return 0;
52340 }
52341 _ACEOF
52342 if ac_fn_cxx_try_compile "$LINENO"; then :
52343 glibcxx_cv_func_float_round_use=yes
52344 else
52345 glibcxx_cv_func_float_round_use=no
52346 fi
52347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52348 ac_ext=c
52349 ac_cpp='$CPP $CPPFLAGS'
52350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52353
52354 fi
52355
52356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52357 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52358 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52359 for ac_func in ceilf floorf
52360 do :
52361 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52362 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52363 eval as_val=\$$as_ac_var
52364 if test "x$as_val" = x""yes; then :
52365 cat >>confdefs.h <<_ACEOF
52366 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52367 _ACEOF
52368
52369 fi
52370 done
52371
52372 else
52373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52374 $as_echo_n "checking for _float round functions... " >&6; }
52375 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52376 $as_echo_n "(cached) " >&6
52377 else
52378
52379
52380 ac_ext=cpp
52381 ac_cpp='$CXXCPP $CPPFLAGS'
52382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52385
52386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52387 /* end confdefs.h. */
52388 #include <math.h>
52389 int
52390 main ()
52391 {
52392 _ceilf (0); _floorf (0);
52393 ;
52394 return 0;
52395 }
52396 _ACEOF
52397 if ac_fn_cxx_try_compile "$LINENO"; then :
52398 glibcxx_cv_func__float_round_use=yes
52399 else
52400 glibcxx_cv_func__float_round_use=no
52401 fi
52402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52403 ac_ext=c
52404 ac_cpp='$CPP $CPPFLAGS'
52405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52408
52409 fi
52410
52411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52412 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52413 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52414 for ac_func in _ceilf _floorf
52415 do :
52416 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52417 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52418 eval as_val=\$$as_ac_var
52419 if test "x$as_val" = x""yes; then :
52420 cat >>confdefs.h <<_ACEOF
52421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52422 _ACEOF
52423
52424 fi
52425 done
52426
52427 fi
52428 fi
52429
52430
52431
52432
52433
52434
52435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52436 $as_echo_n "checking for expf declaration... " >&6; }
52437 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52438 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52439 $as_echo_n "(cached) " >&6
52440 else
52441
52442
52443 ac_ext=cpp
52444 ac_cpp='$CXXCPP $CPPFLAGS'
52445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52448
52449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52450 /* end confdefs.h. */
52451 #include <math.h>
52452 #ifdef HAVE_IEEEFP_H
52453 #include <ieeefp.h>
52454 #endif
52455
52456 int
52457 main ()
52458 {
52459 expf(0);
52460 ;
52461 return 0;
52462 }
52463 _ACEOF
52464 if ac_fn_cxx_try_compile "$LINENO"; then :
52465 glibcxx_cv_func_expf_use=yes
52466 else
52467 glibcxx_cv_func_expf_use=no
52468 fi
52469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52470 ac_ext=c
52471 ac_cpp='$CPP $CPPFLAGS'
52472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52475
52476
52477 fi
52478
52479 fi
52480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52481 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52482
52483 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52484 for ac_func in expf
52485 do :
52486 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52487 if test "x$ac_cv_func_expf" = x""yes; then :
52488 cat >>confdefs.h <<_ACEOF
52489 #define HAVE_EXPF 1
52490 _ACEOF
52491
52492 fi
52493 done
52494
52495 else
52496
52497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52498 $as_echo_n "checking for _expf declaration... " >&6; }
52499 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52500 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52501 $as_echo_n "(cached) " >&6
52502 else
52503
52504
52505 ac_ext=cpp
52506 ac_cpp='$CXXCPP $CPPFLAGS'
52507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52510
52511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52512 /* end confdefs.h. */
52513 #include <math.h>
52514 #ifdef HAVE_IEEEFP_H
52515 #include <ieeefp.h>
52516 #endif
52517
52518 int
52519 main ()
52520 {
52521 _expf(0);
52522 ;
52523 return 0;
52524 }
52525 _ACEOF
52526 if ac_fn_cxx_try_compile "$LINENO"; then :
52527 glibcxx_cv_func__expf_use=yes
52528 else
52529 glibcxx_cv_func__expf_use=no
52530 fi
52531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52532 ac_ext=c
52533 ac_cpp='$CPP $CPPFLAGS'
52534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52537
52538
52539 fi
52540
52541 fi
52542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52543 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52544
52545 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52546 for ac_func in _expf
52547 do :
52548 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52549 if test "x$ac_cv_func__expf" = x""yes; then :
52550 cat >>confdefs.h <<_ACEOF
52551 #define HAVE__EXPF 1
52552 _ACEOF
52553
52554 fi
52555 done
52556
52557 fi
52558 fi
52559
52560
52561
52562
52563
52564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52565 $as_echo_n "checking for isnanf declaration... " >&6; }
52566 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52567 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52568 $as_echo_n "(cached) " >&6
52569 else
52570
52571
52572 ac_ext=cpp
52573 ac_cpp='$CXXCPP $CPPFLAGS'
52574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52577
52578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52579 /* end confdefs.h. */
52580 #include <math.h>
52581 #ifdef HAVE_IEEEFP_H
52582 #include <ieeefp.h>
52583 #endif
52584
52585 int
52586 main ()
52587 {
52588 isnanf(0);
52589 ;
52590 return 0;
52591 }
52592 _ACEOF
52593 if ac_fn_cxx_try_compile "$LINENO"; then :
52594 glibcxx_cv_func_isnanf_use=yes
52595 else
52596 glibcxx_cv_func_isnanf_use=no
52597 fi
52598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52599 ac_ext=c
52600 ac_cpp='$CPP $CPPFLAGS'
52601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52604
52605
52606 fi
52607
52608 fi
52609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52610 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52611
52612 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52613 for ac_func in isnanf
52614 do :
52615 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52616 if test "x$ac_cv_func_isnanf" = x""yes; then :
52617 cat >>confdefs.h <<_ACEOF
52618 #define HAVE_ISNANF 1
52619 _ACEOF
52620
52621 fi
52622 done
52623
52624 else
52625
52626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52627 $as_echo_n "checking for _isnanf declaration... " >&6; }
52628 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52629 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52630 $as_echo_n "(cached) " >&6
52631 else
52632
52633
52634 ac_ext=cpp
52635 ac_cpp='$CXXCPP $CPPFLAGS'
52636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52639
52640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52641 /* end confdefs.h. */
52642 #include <math.h>
52643 #ifdef HAVE_IEEEFP_H
52644 #include <ieeefp.h>
52645 #endif
52646
52647 int
52648 main ()
52649 {
52650 _isnanf(0);
52651 ;
52652 return 0;
52653 }
52654 _ACEOF
52655 if ac_fn_cxx_try_compile "$LINENO"; then :
52656 glibcxx_cv_func__isnanf_use=yes
52657 else
52658 glibcxx_cv_func__isnanf_use=no
52659 fi
52660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52661 ac_ext=c
52662 ac_cpp='$CPP $CPPFLAGS'
52663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52666
52667
52668 fi
52669
52670 fi
52671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52672 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52673
52674 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52675 for ac_func in _isnanf
52676 do :
52677 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52678 if test "x$ac_cv_func__isnanf" = x""yes; then :
52679 cat >>confdefs.h <<_ACEOF
52680 #define HAVE__ISNANF 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 isinff declaration" >&5
52694 $as_echo_n "checking for isinff declaration... " >&6; }
52695 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52696 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52697 $as_echo_n "(cached) " >&6
52698 else
52699
52700
52701 ac_ext=cpp
52702 ac_cpp='$CXXCPP $CPPFLAGS'
52703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52706
52707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52708 /* end confdefs.h. */
52709 #include <math.h>
52710 #ifdef HAVE_IEEEFP_H
52711 #include <ieeefp.h>
52712 #endif
52713
52714 int
52715 main ()
52716 {
52717 isinff(0);
52718 ;
52719 return 0;
52720 }
52721 _ACEOF
52722 if ac_fn_cxx_try_compile "$LINENO"; then :
52723 glibcxx_cv_func_isinff_use=yes
52724 else
52725 glibcxx_cv_func_isinff_use=no
52726 fi
52727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52728 ac_ext=c
52729 ac_cpp='$CPP $CPPFLAGS'
52730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52733
52734
52735 fi
52736
52737 fi
52738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52739 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52740
52741 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52742 for ac_func in isinff
52743 do :
52744 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52745 if test "x$ac_cv_func_isinff" = x""yes; then :
52746 cat >>confdefs.h <<_ACEOF
52747 #define HAVE_ISINFF 1
52748 _ACEOF
52749
52750 fi
52751 done
52752
52753 else
52754
52755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52756 $as_echo_n "checking for _isinff declaration... " >&6; }
52757 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52758 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52759 $as_echo_n "(cached) " >&6
52760 else
52761
52762
52763 ac_ext=cpp
52764 ac_cpp='$CXXCPP $CPPFLAGS'
52765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52768
52769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52770 /* end confdefs.h. */
52771 #include <math.h>
52772 #ifdef HAVE_IEEEFP_H
52773 #include <ieeefp.h>
52774 #endif
52775
52776 int
52777 main ()
52778 {
52779 _isinff(0);
52780 ;
52781 return 0;
52782 }
52783 _ACEOF
52784 if ac_fn_cxx_try_compile "$LINENO"; then :
52785 glibcxx_cv_func__isinff_use=yes
52786 else
52787 glibcxx_cv_func__isinff_use=no
52788 fi
52789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52790 ac_ext=c
52791 ac_cpp='$CPP $CPPFLAGS'
52792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52795
52796
52797 fi
52798
52799 fi
52800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52801 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52802
52803 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52804 for ac_func in _isinff
52805 do :
52806 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52807 if test "x$ac_cv_func__isinff" = x""yes; then :
52808 cat >>confdefs.h <<_ACEOF
52809 #define HAVE__ISINFF 1
52810 _ACEOF
52811
52812 fi
52813 done
52814
52815 fi
52816 fi
52817
52818
52819
52820
52821
52822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52823 $as_echo_n "checking for atan2f declaration... " >&6; }
52824 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52825 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52826 $as_echo_n "(cached) " >&6
52827 else
52828
52829
52830 ac_ext=cpp
52831 ac_cpp='$CXXCPP $CPPFLAGS'
52832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52835
52836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52837 /* end confdefs.h. */
52838 #include <math.h>
52839 int
52840 main ()
52841 {
52842 atan2f(0, 0);
52843 ;
52844 return 0;
52845 }
52846 _ACEOF
52847 if ac_fn_cxx_try_compile "$LINENO"; then :
52848 glibcxx_cv_func_atan2f_use=yes
52849 else
52850 glibcxx_cv_func_atan2f_use=no
52851 fi
52852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52853 ac_ext=c
52854 ac_cpp='$CPP $CPPFLAGS'
52855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52858
52859
52860 fi
52861
52862 fi
52863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52864 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52865
52866 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52867 for ac_func in atan2f
52868 do :
52869 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52870 if test "x$ac_cv_func_atan2f" = x""yes; then :
52871 cat >>confdefs.h <<_ACEOF
52872 #define HAVE_ATAN2F 1
52873 _ACEOF
52874
52875 fi
52876 done
52877
52878 else
52879
52880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52881 $as_echo_n "checking for _atan2f declaration... " >&6; }
52882 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52883 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52884 $as_echo_n "(cached) " >&6
52885 else
52886
52887
52888 ac_ext=cpp
52889 ac_cpp='$CXXCPP $CPPFLAGS'
52890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52893
52894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52895 /* end confdefs.h. */
52896 #include <math.h>
52897 int
52898 main ()
52899 {
52900 _atan2f(0, 0);
52901 ;
52902 return 0;
52903 }
52904 _ACEOF
52905 if ac_fn_cxx_try_compile "$LINENO"; then :
52906 glibcxx_cv_func__atan2f_use=yes
52907 else
52908 glibcxx_cv_func__atan2f_use=no
52909 fi
52910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52911 ac_ext=c
52912 ac_cpp='$CPP $CPPFLAGS'
52913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52916
52917
52918 fi
52919
52920 fi
52921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52922 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52923
52924 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52925 for ac_func in _atan2f
52926 do :
52927 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52928 if test "x$ac_cv_func__atan2f" = x""yes; then :
52929 cat >>confdefs.h <<_ACEOF
52930 #define HAVE__ATAN2F 1
52931 _ACEOF
52932
52933 fi
52934 done
52935
52936 fi
52937 fi
52938
52939
52940
52941
52942
52943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52944 $as_echo_n "checking for fabsf declaration... " >&6; }
52945 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52946 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52947 $as_echo_n "(cached) " >&6
52948 else
52949
52950
52951 ac_ext=cpp
52952 ac_cpp='$CXXCPP $CPPFLAGS'
52953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52956
52957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52958 /* end confdefs.h. */
52959 #include <math.h>
52960 #ifdef HAVE_IEEEFP_H
52961 #include <ieeefp.h>
52962 #endif
52963
52964 int
52965 main ()
52966 {
52967 fabsf(0);
52968 ;
52969 return 0;
52970 }
52971 _ACEOF
52972 if ac_fn_cxx_try_compile "$LINENO"; then :
52973 glibcxx_cv_func_fabsf_use=yes
52974 else
52975 glibcxx_cv_func_fabsf_use=no
52976 fi
52977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52978 ac_ext=c
52979 ac_cpp='$CPP $CPPFLAGS'
52980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52983
52984
52985 fi
52986
52987 fi
52988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52989 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52990
52991 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52992 for ac_func in fabsf
52993 do :
52994 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52995 if test "x$ac_cv_func_fabsf" = x""yes; then :
52996 cat >>confdefs.h <<_ACEOF
52997 #define HAVE_FABSF 1
52998 _ACEOF
52999
53000 fi
53001 done
53002
53003 else
53004
53005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53006 $as_echo_n "checking for _fabsf declaration... " >&6; }
53007 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53008 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53009 $as_echo_n "(cached) " >&6
53010 else
53011
53012
53013 ac_ext=cpp
53014 ac_cpp='$CXXCPP $CPPFLAGS'
53015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53018
53019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53020 /* end confdefs.h. */
53021 #include <math.h>
53022 #ifdef HAVE_IEEEFP_H
53023 #include <ieeefp.h>
53024 #endif
53025
53026 int
53027 main ()
53028 {
53029 _fabsf(0);
53030 ;
53031 return 0;
53032 }
53033 _ACEOF
53034 if ac_fn_cxx_try_compile "$LINENO"; then :
53035 glibcxx_cv_func__fabsf_use=yes
53036 else
53037 glibcxx_cv_func__fabsf_use=no
53038 fi
53039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53040 ac_ext=c
53041 ac_cpp='$CPP $CPPFLAGS'
53042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53045
53046
53047 fi
53048
53049 fi
53050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53051 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53052
53053 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53054 for ac_func in _fabsf
53055 do :
53056 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53057 if test "x$ac_cv_func__fabsf" = x""yes; then :
53058 cat >>confdefs.h <<_ACEOF
53059 #define HAVE__FABSF 1
53060 _ACEOF
53061
53062 fi
53063 done
53064
53065 fi
53066 fi
53067
53068
53069
53070
53071
53072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53073 $as_echo_n "checking for fmodf declaration... " >&6; }
53074 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53075 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53076 $as_echo_n "(cached) " >&6
53077 else
53078
53079
53080 ac_ext=cpp
53081 ac_cpp='$CXXCPP $CPPFLAGS'
53082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53085
53086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53087 /* end confdefs.h. */
53088 #include <math.h>
53089 int
53090 main ()
53091 {
53092 fmodf(0, 0);
53093 ;
53094 return 0;
53095 }
53096 _ACEOF
53097 if ac_fn_cxx_try_compile "$LINENO"; then :
53098 glibcxx_cv_func_fmodf_use=yes
53099 else
53100 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
53114 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53115
53116 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53117 for ac_func in fmodf
53118 do :
53119 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53120 if test "x$ac_cv_func_fmodf" = x""yes; then :
53121 cat >>confdefs.h <<_ACEOF
53122 #define HAVE_FMODF 1
53123 _ACEOF
53124
53125 fi
53126 done
53127
53128 else
53129
53130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53131 $as_echo_n "checking for _fmodf declaration... " >&6; }
53132 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53133 if test "${glibcxx_cv_func__fmodf_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 int
53148 main ()
53149 {
53150 _fmodf(0, 0);
53151 ;
53152 return 0;
53153 }
53154 _ACEOF
53155 if ac_fn_cxx_try_compile "$LINENO"; then :
53156 glibcxx_cv_func__fmodf_use=yes
53157 else
53158 glibcxx_cv_func__fmodf_use=no
53159 fi
53160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53161 ac_ext=c
53162 ac_cpp='$CPP $CPPFLAGS'
53163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53166
53167
53168 fi
53169
53170 fi
53171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53172 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53173
53174 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53175 for ac_func in _fmodf
53176 do :
53177 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53178 if test "x$ac_cv_func__fmodf" = x""yes; then :
53179 cat >>confdefs.h <<_ACEOF
53180 #define HAVE__FMODF 1
53181 _ACEOF
53182
53183 fi
53184 done
53185
53186 fi
53187 fi
53188
53189
53190
53191
53192
53193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53194 $as_echo_n "checking for frexpf declaration... " >&6; }
53195 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53196 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53197 $as_echo_n "(cached) " >&6
53198 else
53199
53200
53201 ac_ext=cpp
53202 ac_cpp='$CXXCPP $CPPFLAGS'
53203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53206
53207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53208 /* end confdefs.h. */
53209 #include <math.h>
53210 int
53211 main ()
53212 {
53213 frexpf(0, 0);
53214 ;
53215 return 0;
53216 }
53217 _ACEOF
53218 if ac_fn_cxx_try_compile "$LINENO"; then :
53219 glibcxx_cv_func_frexpf_use=yes
53220 else
53221 glibcxx_cv_func_frexpf_use=no
53222 fi
53223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53224 ac_ext=c
53225 ac_cpp='$CPP $CPPFLAGS'
53226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53229
53230
53231 fi
53232
53233 fi
53234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53235 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53236
53237 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53238 for ac_func in frexpf
53239 do :
53240 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53241 if test "x$ac_cv_func_frexpf" = x""yes; then :
53242 cat >>confdefs.h <<_ACEOF
53243 #define HAVE_FREXPF 1
53244 _ACEOF
53245
53246 fi
53247 done
53248
53249 else
53250
53251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53252 $as_echo_n "checking for _frexpf declaration... " >&6; }
53253 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53254 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53255 $as_echo_n "(cached) " >&6
53256 else
53257
53258
53259 ac_ext=cpp
53260 ac_cpp='$CXXCPP $CPPFLAGS'
53261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53264
53265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53266 /* end confdefs.h. */
53267 #include <math.h>
53268 int
53269 main ()
53270 {
53271 _frexpf(0, 0);
53272 ;
53273 return 0;
53274 }
53275 _ACEOF
53276 if ac_fn_cxx_try_compile "$LINENO"; then :
53277 glibcxx_cv_func__frexpf_use=yes
53278 else
53279 glibcxx_cv_func__frexpf_use=no
53280 fi
53281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53282 ac_ext=c
53283 ac_cpp='$CPP $CPPFLAGS'
53284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53287
53288
53289 fi
53290
53291 fi
53292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53293 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53294
53295 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53296 for ac_func in _frexpf
53297 do :
53298 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53299 if test "x$ac_cv_func__frexpf" = x""yes; then :
53300 cat >>confdefs.h <<_ACEOF
53301 #define HAVE__FREXPF 1
53302 _ACEOF
53303
53304 fi
53305 done
53306
53307 fi
53308 fi
53309
53310
53311
53312
53313
53314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53315 $as_echo_n "checking for hypotf declaration... " >&6; }
53316 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53317 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53318 $as_echo_n "(cached) " >&6
53319 else
53320
53321
53322 ac_ext=cpp
53323 ac_cpp='$CXXCPP $CPPFLAGS'
53324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53327
53328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53329 /* end confdefs.h. */
53330 #include <math.h>
53331 int
53332 main ()
53333 {
53334 hypotf(0, 0);
53335 ;
53336 return 0;
53337 }
53338 _ACEOF
53339 if ac_fn_cxx_try_compile "$LINENO"; then :
53340 glibcxx_cv_func_hypotf_use=yes
53341 else
53342 glibcxx_cv_func_hypotf_use=no
53343 fi
53344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53345 ac_ext=c
53346 ac_cpp='$CPP $CPPFLAGS'
53347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53350
53351
53352 fi
53353
53354 fi
53355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53356 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53357
53358 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53359 for ac_func in hypotf
53360 do :
53361 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53362 if test "x$ac_cv_func_hypotf" = x""yes; then :
53363 cat >>confdefs.h <<_ACEOF
53364 #define HAVE_HYPOTF 1
53365 _ACEOF
53366
53367 fi
53368 done
53369
53370 else
53371
53372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53373 $as_echo_n "checking for _hypotf declaration... " >&6; }
53374 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53375 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53376 $as_echo_n "(cached) " >&6
53377 else
53378
53379
53380 ac_ext=cpp
53381 ac_cpp='$CXXCPP $CPPFLAGS'
53382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53385
53386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53387 /* end confdefs.h. */
53388 #include <math.h>
53389 int
53390 main ()
53391 {
53392 _hypotf(0, 0);
53393 ;
53394 return 0;
53395 }
53396 _ACEOF
53397 if ac_fn_cxx_try_compile "$LINENO"; then :
53398 glibcxx_cv_func__hypotf_use=yes
53399 else
53400 glibcxx_cv_func__hypotf_use=no
53401 fi
53402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53403 ac_ext=c
53404 ac_cpp='$CPP $CPPFLAGS'
53405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53408
53409
53410 fi
53411
53412 fi
53413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53414 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53415
53416 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53417 for ac_func in _hypotf
53418 do :
53419 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53420 if test "x$ac_cv_func__hypotf" = x""yes; then :
53421 cat >>confdefs.h <<_ACEOF
53422 #define HAVE__HYPOTF 1
53423 _ACEOF
53424
53425 fi
53426 done
53427
53428 fi
53429 fi
53430
53431
53432
53433
53434
53435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53436 $as_echo_n "checking for ldexpf declaration... " >&6; }
53437 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53438 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53439 $as_echo_n "(cached) " >&6
53440 else
53441
53442
53443 ac_ext=cpp
53444 ac_cpp='$CXXCPP $CPPFLAGS'
53445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53448
53449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53450 /* end confdefs.h. */
53451 #include <math.h>
53452 int
53453 main ()
53454 {
53455 ldexpf(0, 0);
53456 ;
53457 return 0;
53458 }
53459 _ACEOF
53460 if ac_fn_cxx_try_compile "$LINENO"; then :
53461 glibcxx_cv_func_ldexpf_use=yes
53462 else
53463 glibcxx_cv_func_ldexpf_use=no
53464 fi
53465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53466 ac_ext=c
53467 ac_cpp='$CPP $CPPFLAGS'
53468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53471
53472
53473 fi
53474
53475 fi
53476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53477 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53478
53479 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53480 for ac_func in ldexpf
53481 do :
53482 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53483 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53484 cat >>confdefs.h <<_ACEOF
53485 #define HAVE_LDEXPF 1
53486 _ACEOF
53487
53488 fi
53489 done
53490
53491 else
53492
53493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53494 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53495 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53496 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53497 $as_echo_n "(cached) " >&6
53498 else
53499
53500
53501 ac_ext=cpp
53502 ac_cpp='$CXXCPP $CPPFLAGS'
53503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53506
53507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53508 /* end confdefs.h. */
53509 #include <math.h>
53510 int
53511 main ()
53512 {
53513 _ldexpf(0, 0);
53514 ;
53515 return 0;
53516 }
53517 _ACEOF
53518 if ac_fn_cxx_try_compile "$LINENO"; then :
53519 glibcxx_cv_func__ldexpf_use=yes
53520 else
53521 glibcxx_cv_func__ldexpf_use=no
53522 fi
53523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53524 ac_ext=c
53525 ac_cpp='$CPP $CPPFLAGS'
53526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53529
53530
53531 fi
53532
53533 fi
53534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53535 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53536
53537 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53538 for ac_func in _ldexpf
53539 do :
53540 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53541 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53542 cat >>confdefs.h <<_ACEOF
53543 #define HAVE__LDEXPF 1
53544 _ACEOF
53545
53546 fi
53547 done
53548
53549 fi
53550 fi
53551
53552
53553
53554
53555
53556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53557 $as_echo_n "checking for logf declaration... " >&6; }
53558 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53559 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53560 $as_echo_n "(cached) " >&6
53561 else
53562
53563
53564 ac_ext=cpp
53565 ac_cpp='$CXXCPP $CPPFLAGS'
53566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53569
53570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53571 /* end confdefs.h. */
53572 #include <math.h>
53573 #ifdef HAVE_IEEEFP_H
53574 #include <ieeefp.h>
53575 #endif
53576
53577 int
53578 main ()
53579 {
53580 logf(0);
53581 ;
53582 return 0;
53583 }
53584 _ACEOF
53585 if ac_fn_cxx_try_compile "$LINENO"; then :
53586 glibcxx_cv_func_logf_use=yes
53587 else
53588 glibcxx_cv_func_logf_use=no
53589 fi
53590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53591 ac_ext=c
53592 ac_cpp='$CPP $CPPFLAGS'
53593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53596
53597
53598 fi
53599
53600 fi
53601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53602 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53603
53604 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53605 for ac_func in logf
53606 do :
53607 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53608 if test "x$ac_cv_func_logf" = x""yes; then :
53609 cat >>confdefs.h <<_ACEOF
53610 #define HAVE_LOGF 1
53611 _ACEOF
53612
53613 fi
53614 done
53615
53616 else
53617
53618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53619 $as_echo_n "checking for _logf declaration... " >&6; }
53620 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53621 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53622 $as_echo_n "(cached) " >&6
53623 else
53624
53625
53626 ac_ext=cpp
53627 ac_cpp='$CXXCPP $CPPFLAGS'
53628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53631
53632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53633 /* end confdefs.h. */
53634 #include <math.h>
53635 #ifdef HAVE_IEEEFP_H
53636 #include <ieeefp.h>
53637 #endif
53638
53639 int
53640 main ()
53641 {
53642 _logf(0);
53643 ;
53644 return 0;
53645 }
53646 _ACEOF
53647 if ac_fn_cxx_try_compile "$LINENO"; then :
53648 glibcxx_cv_func__logf_use=yes
53649 else
53650 glibcxx_cv_func__logf_use=no
53651 fi
53652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53653 ac_ext=c
53654 ac_cpp='$CPP $CPPFLAGS'
53655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53658
53659
53660 fi
53661
53662 fi
53663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53664 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53665
53666 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53667 for ac_func in _logf
53668 do :
53669 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53670 if test "x$ac_cv_func__logf" = x""yes; then :
53671 cat >>confdefs.h <<_ACEOF
53672 #define HAVE__LOGF 1
53673 _ACEOF
53674
53675 fi
53676 done
53677
53678 fi
53679 fi
53680
53681
53682
53683
53684
53685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53686 $as_echo_n "checking for log10f declaration... " >&6; }
53687 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53688 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53689 $as_echo_n "(cached) " >&6
53690 else
53691
53692
53693 ac_ext=cpp
53694 ac_cpp='$CXXCPP $CPPFLAGS'
53695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53698
53699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53700 /* end confdefs.h. */
53701 #include <math.h>
53702 #ifdef HAVE_IEEEFP_H
53703 #include <ieeefp.h>
53704 #endif
53705
53706 int
53707 main ()
53708 {
53709 log10f(0);
53710 ;
53711 return 0;
53712 }
53713 _ACEOF
53714 if ac_fn_cxx_try_compile "$LINENO"; then :
53715 glibcxx_cv_func_log10f_use=yes
53716 else
53717 glibcxx_cv_func_log10f_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_log10f_use" >&5
53731 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53732
53733 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53734 for ac_func in log10f
53735 do :
53736 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53737 if test "x$ac_cv_func_log10f" = x""yes; then :
53738 cat >>confdefs.h <<_ACEOF
53739 #define HAVE_LOG10F 1
53740 _ACEOF
53741
53742 fi
53743 done
53744
53745 else
53746
53747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53748 $as_echo_n "checking for _log10f declaration... " >&6; }
53749 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53750 if test "${glibcxx_cv_func__log10f_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 #ifdef HAVE_IEEEFP_H
53765 #include <ieeefp.h>
53766 #endif
53767
53768 int
53769 main ()
53770 {
53771 _log10f(0);
53772 ;
53773 return 0;
53774 }
53775 _ACEOF
53776 if ac_fn_cxx_try_compile "$LINENO"; then :
53777 glibcxx_cv_func__log10f_use=yes
53778 else
53779 glibcxx_cv_func__log10f_use=no
53780 fi
53781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53782 ac_ext=c
53783 ac_cpp='$CPP $CPPFLAGS'
53784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53787
53788
53789 fi
53790
53791 fi
53792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53793 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53794
53795 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53796 for ac_func in _log10f
53797 do :
53798 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53799 if test "x$ac_cv_func__log10f" = x""yes; then :
53800 cat >>confdefs.h <<_ACEOF
53801 #define HAVE__LOG10F 1
53802 _ACEOF
53803
53804 fi
53805 done
53806
53807 fi
53808 fi
53809
53810
53811
53812
53813
53814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53815 $as_echo_n "checking for modff declaration... " >&6; }
53816 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53817 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53818 $as_echo_n "(cached) " >&6
53819 else
53820
53821
53822 ac_ext=cpp
53823 ac_cpp='$CXXCPP $CPPFLAGS'
53824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53827
53828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53829 /* end confdefs.h. */
53830 #include <math.h>
53831 int
53832 main ()
53833 {
53834 modff(0, 0);
53835 ;
53836 return 0;
53837 }
53838 _ACEOF
53839 if ac_fn_cxx_try_compile "$LINENO"; then :
53840 glibcxx_cv_func_modff_use=yes
53841 else
53842 glibcxx_cv_func_modff_use=no
53843 fi
53844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53845 ac_ext=c
53846 ac_cpp='$CPP $CPPFLAGS'
53847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53850
53851
53852 fi
53853
53854 fi
53855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53856 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53857
53858 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53859 for ac_func in modff
53860 do :
53861 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53862 if test "x$ac_cv_func_modff" = x""yes; then :
53863 cat >>confdefs.h <<_ACEOF
53864 #define HAVE_MODFF 1
53865 _ACEOF
53866
53867 fi
53868 done
53869
53870 else
53871
53872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53873 $as_echo_n "checking for _modff declaration... " >&6; }
53874 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53875 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53876 $as_echo_n "(cached) " >&6
53877 else
53878
53879
53880 ac_ext=cpp
53881 ac_cpp='$CXXCPP $CPPFLAGS'
53882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53885
53886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53887 /* end confdefs.h. */
53888 #include <math.h>
53889 int
53890 main ()
53891 {
53892 _modff(0, 0);
53893 ;
53894 return 0;
53895 }
53896 _ACEOF
53897 if ac_fn_cxx_try_compile "$LINENO"; then :
53898 glibcxx_cv_func__modff_use=yes
53899 else
53900 glibcxx_cv_func__modff_use=no
53901 fi
53902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53903 ac_ext=c
53904 ac_cpp='$CPP $CPPFLAGS'
53905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53908
53909
53910 fi
53911
53912 fi
53913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53914 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53915
53916 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53917 for ac_func in _modff
53918 do :
53919 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53920 if test "x$ac_cv_func__modff" = x""yes; then :
53921 cat >>confdefs.h <<_ACEOF
53922 #define HAVE__MODFF 1
53923 _ACEOF
53924
53925 fi
53926 done
53927
53928 fi
53929 fi
53930
53931
53932
53933
53934
53935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53936 $as_echo_n "checking for modf declaration... " >&6; }
53937 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53938 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53939 $as_echo_n "(cached) " >&6
53940 else
53941
53942
53943 ac_ext=cpp
53944 ac_cpp='$CXXCPP $CPPFLAGS'
53945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53948
53949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53950 /* end confdefs.h. */
53951 #include <math.h>
53952 int
53953 main ()
53954 {
53955 modf(0, 0);
53956 ;
53957 return 0;
53958 }
53959 _ACEOF
53960 if ac_fn_cxx_try_compile "$LINENO"; then :
53961 glibcxx_cv_func_modf_use=yes
53962 else
53963 glibcxx_cv_func_modf_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_modf_use" >&5
53977 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53978
53979 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53980 for ac_func in modf
53981 do :
53982 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53983 if test "x$ac_cv_func_modf" = x""yes; then :
53984 cat >>confdefs.h <<_ACEOF
53985 #define HAVE_MODF 1
53986 _ACEOF
53987
53988 fi
53989 done
53990
53991 else
53992
53993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53994 $as_echo_n "checking for _modf declaration... " >&6; }
53995 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53996 if test "${glibcxx_cv_func__modf_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 int
54011 main ()
54012 {
54013 _modf(0, 0);
54014 ;
54015 return 0;
54016 }
54017 _ACEOF
54018 if ac_fn_cxx_try_compile "$LINENO"; then :
54019 glibcxx_cv_func__modf_use=yes
54020 else
54021 glibcxx_cv_func__modf_use=no
54022 fi
54023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54024 ac_ext=c
54025 ac_cpp='$CPP $CPPFLAGS'
54026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54029
54030
54031 fi
54032
54033 fi
54034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54035 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54036
54037 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54038 for ac_func in _modf
54039 do :
54040 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54041 if test "x$ac_cv_func__modf" = x""yes; then :
54042 cat >>confdefs.h <<_ACEOF
54043 #define HAVE__MODF 1
54044 _ACEOF
54045
54046 fi
54047 done
54048
54049 fi
54050 fi
54051
54052
54053
54054
54055
54056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54057 $as_echo_n "checking for powf declaration... " >&6; }
54058 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54059 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54060 $as_echo_n "(cached) " >&6
54061 else
54062
54063
54064 ac_ext=cpp
54065 ac_cpp='$CXXCPP $CPPFLAGS'
54066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54069
54070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54071 /* end confdefs.h. */
54072 #include <math.h>
54073 int
54074 main ()
54075 {
54076 powf(0, 0);
54077 ;
54078 return 0;
54079 }
54080 _ACEOF
54081 if ac_fn_cxx_try_compile "$LINENO"; then :
54082 glibcxx_cv_func_powf_use=yes
54083 else
54084 glibcxx_cv_func_powf_use=no
54085 fi
54086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54087 ac_ext=c
54088 ac_cpp='$CPP $CPPFLAGS'
54089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54092
54093
54094 fi
54095
54096 fi
54097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54098 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54099
54100 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54101 for ac_func in powf
54102 do :
54103 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54104 if test "x$ac_cv_func_powf" = x""yes; then :
54105 cat >>confdefs.h <<_ACEOF
54106 #define HAVE_POWF 1
54107 _ACEOF
54108
54109 fi
54110 done
54111
54112 else
54113
54114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54115 $as_echo_n "checking for _powf declaration... " >&6; }
54116 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54117 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54118 $as_echo_n "(cached) " >&6
54119 else
54120
54121
54122 ac_ext=cpp
54123 ac_cpp='$CXXCPP $CPPFLAGS'
54124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54127
54128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54129 /* end confdefs.h. */
54130 #include <math.h>
54131 int
54132 main ()
54133 {
54134 _powf(0, 0);
54135 ;
54136 return 0;
54137 }
54138 _ACEOF
54139 if ac_fn_cxx_try_compile "$LINENO"; then :
54140 glibcxx_cv_func__powf_use=yes
54141 else
54142 glibcxx_cv_func__powf_use=no
54143 fi
54144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54145 ac_ext=c
54146 ac_cpp='$CPP $CPPFLAGS'
54147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54150
54151
54152 fi
54153
54154 fi
54155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54156 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54157
54158 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54159 for ac_func in _powf
54160 do :
54161 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54162 if test "x$ac_cv_func__powf" = x""yes; then :
54163 cat >>confdefs.h <<_ACEOF
54164 #define HAVE__POWF 1
54165 _ACEOF
54166
54167 fi
54168 done
54169
54170 fi
54171 fi
54172
54173
54174
54175
54176
54177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54178 $as_echo_n "checking for sqrtf declaration... " >&6; }
54179 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54180 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54181 $as_echo_n "(cached) " >&6
54182 else
54183
54184
54185 ac_ext=cpp
54186 ac_cpp='$CXXCPP $CPPFLAGS'
54187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54190
54191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54192 /* end confdefs.h. */
54193 #include <math.h>
54194 #ifdef HAVE_IEEEFP_H
54195 #include <ieeefp.h>
54196 #endif
54197
54198 int
54199 main ()
54200 {
54201 sqrtf(0);
54202 ;
54203 return 0;
54204 }
54205 _ACEOF
54206 if ac_fn_cxx_try_compile "$LINENO"; then :
54207 glibcxx_cv_func_sqrtf_use=yes
54208 else
54209 glibcxx_cv_func_sqrtf_use=no
54210 fi
54211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54212 ac_ext=c
54213 ac_cpp='$CPP $CPPFLAGS'
54214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54217
54218
54219 fi
54220
54221 fi
54222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54223 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54224
54225 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54226 for ac_func in sqrtf
54227 do :
54228 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54229 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54230 cat >>confdefs.h <<_ACEOF
54231 #define HAVE_SQRTF 1
54232 _ACEOF
54233
54234 fi
54235 done
54236
54237 else
54238
54239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54240 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54241 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54242 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54243 $as_echo_n "(cached) " >&6
54244 else
54245
54246
54247 ac_ext=cpp
54248 ac_cpp='$CXXCPP $CPPFLAGS'
54249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54252
54253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54254 /* end confdefs.h. */
54255 #include <math.h>
54256 #ifdef HAVE_IEEEFP_H
54257 #include <ieeefp.h>
54258 #endif
54259
54260 int
54261 main ()
54262 {
54263 _sqrtf(0);
54264 ;
54265 return 0;
54266 }
54267 _ACEOF
54268 if ac_fn_cxx_try_compile "$LINENO"; then :
54269 glibcxx_cv_func__sqrtf_use=yes
54270 else
54271 glibcxx_cv_func__sqrtf_use=no
54272 fi
54273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54274 ac_ext=c
54275 ac_cpp='$CPP $CPPFLAGS'
54276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54279
54280
54281 fi
54282
54283 fi
54284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54285 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54286
54287 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54288 for ac_func in _sqrtf
54289 do :
54290 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54291 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54292 cat >>confdefs.h <<_ACEOF
54293 #define HAVE__SQRTF 1
54294 _ACEOF
54295
54296 fi
54297 done
54298
54299 fi
54300 fi
54301
54302
54303
54304
54305
54306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54307 $as_echo_n "checking for sincosf declaration... " >&6; }
54308 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54309 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54310 $as_echo_n "(cached) " >&6
54311 else
54312
54313
54314 ac_ext=cpp
54315 ac_cpp='$CXXCPP $CPPFLAGS'
54316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54319
54320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54321 /* end confdefs.h. */
54322 #include <math.h>
54323 int
54324 main ()
54325 {
54326 sincosf(0, 0, 0);
54327 ;
54328 return 0;
54329 }
54330 _ACEOF
54331 if ac_fn_cxx_try_compile "$LINENO"; then :
54332 glibcxx_cv_func_sincosf_use=yes
54333 else
54334 glibcxx_cv_func_sincosf_use=no
54335 fi
54336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54337 ac_ext=c
54338 ac_cpp='$CPP $CPPFLAGS'
54339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54342
54343
54344 fi
54345
54346 fi
54347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54348 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54349
54350 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54351 for ac_func in sincosf
54352 do :
54353 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54354 if test "x$ac_cv_func_sincosf" = x""yes; then :
54355 cat >>confdefs.h <<_ACEOF
54356 #define HAVE_SINCOSF 1
54357 _ACEOF
54358
54359 fi
54360 done
54361
54362 else
54363
54364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54365 $as_echo_n "checking for _sincosf declaration... " >&6; }
54366 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54367 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54368 $as_echo_n "(cached) " >&6
54369 else
54370
54371
54372 ac_ext=cpp
54373 ac_cpp='$CXXCPP $CPPFLAGS'
54374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54377
54378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54379 /* end confdefs.h. */
54380 #include <math.h>
54381 int
54382 main ()
54383 {
54384 _sincosf(0, 0, 0);
54385 ;
54386 return 0;
54387 }
54388 _ACEOF
54389 if ac_fn_cxx_try_compile "$LINENO"; then :
54390 glibcxx_cv_func__sincosf_use=yes
54391 else
54392 glibcxx_cv_func__sincosf_use=no
54393 fi
54394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54395 ac_ext=c
54396 ac_cpp='$CPP $CPPFLAGS'
54397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54400
54401
54402 fi
54403
54404 fi
54405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54406 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54407
54408 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54409 for ac_func in _sincosf
54410 do :
54411 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54412 if test "x$ac_cv_func__sincosf" = x""yes; then :
54413 cat >>confdefs.h <<_ACEOF
54414 #define HAVE__SINCOSF 1
54415 _ACEOF
54416
54417 fi
54418 done
54419
54420 fi
54421 fi
54422
54423
54424
54425
54426
54427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54428 $as_echo_n "checking for finitef declaration... " >&6; }
54429 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54430 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54431 $as_echo_n "(cached) " >&6
54432 else
54433
54434
54435 ac_ext=cpp
54436 ac_cpp='$CXXCPP $CPPFLAGS'
54437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54440
54441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54442 /* end confdefs.h. */
54443 #include <math.h>
54444 #ifdef HAVE_IEEEFP_H
54445 #include <ieeefp.h>
54446 #endif
54447
54448 int
54449 main ()
54450 {
54451 finitef(0);
54452 ;
54453 return 0;
54454 }
54455 _ACEOF
54456 if ac_fn_cxx_try_compile "$LINENO"; then :
54457 glibcxx_cv_func_finitef_use=yes
54458 else
54459 glibcxx_cv_func_finitef_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_finitef_use" >&5
54473 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54474
54475 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54476 for ac_func in finitef
54477 do :
54478 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54479 if test "x$ac_cv_func_finitef" = x""yes; then :
54480 cat >>confdefs.h <<_ACEOF
54481 #define HAVE_FINITEF 1
54482 _ACEOF
54483
54484 fi
54485 done
54486
54487 else
54488
54489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54490 $as_echo_n "checking for _finitef declaration... " >&6; }
54491 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54492 if test "${glibcxx_cv_func__finitef_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 #ifdef HAVE_IEEEFP_H
54507 #include <ieeefp.h>
54508 #endif
54509
54510 int
54511 main ()
54512 {
54513 _finitef(0);
54514 ;
54515 return 0;
54516 }
54517 _ACEOF
54518 if ac_fn_cxx_try_compile "$LINENO"; then :
54519 glibcxx_cv_func__finitef_use=yes
54520 else
54521 glibcxx_cv_func__finitef_use=no
54522 fi
54523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54524 ac_ext=c
54525 ac_cpp='$CPP $CPPFLAGS'
54526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54529
54530
54531 fi
54532
54533 fi
54534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54535 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54536
54537 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54538 for ac_func in _finitef
54539 do :
54540 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54541 if test "x$ac_cv_func__finitef" = x""yes; then :
54542 cat >>confdefs.h <<_ACEOF
54543 #define HAVE__FINITEF 1
54544 _ACEOF
54545
54546 fi
54547 done
54548
54549 fi
54550 fi
54551
54552
54553
54554
54555
54556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54557 $as_echo_n "checking for long double trig functions... " >&6; }
54558 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54559 $as_echo_n "(cached) " >&6
54560 else
54561
54562
54563 ac_ext=cpp
54564 ac_cpp='$CXXCPP $CPPFLAGS'
54565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54568
54569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54570 /* end confdefs.h. */
54571 #include <math.h>
54572 int
54573 main ()
54574 {
54575 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54576 ;
54577 return 0;
54578 }
54579 _ACEOF
54580 if ac_fn_cxx_try_compile "$LINENO"; then :
54581 glibcxx_cv_func_long_double_trig_use=yes
54582 else
54583 glibcxx_cv_func_long_double_trig_use=no
54584 fi
54585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54586 ac_ext=c
54587 ac_cpp='$CPP $CPPFLAGS'
54588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54591
54592 fi
54593
54594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54595 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54596 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54597 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54598 do :
54599 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54600 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54601 eval as_val=\$$as_ac_var
54602 if test "x$as_val" = x""yes; then :
54603 cat >>confdefs.h <<_ACEOF
54604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54605 _ACEOF
54606
54607 fi
54608 done
54609
54610 else
54611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54612 $as_echo_n "checking for _long double trig functions... " >&6; }
54613 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54614 $as_echo_n "(cached) " >&6
54615 else
54616
54617
54618 ac_ext=cpp
54619 ac_cpp='$CXXCPP $CPPFLAGS'
54620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54623
54624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54625 /* end confdefs.h. */
54626 #include <math.h>
54627 int
54628 main ()
54629 {
54630 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54631 ;
54632 return 0;
54633 }
54634 _ACEOF
54635 if ac_fn_cxx_try_compile "$LINENO"; then :
54636 glibcxx_cv_func__long_double_trig_use=yes
54637 else
54638 glibcxx_cv_func__long_double_trig_use=no
54639 fi
54640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54641 ac_ext=c
54642 ac_cpp='$CPP $CPPFLAGS'
54643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54646
54647 fi
54648
54649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54650 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54651 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54652 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54653 do :
54654 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54655 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54656 eval as_val=\$$as_ac_var
54657 if test "x$as_val" = x""yes; then :
54658 cat >>confdefs.h <<_ACEOF
54659 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54660 _ACEOF
54661
54662 fi
54663 done
54664
54665 fi
54666 fi
54667
54668
54669
54670
54671
54672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54673 $as_echo_n "checking for long double round functions... " >&6; }
54674 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54675 $as_echo_n "(cached) " >&6
54676 else
54677
54678
54679 ac_ext=cpp
54680 ac_cpp='$CXXCPP $CPPFLAGS'
54681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54684
54685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54686 /* end confdefs.h. */
54687 #include <math.h>
54688 int
54689 main ()
54690 {
54691 ceill (0); floorl (0);
54692 ;
54693 return 0;
54694 }
54695 _ACEOF
54696 if ac_fn_cxx_try_compile "$LINENO"; then :
54697 glibcxx_cv_func_long_double_round_use=yes
54698 else
54699 glibcxx_cv_func_long_double_round_use=no
54700 fi
54701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54702 ac_ext=c
54703 ac_cpp='$CPP $CPPFLAGS'
54704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54707
54708 fi
54709
54710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54711 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54712 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54713 for ac_func in ceill floorl
54714 do :
54715 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54717 eval as_val=\$$as_ac_var
54718 if test "x$as_val" = x""yes; then :
54719 cat >>confdefs.h <<_ACEOF
54720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54721 _ACEOF
54722
54723 fi
54724 done
54725
54726 else
54727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54728 $as_echo_n "checking for _long double round functions... " >&6; }
54729 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54730 $as_echo_n "(cached) " >&6
54731 else
54732
54733
54734 ac_ext=cpp
54735 ac_cpp='$CXXCPP $CPPFLAGS'
54736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54739
54740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54741 /* end confdefs.h. */
54742 #include <math.h>
54743 int
54744 main ()
54745 {
54746 _ceill (0); _floorl (0);
54747 ;
54748 return 0;
54749 }
54750 _ACEOF
54751 if ac_fn_cxx_try_compile "$LINENO"; then :
54752 glibcxx_cv_func__long_double_round_use=yes
54753 else
54754 glibcxx_cv_func__long_double_round_use=no
54755 fi
54756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54757 ac_ext=c
54758 ac_cpp='$CPP $CPPFLAGS'
54759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54762
54763 fi
54764
54765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54766 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54767 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54768 for ac_func in _ceill _floorl
54769 do :
54770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54772 eval as_val=\$$as_ac_var
54773 if test "x$as_val" = x""yes; then :
54774 cat >>confdefs.h <<_ACEOF
54775 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54776 _ACEOF
54777
54778 fi
54779 done
54780
54781 fi
54782 fi
54783
54784
54785
54786
54787
54788
54789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54790 $as_echo_n "checking for isnanl declaration... " >&6; }
54791 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54792 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54793 $as_echo_n "(cached) " >&6
54794 else
54795
54796
54797 ac_ext=cpp
54798 ac_cpp='$CXXCPP $CPPFLAGS'
54799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54802
54803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54804 /* end confdefs.h. */
54805 #include <math.h>
54806 #ifdef HAVE_IEEEFP_H
54807 #include <ieeefp.h>
54808 #endif
54809
54810 int
54811 main ()
54812 {
54813 isnanl(0);
54814 ;
54815 return 0;
54816 }
54817 _ACEOF
54818 if ac_fn_cxx_try_compile "$LINENO"; then :
54819 glibcxx_cv_func_isnanl_use=yes
54820 else
54821 glibcxx_cv_func_isnanl_use=no
54822 fi
54823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54824 ac_ext=c
54825 ac_cpp='$CPP $CPPFLAGS'
54826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54829
54830
54831 fi
54832
54833 fi
54834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54835 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54836
54837 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54838 for ac_func in isnanl
54839 do :
54840 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54841 if test "x$ac_cv_func_isnanl" = x""yes; then :
54842 cat >>confdefs.h <<_ACEOF
54843 #define HAVE_ISNANL 1
54844 _ACEOF
54845
54846 fi
54847 done
54848
54849 else
54850
54851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54852 $as_echo_n "checking for _isnanl declaration... " >&6; }
54853 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54854 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54855 $as_echo_n "(cached) " >&6
54856 else
54857
54858
54859 ac_ext=cpp
54860 ac_cpp='$CXXCPP $CPPFLAGS'
54861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54864
54865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54866 /* end confdefs.h. */
54867 #include <math.h>
54868 #ifdef HAVE_IEEEFP_H
54869 #include <ieeefp.h>
54870 #endif
54871
54872 int
54873 main ()
54874 {
54875 _isnanl(0);
54876 ;
54877 return 0;
54878 }
54879 _ACEOF
54880 if ac_fn_cxx_try_compile "$LINENO"; then :
54881 glibcxx_cv_func__isnanl_use=yes
54882 else
54883 glibcxx_cv_func__isnanl_use=no
54884 fi
54885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54886 ac_ext=c
54887 ac_cpp='$CPP $CPPFLAGS'
54888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54891
54892
54893 fi
54894
54895 fi
54896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54897 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54898
54899 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54900 for ac_func in _isnanl
54901 do :
54902 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54903 if test "x$ac_cv_func__isnanl" = x""yes; then :
54904 cat >>confdefs.h <<_ACEOF
54905 #define HAVE__ISNANL 1
54906 _ACEOF
54907
54908 fi
54909 done
54910
54911 fi
54912 fi
54913
54914
54915
54916
54917
54918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54919 $as_echo_n "checking for isinfl declaration... " >&6; }
54920 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54921 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54922 $as_echo_n "(cached) " >&6
54923 else
54924
54925
54926 ac_ext=cpp
54927 ac_cpp='$CXXCPP $CPPFLAGS'
54928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54931
54932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54933 /* end confdefs.h. */
54934 #include <math.h>
54935 #ifdef HAVE_IEEEFP_H
54936 #include <ieeefp.h>
54937 #endif
54938
54939 int
54940 main ()
54941 {
54942 isinfl(0);
54943 ;
54944 return 0;
54945 }
54946 _ACEOF
54947 if ac_fn_cxx_try_compile "$LINENO"; then :
54948 glibcxx_cv_func_isinfl_use=yes
54949 else
54950 glibcxx_cv_func_isinfl_use=no
54951 fi
54952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54953 ac_ext=c
54954 ac_cpp='$CPP $CPPFLAGS'
54955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54958
54959
54960 fi
54961
54962 fi
54963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54964 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54965
54966 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54967 for ac_func in isinfl
54968 do :
54969 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54970 if test "x$ac_cv_func_isinfl" = x""yes; then :
54971 cat >>confdefs.h <<_ACEOF
54972 #define HAVE_ISINFL 1
54973 _ACEOF
54974
54975 fi
54976 done
54977
54978 else
54979
54980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54981 $as_echo_n "checking for _isinfl declaration... " >&6; }
54982 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54983 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54984 $as_echo_n "(cached) " >&6
54985 else
54986
54987
54988 ac_ext=cpp
54989 ac_cpp='$CXXCPP $CPPFLAGS'
54990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54993
54994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54995 /* end confdefs.h. */
54996 #include <math.h>
54997 #ifdef HAVE_IEEEFP_H
54998 #include <ieeefp.h>
54999 #endif
55000
55001 int
55002 main ()
55003 {
55004 _isinfl(0);
55005 ;
55006 return 0;
55007 }
55008 _ACEOF
55009 if ac_fn_cxx_try_compile "$LINENO"; then :
55010 glibcxx_cv_func__isinfl_use=yes
55011 else
55012 glibcxx_cv_func__isinfl_use=no
55013 fi
55014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55015 ac_ext=c
55016 ac_cpp='$CPP $CPPFLAGS'
55017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55020
55021
55022 fi
55023
55024 fi
55025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55026 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55027
55028 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55029 for ac_func in _isinfl
55030 do :
55031 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55032 if test "x$ac_cv_func__isinfl" = x""yes; then :
55033 cat >>confdefs.h <<_ACEOF
55034 #define HAVE__ISINFL 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 atan2l declaration" >&5
55048 $as_echo_n "checking for atan2l declaration... " >&6; }
55049 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55050 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55051 $as_echo_n "(cached) " >&6
55052 else
55053
55054
55055 ac_ext=cpp
55056 ac_cpp='$CXXCPP $CPPFLAGS'
55057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55060
55061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55062 /* end confdefs.h. */
55063 #include <math.h>
55064 int
55065 main ()
55066 {
55067 atan2l(0, 0);
55068 ;
55069 return 0;
55070 }
55071 _ACEOF
55072 if ac_fn_cxx_try_compile "$LINENO"; then :
55073 glibcxx_cv_func_atan2l_use=yes
55074 else
55075 glibcxx_cv_func_atan2l_use=no
55076 fi
55077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55078 ac_ext=c
55079 ac_cpp='$CPP $CPPFLAGS'
55080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55083
55084
55085 fi
55086
55087 fi
55088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55089 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55090
55091 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55092 for ac_func in atan2l
55093 do :
55094 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55095 if test "x$ac_cv_func_atan2l" = x""yes; then :
55096 cat >>confdefs.h <<_ACEOF
55097 #define HAVE_ATAN2L 1
55098 _ACEOF
55099
55100 fi
55101 done
55102
55103 else
55104
55105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55106 $as_echo_n "checking for _atan2l declaration... " >&6; }
55107 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55108 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55109 $as_echo_n "(cached) " >&6
55110 else
55111
55112
55113 ac_ext=cpp
55114 ac_cpp='$CXXCPP $CPPFLAGS'
55115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55118
55119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55120 /* end confdefs.h. */
55121 #include <math.h>
55122 int
55123 main ()
55124 {
55125 _atan2l(0, 0);
55126 ;
55127 return 0;
55128 }
55129 _ACEOF
55130 if ac_fn_cxx_try_compile "$LINENO"; then :
55131 glibcxx_cv_func__atan2l_use=yes
55132 else
55133 glibcxx_cv_func__atan2l_use=no
55134 fi
55135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55136 ac_ext=c
55137 ac_cpp='$CPP $CPPFLAGS'
55138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55141
55142
55143 fi
55144
55145 fi
55146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55147 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55148
55149 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55150 for ac_func in _atan2l
55151 do :
55152 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55153 if test "x$ac_cv_func__atan2l" = x""yes; then :
55154 cat >>confdefs.h <<_ACEOF
55155 #define HAVE__ATAN2L 1
55156 _ACEOF
55157
55158 fi
55159 done
55160
55161 fi
55162 fi
55163
55164
55165
55166
55167
55168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55169 $as_echo_n "checking for expl declaration... " >&6; }
55170 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55171 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55172 $as_echo_n "(cached) " >&6
55173 else
55174
55175
55176 ac_ext=cpp
55177 ac_cpp='$CXXCPP $CPPFLAGS'
55178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55181
55182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55183 /* end confdefs.h. */
55184 #include <math.h>
55185 #ifdef HAVE_IEEEFP_H
55186 #include <ieeefp.h>
55187 #endif
55188
55189 int
55190 main ()
55191 {
55192 expl(0);
55193 ;
55194 return 0;
55195 }
55196 _ACEOF
55197 if ac_fn_cxx_try_compile "$LINENO"; then :
55198 glibcxx_cv_func_expl_use=yes
55199 else
55200 glibcxx_cv_func_expl_use=no
55201 fi
55202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55203 ac_ext=c
55204 ac_cpp='$CPP $CPPFLAGS'
55205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55208
55209
55210 fi
55211
55212 fi
55213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55214 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55215
55216 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55217 for ac_func in expl
55218 do :
55219 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55220 if test "x$ac_cv_func_expl" = x""yes; then :
55221 cat >>confdefs.h <<_ACEOF
55222 #define HAVE_EXPL 1
55223 _ACEOF
55224
55225 fi
55226 done
55227
55228 else
55229
55230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55231 $as_echo_n "checking for _expl declaration... " >&6; }
55232 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55233 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55234 $as_echo_n "(cached) " >&6
55235 else
55236
55237
55238 ac_ext=cpp
55239 ac_cpp='$CXXCPP $CPPFLAGS'
55240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55243
55244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55245 /* end confdefs.h. */
55246 #include <math.h>
55247 #ifdef HAVE_IEEEFP_H
55248 #include <ieeefp.h>
55249 #endif
55250
55251 int
55252 main ()
55253 {
55254 _expl(0);
55255 ;
55256 return 0;
55257 }
55258 _ACEOF
55259 if ac_fn_cxx_try_compile "$LINENO"; then :
55260 glibcxx_cv_func__expl_use=yes
55261 else
55262 glibcxx_cv_func__expl_use=no
55263 fi
55264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55265 ac_ext=c
55266 ac_cpp='$CPP $CPPFLAGS'
55267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55270
55271
55272 fi
55273
55274 fi
55275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55276 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55277
55278 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55279 for ac_func in _expl
55280 do :
55281 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55282 if test "x$ac_cv_func__expl" = x""yes; then :
55283 cat >>confdefs.h <<_ACEOF
55284 #define HAVE__EXPL 1
55285 _ACEOF
55286
55287 fi
55288 done
55289
55290 fi
55291 fi
55292
55293
55294
55295
55296
55297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55298 $as_echo_n "checking for fabsl declaration... " >&6; }
55299 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55300 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55301 $as_echo_n "(cached) " >&6
55302 else
55303
55304
55305 ac_ext=cpp
55306 ac_cpp='$CXXCPP $CPPFLAGS'
55307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55310
55311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55312 /* end confdefs.h. */
55313 #include <math.h>
55314 #ifdef HAVE_IEEEFP_H
55315 #include <ieeefp.h>
55316 #endif
55317
55318 int
55319 main ()
55320 {
55321 fabsl(0);
55322 ;
55323 return 0;
55324 }
55325 _ACEOF
55326 if ac_fn_cxx_try_compile "$LINENO"; then :
55327 glibcxx_cv_func_fabsl_use=yes
55328 else
55329 glibcxx_cv_func_fabsl_use=no
55330 fi
55331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55332 ac_ext=c
55333 ac_cpp='$CPP $CPPFLAGS'
55334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55337
55338
55339 fi
55340
55341 fi
55342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55343 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55344
55345 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55346 for ac_func in fabsl
55347 do :
55348 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55349 if test "x$ac_cv_func_fabsl" = x""yes; then :
55350 cat >>confdefs.h <<_ACEOF
55351 #define HAVE_FABSL 1
55352 _ACEOF
55353
55354 fi
55355 done
55356
55357 else
55358
55359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55360 $as_echo_n "checking for _fabsl declaration... " >&6; }
55361 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55362 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55363 $as_echo_n "(cached) " >&6
55364 else
55365
55366
55367 ac_ext=cpp
55368 ac_cpp='$CXXCPP $CPPFLAGS'
55369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55372
55373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55374 /* end confdefs.h. */
55375 #include <math.h>
55376 #ifdef HAVE_IEEEFP_H
55377 #include <ieeefp.h>
55378 #endif
55379
55380 int
55381 main ()
55382 {
55383 _fabsl(0);
55384 ;
55385 return 0;
55386 }
55387 _ACEOF
55388 if ac_fn_cxx_try_compile "$LINENO"; then :
55389 glibcxx_cv_func__fabsl_use=yes
55390 else
55391 glibcxx_cv_func__fabsl_use=no
55392 fi
55393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55394 ac_ext=c
55395 ac_cpp='$CPP $CPPFLAGS'
55396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55399
55400
55401 fi
55402
55403 fi
55404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55405 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55406
55407 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55408 for ac_func in _fabsl
55409 do :
55410 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55411 if test "x$ac_cv_func__fabsl" = x""yes; then :
55412 cat >>confdefs.h <<_ACEOF
55413 #define HAVE__FABSL 1
55414 _ACEOF
55415
55416 fi
55417 done
55418
55419 fi
55420 fi
55421
55422
55423
55424
55425
55426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55427 $as_echo_n "checking for fmodl declaration... " >&6; }
55428 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55429 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55430 $as_echo_n "(cached) " >&6
55431 else
55432
55433
55434 ac_ext=cpp
55435 ac_cpp='$CXXCPP $CPPFLAGS'
55436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55439
55440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55441 /* end confdefs.h. */
55442 #include <math.h>
55443 int
55444 main ()
55445 {
55446 fmodl(0, 0);
55447 ;
55448 return 0;
55449 }
55450 _ACEOF
55451 if ac_fn_cxx_try_compile "$LINENO"; then :
55452 glibcxx_cv_func_fmodl_use=yes
55453 else
55454 glibcxx_cv_func_fmodl_use=no
55455 fi
55456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55457 ac_ext=c
55458 ac_cpp='$CPP $CPPFLAGS'
55459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55462
55463
55464 fi
55465
55466 fi
55467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55468 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55469
55470 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55471 for ac_func in fmodl
55472 do :
55473 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55474 if test "x$ac_cv_func_fmodl" = x""yes; then :
55475 cat >>confdefs.h <<_ACEOF
55476 #define HAVE_FMODL 1
55477 _ACEOF
55478
55479 fi
55480 done
55481
55482 else
55483
55484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55485 $as_echo_n "checking for _fmodl declaration... " >&6; }
55486 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55487 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55488 $as_echo_n "(cached) " >&6
55489 else
55490
55491
55492 ac_ext=cpp
55493 ac_cpp='$CXXCPP $CPPFLAGS'
55494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55497
55498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55499 /* end confdefs.h. */
55500 #include <math.h>
55501 int
55502 main ()
55503 {
55504 _fmodl(0, 0);
55505 ;
55506 return 0;
55507 }
55508 _ACEOF
55509 if ac_fn_cxx_try_compile "$LINENO"; then :
55510 glibcxx_cv_func__fmodl_use=yes
55511 else
55512 glibcxx_cv_func__fmodl_use=no
55513 fi
55514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55515 ac_ext=c
55516 ac_cpp='$CPP $CPPFLAGS'
55517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55520
55521
55522 fi
55523
55524 fi
55525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55526 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55527
55528 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55529 for ac_func in _fmodl
55530 do :
55531 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55532 if test "x$ac_cv_func__fmodl" = x""yes; then :
55533 cat >>confdefs.h <<_ACEOF
55534 #define HAVE__FMODL 1
55535 _ACEOF
55536
55537 fi
55538 done
55539
55540 fi
55541 fi
55542
55543
55544
55545
55546
55547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55548 $as_echo_n "checking for frexpl declaration... " >&6; }
55549 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55550 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55551 $as_echo_n "(cached) " >&6
55552 else
55553
55554
55555 ac_ext=cpp
55556 ac_cpp='$CXXCPP $CPPFLAGS'
55557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55560
55561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55562 /* end confdefs.h. */
55563 #include <math.h>
55564 int
55565 main ()
55566 {
55567 frexpl(0, 0);
55568 ;
55569 return 0;
55570 }
55571 _ACEOF
55572 if ac_fn_cxx_try_compile "$LINENO"; then :
55573 glibcxx_cv_func_frexpl_use=yes
55574 else
55575 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
55589 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55590
55591 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55592 for ac_func in frexpl
55593 do :
55594 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55595 if test "x$ac_cv_func_frexpl" = x""yes; then :
55596 cat >>confdefs.h <<_ACEOF
55597 #define HAVE_FREXPL 1
55598 _ACEOF
55599
55600 fi
55601 done
55602
55603 else
55604
55605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55606 $as_echo_n "checking for _frexpl declaration... " >&6; }
55607 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55608 if test "${glibcxx_cv_func__frexpl_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 int
55623 main ()
55624 {
55625 _frexpl(0, 0);
55626 ;
55627 return 0;
55628 }
55629 _ACEOF
55630 if ac_fn_cxx_try_compile "$LINENO"; then :
55631 glibcxx_cv_func__frexpl_use=yes
55632 else
55633 glibcxx_cv_func__frexpl_use=no
55634 fi
55635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55636 ac_ext=c
55637 ac_cpp='$CPP $CPPFLAGS'
55638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55641
55642
55643 fi
55644
55645 fi
55646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55647 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55648
55649 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55650 for ac_func in _frexpl
55651 do :
55652 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55653 if test "x$ac_cv_func__frexpl" = x""yes; then :
55654 cat >>confdefs.h <<_ACEOF
55655 #define HAVE__FREXPL 1
55656 _ACEOF
55657
55658 fi
55659 done
55660
55661 fi
55662 fi
55663
55664
55665
55666
55667
55668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55669 $as_echo_n "checking for hypotl declaration... " >&6; }
55670 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55671 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55672 $as_echo_n "(cached) " >&6
55673 else
55674
55675
55676 ac_ext=cpp
55677 ac_cpp='$CXXCPP $CPPFLAGS'
55678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55681
55682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55683 /* end confdefs.h. */
55684 #include <math.h>
55685 int
55686 main ()
55687 {
55688 hypotl(0, 0);
55689 ;
55690 return 0;
55691 }
55692 _ACEOF
55693 if ac_fn_cxx_try_compile "$LINENO"; then :
55694 glibcxx_cv_func_hypotl_use=yes
55695 else
55696 glibcxx_cv_func_hypotl_use=no
55697 fi
55698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55699 ac_ext=c
55700 ac_cpp='$CPP $CPPFLAGS'
55701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55704
55705
55706 fi
55707
55708 fi
55709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55710 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55711
55712 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55713 for ac_func in hypotl
55714 do :
55715 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55716 if test "x$ac_cv_func_hypotl" = x""yes; then :
55717 cat >>confdefs.h <<_ACEOF
55718 #define HAVE_HYPOTL 1
55719 _ACEOF
55720
55721 fi
55722 done
55723
55724 else
55725
55726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55727 $as_echo_n "checking for _hypotl declaration... " >&6; }
55728 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55729 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55730 $as_echo_n "(cached) " >&6
55731 else
55732
55733
55734 ac_ext=cpp
55735 ac_cpp='$CXXCPP $CPPFLAGS'
55736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55739
55740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55741 /* end confdefs.h. */
55742 #include <math.h>
55743 int
55744 main ()
55745 {
55746 _hypotl(0, 0);
55747 ;
55748 return 0;
55749 }
55750 _ACEOF
55751 if ac_fn_cxx_try_compile "$LINENO"; then :
55752 glibcxx_cv_func__hypotl_use=yes
55753 else
55754 glibcxx_cv_func__hypotl_use=no
55755 fi
55756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55757 ac_ext=c
55758 ac_cpp='$CPP $CPPFLAGS'
55759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55762
55763
55764 fi
55765
55766 fi
55767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55768 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55769
55770 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55771 for ac_func in _hypotl
55772 do :
55773 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55774 if test "x$ac_cv_func__hypotl" = x""yes; then :
55775 cat >>confdefs.h <<_ACEOF
55776 #define HAVE__HYPOTL 1
55777 _ACEOF
55778
55779 fi
55780 done
55781
55782 fi
55783 fi
55784
55785
55786
55787
55788
55789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55790 $as_echo_n "checking for ldexpl declaration... " >&6; }
55791 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55792 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55793 $as_echo_n "(cached) " >&6
55794 else
55795
55796
55797 ac_ext=cpp
55798 ac_cpp='$CXXCPP $CPPFLAGS'
55799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55802
55803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55804 /* end confdefs.h. */
55805 #include <math.h>
55806 int
55807 main ()
55808 {
55809 ldexpl(0, 0);
55810 ;
55811 return 0;
55812 }
55813 _ACEOF
55814 if ac_fn_cxx_try_compile "$LINENO"; then :
55815 glibcxx_cv_func_ldexpl_use=yes
55816 else
55817 glibcxx_cv_func_ldexpl_use=no
55818 fi
55819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55820 ac_ext=c
55821 ac_cpp='$CPP $CPPFLAGS'
55822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55825
55826
55827 fi
55828
55829 fi
55830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55831 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55832
55833 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55834 for ac_func in ldexpl
55835 do :
55836 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55837 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55838 cat >>confdefs.h <<_ACEOF
55839 #define HAVE_LDEXPL 1
55840 _ACEOF
55841
55842 fi
55843 done
55844
55845 else
55846
55847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55848 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55849 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55850 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55851 $as_echo_n "(cached) " >&6
55852 else
55853
55854
55855 ac_ext=cpp
55856 ac_cpp='$CXXCPP $CPPFLAGS'
55857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55860
55861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55862 /* end confdefs.h. */
55863 #include <math.h>
55864 int
55865 main ()
55866 {
55867 _ldexpl(0, 0);
55868 ;
55869 return 0;
55870 }
55871 _ACEOF
55872 if ac_fn_cxx_try_compile "$LINENO"; then :
55873 glibcxx_cv_func__ldexpl_use=yes
55874 else
55875 glibcxx_cv_func__ldexpl_use=no
55876 fi
55877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55878 ac_ext=c
55879 ac_cpp='$CPP $CPPFLAGS'
55880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55883
55884
55885 fi
55886
55887 fi
55888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55889 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55890
55891 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55892 for ac_func in _ldexpl
55893 do :
55894 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55895 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55896 cat >>confdefs.h <<_ACEOF
55897 #define HAVE__LDEXPL 1
55898 _ACEOF
55899
55900 fi
55901 done
55902
55903 fi
55904 fi
55905
55906
55907
55908
55909
55910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55911 $as_echo_n "checking for logl declaration... " >&6; }
55912 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55913 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55914 $as_echo_n "(cached) " >&6
55915 else
55916
55917
55918 ac_ext=cpp
55919 ac_cpp='$CXXCPP $CPPFLAGS'
55920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55923
55924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55925 /* end confdefs.h. */
55926 #include <math.h>
55927 #ifdef HAVE_IEEEFP_H
55928 #include <ieeefp.h>
55929 #endif
55930
55931 int
55932 main ()
55933 {
55934 logl(0);
55935 ;
55936 return 0;
55937 }
55938 _ACEOF
55939 if ac_fn_cxx_try_compile "$LINENO"; then :
55940 glibcxx_cv_func_logl_use=yes
55941 else
55942 glibcxx_cv_func_logl_use=no
55943 fi
55944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55945 ac_ext=c
55946 ac_cpp='$CPP $CPPFLAGS'
55947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55950
55951
55952 fi
55953
55954 fi
55955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55956 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55957
55958 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55959 for ac_func in logl
55960 do :
55961 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55962 if test "x$ac_cv_func_logl" = x""yes; then :
55963 cat >>confdefs.h <<_ACEOF
55964 #define HAVE_LOGL 1
55965 _ACEOF
55966
55967 fi
55968 done
55969
55970 else
55971
55972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55973 $as_echo_n "checking for _logl declaration... " >&6; }
55974 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55975 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55976 $as_echo_n "(cached) " >&6
55977 else
55978
55979
55980 ac_ext=cpp
55981 ac_cpp='$CXXCPP $CPPFLAGS'
55982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55985
55986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55987 /* end confdefs.h. */
55988 #include <math.h>
55989 #ifdef HAVE_IEEEFP_H
55990 #include <ieeefp.h>
55991 #endif
55992
55993 int
55994 main ()
55995 {
55996 _logl(0);
55997 ;
55998 return 0;
55999 }
56000 _ACEOF
56001 if ac_fn_cxx_try_compile "$LINENO"; then :
56002 glibcxx_cv_func__logl_use=yes
56003 else
56004 glibcxx_cv_func__logl_use=no
56005 fi
56006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56007 ac_ext=c
56008 ac_cpp='$CPP $CPPFLAGS'
56009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56012
56013
56014 fi
56015
56016 fi
56017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56018 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56019
56020 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56021 for ac_func in _logl
56022 do :
56023 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56024 if test "x$ac_cv_func__logl" = x""yes; then :
56025 cat >>confdefs.h <<_ACEOF
56026 #define HAVE__LOGL 1
56027 _ACEOF
56028
56029 fi
56030 done
56031
56032 fi
56033 fi
56034
56035
56036
56037
56038
56039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56040 $as_echo_n "checking for log10l declaration... " >&6; }
56041 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56042 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56043 $as_echo_n "(cached) " >&6
56044 else
56045
56046
56047 ac_ext=cpp
56048 ac_cpp='$CXXCPP $CPPFLAGS'
56049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56052
56053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56054 /* end confdefs.h. */
56055 #include <math.h>
56056 #ifdef HAVE_IEEEFP_H
56057 #include <ieeefp.h>
56058 #endif
56059
56060 int
56061 main ()
56062 {
56063 log10l(0);
56064 ;
56065 return 0;
56066 }
56067 _ACEOF
56068 if ac_fn_cxx_try_compile "$LINENO"; then :
56069 glibcxx_cv_func_log10l_use=yes
56070 else
56071 glibcxx_cv_func_log10l_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_log10l_use" >&5
56085 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56086
56087 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56088 for ac_func in log10l
56089 do :
56090 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56091 if test "x$ac_cv_func_log10l" = x""yes; then :
56092 cat >>confdefs.h <<_ACEOF
56093 #define HAVE_LOG10L 1
56094 _ACEOF
56095
56096 fi
56097 done
56098
56099 else
56100
56101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56102 $as_echo_n "checking for _log10l declaration... " >&6; }
56103 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56104 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
56119 #include <ieeefp.h>
56120 #endif
56121
56122 int
56123 main ()
56124 {
56125 _log10l(0);
56126 ;
56127 return 0;
56128 }
56129 _ACEOF
56130 if ac_fn_cxx_try_compile "$LINENO"; then :
56131 glibcxx_cv_func__log10l_use=yes
56132 else
56133 glibcxx_cv_func__log10l_use=no
56134 fi
56135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56136 ac_ext=c
56137 ac_cpp='$CPP $CPPFLAGS'
56138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56141
56142
56143 fi
56144
56145 fi
56146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56147 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56148
56149 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56150 for ac_func in _log10l
56151 do :
56152 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56153 if test "x$ac_cv_func__log10l" = x""yes; then :
56154 cat >>confdefs.h <<_ACEOF
56155 #define HAVE__LOG10L 1
56156 _ACEOF
56157
56158 fi
56159 done
56160
56161 fi
56162 fi
56163
56164
56165
56166
56167
56168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56169 $as_echo_n "checking for modfl declaration... " >&6; }
56170 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56171 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56172 $as_echo_n "(cached) " >&6
56173 else
56174
56175
56176 ac_ext=cpp
56177 ac_cpp='$CXXCPP $CPPFLAGS'
56178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56181
56182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56183 /* end confdefs.h. */
56184 #include <math.h>
56185 int
56186 main ()
56187 {
56188 modfl(0, 0);
56189 ;
56190 return 0;
56191 }
56192 _ACEOF
56193 if ac_fn_cxx_try_compile "$LINENO"; then :
56194 glibcxx_cv_func_modfl_use=yes
56195 else
56196 glibcxx_cv_func_modfl_use=no
56197 fi
56198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56199 ac_ext=c
56200 ac_cpp='$CPP $CPPFLAGS'
56201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56204
56205
56206 fi
56207
56208 fi
56209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56210 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56211
56212 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56213 for ac_func in modfl
56214 do :
56215 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56216 if test "x$ac_cv_func_modfl" = x""yes; then :
56217 cat >>confdefs.h <<_ACEOF
56218 #define HAVE_MODFL 1
56219 _ACEOF
56220
56221 fi
56222 done
56223
56224 else
56225
56226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56227 $as_echo_n "checking for _modfl declaration... " >&6; }
56228 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56229 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56230 $as_echo_n "(cached) " >&6
56231 else
56232
56233
56234 ac_ext=cpp
56235 ac_cpp='$CXXCPP $CPPFLAGS'
56236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56239
56240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56241 /* end confdefs.h. */
56242 #include <math.h>
56243 int
56244 main ()
56245 {
56246 _modfl(0, 0);
56247 ;
56248 return 0;
56249 }
56250 _ACEOF
56251 if ac_fn_cxx_try_compile "$LINENO"; then :
56252 glibcxx_cv_func__modfl_use=yes
56253 else
56254 glibcxx_cv_func__modfl_use=no
56255 fi
56256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56257 ac_ext=c
56258 ac_cpp='$CPP $CPPFLAGS'
56259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56262
56263
56264 fi
56265
56266 fi
56267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56268 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56269
56270 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56271 for ac_func in _modfl
56272 do :
56273 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56274 if test "x$ac_cv_func__modfl" = x""yes; then :
56275 cat >>confdefs.h <<_ACEOF
56276 #define HAVE__MODFL 1
56277 _ACEOF
56278
56279 fi
56280 done
56281
56282 fi
56283 fi
56284
56285
56286
56287
56288
56289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56290 $as_echo_n "checking for powl declaration... " >&6; }
56291 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56292 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56293 $as_echo_n "(cached) " >&6
56294 else
56295
56296
56297 ac_ext=cpp
56298 ac_cpp='$CXXCPP $CPPFLAGS'
56299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56302
56303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56304 /* end confdefs.h. */
56305 #include <math.h>
56306 int
56307 main ()
56308 {
56309 powl(0, 0);
56310 ;
56311 return 0;
56312 }
56313 _ACEOF
56314 if ac_fn_cxx_try_compile "$LINENO"; then :
56315 glibcxx_cv_func_powl_use=yes
56316 else
56317 glibcxx_cv_func_powl_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_powl_use" >&5
56331 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56332
56333 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56334 for ac_func in powl
56335 do :
56336 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56337 if test "x$ac_cv_func_powl" = x""yes; then :
56338 cat >>confdefs.h <<_ACEOF
56339 #define HAVE_POWL 1
56340 _ACEOF
56341
56342 fi
56343 done
56344
56345 else
56346
56347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56348 $as_echo_n "checking for _powl declaration... " >&6; }
56349 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56350 if test "${glibcxx_cv_func__powl_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 int
56365 main ()
56366 {
56367 _powl(0, 0);
56368 ;
56369 return 0;
56370 }
56371 _ACEOF
56372 if ac_fn_cxx_try_compile "$LINENO"; then :
56373 glibcxx_cv_func__powl_use=yes
56374 else
56375 glibcxx_cv_func__powl_use=no
56376 fi
56377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56378 ac_ext=c
56379 ac_cpp='$CPP $CPPFLAGS'
56380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56383
56384
56385 fi
56386
56387 fi
56388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56389 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56390
56391 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56392 for ac_func in _powl
56393 do :
56394 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56395 if test "x$ac_cv_func__powl" = x""yes; then :
56396 cat >>confdefs.h <<_ACEOF
56397 #define HAVE__POWL 1
56398 _ACEOF
56399
56400 fi
56401 done
56402
56403 fi
56404 fi
56405
56406
56407
56408
56409
56410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56411 $as_echo_n "checking for sqrtl declaration... " >&6; }
56412 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56413 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56414 $as_echo_n "(cached) " >&6
56415 else
56416
56417
56418 ac_ext=cpp
56419 ac_cpp='$CXXCPP $CPPFLAGS'
56420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56423
56424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56425 /* end confdefs.h. */
56426 #include <math.h>
56427 #ifdef HAVE_IEEEFP_H
56428 #include <ieeefp.h>
56429 #endif
56430
56431 int
56432 main ()
56433 {
56434 sqrtl(0);
56435 ;
56436 return 0;
56437 }
56438 _ACEOF
56439 if ac_fn_cxx_try_compile "$LINENO"; then :
56440 glibcxx_cv_func_sqrtl_use=yes
56441 else
56442 glibcxx_cv_func_sqrtl_use=no
56443 fi
56444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56445 ac_ext=c
56446 ac_cpp='$CPP $CPPFLAGS'
56447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56450
56451
56452 fi
56453
56454 fi
56455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56456 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56457
56458 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56459 for ac_func in sqrtl
56460 do :
56461 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56462 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56463 cat >>confdefs.h <<_ACEOF
56464 #define HAVE_SQRTL 1
56465 _ACEOF
56466
56467 fi
56468 done
56469
56470 else
56471
56472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56473 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56474 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56475 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56476 $as_echo_n "(cached) " >&6
56477 else
56478
56479
56480 ac_ext=cpp
56481 ac_cpp='$CXXCPP $CPPFLAGS'
56482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56485
56486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56487 /* end confdefs.h. */
56488 #include <math.h>
56489 #ifdef HAVE_IEEEFP_H
56490 #include <ieeefp.h>
56491 #endif
56492
56493 int
56494 main ()
56495 {
56496 _sqrtl(0);
56497 ;
56498 return 0;
56499 }
56500 _ACEOF
56501 if ac_fn_cxx_try_compile "$LINENO"; then :
56502 glibcxx_cv_func__sqrtl_use=yes
56503 else
56504 glibcxx_cv_func__sqrtl_use=no
56505 fi
56506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56507 ac_ext=c
56508 ac_cpp='$CPP $CPPFLAGS'
56509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56512
56513
56514 fi
56515
56516 fi
56517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56518 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56519
56520 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56521 for ac_func in _sqrtl
56522 do :
56523 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56524 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56525 cat >>confdefs.h <<_ACEOF
56526 #define HAVE__SQRTL 1
56527 _ACEOF
56528
56529 fi
56530 done
56531
56532 fi
56533 fi
56534
56535
56536
56537
56538
56539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56540 $as_echo_n "checking for sincosl declaration... " >&6; }
56541 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56542 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56543 $as_echo_n "(cached) " >&6
56544 else
56545
56546
56547 ac_ext=cpp
56548 ac_cpp='$CXXCPP $CPPFLAGS'
56549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56552
56553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56554 /* end confdefs.h. */
56555 #include <math.h>
56556 int
56557 main ()
56558 {
56559 sincosl(0, 0, 0);
56560 ;
56561 return 0;
56562 }
56563 _ACEOF
56564 if ac_fn_cxx_try_compile "$LINENO"; then :
56565 glibcxx_cv_func_sincosl_use=yes
56566 else
56567 glibcxx_cv_func_sincosl_use=no
56568 fi
56569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56570 ac_ext=c
56571 ac_cpp='$CPP $CPPFLAGS'
56572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56575
56576
56577 fi
56578
56579 fi
56580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56581 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56582
56583 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56584 for ac_func in sincosl
56585 do :
56586 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56587 if test "x$ac_cv_func_sincosl" = x""yes; then :
56588 cat >>confdefs.h <<_ACEOF
56589 #define HAVE_SINCOSL 1
56590 _ACEOF
56591
56592 fi
56593 done
56594
56595 else
56596
56597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56598 $as_echo_n "checking for _sincosl declaration... " >&6; }
56599 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56600 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56601 $as_echo_n "(cached) " >&6
56602 else
56603
56604
56605 ac_ext=cpp
56606 ac_cpp='$CXXCPP $CPPFLAGS'
56607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56610
56611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56612 /* end confdefs.h. */
56613 #include <math.h>
56614 int
56615 main ()
56616 {
56617 _sincosl(0, 0, 0);
56618 ;
56619 return 0;
56620 }
56621 _ACEOF
56622 if ac_fn_cxx_try_compile "$LINENO"; then :
56623 glibcxx_cv_func__sincosl_use=yes
56624 else
56625 glibcxx_cv_func__sincosl_use=no
56626 fi
56627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56628 ac_ext=c
56629 ac_cpp='$CPP $CPPFLAGS'
56630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56633
56634
56635 fi
56636
56637 fi
56638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56639 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56640
56641 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56642 for ac_func in _sincosl
56643 do :
56644 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56645 if test "x$ac_cv_func__sincosl" = x""yes; then :
56646 cat >>confdefs.h <<_ACEOF
56647 #define HAVE__SINCOSL 1
56648 _ACEOF
56649
56650 fi
56651 done
56652
56653 fi
56654 fi
56655
56656
56657
56658
56659
56660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56661 $as_echo_n "checking for finitel declaration... " >&6; }
56662 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56663 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56664 $as_echo_n "(cached) " >&6
56665 else
56666
56667
56668 ac_ext=cpp
56669 ac_cpp='$CXXCPP $CPPFLAGS'
56670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56673
56674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56675 /* end confdefs.h. */
56676 #include <math.h>
56677 #ifdef HAVE_IEEEFP_H
56678 #include <ieeefp.h>
56679 #endif
56680
56681 int
56682 main ()
56683 {
56684 finitel(0);
56685 ;
56686 return 0;
56687 }
56688 _ACEOF
56689 if ac_fn_cxx_try_compile "$LINENO"; then :
56690 glibcxx_cv_func_finitel_use=yes
56691 else
56692 glibcxx_cv_func_finitel_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_finitel_use" >&5
56706 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56707
56708 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56709 for ac_func in finitel
56710 do :
56711 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56712 if test "x$ac_cv_func_finitel" = x""yes; then :
56713 cat >>confdefs.h <<_ACEOF
56714 #define HAVE_FINITEL 1
56715 _ACEOF
56716
56717 fi
56718 done
56719
56720 else
56721
56722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56723 $as_echo_n "checking for _finitel declaration... " >&6; }
56724 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56725 if test "${glibcxx_cv_func__finitel_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 #ifdef HAVE_IEEEFP_H
56740 #include <ieeefp.h>
56741 #endif
56742
56743 int
56744 main ()
56745 {
56746 _finitel(0);
56747 ;
56748 return 0;
56749 }
56750 _ACEOF
56751 if ac_fn_cxx_try_compile "$LINENO"; then :
56752 glibcxx_cv_func__finitel_use=yes
56753 else
56754 glibcxx_cv_func__finitel_use=no
56755 fi
56756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56757 ac_ext=c
56758 ac_cpp='$CPP $CPPFLAGS'
56759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56762
56763
56764 fi
56765
56766 fi
56767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56768 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56769
56770 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56771 for ac_func in _finitel
56772 do :
56773 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56774 if test "x$ac_cv_func__finitel" = x""yes; then :
56775 cat >>confdefs.h <<_ACEOF
56776 #define HAVE__FINITEL 1
56777 _ACEOF
56778
56779 fi
56780 done
56781
56782 fi
56783 fi
56784
56785
56786
56787
56788 LIBS="$ac_save_LIBS"
56789 CXXFLAGS="$ac_save_CXXFLAGS"
56790
56791
56792 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56793 ac_save_CXXFLAGS="$CXXFLAGS"
56794 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56795
56796
56797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56798 $as_echo_n "checking for strtold declaration... " >&6; }
56799 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56800 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56801 $as_echo_n "(cached) " >&6
56802 else
56803
56804
56805 ac_ext=cpp
56806 ac_cpp='$CXXCPP $CPPFLAGS'
56807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56810
56811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56812 /* end confdefs.h. */
56813 #include <stdlib.h>
56814 int
56815 main ()
56816 {
56817 strtold(0, 0);
56818 ;
56819 return 0;
56820 }
56821 _ACEOF
56822 if ac_fn_cxx_try_compile "$LINENO"; then :
56823 glibcxx_cv_func_strtold_use=yes
56824 else
56825 glibcxx_cv_func_strtold_use=no
56826 fi
56827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56828 ac_ext=c
56829 ac_cpp='$CPP $CPPFLAGS'
56830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56833
56834
56835 fi
56836
56837 fi
56838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56839 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56840 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56841 for ac_func in strtold
56842 do :
56843 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56844 if test "x$ac_cv_func_strtold" = x""yes; then :
56845 cat >>confdefs.h <<_ACEOF
56846 #define HAVE_STRTOLD 1
56847 _ACEOF
56848
56849 fi
56850 done
56851
56852 fi
56853
56854
56855
56856
56857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56858 $as_echo_n "checking for strtof declaration... " >&6; }
56859 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56860 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56861 $as_echo_n "(cached) " >&6
56862 else
56863
56864
56865 ac_ext=cpp
56866 ac_cpp='$CXXCPP $CPPFLAGS'
56867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56870
56871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56872 /* end confdefs.h. */
56873 #include <stdlib.h>
56874 int
56875 main ()
56876 {
56877 strtof(0, 0);
56878 ;
56879 return 0;
56880 }
56881 _ACEOF
56882 if ac_fn_cxx_try_compile "$LINENO"; then :
56883 glibcxx_cv_func_strtof_use=yes
56884 else
56885 glibcxx_cv_func_strtof_use=no
56886 fi
56887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56888 ac_ext=c
56889 ac_cpp='$CPP $CPPFLAGS'
56890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56893
56894
56895 fi
56896
56897 fi
56898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56899 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56900 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56901 for ac_func in strtof
56902 do :
56903 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56904 if test "x$ac_cv_func_strtof" = x""yes; then :
56905 cat >>confdefs.h <<_ACEOF
56906 #define HAVE_STRTOF 1
56907 _ACEOF
56908
56909 fi
56910 done
56911
56912 fi
56913
56914
56915
56916
56917 CXXFLAGS="$ac_save_CXXFLAGS"
56918
56919 ;;
56920 *-netbsd*)
56921 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56922
56923
56924 # If we're not using GNU ld, then there's no point in even trying these
56925 # tests. Check for that first. We should have already tested for gld
56926 # by now (in libtool), but require it now just to be safe...
56927 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56928 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56929
56930
56931
56932 # The name set by libtool depends on the version of libtool. Shame on us
56933 # for depending on an impl detail, but c'est la vie. Older versions used
56934 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56935 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56936 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56937 # set (hence we're using an older libtool), then set it.
56938 if test x${with_gnu_ld+set} != xset; then
56939 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56940 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56941 with_gnu_ld=no
56942 else
56943 with_gnu_ld=$ac_cv_prog_gnu_ld
56944 fi
56945 fi
56946
56947 # Start by getting the version number. I think the libtool test already
56948 # does some of this, but throws away the result.
56949 glibcxx_ld_is_gold=no
56950 if test x"$with_gnu_ld" = x"yes"; then
56951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56952 $as_echo_n "checking for ld version... " >&6; }
56953
56954 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56955 glibcxx_ld_is_gold=yes
56956 fi
56957 ldver=`$LD --version 2>/dev/null |
56958 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'`
56959
56960 glibcxx_gnu_ld_version=`echo $ldver | \
56961 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56963 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56964 fi
56965
56966 # Set --gc-sections.
56967 glibcxx_have_gc_sections=no
56968 if test "$glibcxx_ld_is_gold" = "yes"; then
56969 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56970 glibcxx_have_gc_sections=yes
56971 fi
56972 else
56973 glibcxx_gcsections_min_ld=21602
56974 if test x"$with_gnu_ld" = x"yes" &&
56975 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56976 glibcxx_have_gc_sections=yes
56977 fi
56978 fi
56979 if test "$glibcxx_have_gc_sections" = "yes"; then
56980 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56981 # NB: This flag only works reliably after 2.16.1. Configure tests
56982 # for this are difficult, so hard wire a value that should work.
56983
56984 ac_test_CFLAGS="${CFLAGS+set}"
56985 ac_save_CFLAGS="$CFLAGS"
56986 CFLAGS='-Wl,--gc-sections'
56987
56988 # Check for -Wl,--gc-sections
56989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56990 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56991 if test x$gcc_no_link = xyes; then
56992 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56993 fi
56994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56995 /* end confdefs.h. */
56996 int one(void) { return 1; }
56997 int two(void) { return 2; }
56998
56999 int
57000 main ()
57001 {
57002 two();
57003 ;
57004 return 0;
57005 }
57006 _ACEOF
57007 if ac_fn_c_try_link "$LINENO"; then :
57008 ac_gcsections=yes
57009 else
57010 ac_gcsections=no
57011 fi
57012 rm -f core conftest.err conftest.$ac_objext \
57013 conftest$ac_exeext conftest.$ac_ext
57014 if test "$ac_gcsections" = "yes"; then
57015 rm -f conftest.c
57016 touch conftest.c
57017 if $CC -c conftest.c; then
57018 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57019 grep "Warning: gc-sections option ignored" > /dev/null; then
57020 ac_gcsections=no
57021 fi
57022 fi
57023 rm -f conftest.c conftest.o conftest
57024 fi
57025 if test "$ac_gcsections" = "yes"; then
57026 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57027 fi
57028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57029 $as_echo "$ac_gcsections" >&6; }
57030
57031 if test "$ac_test_CFLAGS" = set; then
57032 CFLAGS="$ac_save_CFLAGS"
57033 else
57034 # this is the suspicious part
57035 CFLAGS=''
57036 fi
57037 fi
57038
57039 # Set -z,relro.
57040 # Note this is only for shared objects.
57041 ac_ld_relro=no
57042 if test x"$with_gnu_ld" = x"yes"; then
57043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57044 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57045 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57046 if test -n "$cxx_z_relo"; then
57047 OPT_LDFLAGS="-Wl,-z,relro"
57048 ac_ld_relro=yes
57049 fi
57050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57051 $as_echo "$ac_ld_relro" >&6; }
57052 fi
57053
57054 # Set linker optimization flags.
57055 if test x"$with_gnu_ld" = x"yes"; then
57056 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57057 fi
57058
57059
57060
57061
57062 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57063
57064 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57065
57066 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57067
57068 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57069
57070 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57071
57072 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57073
57074 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57075
57076 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57077
57078 if test x"long_double_math_on_this_cpu" = x"yes"; then
57079 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57080
57081 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57082
57083 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57084
57085 fi
57086 ;;
57087 *-qnx6.1* | *-qnx6.2*)
57088 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57089
57090
57091 # If we're not using GNU ld, then there's no point in even trying these
57092 # tests. Check for that first. We should have already tested for gld
57093 # by now (in libtool), but require it now just to be safe...
57094 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57095 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57096
57097
57098
57099 # The name set by libtool depends on the version of libtool. Shame on us
57100 # for depending on an impl detail, but c'est la vie. Older versions used
57101 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57102 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57103 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57104 # set (hence we're using an older libtool), then set it.
57105 if test x${with_gnu_ld+set} != xset; then
57106 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57107 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57108 with_gnu_ld=no
57109 else
57110 with_gnu_ld=$ac_cv_prog_gnu_ld
57111 fi
57112 fi
57113
57114 # Start by getting the version number. I think the libtool test already
57115 # does some of this, but throws away the result.
57116 glibcxx_ld_is_gold=no
57117 if test x"$with_gnu_ld" = x"yes"; then
57118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57119 $as_echo_n "checking for ld version... " >&6; }
57120
57121 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57122 glibcxx_ld_is_gold=yes
57123 fi
57124 ldver=`$LD --version 2>/dev/null |
57125 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'`
57126
57127 glibcxx_gnu_ld_version=`echo $ldver | \
57128 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57130 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57131 fi
57132
57133 # Set --gc-sections.
57134 glibcxx_have_gc_sections=no
57135 if test "$glibcxx_ld_is_gold" = "yes"; then
57136 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57137 glibcxx_have_gc_sections=yes
57138 fi
57139 else
57140 glibcxx_gcsections_min_ld=21602
57141 if test x"$with_gnu_ld" = x"yes" &&
57142 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57143 glibcxx_have_gc_sections=yes
57144 fi
57145 fi
57146 if test "$glibcxx_have_gc_sections" = "yes"; then
57147 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57148 # NB: This flag only works reliably after 2.16.1. Configure tests
57149 # for this are difficult, so hard wire a value that should work.
57150
57151 ac_test_CFLAGS="${CFLAGS+set}"
57152 ac_save_CFLAGS="$CFLAGS"
57153 CFLAGS='-Wl,--gc-sections'
57154
57155 # Check for -Wl,--gc-sections
57156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57157 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57158 if test x$gcc_no_link = xyes; then
57159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57160 fi
57161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57162 /* end confdefs.h. */
57163 int one(void) { return 1; }
57164 int two(void) { return 2; }
57165
57166 int
57167 main ()
57168 {
57169 two();
57170 ;
57171 return 0;
57172 }
57173 _ACEOF
57174 if ac_fn_c_try_link "$LINENO"; then :
57175 ac_gcsections=yes
57176 else
57177 ac_gcsections=no
57178 fi
57179 rm -f core conftest.err conftest.$ac_objext \
57180 conftest$ac_exeext conftest.$ac_ext
57181 if test "$ac_gcsections" = "yes"; then
57182 rm -f conftest.c
57183 touch conftest.c
57184 if $CC -c conftest.c; then
57185 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57186 grep "Warning: gc-sections option ignored" > /dev/null; then
57187 ac_gcsections=no
57188 fi
57189 fi
57190 rm -f conftest.c conftest.o conftest
57191 fi
57192 if test "$ac_gcsections" = "yes"; then
57193 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57194 fi
57195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57196 $as_echo "$ac_gcsections" >&6; }
57197
57198 if test "$ac_test_CFLAGS" = set; then
57199 CFLAGS="$ac_save_CFLAGS"
57200 else
57201 # this is the suspicious part
57202 CFLAGS=''
57203 fi
57204 fi
57205
57206 # Set -z,relro.
57207 # Note this is only for shared objects.
57208 ac_ld_relro=no
57209 if test x"$with_gnu_ld" = x"yes"; then
57210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57211 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57212 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57213 if test -n "$cxx_z_relo"; then
57214 OPT_LDFLAGS="-Wl,-z,relro"
57215 ac_ld_relro=yes
57216 fi
57217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57218 $as_echo "$ac_ld_relro" >&6; }
57219 fi
57220
57221 # Set linker optimization flags.
57222 if test x"$with_gnu_ld" = x"yes"; then
57223 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57224 fi
57225
57226
57227
57228
57229 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57230
57231 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57232
57233 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57234
57235 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57236
57237 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57238
57239 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57240
57241 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57242
57243 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57244
57245 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57246
57247 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57248
57249 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57250
57251 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57252
57253 ;;
57254 *-rtems*)
57255
57256 # All these tests are for C++; save the language and the compiler flags.
57257 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57258 # found in GLIBCXX_CONFIGURE.
57259
57260 ac_ext=cpp
57261 ac_cpp='$CXXCPP $CPPFLAGS'
57262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57265
57266 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57267 ac_save_CXXFLAGS="$CXXFLAGS"
57268
57269 # Check for maintainer-mode bits.
57270 if test x"$USE_MAINTAINER_MODE" = xno; then
57271 WERROR=''
57272 else
57273 WERROR='-Werror'
57274 fi
57275
57276 # Check for -ffunction-sections -fdata-sections
57277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57278 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57279 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57281 /* end confdefs.h. */
57282 int foo; void bar() { };
57283 int
57284 main ()
57285 {
57286
57287 ;
57288 return 0;
57289 }
57290 _ACEOF
57291 if ac_fn_cxx_try_compile "$LINENO"; then :
57292 ac_fdsections=yes
57293 else
57294 ac_fdsections=no
57295 fi
57296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57297 if test "$ac_test_CXXFLAGS" = set; then
57298 CXXFLAGS="$ac_save_CXXFLAGS"
57299 else
57300 # this is the suspicious part
57301 CXXFLAGS=''
57302 fi
57303 if test x"$ac_fdsections" = x"yes"; then
57304 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57305 fi
57306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57307 $as_echo "$ac_fdsections" >&6; }
57308
57309 ac_ext=c
57310 ac_cpp='$CPP $CPPFLAGS'
57311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57314
57315
57316
57317
57318
57319 # If we're not using GNU ld, then there's no point in even trying these
57320 # tests. Check for that first. We should have already tested for gld
57321 # by now (in libtool), but require it now just to be safe...
57322 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57323 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57324
57325
57326
57327 # The name set by libtool depends on the version of libtool. Shame on us
57328 # for depending on an impl detail, but c'est la vie. Older versions used
57329 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57330 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57331 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57332 # set (hence we're using an older libtool), then set it.
57333 if test x${with_gnu_ld+set} != xset; then
57334 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57335 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57336 with_gnu_ld=no
57337 else
57338 with_gnu_ld=$ac_cv_prog_gnu_ld
57339 fi
57340 fi
57341
57342 # Start by getting the version number. I think the libtool test already
57343 # does some of this, but throws away the result.
57344 glibcxx_ld_is_gold=no
57345 if test x"$with_gnu_ld" = x"yes"; then
57346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57347 $as_echo_n "checking for ld version... " >&6; }
57348
57349 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57350 glibcxx_ld_is_gold=yes
57351 fi
57352 ldver=`$LD --version 2>/dev/null |
57353 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'`
57354
57355 glibcxx_gnu_ld_version=`echo $ldver | \
57356 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57358 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57359 fi
57360
57361 # Set --gc-sections.
57362 glibcxx_have_gc_sections=no
57363 if test "$glibcxx_ld_is_gold" = "yes"; then
57364 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57365 glibcxx_have_gc_sections=yes
57366 fi
57367 else
57368 glibcxx_gcsections_min_ld=21602
57369 if test x"$with_gnu_ld" = x"yes" &&
57370 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57371 glibcxx_have_gc_sections=yes
57372 fi
57373 fi
57374 if test "$glibcxx_have_gc_sections" = "yes"; then
57375 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57376 # NB: This flag only works reliably after 2.16.1. Configure tests
57377 # for this are difficult, so hard wire a value that should work.
57378
57379 ac_test_CFLAGS="${CFLAGS+set}"
57380 ac_save_CFLAGS="$CFLAGS"
57381 CFLAGS='-Wl,--gc-sections'
57382
57383 # Check for -Wl,--gc-sections
57384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57385 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57386 if test x$gcc_no_link = xyes; then
57387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57388 fi
57389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57390 /* end confdefs.h. */
57391 int one(void) { return 1; }
57392 int two(void) { return 2; }
57393
57394 int
57395 main ()
57396 {
57397 two();
57398 ;
57399 return 0;
57400 }
57401 _ACEOF
57402 if ac_fn_c_try_link "$LINENO"; then :
57403 ac_gcsections=yes
57404 else
57405 ac_gcsections=no
57406 fi
57407 rm -f core conftest.err conftest.$ac_objext \
57408 conftest$ac_exeext conftest.$ac_ext
57409 if test "$ac_gcsections" = "yes"; then
57410 rm -f conftest.c
57411 touch conftest.c
57412 if $CC -c conftest.c; then
57413 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57414 grep "Warning: gc-sections option ignored" > /dev/null; then
57415 ac_gcsections=no
57416 fi
57417 fi
57418 rm -f conftest.c conftest.o conftest
57419 fi
57420 if test "$ac_gcsections" = "yes"; then
57421 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57422 fi
57423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57424 $as_echo "$ac_gcsections" >&6; }
57425
57426 if test "$ac_test_CFLAGS" = set; then
57427 CFLAGS="$ac_save_CFLAGS"
57428 else
57429 # this is the suspicious part
57430 CFLAGS=''
57431 fi
57432 fi
57433
57434 # Set -z,relro.
57435 # Note this is only for shared objects.
57436 ac_ld_relro=no
57437 if test x"$with_gnu_ld" = x"yes"; then
57438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57439 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57440 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57441 if test -n "$cxx_z_relo"; then
57442 OPT_LDFLAGS="-Wl,-z,relro"
57443 ac_ld_relro=yes
57444 fi
57445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57446 $as_echo "$ac_ld_relro" >&6; }
57447 fi
57448
57449 # Set linker optimization flags.
57450 if test x"$with_gnu_ld" = x"yes"; then
57451 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57452 fi
57453
57454
57455
57456
57457
57458 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57459 ac_save_CXXFLAGS="$CXXFLAGS"
57460 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57461
57462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57463 $as_echo_n "checking for sin in -lm... " >&6; }
57464 if test "${ac_cv_lib_m_sin+set}" = set; then :
57465 $as_echo_n "(cached) " >&6
57466 else
57467 ac_check_lib_save_LIBS=$LIBS
57468 LIBS="-lm $LIBS"
57469 if test x$gcc_no_link = xyes; then
57470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57471 fi
57472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57473 /* end confdefs.h. */
57474
57475 /* Override any GCC internal prototype to avoid an error.
57476 Use char because int might match the return type of a GCC
57477 builtin and then its argument prototype would still apply. */
57478 #ifdef __cplusplus
57479 extern "C"
57480 #endif
57481 char sin ();
57482 int
57483 main ()
57484 {
57485 return sin ();
57486 ;
57487 return 0;
57488 }
57489 _ACEOF
57490 if ac_fn_c_try_link "$LINENO"; then :
57491 ac_cv_lib_m_sin=yes
57492 else
57493 ac_cv_lib_m_sin=no
57494 fi
57495 rm -f core conftest.err conftest.$ac_objext \
57496 conftest$ac_exeext conftest.$ac_ext
57497 LIBS=$ac_check_lib_save_LIBS
57498 fi
57499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57500 $as_echo "$ac_cv_lib_m_sin" >&6; }
57501 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57502 libm="-lm"
57503 fi
57504
57505 ac_save_LIBS="$LIBS"
57506 LIBS="$LIBS $libm"
57507
57508
57509
57510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57511 $as_echo_n "checking for isinf declaration... " >&6; }
57512 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57513 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57514 $as_echo_n "(cached) " >&6
57515 else
57516
57517
57518 ac_ext=cpp
57519 ac_cpp='$CXXCPP $CPPFLAGS'
57520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57523
57524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57525 /* end confdefs.h. */
57526 #include <math.h>
57527 #ifdef HAVE_IEEEFP_H
57528 #include <ieeefp.h>
57529 #endif
57530
57531 int
57532 main ()
57533 {
57534 isinf(0);
57535 ;
57536 return 0;
57537 }
57538 _ACEOF
57539 if ac_fn_cxx_try_compile "$LINENO"; then :
57540 glibcxx_cv_func_isinf_use=yes
57541 else
57542 glibcxx_cv_func_isinf_use=no
57543 fi
57544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57545 ac_ext=c
57546 ac_cpp='$CPP $CPPFLAGS'
57547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57550
57551
57552 fi
57553
57554 fi
57555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57556 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57557
57558 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57559 for ac_func in isinf
57560 do :
57561 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57562 if test "x$ac_cv_func_isinf" = x""yes; then :
57563 cat >>confdefs.h <<_ACEOF
57564 #define HAVE_ISINF 1
57565 _ACEOF
57566
57567 fi
57568 done
57569
57570 else
57571
57572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57573 $as_echo_n "checking for _isinf declaration... " >&6; }
57574 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57575 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57576 $as_echo_n "(cached) " >&6
57577 else
57578
57579
57580 ac_ext=cpp
57581 ac_cpp='$CXXCPP $CPPFLAGS'
57582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57585
57586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57587 /* end confdefs.h. */
57588 #include <math.h>
57589 #ifdef HAVE_IEEEFP_H
57590 #include <ieeefp.h>
57591 #endif
57592
57593 int
57594 main ()
57595 {
57596 _isinf(0);
57597 ;
57598 return 0;
57599 }
57600 _ACEOF
57601 if ac_fn_cxx_try_compile "$LINENO"; then :
57602 glibcxx_cv_func__isinf_use=yes
57603 else
57604 glibcxx_cv_func__isinf_use=no
57605 fi
57606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57607 ac_ext=c
57608 ac_cpp='$CPP $CPPFLAGS'
57609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57612
57613
57614 fi
57615
57616 fi
57617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57618 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57619
57620 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57621 for ac_func in _isinf
57622 do :
57623 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57624 if test "x$ac_cv_func__isinf" = x""yes; then :
57625 cat >>confdefs.h <<_ACEOF
57626 #define HAVE__ISINF 1
57627 _ACEOF
57628
57629 fi
57630 done
57631
57632 fi
57633 fi
57634
57635
57636
57637
57638
57639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
57640 $as_echo_n "checking for isnan declaration... " >&6; }
57641 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57642 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
57643 $as_echo_n "(cached) " >&6
57644 else
57645
57646
57647 ac_ext=cpp
57648 ac_cpp='$CXXCPP $CPPFLAGS'
57649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57652
57653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57654 /* end confdefs.h. */
57655 #include <math.h>
57656 #ifdef HAVE_IEEEFP_H
57657 #include <ieeefp.h>
57658 #endif
57659
57660 int
57661 main ()
57662 {
57663 isnan(0);
57664 ;
57665 return 0;
57666 }
57667 _ACEOF
57668 if ac_fn_cxx_try_compile "$LINENO"; then :
57669 glibcxx_cv_func_isnan_use=yes
57670 else
57671 glibcxx_cv_func_isnan_use=no
57672 fi
57673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57674 ac_ext=c
57675 ac_cpp='$CPP $CPPFLAGS'
57676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57679
57680
57681 fi
57682
57683 fi
57684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
57685 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
57686
57687 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
57688 for ac_func in isnan
57689 do :
57690 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
57691 if test "x$ac_cv_func_isnan" = x""yes; then :
57692 cat >>confdefs.h <<_ACEOF
57693 #define HAVE_ISNAN 1
57694 _ACEOF
57695
57696 fi
57697 done
57698
57699 else
57700
57701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
57702 $as_echo_n "checking for _isnan declaration... " >&6; }
57703 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
57704 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
57705 $as_echo_n "(cached) " >&6
57706 else
57707
57708
57709 ac_ext=cpp
57710 ac_cpp='$CXXCPP $CPPFLAGS'
57711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57714
57715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57716 /* end confdefs.h. */
57717 #include <math.h>
57718 #ifdef HAVE_IEEEFP_H
57719 #include <ieeefp.h>
57720 #endif
57721
57722 int
57723 main ()
57724 {
57725 _isnan(0);
57726 ;
57727 return 0;
57728 }
57729 _ACEOF
57730 if ac_fn_cxx_try_compile "$LINENO"; then :
57731 glibcxx_cv_func__isnan_use=yes
57732 else
57733 glibcxx_cv_func__isnan_use=no
57734 fi
57735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57736 ac_ext=c
57737 ac_cpp='$CPP $CPPFLAGS'
57738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57741
57742
57743 fi
57744
57745 fi
57746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
57747 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
57748
57749 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
57750 for ac_func in _isnan
57751 do :
57752 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
57753 if test "x$ac_cv_func__isnan" = x""yes; then :
57754 cat >>confdefs.h <<_ACEOF
57755 #define HAVE__ISNAN 1
57756 _ACEOF
57757
57758 fi
57759 done
57760
57761 fi
57762 fi
57763
57764
57765
57766
57767
57768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
57769 $as_echo_n "checking for finite declaration... " >&6; }
57770 if test x${glibcxx_cv_func_finite_use+set} != xset; then
57771 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
57772 $as_echo_n "(cached) " >&6
57773 else
57774
57775
57776 ac_ext=cpp
57777 ac_cpp='$CXXCPP $CPPFLAGS'
57778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57781
57782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57783 /* end confdefs.h. */
57784 #include <math.h>
57785 #ifdef HAVE_IEEEFP_H
57786 #include <ieeefp.h>
57787 #endif
57788
57789 int
57790 main ()
57791 {
57792 finite(0);
57793 ;
57794 return 0;
57795 }
57796 _ACEOF
57797 if ac_fn_cxx_try_compile "$LINENO"; then :
57798 glibcxx_cv_func_finite_use=yes
57799 else
57800 glibcxx_cv_func_finite_use=no
57801 fi
57802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57803 ac_ext=c
57804 ac_cpp='$CPP $CPPFLAGS'
57805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57808
57809
57810 fi
57811
57812 fi
57813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
57814 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
57815
57816 if test x$glibcxx_cv_func_finite_use = x"yes"; then
57817 for ac_func in finite
57818 do :
57819 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
57820 if test "x$ac_cv_func_finite" = x""yes; then :
57821 cat >>confdefs.h <<_ACEOF
57822 #define HAVE_FINITE 1
57823 _ACEOF
57824
57825 fi
57826 done
57827
57828 else
57829
57830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
57831 $as_echo_n "checking for _finite declaration... " >&6; }
57832 if test x${glibcxx_cv_func__finite_use+set} != xset; then
57833 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
57834 $as_echo_n "(cached) " >&6
57835 else
57836
57837
57838 ac_ext=cpp
57839 ac_cpp='$CXXCPP $CPPFLAGS'
57840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57843
57844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57845 /* end confdefs.h. */
57846 #include <math.h>
57847 #ifdef HAVE_IEEEFP_H
57848 #include <ieeefp.h>
57849 #endif
57850
57851 int
57852 main ()
57853 {
57854 _finite(0);
57855 ;
57856 return 0;
57857 }
57858 _ACEOF
57859 if ac_fn_cxx_try_compile "$LINENO"; then :
57860 glibcxx_cv_func__finite_use=yes
57861 else
57862 glibcxx_cv_func__finite_use=no
57863 fi
57864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57865 ac_ext=c
57866 ac_cpp='$CPP $CPPFLAGS'
57867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57870
57871
57872 fi
57873
57874 fi
57875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
57876 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
57877
57878 if test x$glibcxx_cv_func__finite_use = x"yes"; then
57879 for ac_func in _finite
57880 do :
57881 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
57882 if test "x$ac_cv_func__finite" = x""yes; then :
57883 cat >>confdefs.h <<_ACEOF
57884 #define HAVE__FINITE 1
57885 _ACEOF
57886
57887 fi
57888 done
57889
57890 fi
57891 fi
57892
57893
57894
57895
57896
57897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
57898 $as_echo_n "checking for sincos declaration... " >&6; }
57899 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
57900 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
57901 $as_echo_n "(cached) " >&6
57902 else
57903
57904
57905 ac_ext=cpp
57906 ac_cpp='$CXXCPP $CPPFLAGS'
57907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57910
57911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57912 /* end confdefs.h. */
57913 #include <math.h>
57914 int
57915 main ()
57916 {
57917 sincos(0, 0, 0);
57918 ;
57919 return 0;
57920 }
57921 _ACEOF
57922 if ac_fn_cxx_try_compile "$LINENO"; then :
57923 glibcxx_cv_func_sincos_use=yes
57924 else
57925 glibcxx_cv_func_sincos_use=no
57926 fi
57927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57928 ac_ext=c
57929 ac_cpp='$CPP $CPPFLAGS'
57930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57933
57934
57935 fi
57936
57937 fi
57938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
57939 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
57940
57941 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
57942 for ac_func in sincos
57943 do :
57944 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
57945 if test "x$ac_cv_func_sincos" = x""yes; then :
57946 cat >>confdefs.h <<_ACEOF
57947 #define HAVE_SINCOS 1
57948 _ACEOF
57949
57950 fi
57951 done
57952
57953 else
57954
57955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
57956 $as_echo_n "checking for _sincos declaration... " >&6; }
57957 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
57958 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
57959 $as_echo_n "(cached) " >&6
57960 else
57961
57962
57963 ac_ext=cpp
57964 ac_cpp='$CXXCPP $CPPFLAGS'
57965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57968
57969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57970 /* end confdefs.h. */
57971 #include <math.h>
57972 int
57973 main ()
57974 {
57975 _sincos(0, 0, 0);
57976 ;
57977 return 0;
57978 }
57979 _ACEOF
57980 if ac_fn_cxx_try_compile "$LINENO"; then :
57981 glibcxx_cv_func__sincos_use=yes
57982 else
57983 glibcxx_cv_func__sincos_use=no
57984 fi
57985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57986 ac_ext=c
57987 ac_cpp='$CPP $CPPFLAGS'
57988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57991
57992
57993 fi
57994
57995 fi
57996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
57997 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
57998
57999 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58000 for ac_func in _sincos
58001 do :
58002 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58003 if test "x$ac_cv_func__sincos" = x""yes; then :
58004 cat >>confdefs.h <<_ACEOF
58005 #define HAVE__SINCOS 1
58006 _ACEOF
58007
58008 fi
58009 done
58010
58011 fi
58012 fi
58013
58014
58015
58016
58017
58018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58019 $as_echo_n "checking for fpclass declaration... " >&6; }
58020 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58021 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58022 $as_echo_n "(cached) " >&6
58023 else
58024
58025
58026 ac_ext=cpp
58027 ac_cpp='$CXXCPP $CPPFLAGS'
58028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58031
58032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58033 /* end confdefs.h. */
58034 #include <math.h>
58035 #ifdef HAVE_IEEEFP_H
58036 #include <ieeefp.h>
58037 #endif
58038
58039 int
58040 main ()
58041 {
58042 fpclass(0);
58043 ;
58044 return 0;
58045 }
58046 _ACEOF
58047 if ac_fn_cxx_try_compile "$LINENO"; then :
58048 glibcxx_cv_func_fpclass_use=yes
58049 else
58050 glibcxx_cv_func_fpclass_use=no
58051 fi
58052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58053 ac_ext=c
58054 ac_cpp='$CPP $CPPFLAGS'
58055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58058
58059
58060 fi
58061
58062 fi
58063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58064 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58065
58066 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58067 for ac_func in fpclass
58068 do :
58069 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58070 if test "x$ac_cv_func_fpclass" = x""yes; then :
58071 cat >>confdefs.h <<_ACEOF
58072 #define HAVE_FPCLASS 1
58073 _ACEOF
58074
58075 fi
58076 done
58077
58078 else
58079
58080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58081 $as_echo_n "checking for _fpclass declaration... " >&6; }
58082 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58083 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58084 $as_echo_n "(cached) " >&6
58085 else
58086
58087
58088 ac_ext=cpp
58089 ac_cpp='$CXXCPP $CPPFLAGS'
58090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58093
58094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58095 /* end confdefs.h. */
58096 #include <math.h>
58097 #ifdef HAVE_IEEEFP_H
58098 #include <ieeefp.h>
58099 #endif
58100
58101 int
58102 main ()
58103 {
58104 _fpclass(0);
58105 ;
58106 return 0;
58107 }
58108 _ACEOF
58109 if ac_fn_cxx_try_compile "$LINENO"; then :
58110 glibcxx_cv_func__fpclass_use=yes
58111 else
58112 glibcxx_cv_func__fpclass_use=no
58113 fi
58114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58115 ac_ext=c
58116 ac_cpp='$CPP $CPPFLAGS'
58117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58120
58121
58122 fi
58123
58124 fi
58125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58126 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58127
58128 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58129 for ac_func in _fpclass
58130 do :
58131 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58132 if test "x$ac_cv_func__fpclass" = x""yes; then :
58133 cat >>confdefs.h <<_ACEOF
58134 #define HAVE__FPCLASS 1
58135 _ACEOF
58136
58137 fi
58138 done
58139
58140 fi
58141 fi
58142
58143
58144
58145
58146
58147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58148 $as_echo_n "checking for qfpclass declaration... " >&6; }
58149 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58150 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58151 $as_echo_n "(cached) " >&6
58152 else
58153
58154
58155 ac_ext=cpp
58156 ac_cpp='$CXXCPP $CPPFLAGS'
58157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58160
58161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58162 /* end confdefs.h. */
58163 #include <math.h>
58164 #ifdef HAVE_IEEEFP_H
58165 #include <ieeefp.h>
58166 #endif
58167
58168 int
58169 main ()
58170 {
58171 qfpclass(0);
58172 ;
58173 return 0;
58174 }
58175 _ACEOF
58176 if ac_fn_cxx_try_compile "$LINENO"; then :
58177 glibcxx_cv_func_qfpclass_use=yes
58178 else
58179 glibcxx_cv_func_qfpclass_use=no
58180 fi
58181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58182 ac_ext=c
58183 ac_cpp='$CPP $CPPFLAGS'
58184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58187
58188
58189 fi
58190
58191 fi
58192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58193 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58194
58195 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58196 for ac_func in qfpclass
58197 do :
58198 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58199 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58200 cat >>confdefs.h <<_ACEOF
58201 #define HAVE_QFPCLASS 1
58202 _ACEOF
58203
58204 fi
58205 done
58206
58207 else
58208
58209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58210 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58211 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58212 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58213 $as_echo_n "(cached) " >&6
58214 else
58215
58216
58217 ac_ext=cpp
58218 ac_cpp='$CXXCPP $CPPFLAGS'
58219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58222
58223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58224 /* end confdefs.h. */
58225 #include <math.h>
58226 #ifdef HAVE_IEEEFP_H
58227 #include <ieeefp.h>
58228 #endif
58229
58230 int
58231 main ()
58232 {
58233 _qfpclass(0);
58234 ;
58235 return 0;
58236 }
58237 _ACEOF
58238 if ac_fn_cxx_try_compile "$LINENO"; then :
58239 glibcxx_cv_func__qfpclass_use=yes
58240 else
58241 glibcxx_cv_func__qfpclass_use=no
58242 fi
58243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58244 ac_ext=c
58245 ac_cpp='$CPP $CPPFLAGS'
58246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58249
58250
58251 fi
58252
58253 fi
58254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58255 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58256
58257 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58258 for ac_func in _qfpclass
58259 do :
58260 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58261 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58262 cat >>confdefs.h <<_ACEOF
58263 #define HAVE__QFPCLASS 1
58264 _ACEOF
58265
58266 fi
58267 done
58268
58269 fi
58270 fi
58271
58272
58273
58274
58275
58276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58277 $as_echo_n "checking for hypot declaration... " >&6; }
58278 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58279 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58280 $as_echo_n "(cached) " >&6
58281 else
58282
58283
58284 ac_ext=cpp
58285 ac_cpp='$CXXCPP $CPPFLAGS'
58286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58289
58290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58291 /* end confdefs.h. */
58292 #include <math.h>
58293 int
58294 main ()
58295 {
58296 hypot(0, 0);
58297 ;
58298 return 0;
58299 }
58300 _ACEOF
58301 if ac_fn_cxx_try_compile "$LINENO"; then :
58302 glibcxx_cv_func_hypot_use=yes
58303 else
58304 glibcxx_cv_func_hypot_use=no
58305 fi
58306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58307 ac_ext=c
58308 ac_cpp='$CPP $CPPFLAGS'
58309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58312
58313
58314 fi
58315
58316 fi
58317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58318 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58319
58320 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58321 for ac_func in hypot
58322 do :
58323 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58324 if test "x$ac_cv_func_hypot" = x""yes; then :
58325 cat >>confdefs.h <<_ACEOF
58326 #define HAVE_HYPOT 1
58327 _ACEOF
58328
58329 fi
58330 done
58331
58332 else
58333
58334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58335 $as_echo_n "checking for _hypot declaration... " >&6; }
58336 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58337 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58338 $as_echo_n "(cached) " >&6
58339 else
58340
58341
58342 ac_ext=cpp
58343 ac_cpp='$CXXCPP $CPPFLAGS'
58344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58347
58348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58349 /* end confdefs.h. */
58350 #include <math.h>
58351 int
58352 main ()
58353 {
58354 _hypot(0, 0);
58355 ;
58356 return 0;
58357 }
58358 _ACEOF
58359 if ac_fn_cxx_try_compile "$LINENO"; then :
58360 glibcxx_cv_func__hypot_use=yes
58361 else
58362 glibcxx_cv_func__hypot_use=no
58363 fi
58364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58365 ac_ext=c
58366 ac_cpp='$CPP $CPPFLAGS'
58367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58370
58371
58372 fi
58373
58374 fi
58375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58376 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58377
58378 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58379 for ac_func in _hypot
58380 do :
58381 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58382 if test "x$ac_cv_func__hypot" = x""yes; then :
58383 cat >>confdefs.h <<_ACEOF
58384 #define HAVE__HYPOT 1
58385 _ACEOF
58386
58387 fi
58388 done
58389
58390 fi
58391 fi
58392
58393
58394
58395
58396
58397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58398 $as_echo_n "checking for float trig functions... " >&6; }
58399 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58400 $as_echo_n "(cached) " >&6
58401 else
58402
58403
58404 ac_ext=cpp
58405 ac_cpp='$CXXCPP $CPPFLAGS'
58406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58409
58410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58411 /* end confdefs.h. */
58412 #include <math.h>
58413 int
58414 main ()
58415 {
58416 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58417 ;
58418 return 0;
58419 }
58420 _ACEOF
58421 if ac_fn_cxx_try_compile "$LINENO"; then :
58422 glibcxx_cv_func_float_trig_use=yes
58423 else
58424 glibcxx_cv_func_float_trig_use=no
58425 fi
58426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58427 ac_ext=c
58428 ac_cpp='$CPP $CPPFLAGS'
58429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58432
58433 fi
58434
58435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58436 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58437 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58438 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58439 do :
58440 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58441 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58442 eval as_val=\$$as_ac_var
58443 if test "x$as_val" = x""yes; then :
58444 cat >>confdefs.h <<_ACEOF
58445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58446 _ACEOF
58447
58448 fi
58449 done
58450
58451 else
58452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58453 $as_echo_n "checking for _float trig functions... " >&6; }
58454 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58455 $as_echo_n "(cached) " >&6
58456 else
58457
58458
58459 ac_ext=cpp
58460 ac_cpp='$CXXCPP $CPPFLAGS'
58461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58464
58465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58466 /* end confdefs.h. */
58467 #include <math.h>
58468 int
58469 main ()
58470 {
58471 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58472 ;
58473 return 0;
58474 }
58475 _ACEOF
58476 if ac_fn_cxx_try_compile "$LINENO"; then :
58477 glibcxx_cv_func__float_trig_use=yes
58478 else
58479 glibcxx_cv_func__float_trig_use=no
58480 fi
58481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58482 ac_ext=c
58483 ac_cpp='$CPP $CPPFLAGS'
58484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58487
58488 fi
58489
58490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58491 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58492 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58493 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58494 do :
58495 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58496 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58497 eval as_val=\$$as_ac_var
58498 if test "x$as_val" = x""yes; then :
58499 cat >>confdefs.h <<_ACEOF
58500 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58501 _ACEOF
58502
58503 fi
58504 done
58505
58506 fi
58507 fi
58508
58509
58510
58511
58512
58513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58514 $as_echo_n "checking for float round functions... " >&6; }
58515 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58516 $as_echo_n "(cached) " >&6
58517 else
58518
58519
58520 ac_ext=cpp
58521 ac_cpp='$CXXCPP $CPPFLAGS'
58522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58525
58526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58527 /* end confdefs.h. */
58528 #include <math.h>
58529 int
58530 main ()
58531 {
58532 ceilf (0); floorf (0);
58533 ;
58534 return 0;
58535 }
58536 _ACEOF
58537 if ac_fn_cxx_try_compile "$LINENO"; then :
58538 glibcxx_cv_func_float_round_use=yes
58539 else
58540 glibcxx_cv_func_float_round_use=no
58541 fi
58542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58543 ac_ext=c
58544 ac_cpp='$CPP $CPPFLAGS'
58545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58548
58549 fi
58550
58551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58552 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58553 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58554 for ac_func in ceilf floorf
58555 do :
58556 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58557 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58558 eval as_val=\$$as_ac_var
58559 if test "x$as_val" = x""yes; then :
58560 cat >>confdefs.h <<_ACEOF
58561 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58562 _ACEOF
58563
58564 fi
58565 done
58566
58567 else
58568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58569 $as_echo_n "checking for _float round functions... " >&6; }
58570 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58571 $as_echo_n "(cached) " >&6
58572 else
58573
58574
58575 ac_ext=cpp
58576 ac_cpp='$CXXCPP $CPPFLAGS'
58577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58580
58581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58582 /* end confdefs.h. */
58583 #include <math.h>
58584 int
58585 main ()
58586 {
58587 _ceilf (0); _floorf (0);
58588 ;
58589 return 0;
58590 }
58591 _ACEOF
58592 if ac_fn_cxx_try_compile "$LINENO"; then :
58593 glibcxx_cv_func__float_round_use=yes
58594 else
58595 glibcxx_cv_func__float_round_use=no
58596 fi
58597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58598 ac_ext=c
58599 ac_cpp='$CPP $CPPFLAGS'
58600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58603
58604 fi
58605
58606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58607 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58608 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58609 for ac_func in _ceilf _floorf
58610 do :
58611 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58612 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58613 eval as_val=\$$as_ac_var
58614 if test "x$as_val" = x""yes; then :
58615 cat >>confdefs.h <<_ACEOF
58616 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58617 _ACEOF
58618
58619 fi
58620 done
58621
58622 fi
58623 fi
58624
58625
58626
58627
58628
58629
58630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
58631 $as_echo_n "checking for expf declaration... " >&6; }
58632 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58633 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
58634 $as_echo_n "(cached) " >&6
58635 else
58636
58637
58638 ac_ext=cpp
58639 ac_cpp='$CXXCPP $CPPFLAGS'
58640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58643
58644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58645 /* end confdefs.h. */
58646 #include <math.h>
58647 #ifdef HAVE_IEEEFP_H
58648 #include <ieeefp.h>
58649 #endif
58650
58651 int
58652 main ()
58653 {
58654 expf(0);
58655 ;
58656 return 0;
58657 }
58658 _ACEOF
58659 if ac_fn_cxx_try_compile "$LINENO"; then :
58660 glibcxx_cv_func_expf_use=yes
58661 else
58662 glibcxx_cv_func_expf_use=no
58663 fi
58664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58665 ac_ext=c
58666 ac_cpp='$CPP $CPPFLAGS'
58667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58670
58671
58672 fi
58673
58674 fi
58675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
58676 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
58677
58678 if test x$glibcxx_cv_func_expf_use = x"yes"; then
58679 for ac_func in expf
58680 do :
58681 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
58682 if test "x$ac_cv_func_expf" = x""yes; then :
58683 cat >>confdefs.h <<_ACEOF
58684 #define HAVE_EXPF 1
58685 _ACEOF
58686
58687 fi
58688 done
58689
58690 else
58691
58692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
58693 $as_echo_n "checking for _expf declaration... " >&6; }
58694 if test x${glibcxx_cv_func__expf_use+set} != xset; then
58695 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
58696 $as_echo_n "(cached) " >&6
58697 else
58698
58699
58700 ac_ext=cpp
58701 ac_cpp='$CXXCPP $CPPFLAGS'
58702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58705
58706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58707 /* end confdefs.h. */
58708 #include <math.h>
58709 #ifdef HAVE_IEEEFP_H
58710 #include <ieeefp.h>
58711 #endif
58712
58713 int
58714 main ()
58715 {
58716 _expf(0);
58717 ;
58718 return 0;
58719 }
58720 _ACEOF
58721 if ac_fn_cxx_try_compile "$LINENO"; then :
58722 glibcxx_cv_func__expf_use=yes
58723 else
58724 glibcxx_cv_func__expf_use=no
58725 fi
58726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58727 ac_ext=c
58728 ac_cpp='$CPP $CPPFLAGS'
58729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58732
58733
58734 fi
58735
58736 fi
58737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
58738 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
58739
58740 if test x$glibcxx_cv_func__expf_use = x"yes"; then
58741 for ac_func in _expf
58742 do :
58743 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
58744 if test "x$ac_cv_func__expf" = x""yes; then :
58745 cat >>confdefs.h <<_ACEOF
58746 #define HAVE__EXPF 1
58747 _ACEOF
58748
58749 fi
58750 done
58751
58752 fi
58753 fi
58754
58755
58756
58757
58758
58759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
58760 $as_echo_n "checking for isnanf declaration... " >&6; }
58761 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58762 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
58763 $as_echo_n "(cached) " >&6
58764 else
58765
58766
58767 ac_ext=cpp
58768 ac_cpp='$CXXCPP $CPPFLAGS'
58769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58772
58773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58774 /* end confdefs.h. */
58775 #include <math.h>
58776 #ifdef HAVE_IEEEFP_H
58777 #include <ieeefp.h>
58778 #endif
58779
58780 int
58781 main ()
58782 {
58783 isnanf(0);
58784 ;
58785 return 0;
58786 }
58787 _ACEOF
58788 if ac_fn_cxx_try_compile "$LINENO"; then :
58789 glibcxx_cv_func_isnanf_use=yes
58790 else
58791 glibcxx_cv_func_isnanf_use=no
58792 fi
58793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58794 ac_ext=c
58795 ac_cpp='$CPP $CPPFLAGS'
58796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58799
58800
58801 fi
58802
58803 fi
58804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
58805 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
58806
58807 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58808 for ac_func in isnanf
58809 do :
58810 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
58811 if test "x$ac_cv_func_isnanf" = x""yes; then :
58812 cat >>confdefs.h <<_ACEOF
58813 #define HAVE_ISNANF 1
58814 _ACEOF
58815
58816 fi
58817 done
58818
58819 else
58820
58821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
58822 $as_echo_n "checking for _isnanf declaration... " >&6; }
58823 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58824 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
58825 $as_echo_n "(cached) " >&6
58826 else
58827
58828
58829 ac_ext=cpp
58830 ac_cpp='$CXXCPP $CPPFLAGS'
58831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58834
58835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58836 /* end confdefs.h. */
58837 #include <math.h>
58838 #ifdef HAVE_IEEEFP_H
58839 #include <ieeefp.h>
58840 #endif
58841
58842 int
58843 main ()
58844 {
58845 _isnanf(0);
58846 ;
58847 return 0;
58848 }
58849 _ACEOF
58850 if ac_fn_cxx_try_compile "$LINENO"; then :
58851 glibcxx_cv_func__isnanf_use=yes
58852 else
58853 glibcxx_cv_func__isnanf_use=no
58854 fi
58855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58856 ac_ext=c
58857 ac_cpp='$CPP $CPPFLAGS'
58858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58861
58862
58863 fi
58864
58865 fi
58866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
58867 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
58868
58869 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58870 for ac_func in _isnanf
58871 do :
58872 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
58873 if test "x$ac_cv_func__isnanf" = x""yes; then :
58874 cat >>confdefs.h <<_ACEOF
58875 #define HAVE__ISNANF 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 isinff declaration" >&5
58889 $as_echo_n "checking for isinff declaration... " >&6; }
58890 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58891 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
58892 $as_echo_n "(cached) " >&6
58893 else
58894
58895
58896 ac_ext=cpp
58897 ac_cpp='$CXXCPP $CPPFLAGS'
58898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58901
58902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58903 /* end confdefs.h. */
58904 #include <math.h>
58905 #ifdef HAVE_IEEEFP_H
58906 #include <ieeefp.h>
58907 #endif
58908
58909 int
58910 main ()
58911 {
58912 isinff(0);
58913 ;
58914 return 0;
58915 }
58916 _ACEOF
58917 if ac_fn_cxx_try_compile "$LINENO"; then :
58918 glibcxx_cv_func_isinff_use=yes
58919 else
58920 glibcxx_cv_func_isinff_use=no
58921 fi
58922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58923 ac_ext=c
58924 ac_cpp='$CPP $CPPFLAGS'
58925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58928
58929
58930 fi
58931
58932 fi
58933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
58934 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
58935
58936 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
58937 for ac_func in isinff
58938 do :
58939 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
58940 if test "x$ac_cv_func_isinff" = x""yes; then :
58941 cat >>confdefs.h <<_ACEOF
58942 #define HAVE_ISINFF 1
58943 _ACEOF
58944
58945 fi
58946 done
58947
58948 else
58949
58950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
58951 $as_echo_n "checking for _isinff declaration... " >&6; }
58952 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58953 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
58954 $as_echo_n "(cached) " >&6
58955 else
58956
58957
58958 ac_ext=cpp
58959 ac_cpp='$CXXCPP $CPPFLAGS'
58960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58963
58964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58965 /* end confdefs.h. */
58966 #include <math.h>
58967 #ifdef HAVE_IEEEFP_H
58968 #include <ieeefp.h>
58969 #endif
58970
58971 int
58972 main ()
58973 {
58974 _isinff(0);
58975 ;
58976 return 0;
58977 }
58978 _ACEOF
58979 if ac_fn_cxx_try_compile "$LINENO"; then :
58980 glibcxx_cv_func__isinff_use=yes
58981 else
58982 glibcxx_cv_func__isinff_use=no
58983 fi
58984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58985 ac_ext=c
58986 ac_cpp='$CPP $CPPFLAGS'
58987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58990
58991
58992 fi
58993
58994 fi
58995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
58996 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
58997
58998 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58999 for ac_func in _isinff
59000 do :
59001 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59002 if test "x$ac_cv_func__isinff" = x""yes; then :
59003 cat >>confdefs.h <<_ACEOF
59004 #define HAVE__ISINFF 1
59005 _ACEOF
59006
59007 fi
59008 done
59009
59010 fi
59011 fi
59012
59013
59014
59015
59016
59017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59018 $as_echo_n "checking for atan2f declaration... " >&6; }
59019 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59020 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59021 $as_echo_n "(cached) " >&6
59022 else
59023
59024
59025 ac_ext=cpp
59026 ac_cpp='$CXXCPP $CPPFLAGS'
59027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59030
59031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59032 /* end confdefs.h. */
59033 #include <math.h>
59034 int
59035 main ()
59036 {
59037 atan2f(0, 0);
59038 ;
59039 return 0;
59040 }
59041 _ACEOF
59042 if ac_fn_cxx_try_compile "$LINENO"; then :
59043 glibcxx_cv_func_atan2f_use=yes
59044 else
59045 glibcxx_cv_func_atan2f_use=no
59046 fi
59047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59048 ac_ext=c
59049 ac_cpp='$CPP $CPPFLAGS'
59050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59053
59054
59055 fi
59056
59057 fi
59058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59059 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59060
59061 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59062 for ac_func in atan2f
59063 do :
59064 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59065 if test "x$ac_cv_func_atan2f" = x""yes; then :
59066 cat >>confdefs.h <<_ACEOF
59067 #define HAVE_ATAN2F 1
59068 _ACEOF
59069
59070 fi
59071 done
59072
59073 else
59074
59075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59076 $as_echo_n "checking for _atan2f declaration... " >&6; }
59077 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59078 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59079 $as_echo_n "(cached) " >&6
59080 else
59081
59082
59083 ac_ext=cpp
59084 ac_cpp='$CXXCPP $CPPFLAGS'
59085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59088
59089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59090 /* end confdefs.h. */
59091 #include <math.h>
59092 int
59093 main ()
59094 {
59095 _atan2f(0, 0);
59096 ;
59097 return 0;
59098 }
59099 _ACEOF
59100 if ac_fn_cxx_try_compile "$LINENO"; then :
59101 glibcxx_cv_func__atan2f_use=yes
59102 else
59103 glibcxx_cv_func__atan2f_use=no
59104 fi
59105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59106 ac_ext=c
59107 ac_cpp='$CPP $CPPFLAGS'
59108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59111
59112
59113 fi
59114
59115 fi
59116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59117 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59118
59119 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59120 for ac_func in _atan2f
59121 do :
59122 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59123 if test "x$ac_cv_func__atan2f" = x""yes; then :
59124 cat >>confdefs.h <<_ACEOF
59125 #define HAVE__ATAN2F 1
59126 _ACEOF
59127
59128 fi
59129 done
59130
59131 fi
59132 fi
59133
59134
59135
59136
59137
59138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59139 $as_echo_n "checking for fabsf declaration... " >&6; }
59140 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59141 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59142 $as_echo_n "(cached) " >&6
59143 else
59144
59145
59146 ac_ext=cpp
59147 ac_cpp='$CXXCPP $CPPFLAGS'
59148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59151
59152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59153 /* end confdefs.h. */
59154 #include <math.h>
59155 #ifdef HAVE_IEEEFP_H
59156 #include <ieeefp.h>
59157 #endif
59158
59159 int
59160 main ()
59161 {
59162 fabsf(0);
59163 ;
59164 return 0;
59165 }
59166 _ACEOF
59167 if ac_fn_cxx_try_compile "$LINENO"; then :
59168 glibcxx_cv_func_fabsf_use=yes
59169 else
59170 glibcxx_cv_func_fabsf_use=no
59171 fi
59172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59173 ac_ext=c
59174 ac_cpp='$CPP $CPPFLAGS'
59175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59178
59179
59180 fi
59181
59182 fi
59183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59184 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59185
59186 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59187 for ac_func in fabsf
59188 do :
59189 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59190 if test "x$ac_cv_func_fabsf" = x""yes; then :
59191 cat >>confdefs.h <<_ACEOF
59192 #define HAVE_FABSF 1
59193 _ACEOF
59194
59195 fi
59196 done
59197
59198 else
59199
59200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59201 $as_echo_n "checking for _fabsf declaration... " >&6; }
59202 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59203 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59204 $as_echo_n "(cached) " >&6
59205 else
59206
59207
59208 ac_ext=cpp
59209 ac_cpp='$CXXCPP $CPPFLAGS'
59210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59213
59214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59215 /* end confdefs.h. */
59216 #include <math.h>
59217 #ifdef HAVE_IEEEFP_H
59218 #include <ieeefp.h>
59219 #endif
59220
59221 int
59222 main ()
59223 {
59224 _fabsf(0);
59225 ;
59226 return 0;
59227 }
59228 _ACEOF
59229 if ac_fn_cxx_try_compile "$LINENO"; then :
59230 glibcxx_cv_func__fabsf_use=yes
59231 else
59232 glibcxx_cv_func__fabsf_use=no
59233 fi
59234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59235 ac_ext=c
59236 ac_cpp='$CPP $CPPFLAGS'
59237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59240
59241
59242 fi
59243
59244 fi
59245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59246 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59247
59248 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59249 for ac_func in _fabsf
59250 do :
59251 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59252 if test "x$ac_cv_func__fabsf" = x""yes; then :
59253 cat >>confdefs.h <<_ACEOF
59254 #define HAVE__FABSF 1
59255 _ACEOF
59256
59257 fi
59258 done
59259
59260 fi
59261 fi
59262
59263
59264
59265
59266
59267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59268 $as_echo_n "checking for fmodf declaration... " >&6; }
59269 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59270 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59271 $as_echo_n "(cached) " >&6
59272 else
59273
59274
59275 ac_ext=cpp
59276 ac_cpp='$CXXCPP $CPPFLAGS'
59277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59280
59281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59282 /* end confdefs.h. */
59283 #include <math.h>
59284 int
59285 main ()
59286 {
59287 fmodf(0, 0);
59288 ;
59289 return 0;
59290 }
59291 _ACEOF
59292 if ac_fn_cxx_try_compile "$LINENO"; then :
59293 glibcxx_cv_func_fmodf_use=yes
59294 else
59295 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
59309 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59310
59311 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59312 for ac_func in fmodf
59313 do :
59314 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59315 if test "x$ac_cv_func_fmodf" = x""yes; then :
59316 cat >>confdefs.h <<_ACEOF
59317 #define HAVE_FMODF 1
59318 _ACEOF
59319
59320 fi
59321 done
59322
59323 else
59324
59325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59326 $as_echo_n "checking for _fmodf declaration... " >&6; }
59327 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59328 if test "${glibcxx_cv_func__fmodf_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 int
59343 main ()
59344 {
59345 _fmodf(0, 0);
59346 ;
59347 return 0;
59348 }
59349 _ACEOF
59350 if ac_fn_cxx_try_compile "$LINENO"; then :
59351 glibcxx_cv_func__fmodf_use=yes
59352 else
59353 glibcxx_cv_func__fmodf_use=no
59354 fi
59355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59356 ac_ext=c
59357 ac_cpp='$CPP $CPPFLAGS'
59358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59361
59362
59363 fi
59364
59365 fi
59366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59367 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59368
59369 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59370 for ac_func in _fmodf
59371 do :
59372 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59373 if test "x$ac_cv_func__fmodf" = x""yes; then :
59374 cat >>confdefs.h <<_ACEOF
59375 #define HAVE__FMODF 1
59376 _ACEOF
59377
59378 fi
59379 done
59380
59381 fi
59382 fi
59383
59384
59385
59386
59387
59388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59389 $as_echo_n "checking for frexpf declaration... " >&6; }
59390 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59391 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59392 $as_echo_n "(cached) " >&6
59393 else
59394
59395
59396 ac_ext=cpp
59397 ac_cpp='$CXXCPP $CPPFLAGS'
59398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59401
59402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59403 /* end confdefs.h. */
59404 #include <math.h>
59405 int
59406 main ()
59407 {
59408 frexpf(0, 0);
59409 ;
59410 return 0;
59411 }
59412 _ACEOF
59413 if ac_fn_cxx_try_compile "$LINENO"; then :
59414 glibcxx_cv_func_frexpf_use=yes
59415 else
59416 glibcxx_cv_func_frexpf_use=no
59417 fi
59418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59419 ac_ext=c
59420 ac_cpp='$CPP $CPPFLAGS'
59421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59424
59425
59426 fi
59427
59428 fi
59429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59430 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59431
59432 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59433 for ac_func in frexpf
59434 do :
59435 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59436 if test "x$ac_cv_func_frexpf" = x""yes; then :
59437 cat >>confdefs.h <<_ACEOF
59438 #define HAVE_FREXPF 1
59439 _ACEOF
59440
59441 fi
59442 done
59443
59444 else
59445
59446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59447 $as_echo_n "checking for _frexpf declaration... " >&6; }
59448 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59449 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59450 $as_echo_n "(cached) " >&6
59451 else
59452
59453
59454 ac_ext=cpp
59455 ac_cpp='$CXXCPP $CPPFLAGS'
59456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59459
59460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59461 /* end confdefs.h. */
59462 #include <math.h>
59463 int
59464 main ()
59465 {
59466 _frexpf(0, 0);
59467 ;
59468 return 0;
59469 }
59470 _ACEOF
59471 if ac_fn_cxx_try_compile "$LINENO"; then :
59472 glibcxx_cv_func__frexpf_use=yes
59473 else
59474 glibcxx_cv_func__frexpf_use=no
59475 fi
59476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59477 ac_ext=c
59478 ac_cpp='$CPP $CPPFLAGS'
59479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59482
59483
59484 fi
59485
59486 fi
59487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59488 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59489
59490 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59491 for ac_func in _frexpf
59492 do :
59493 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59494 if test "x$ac_cv_func__frexpf" = x""yes; then :
59495 cat >>confdefs.h <<_ACEOF
59496 #define HAVE__FREXPF 1
59497 _ACEOF
59498
59499 fi
59500 done
59501
59502 fi
59503 fi
59504
59505
59506
59507
59508
59509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59510 $as_echo_n "checking for hypotf declaration... " >&6; }
59511 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59512 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59513 $as_echo_n "(cached) " >&6
59514 else
59515
59516
59517 ac_ext=cpp
59518 ac_cpp='$CXXCPP $CPPFLAGS'
59519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59522
59523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59524 /* end confdefs.h. */
59525 #include <math.h>
59526 int
59527 main ()
59528 {
59529 hypotf(0, 0);
59530 ;
59531 return 0;
59532 }
59533 _ACEOF
59534 if ac_fn_cxx_try_compile "$LINENO"; then :
59535 glibcxx_cv_func_hypotf_use=yes
59536 else
59537 glibcxx_cv_func_hypotf_use=no
59538 fi
59539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59540 ac_ext=c
59541 ac_cpp='$CPP $CPPFLAGS'
59542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59545
59546
59547 fi
59548
59549 fi
59550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59551 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59552
59553 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59554 for ac_func in hypotf
59555 do :
59556 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59557 if test "x$ac_cv_func_hypotf" = x""yes; then :
59558 cat >>confdefs.h <<_ACEOF
59559 #define HAVE_HYPOTF 1
59560 _ACEOF
59561
59562 fi
59563 done
59564
59565 else
59566
59567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59568 $as_echo_n "checking for _hypotf declaration... " >&6; }
59569 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59570 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59571 $as_echo_n "(cached) " >&6
59572 else
59573
59574
59575 ac_ext=cpp
59576 ac_cpp='$CXXCPP $CPPFLAGS'
59577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59580
59581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59582 /* end confdefs.h. */
59583 #include <math.h>
59584 int
59585 main ()
59586 {
59587 _hypotf(0, 0);
59588 ;
59589 return 0;
59590 }
59591 _ACEOF
59592 if ac_fn_cxx_try_compile "$LINENO"; then :
59593 glibcxx_cv_func__hypotf_use=yes
59594 else
59595 glibcxx_cv_func__hypotf_use=no
59596 fi
59597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59598 ac_ext=c
59599 ac_cpp='$CPP $CPPFLAGS'
59600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59603
59604
59605 fi
59606
59607 fi
59608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59609 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59610
59611 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59612 for ac_func in _hypotf
59613 do :
59614 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59615 if test "x$ac_cv_func__hypotf" = x""yes; then :
59616 cat >>confdefs.h <<_ACEOF
59617 #define HAVE__HYPOTF 1
59618 _ACEOF
59619
59620 fi
59621 done
59622
59623 fi
59624 fi
59625
59626
59627
59628
59629
59630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
59631 $as_echo_n "checking for ldexpf declaration... " >&6; }
59632 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59633 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
59634 $as_echo_n "(cached) " >&6
59635 else
59636
59637
59638 ac_ext=cpp
59639 ac_cpp='$CXXCPP $CPPFLAGS'
59640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59643
59644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59645 /* end confdefs.h. */
59646 #include <math.h>
59647 int
59648 main ()
59649 {
59650 ldexpf(0, 0);
59651 ;
59652 return 0;
59653 }
59654 _ACEOF
59655 if ac_fn_cxx_try_compile "$LINENO"; then :
59656 glibcxx_cv_func_ldexpf_use=yes
59657 else
59658 glibcxx_cv_func_ldexpf_use=no
59659 fi
59660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59661 ac_ext=c
59662 ac_cpp='$CPP $CPPFLAGS'
59663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59666
59667
59668 fi
59669
59670 fi
59671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
59672 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
59673
59674 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59675 for ac_func in ldexpf
59676 do :
59677 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
59678 if test "x$ac_cv_func_ldexpf" = x""yes; then :
59679 cat >>confdefs.h <<_ACEOF
59680 #define HAVE_LDEXPF 1
59681 _ACEOF
59682
59683 fi
59684 done
59685
59686 else
59687
59688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
59689 $as_echo_n "checking for _ldexpf declaration... " >&6; }
59690 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59691 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
59692 $as_echo_n "(cached) " >&6
59693 else
59694
59695
59696 ac_ext=cpp
59697 ac_cpp='$CXXCPP $CPPFLAGS'
59698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59701
59702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59703 /* end confdefs.h. */
59704 #include <math.h>
59705 int
59706 main ()
59707 {
59708 _ldexpf(0, 0);
59709 ;
59710 return 0;
59711 }
59712 _ACEOF
59713 if ac_fn_cxx_try_compile "$LINENO"; then :
59714 glibcxx_cv_func__ldexpf_use=yes
59715 else
59716 glibcxx_cv_func__ldexpf_use=no
59717 fi
59718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59719 ac_ext=c
59720 ac_cpp='$CPP $CPPFLAGS'
59721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59724
59725
59726 fi
59727
59728 fi
59729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
59730 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
59731
59732 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
59733 for ac_func in _ldexpf
59734 do :
59735 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
59736 if test "x$ac_cv_func__ldexpf" = x""yes; then :
59737 cat >>confdefs.h <<_ACEOF
59738 #define HAVE__LDEXPF 1
59739 _ACEOF
59740
59741 fi
59742 done
59743
59744 fi
59745 fi
59746
59747
59748
59749
59750
59751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
59752 $as_echo_n "checking for logf declaration... " >&6; }
59753 if test x${glibcxx_cv_func_logf_use+set} != xset; then
59754 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
59755 $as_echo_n "(cached) " >&6
59756 else
59757
59758
59759 ac_ext=cpp
59760 ac_cpp='$CXXCPP $CPPFLAGS'
59761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59764
59765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59766 /* end confdefs.h. */
59767 #include <math.h>
59768 #ifdef HAVE_IEEEFP_H
59769 #include <ieeefp.h>
59770 #endif
59771
59772 int
59773 main ()
59774 {
59775 logf(0);
59776 ;
59777 return 0;
59778 }
59779 _ACEOF
59780 if ac_fn_cxx_try_compile "$LINENO"; then :
59781 glibcxx_cv_func_logf_use=yes
59782 else
59783 glibcxx_cv_func_logf_use=no
59784 fi
59785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59786 ac_ext=c
59787 ac_cpp='$CPP $CPPFLAGS'
59788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59791
59792
59793 fi
59794
59795 fi
59796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
59797 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
59798
59799 if test x$glibcxx_cv_func_logf_use = x"yes"; then
59800 for ac_func in logf
59801 do :
59802 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
59803 if test "x$ac_cv_func_logf" = x""yes; then :
59804 cat >>confdefs.h <<_ACEOF
59805 #define HAVE_LOGF 1
59806 _ACEOF
59807
59808 fi
59809 done
59810
59811 else
59812
59813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
59814 $as_echo_n "checking for _logf declaration... " >&6; }
59815 if test x${glibcxx_cv_func__logf_use+set} != xset; then
59816 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
59817 $as_echo_n "(cached) " >&6
59818 else
59819
59820
59821 ac_ext=cpp
59822 ac_cpp='$CXXCPP $CPPFLAGS'
59823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59826
59827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59828 /* end confdefs.h. */
59829 #include <math.h>
59830 #ifdef HAVE_IEEEFP_H
59831 #include <ieeefp.h>
59832 #endif
59833
59834 int
59835 main ()
59836 {
59837 _logf(0);
59838 ;
59839 return 0;
59840 }
59841 _ACEOF
59842 if ac_fn_cxx_try_compile "$LINENO"; then :
59843 glibcxx_cv_func__logf_use=yes
59844 else
59845 glibcxx_cv_func__logf_use=no
59846 fi
59847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59848 ac_ext=c
59849 ac_cpp='$CPP $CPPFLAGS'
59850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59853
59854
59855 fi
59856
59857 fi
59858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
59859 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
59860
59861 if test x$glibcxx_cv_func__logf_use = x"yes"; then
59862 for ac_func in _logf
59863 do :
59864 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
59865 if test "x$ac_cv_func__logf" = x""yes; then :
59866 cat >>confdefs.h <<_ACEOF
59867 #define HAVE__LOGF 1
59868 _ACEOF
59869
59870 fi
59871 done
59872
59873 fi
59874 fi
59875
59876
59877
59878
59879
59880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
59881 $as_echo_n "checking for log10f declaration... " >&6; }
59882 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
59883 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
59884 $as_echo_n "(cached) " >&6
59885 else
59886
59887
59888 ac_ext=cpp
59889 ac_cpp='$CXXCPP $CPPFLAGS'
59890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59893
59894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59895 /* end confdefs.h. */
59896 #include <math.h>
59897 #ifdef HAVE_IEEEFP_H
59898 #include <ieeefp.h>
59899 #endif
59900
59901 int
59902 main ()
59903 {
59904 log10f(0);
59905 ;
59906 return 0;
59907 }
59908 _ACEOF
59909 if ac_fn_cxx_try_compile "$LINENO"; then :
59910 glibcxx_cv_func_log10f_use=yes
59911 else
59912 glibcxx_cv_func_log10f_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_log10f_use" >&5
59926 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
59927
59928 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
59929 for ac_func in log10f
59930 do :
59931 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
59932 if test "x$ac_cv_func_log10f" = x""yes; then :
59933 cat >>confdefs.h <<_ACEOF
59934 #define HAVE_LOG10F 1
59935 _ACEOF
59936
59937 fi
59938 done
59939
59940 else
59941
59942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
59943 $as_echo_n "checking for _log10f declaration... " >&6; }
59944 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
59945 if test "${glibcxx_cv_func__log10f_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 #ifdef HAVE_IEEEFP_H
59960 #include <ieeefp.h>
59961 #endif
59962
59963 int
59964 main ()
59965 {
59966 _log10f(0);
59967 ;
59968 return 0;
59969 }
59970 _ACEOF
59971 if ac_fn_cxx_try_compile "$LINENO"; then :
59972 glibcxx_cv_func__log10f_use=yes
59973 else
59974 glibcxx_cv_func__log10f_use=no
59975 fi
59976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59977 ac_ext=c
59978 ac_cpp='$CPP $CPPFLAGS'
59979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59982
59983
59984 fi
59985
59986 fi
59987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
59988 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
59989
59990 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
59991 for ac_func in _log10f
59992 do :
59993 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
59994 if test "x$ac_cv_func__log10f" = x""yes; then :
59995 cat >>confdefs.h <<_ACEOF
59996 #define HAVE__LOG10F 1
59997 _ACEOF
59998
59999 fi
60000 done
60001
60002 fi
60003 fi
60004
60005
60006
60007
60008
60009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60010 $as_echo_n "checking for modff declaration... " >&6; }
60011 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60012 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60013 $as_echo_n "(cached) " >&6
60014 else
60015
60016
60017 ac_ext=cpp
60018 ac_cpp='$CXXCPP $CPPFLAGS'
60019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60022
60023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60024 /* end confdefs.h. */
60025 #include <math.h>
60026 int
60027 main ()
60028 {
60029 modff(0, 0);
60030 ;
60031 return 0;
60032 }
60033 _ACEOF
60034 if ac_fn_cxx_try_compile "$LINENO"; then :
60035 glibcxx_cv_func_modff_use=yes
60036 else
60037 glibcxx_cv_func_modff_use=no
60038 fi
60039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60040 ac_ext=c
60041 ac_cpp='$CPP $CPPFLAGS'
60042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60045
60046
60047 fi
60048
60049 fi
60050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60051 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60052
60053 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60054 for ac_func in modff
60055 do :
60056 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60057 if test "x$ac_cv_func_modff" = x""yes; then :
60058 cat >>confdefs.h <<_ACEOF
60059 #define HAVE_MODFF 1
60060 _ACEOF
60061
60062 fi
60063 done
60064
60065 else
60066
60067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60068 $as_echo_n "checking for _modff declaration... " >&6; }
60069 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60070 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60071 $as_echo_n "(cached) " >&6
60072 else
60073
60074
60075 ac_ext=cpp
60076 ac_cpp='$CXXCPP $CPPFLAGS'
60077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60080
60081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60082 /* end confdefs.h. */
60083 #include <math.h>
60084 int
60085 main ()
60086 {
60087 _modff(0, 0);
60088 ;
60089 return 0;
60090 }
60091 _ACEOF
60092 if ac_fn_cxx_try_compile "$LINENO"; then :
60093 glibcxx_cv_func__modff_use=yes
60094 else
60095 glibcxx_cv_func__modff_use=no
60096 fi
60097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60098 ac_ext=c
60099 ac_cpp='$CPP $CPPFLAGS'
60100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60103
60104
60105 fi
60106
60107 fi
60108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60109 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60110
60111 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60112 for ac_func in _modff
60113 do :
60114 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60115 if test "x$ac_cv_func__modff" = x""yes; then :
60116 cat >>confdefs.h <<_ACEOF
60117 #define HAVE__MODFF 1
60118 _ACEOF
60119
60120 fi
60121 done
60122
60123 fi
60124 fi
60125
60126
60127
60128
60129
60130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60131 $as_echo_n "checking for modf declaration... " >&6; }
60132 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60133 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60134 $as_echo_n "(cached) " >&6
60135 else
60136
60137
60138 ac_ext=cpp
60139 ac_cpp='$CXXCPP $CPPFLAGS'
60140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60143
60144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60145 /* end confdefs.h. */
60146 #include <math.h>
60147 int
60148 main ()
60149 {
60150 modf(0, 0);
60151 ;
60152 return 0;
60153 }
60154 _ACEOF
60155 if ac_fn_cxx_try_compile "$LINENO"; then :
60156 glibcxx_cv_func_modf_use=yes
60157 else
60158 glibcxx_cv_func_modf_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_modf_use" >&5
60172 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60173
60174 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60175 for ac_func in modf
60176 do :
60177 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60178 if test "x$ac_cv_func_modf" = x""yes; then :
60179 cat >>confdefs.h <<_ACEOF
60180 #define HAVE_MODF 1
60181 _ACEOF
60182
60183 fi
60184 done
60185
60186 else
60187
60188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60189 $as_echo_n "checking for _modf declaration... " >&6; }
60190 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60191 if test "${glibcxx_cv_func__modf_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 int
60206 main ()
60207 {
60208 _modf(0, 0);
60209 ;
60210 return 0;
60211 }
60212 _ACEOF
60213 if ac_fn_cxx_try_compile "$LINENO"; then :
60214 glibcxx_cv_func__modf_use=yes
60215 else
60216 glibcxx_cv_func__modf_use=no
60217 fi
60218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60219 ac_ext=c
60220 ac_cpp='$CPP $CPPFLAGS'
60221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60224
60225
60226 fi
60227
60228 fi
60229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60230 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60231
60232 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60233 for ac_func in _modf
60234 do :
60235 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60236 if test "x$ac_cv_func__modf" = x""yes; then :
60237 cat >>confdefs.h <<_ACEOF
60238 #define HAVE__MODF 1
60239 _ACEOF
60240
60241 fi
60242 done
60243
60244 fi
60245 fi
60246
60247
60248
60249
60250
60251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60252 $as_echo_n "checking for powf declaration... " >&6; }
60253 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60254 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60255 $as_echo_n "(cached) " >&6
60256 else
60257
60258
60259 ac_ext=cpp
60260 ac_cpp='$CXXCPP $CPPFLAGS'
60261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60264
60265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60266 /* end confdefs.h. */
60267 #include <math.h>
60268 int
60269 main ()
60270 {
60271 powf(0, 0);
60272 ;
60273 return 0;
60274 }
60275 _ACEOF
60276 if ac_fn_cxx_try_compile "$LINENO"; then :
60277 glibcxx_cv_func_powf_use=yes
60278 else
60279 glibcxx_cv_func_powf_use=no
60280 fi
60281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60282 ac_ext=c
60283 ac_cpp='$CPP $CPPFLAGS'
60284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60287
60288
60289 fi
60290
60291 fi
60292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60293 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60294
60295 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60296 for ac_func in powf
60297 do :
60298 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60299 if test "x$ac_cv_func_powf" = x""yes; then :
60300 cat >>confdefs.h <<_ACEOF
60301 #define HAVE_POWF 1
60302 _ACEOF
60303
60304 fi
60305 done
60306
60307 else
60308
60309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60310 $as_echo_n "checking for _powf declaration... " >&6; }
60311 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60312 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60313 $as_echo_n "(cached) " >&6
60314 else
60315
60316
60317 ac_ext=cpp
60318 ac_cpp='$CXXCPP $CPPFLAGS'
60319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60322
60323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60324 /* end confdefs.h. */
60325 #include <math.h>
60326 int
60327 main ()
60328 {
60329 _powf(0, 0);
60330 ;
60331 return 0;
60332 }
60333 _ACEOF
60334 if ac_fn_cxx_try_compile "$LINENO"; then :
60335 glibcxx_cv_func__powf_use=yes
60336 else
60337 glibcxx_cv_func__powf_use=no
60338 fi
60339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60340 ac_ext=c
60341 ac_cpp='$CPP $CPPFLAGS'
60342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60345
60346
60347 fi
60348
60349 fi
60350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60351 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60352
60353 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60354 for ac_func in _powf
60355 do :
60356 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60357 if test "x$ac_cv_func__powf" = x""yes; then :
60358 cat >>confdefs.h <<_ACEOF
60359 #define HAVE__POWF 1
60360 _ACEOF
60361
60362 fi
60363 done
60364
60365 fi
60366 fi
60367
60368
60369
60370
60371
60372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60373 $as_echo_n "checking for sqrtf declaration... " >&6; }
60374 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60375 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60376 $as_echo_n "(cached) " >&6
60377 else
60378
60379
60380 ac_ext=cpp
60381 ac_cpp='$CXXCPP $CPPFLAGS'
60382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60385
60386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60387 /* end confdefs.h. */
60388 #include <math.h>
60389 #ifdef HAVE_IEEEFP_H
60390 #include <ieeefp.h>
60391 #endif
60392
60393 int
60394 main ()
60395 {
60396 sqrtf(0);
60397 ;
60398 return 0;
60399 }
60400 _ACEOF
60401 if ac_fn_cxx_try_compile "$LINENO"; then :
60402 glibcxx_cv_func_sqrtf_use=yes
60403 else
60404 glibcxx_cv_func_sqrtf_use=no
60405 fi
60406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60407 ac_ext=c
60408 ac_cpp='$CPP $CPPFLAGS'
60409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60412
60413
60414 fi
60415
60416 fi
60417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60418 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60419
60420 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60421 for ac_func in sqrtf
60422 do :
60423 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60424 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60425 cat >>confdefs.h <<_ACEOF
60426 #define HAVE_SQRTF 1
60427 _ACEOF
60428
60429 fi
60430 done
60431
60432 else
60433
60434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60435 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60436 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60437 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60438 $as_echo_n "(cached) " >&6
60439 else
60440
60441
60442 ac_ext=cpp
60443 ac_cpp='$CXXCPP $CPPFLAGS'
60444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60447
60448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60449 /* end confdefs.h. */
60450 #include <math.h>
60451 #ifdef HAVE_IEEEFP_H
60452 #include <ieeefp.h>
60453 #endif
60454
60455 int
60456 main ()
60457 {
60458 _sqrtf(0);
60459 ;
60460 return 0;
60461 }
60462 _ACEOF
60463 if ac_fn_cxx_try_compile "$LINENO"; then :
60464 glibcxx_cv_func__sqrtf_use=yes
60465 else
60466 glibcxx_cv_func__sqrtf_use=no
60467 fi
60468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60469 ac_ext=c
60470 ac_cpp='$CPP $CPPFLAGS'
60471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60474
60475
60476 fi
60477
60478 fi
60479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60480 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60481
60482 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60483 for ac_func in _sqrtf
60484 do :
60485 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60486 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60487 cat >>confdefs.h <<_ACEOF
60488 #define HAVE__SQRTF 1
60489 _ACEOF
60490
60491 fi
60492 done
60493
60494 fi
60495 fi
60496
60497
60498
60499
60500
60501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60502 $as_echo_n "checking for sincosf declaration... " >&6; }
60503 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60504 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60505 $as_echo_n "(cached) " >&6
60506 else
60507
60508
60509 ac_ext=cpp
60510 ac_cpp='$CXXCPP $CPPFLAGS'
60511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60514
60515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60516 /* end confdefs.h. */
60517 #include <math.h>
60518 int
60519 main ()
60520 {
60521 sincosf(0, 0, 0);
60522 ;
60523 return 0;
60524 }
60525 _ACEOF
60526 if ac_fn_cxx_try_compile "$LINENO"; then :
60527 glibcxx_cv_func_sincosf_use=yes
60528 else
60529 glibcxx_cv_func_sincosf_use=no
60530 fi
60531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60532 ac_ext=c
60533 ac_cpp='$CPP $CPPFLAGS'
60534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60537
60538
60539 fi
60540
60541 fi
60542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60543 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60544
60545 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60546 for ac_func in sincosf
60547 do :
60548 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60549 if test "x$ac_cv_func_sincosf" = x""yes; then :
60550 cat >>confdefs.h <<_ACEOF
60551 #define HAVE_SINCOSF 1
60552 _ACEOF
60553
60554 fi
60555 done
60556
60557 else
60558
60559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60560 $as_echo_n "checking for _sincosf declaration... " >&6; }
60561 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60562 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60563 $as_echo_n "(cached) " >&6
60564 else
60565
60566
60567 ac_ext=cpp
60568 ac_cpp='$CXXCPP $CPPFLAGS'
60569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60572
60573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60574 /* end confdefs.h. */
60575 #include <math.h>
60576 int
60577 main ()
60578 {
60579 _sincosf(0, 0, 0);
60580 ;
60581 return 0;
60582 }
60583 _ACEOF
60584 if ac_fn_cxx_try_compile "$LINENO"; then :
60585 glibcxx_cv_func__sincosf_use=yes
60586 else
60587 glibcxx_cv_func__sincosf_use=no
60588 fi
60589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60590 ac_ext=c
60591 ac_cpp='$CPP $CPPFLAGS'
60592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60595
60596
60597 fi
60598
60599 fi
60600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60601 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60602
60603 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60604 for ac_func in _sincosf
60605 do :
60606 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60607 if test "x$ac_cv_func__sincosf" = x""yes; then :
60608 cat >>confdefs.h <<_ACEOF
60609 #define HAVE__SINCOSF 1
60610 _ACEOF
60611
60612 fi
60613 done
60614
60615 fi
60616 fi
60617
60618
60619
60620
60621
60622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60623 $as_echo_n "checking for finitef declaration... " >&6; }
60624 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60625 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
60626 $as_echo_n "(cached) " >&6
60627 else
60628
60629
60630 ac_ext=cpp
60631 ac_cpp='$CXXCPP $CPPFLAGS'
60632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60635
60636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60637 /* end confdefs.h. */
60638 #include <math.h>
60639 #ifdef HAVE_IEEEFP_H
60640 #include <ieeefp.h>
60641 #endif
60642
60643 int
60644 main ()
60645 {
60646 finitef(0);
60647 ;
60648 return 0;
60649 }
60650 _ACEOF
60651 if ac_fn_cxx_try_compile "$LINENO"; then :
60652 glibcxx_cv_func_finitef_use=yes
60653 else
60654 glibcxx_cv_func_finitef_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_finitef_use" >&5
60668 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
60669
60670 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
60671 for ac_func in finitef
60672 do :
60673 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
60674 if test "x$ac_cv_func_finitef" = x""yes; then :
60675 cat >>confdefs.h <<_ACEOF
60676 #define HAVE_FINITEF 1
60677 _ACEOF
60678
60679 fi
60680 done
60681
60682 else
60683
60684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
60685 $as_echo_n "checking for _finitef declaration... " >&6; }
60686 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
60687 if test "${glibcxx_cv_func__finitef_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 #ifdef HAVE_IEEEFP_H
60702 #include <ieeefp.h>
60703 #endif
60704
60705 int
60706 main ()
60707 {
60708 _finitef(0);
60709 ;
60710 return 0;
60711 }
60712 _ACEOF
60713 if ac_fn_cxx_try_compile "$LINENO"; then :
60714 glibcxx_cv_func__finitef_use=yes
60715 else
60716 glibcxx_cv_func__finitef_use=no
60717 fi
60718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60719 ac_ext=c
60720 ac_cpp='$CPP $CPPFLAGS'
60721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60724
60725
60726 fi
60727
60728 fi
60729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
60730 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
60731
60732 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
60733 for ac_func in _finitef
60734 do :
60735 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
60736 if test "x$ac_cv_func__finitef" = x""yes; then :
60737 cat >>confdefs.h <<_ACEOF
60738 #define HAVE__FINITEF 1
60739 _ACEOF
60740
60741 fi
60742 done
60743
60744 fi
60745 fi
60746
60747
60748
60749
60750
60751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
60752 $as_echo_n "checking for long double trig functions... " >&6; }
60753 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
60754 $as_echo_n "(cached) " >&6
60755 else
60756
60757
60758 ac_ext=cpp
60759 ac_cpp='$CXXCPP $CPPFLAGS'
60760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60763
60764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60765 /* end confdefs.h. */
60766 #include <math.h>
60767 int
60768 main ()
60769 {
60770 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
60771 ;
60772 return 0;
60773 }
60774 _ACEOF
60775 if ac_fn_cxx_try_compile "$LINENO"; then :
60776 glibcxx_cv_func_long_double_trig_use=yes
60777 else
60778 glibcxx_cv_func_long_double_trig_use=no
60779 fi
60780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60781 ac_ext=c
60782 ac_cpp='$CPP $CPPFLAGS'
60783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60786
60787 fi
60788
60789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
60790 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
60791 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
60792 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
60793 do :
60794 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60795 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60796 eval as_val=\$$as_ac_var
60797 if test "x$as_val" = x""yes; then :
60798 cat >>confdefs.h <<_ACEOF
60799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60800 _ACEOF
60801
60802 fi
60803 done
60804
60805 else
60806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
60807 $as_echo_n "checking for _long double trig functions... " >&6; }
60808 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
60809 $as_echo_n "(cached) " >&6
60810 else
60811
60812
60813 ac_ext=cpp
60814 ac_cpp='$CXXCPP $CPPFLAGS'
60815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60818
60819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60820 /* end confdefs.h. */
60821 #include <math.h>
60822 int
60823 main ()
60824 {
60825 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
60826 ;
60827 return 0;
60828 }
60829 _ACEOF
60830 if ac_fn_cxx_try_compile "$LINENO"; then :
60831 glibcxx_cv_func__long_double_trig_use=yes
60832 else
60833 glibcxx_cv_func__long_double_trig_use=no
60834 fi
60835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60836 ac_ext=c
60837 ac_cpp='$CPP $CPPFLAGS'
60838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60841
60842 fi
60843
60844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
60845 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
60846 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
60847 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
60848 do :
60849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60850 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60851 eval as_val=\$$as_ac_var
60852 if test "x$as_val" = x""yes; then :
60853 cat >>confdefs.h <<_ACEOF
60854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60855 _ACEOF
60856
60857 fi
60858 done
60859
60860 fi
60861 fi
60862
60863
60864
60865
60866
60867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
60868 $as_echo_n "checking for long double round functions... " >&6; }
60869 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
60870 $as_echo_n "(cached) " >&6
60871 else
60872
60873
60874 ac_ext=cpp
60875 ac_cpp='$CXXCPP $CPPFLAGS'
60876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60879
60880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60881 /* end confdefs.h. */
60882 #include <math.h>
60883 int
60884 main ()
60885 {
60886 ceill (0); floorl (0);
60887 ;
60888 return 0;
60889 }
60890 _ACEOF
60891 if ac_fn_cxx_try_compile "$LINENO"; then :
60892 glibcxx_cv_func_long_double_round_use=yes
60893 else
60894 glibcxx_cv_func_long_double_round_use=no
60895 fi
60896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60897 ac_ext=c
60898 ac_cpp='$CPP $CPPFLAGS'
60899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60902
60903 fi
60904
60905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
60906 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
60907 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
60908 for ac_func in ceill floorl
60909 do :
60910 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60911 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60912 eval as_val=\$$as_ac_var
60913 if test "x$as_val" = x""yes; then :
60914 cat >>confdefs.h <<_ACEOF
60915 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60916 _ACEOF
60917
60918 fi
60919 done
60920
60921 else
60922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
60923 $as_echo_n "checking for _long double round functions... " >&6; }
60924 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
60925 $as_echo_n "(cached) " >&6
60926 else
60927
60928
60929 ac_ext=cpp
60930 ac_cpp='$CXXCPP $CPPFLAGS'
60931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60934
60935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60936 /* end confdefs.h. */
60937 #include <math.h>
60938 int
60939 main ()
60940 {
60941 _ceill (0); _floorl (0);
60942 ;
60943 return 0;
60944 }
60945 _ACEOF
60946 if ac_fn_cxx_try_compile "$LINENO"; then :
60947 glibcxx_cv_func__long_double_round_use=yes
60948 else
60949 glibcxx_cv_func__long_double_round_use=no
60950 fi
60951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60952 ac_ext=c
60953 ac_cpp='$CPP $CPPFLAGS'
60954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60957
60958 fi
60959
60960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
60961 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
60962 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
60963 for ac_func in _ceill _floorl
60964 do :
60965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60966 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60967 eval as_val=\$$as_ac_var
60968 if test "x$as_val" = x""yes; then :
60969 cat >>confdefs.h <<_ACEOF
60970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60971 _ACEOF
60972
60973 fi
60974 done
60975
60976 fi
60977 fi
60978
60979
60980
60981
60982
60983
60984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
60985 $as_echo_n "checking for isnanl declaration... " >&6; }
60986 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
60987 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
60988 $as_echo_n "(cached) " >&6
60989 else
60990
60991
60992 ac_ext=cpp
60993 ac_cpp='$CXXCPP $CPPFLAGS'
60994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60997
60998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60999 /* end confdefs.h. */
61000 #include <math.h>
61001 #ifdef HAVE_IEEEFP_H
61002 #include <ieeefp.h>
61003 #endif
61004
61005 int
61006 main ()
61007 {
61008 isnanl(0);
61009 ;
61010 return 0;
61011 }
61012 _ACEOF
61013 if ac_fn_cxx_try_compile "$LINENO"; then :
61014 glibcxx_cv_func_isnanl_use=yes
61015 else
61016 glibcxx_cv_func_isnanl_use=no
61017 fi
61018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61019 ac_ext=c
61020 ac_cpp='$CPP $CPPFLAGS'
61021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61024
61025
61026 fi
61027
61028 fi
61029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61030 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61031
61032 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61033 for ac_func in isnanl
61034 do :
61035 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61036 if test "x$ac_cv_func_isnanl" = x""yes; then :
61037 cat >>confdefs.h <<_ACEOF
61038 #define HAVE_ISNANL 1
61039 _ACEOF
61040
61041 fi
61042 done
61043
61044 else
61045
61046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61047 $as_echo_n "checking for _isnanl declaration... " >&6; }
61048 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61049 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61050 $as_echo_n "(cached) " >&6
61051 else
61052
61053
61054 ac_ext=cpp
61055 ac_cpp='$CXXCPP $CPPFLAGS'
61056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61059
61060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61061 /* end confdefs.h. */
61062 #include <math.h>
61063 #ifdef HAVE_IEEEFP_H
61064 #include <ieeefp.h>
61065 #endif
61066
61067 int
61068 main ()
61069 {
61070 _isnanl(0);
61071 ;
61072 return 0;
61073 }
61074 _ACEOF
61075 if ac_fn_cxx_try_compile "$LINENO"; then :
61076 glibcxx_cv_func__isnanl_use=yes
61077 else
61078 glibcxx_cv_func__isnanl_use=no
61079 fi
61080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61081 ac_ext=c
61082 ac_cpp='$CPP $CPPFLAGS'
61083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61086
61087
61088 fi
61089
61090 fi
61091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61092 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61093
61094 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61095 for ac_func in _isnanl
61096 do :
61097 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61098 if test "x$ac_cv_func__isnanl" = x""yes; then :
61099 cat >>confdefs.h <<_ACEOF
61100 #define HAVE__ISNANL 1
61101 _ACEOF
61102
61103 fi
61104 done
61105
61106 fi
61107 fi
61108
61109
61110
61111
61112
61113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61114 $as_echo_n "checking for isinfl declaration... " >&6; }
61115 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61116 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61117 $as_echo_n "(cached) " >&6
61118 else
61119
61120
61121 ac_ext=cpp
61122 ac_cpp='$CXXCPP $CPPFLAGS'
61123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61126
61127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61128 /* end confdefs.h. */
61129 #include <math.h>
61130 #ifdef HAVE_IEEEFP_H
61131 #include <ieeefp.h>
61132 #endif
61133
61134 int
61135 main ()
61136 {
61137 isinfl(0);
61138 ;
61139 return 0;
61140 }
61141 _ACEOF
61142 if ac_fn_cxx_try_compile "$LINENO"; then :
61143 glibcxx_cv_func_isinfl_use=yes
61144 else
61145 glibcxx_cv_func_isinfl_use=no
61146 fi
61147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61148 ac_ext=c
61149 ac_cpp='$CPP $CPPFLAGS'
61150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61153
61154
61155 fi
61156
61157 fi
61158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61159 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61160
61161 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61162 for ac_func in isinfl
61163 do :
61164 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61165 if test "x$ac_cv_func_isinfl" = x""yes; then :
61166 cat >>confdefs.h <<_ACEOF
61167 #define HAVE_ISINFL 1
61168 _ACEOF
61169
61170 fi
61171 done
61172
61173 else
61174
61175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61176 $as_echo_n "checking for _isinfl declaration... " >&6; }
61177 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61178 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61179 $as_echo_n "(cached) " >&6
61180 else
61181
61182
61183 ac_ext=cpp
61184 ac_cpp='$CXXCPP $CPPFLAGS'
61185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61188
61189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61190 /* end confdefs.h. */
61191 #include <math.h>
61192 #ifdef HAVE_IEEEFP_H
61193 #include <ieeefp.h>
61194 #endif
61195
61196 int
61197 main ()
61198 {
61199 _isinfl(0);
61200 ;
61201 return 0;
61202 }
61203 _ACEOF
61204 if ac_fn_cxx_try_compile "$LINENO"; then :
61205 glibcxx_cv_func__isinfl_use=yes
61206 else
61207 glibcxx_cv_func__isinfl_use=no
61208 fi
61209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61210 ac_ext=c
61211 ac_cpp='$CPP $CPPFLAGS'
61212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61215
61216
61217 fi
61218
61219 fi
61220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61221 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61222
61223 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61224 for ac_func in _isinfl
61225 do :
61226 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61227 if test "x$ac_cv_func__isinfl" = x""yes; then :
61228 cat >>confdefs.h <<_ACEOF
61229 #define HAVE__ISINFL 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 atan2l declaration" >&5
61243 $as_echo_n "checking for atan2l declaration... " >&6; }
61244 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61245 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61246 $as_echo_n "(cached) " >&6
61247 else
61248
61249
61250 ac_ext=cpp
61251 ac_cpp='$CXXCPP $CPPFLAGS'
61252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61255
61256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61257 /* end confdefs.h. */
61258 #include <math.h>
61259 int
61260 main ()
61261 {
61262 atan2l(0, 0);
61263 ;
61264 return 0;
61265 }
61266 _ACEOF
61267 if ac_fn_cxx_try_compile "$LINENO"; then :
61268 glibcxx_cv_func_atan2l_use=yes
61269 else
61270 glibcxx_cv_func_atan2l_use=no
61271 fi
61272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61273 ac_ext=c
61274 ac_cpp='$CPP $CPPFLAGS'
61275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61278
61279
61280 fi
61281
61282 fi
61283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61284 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61285
61286 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61287 for ac_func in atan2l
61288 do :
61289 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61290 if test "x$ac_cv_func_atan2l" = x""yes; then :
61291 cat >>confdefs.h <<_ACEOF
61292 #define HAVE_ATAN2L 1
61293 _ACEOF
61294
61295 fi
61296 done
61297
61298 else
61299
61300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61301 $as_echo_n "checking for _atan2l declaration... " >&6; }
61302 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61303 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61304 $as_echo_n "(cached) " >&6
61305 else
61306
61307
61308 ac_ext=cpp
61309 ac_cpp='$CXXCPP $CPPFLAGS'
61310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61313
61314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61315 /* end confdefs.h. */
61316 #include <math.h>
61317 int
61318 main ()
61319 {
61320 _atan2l(0, 0);
61321 ;
61322 return 0;
61323 }
61324 _ACEOF
61325 if ac_fn_cxx_try_compile "$LINENO"; then :
61326 glibcxx_cv_func__atan2l_use=yes
61327 else
61328 glibcxx_cv_func__atan2l_use=no
61329 fi
61330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61331 ac_ext=c
61332 ac_cpp='$CPP $CPPFLAGS'
61333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61336
61337
61338 fi
61339
61340 fi
61341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61342 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61343
61344 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61345 for ac_func in _atan2l
61346 do :
61347 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61348 if test "x$ac_cv_func__atan2l" = x""yes; then :
61349 cat >>confdefs.h <<_ACEOF
61350 #define HAVE__ATAN2L 1
61351 _ACEOF
61352
61353 fi
61354 done
61355
61356 fi
61357 fi
61358
61359
61360
61361
61362
61363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61364 $as_echo_n "checking for expl declaration... " >&6; }
61365 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61366 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61367 $as_echo_n "(cached) " >&6
61368 else
61369
61370
61371 ac_ext=cpp
61372 ac_cpp='$CXXCPP $CPPFLAGS'
61373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61376
61377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61378 /* end confdefs.h. */
61379 #include <math.h>
61380 #ifdef HAVE_IEEEFP_H
61381 #include <ieeefp.h>
61382 #endif
61383
61384 int
61385 main ()
61386 {
61387 expl(0);
61388 ;
61389 return 0;
61390 }
61391 _ACEOF
61392 if ac_fn_cxx_try_compile "$LINENO"; then :
61393 glibcxx_cv_func_expl_use=yes
61394 else
61395 glibcxx_cv_func_expl_use=no
61396 fi
61397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61398 ac_ext=c
61399 ac_cpp='$CPP $CPPFLAGS'
61400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61403
61404
61405 fi
61406
61407 fi
61408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61409 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61410
61411 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61412 for ac_func in expl
61413 do :
61414 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61415 if test "x$ac_cv_func_expl" = x""yes; then :
61416 cat >>confdefs.h <<_ACEOF
61417 #define HAVE_EXPL 1
61418 _ACEOF
61419
61420 fi
61421 done
61422
61423 else
61424
61425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61426 $as_echo_n "checking for _expl declaration... " >&6; }
61427 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61428 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61429 $as_echo_n "(cached) " >&6
61430 else
61431
61432
61433 ac_ext=cpp
61434 ac_cpp='$CXXCPP $CPPFLAGS'
61435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61438
61439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61440 /* end confdefs.h. */
61441 #include <math.h>
61442 #ifdef HAVE_IEEEFP_H
61443 #include <ieeefp.h>
61444 #endif
61445
61446 int
61447 main ()
61448 {
61449 _expl(0);
61450 ;
61451 return 0;
61452 }
61453 _ACEOF
61454 if ac_fn_cxx_try_compile "$LINENO"; then :
61455 glibcxx_cv_func__expl_use=yes
61456 else
61457 glibcxx_cv_func__expl_use=no
61458 fi
61459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61460 ac_ext=c
61461 ac_cpp='$CPP $CPPFLAGS'
61462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61465
61466
61467 fi
61468
61469 fi
61470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61471 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61472
61473 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61474 for ac_func in _expl
61475 do :
61476 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61477 if test "x$ac_cv_func__expl" = x""yes; then :
61478 cat >>confdefs.h <<_ACEOF
61479 #define HAVE__EXPL 1
61480 _ACEOF
61481
61482 fi
61483 done
61484
61485 fi
61486 fi
61487
61488
61489
61490
61491
61492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61493 $as_echo_n "checking for fabsl declaration... " >&6; }
61494 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61495 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61496 $as_echo_n "(cached) " >&6
61497 else
61498
61499
61500 ac_ext=cpp
61501 ac_cpp='$CXXCPP $CPPFLAGS'
61502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61505
61506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61507 /* end confdefs.h. */
61508 #include <math.h>
61509 #ifdef HAVE_IEEEFP_H
61510 #include <ieeefp.h>
61511 #endif
61512
61513 int
61514 main ()
61515 {
61516 fabsl(0);
61517 ;
61518 return 0;
61519 }
61520 _ACEOF
61521 if ac_fn_cxx_try_compile "$LINENO"; then :
61522 glibcxx_cv_func_fabsl_use=yes
61523 else
61524 glibcxx_cv_func_fabsl_use=no
61525 fi
61526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61527 ac_ext=c
61528 ac_cpp='$CPP $CPPFLAGS'
61529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61532
61533
61534 fi
61535
61536 fi
61537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61538 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61539
61540 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61541 for ac_func in fabsl
61542 do :
61543 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61544 if test "x$ac_cv_func_fabsl" = x""yes; then :
61545 cat >>confdefs.h <<_ACEOF
61546 #define HAVE_FABSL 1
61547 _ACEOF
61548
61549 fi
61550 done
61551
61552 else
61553
61554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61555 $as_echo_n "checking for _fabsl declaration... " >&6; }
61556 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61557 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
61558 $as_echo_n "(cached) " >&6
61559 else
61560
61561
61562 ac_ext=cpp
61563 ac_cpp='$CXXCPP $CPPFLAGS'
61564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61567
61568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61569 /* end confdefs.h. */
61570 #include <math.h>
61571 #ifdef HAVE_IEEEFP_H
61572 #include <ieeefp.h>
61573 #endif
61574
61575 int
61576 main ()
61577 {
61578 _fabsl(0);
61579 ;
61580 return 0;
61581 }
61582 _ACEOF
61583 if ac_fn_cxx_try_compile "$LINENO"; then :
61584 glibcxx_cv_func__fabsl_use=yes
61585 else
61586 glibcxx_cv_func__fabsl_use=no
61587 fi
61588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61589 ac_ext=c
61590 ac_cpp='$CPP $CPPFLAGS'
61591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61594
61595
61596 fi
61597
61598 fi
61599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61600 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61601
61602 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61603 for ac_func in _fabsl
61604 do :
61605 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61606 if test "x$ac_cv_func__fabsl" = x""yes; then :
61607 cat >>confdefs.h <<_ACEOF
61608 #define HAVE__FABSL 1
61609 _ACEOF
61610
61611 fi
61612 done
61613
61614 fi
61615 fi
61616
61617
61618
61619
61620
61621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61622 $as_echo_n "checking for fmodl declaration... " >&6; }
61623 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61624 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
61625 $as_echo_n "(cached) " >&6
61626 else
61627
61628
61629 ac_ext=cpp
61630 ac_cpp='$CXXCPP $CPPFLAGS'
61631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61634
61635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61636 /* end confdefs.h. */
61637 #include <math.h>
61638 int
61639 main ()
61640 {
61641 fmodl(0, 0);
61642 ;
61643 return 0;
61644 }
61645 _ACEOF
61646 if ac_fn_cxx_try_compile "$LINENO"; then :
61647 glibcxx_cv_func_fmodl_use=yes
61648 else
61649 glibcxx_cv_func_fmodl_use=no
61650 fi
61651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61652 ac_ext=c
61653 ac_cpp='$CPP $CPPFLAGS'
61654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61657
61658
61659 fi
61660
61661 fi
61662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
61663 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
61664
61665 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
61666 for ac_func in fmodl
61667 do :
61668 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
61669 if test "x$ac_cv_func_fmodl" = x""yes; then :
61670 cat >>confdefs.h <<_ACEOF
61671 #define HAVE_FMODL 1
61672 _ACEOF
61673
61674 fi
61675 done
61676
61677 else
61678
61679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
61680 $as_echo_n "checking for _fmodl declaration... " >&6; }
61681 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
61682 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
61683 $as_echo_n "(cached) " >&6
61684 else
61685
61686
61687 ac_ext=cpp
61688 ac_cpp='$CXXCPP $CPPFLAGS'
61689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61692
61693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61694 /* end confdefs.h. */
61695 #include <math.h>
61696 int
61697 main ()
61698 {
61699 _fmodl(0, 0);
61700 ;
61701 return 0;
61702 }
61703 _ACEOF
61704 if ac_fn_cxx_try_compile "$LINENO"; then :
61705 glibcxx_cv_func__fmodl_use=yes
61706 else
61707 glibcxx_cv_func__fmodl_use=no
61708 fi
61709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61710 ac_ext=c
61711 ac_cpp='$CPP $CPPFLAGS'
61712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61715
61716
61717 fi
61718
61719 fi
61720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
61721 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
61722
61723 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
61724 for ac_func in _fmodl
61725 do :
61726 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
61727 if test "x$ac_cv_func__fmodl" = x""yes; then :
61728 cat >>confdefs.h <<_ACEOF
61729 #define HAVE__FMODL 1
61730 _ACEOF
61731
61732 fi
61733 done
61734
61735 fi
61736 fi
61737
61738
61739
61740
61741
61742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
61743 $as_echo_n "checking for frexpl declaration... " >&6; }
61744 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
61745 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
61746 $as_echo_n "(cached) " >&6
61747 else
61748
61749
61750 ac_ext=cpp
61751 ac_cpp='$CXXCPP $CPPFLAGS'
61752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61755
61756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61757 /* end confdefs.h. */
61758 #include <math.h>
61759 int
61760 main ()
61761 {
61762 frexpl(0, 0);
61763 ;
61764 return 0;
61765 }
61766 _ACEOF
61767 if ac_fn_cxx_try_compile "$LINENO"; then :
61768 glibcxx_cv_func_frexpl_use=yes
61769 else
61770 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
61784 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
61785
61786 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
61787 for ac_func in frexpl
61788 do :
61789 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
61790 if test "x$ac_cv_func_frexpl" = x""yes; then :
61791 cat >>confdefs.h <<_ACEOF
61792 #define HAVE_FREXPL 1
61793 _ACEOF
61794
61795 fi
61796 done
61797
61798 else
61799
61800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
61801 $as_echo_n "checking for _frexpl declaration... " >&6; }
61802 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
61803 if test "${glibcxx_cv_func__frexpl_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 int
61818 main ()
61819 {
61820 _frexpl(0, 0);
61821 ;
61822 return 0;
61823 }
61824 _ACEOF
61825 if ac_fn_cxx_try_compile "$LINENO"; then :
61826 glibcxx_cv_func__frexpl_use=yes
61827 else
61828 glibcxx_cv_func__frexpl_use=no
61829 fi
61830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61831 ac_ext=c
61832 ac_cpp='$CPP $CPPFLAGS'
61833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61836
61837
61838 fi
61839
61840 fi
61841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
61842 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
61843
61844 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
61845 for ac_func in _frexpl
61846 do :
61847 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
61848 if test "x$ac_cv_func__frexpl" = x""yes; then :
61849 cat >>confdefs.h <<_ACEOF
61850 #define HAVE__FREXPL 1
61851 _ACEOF
61852
61853 fi
61854 done
61855
61856 fi
61857 fi
61858
61859
61860
61861
61862
61863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
61864 $as_echo_n "checking for hypotl declaration... " >&6; }
61865 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
61866 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
61867 $as_echo_n "(cached) " >&6
61868 else
61869
61870
61871 ac_ext=cpp
61872 ac_cpp='$CXXCPP $CPPFLAGS'
61873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61876
61877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61878 /* end confdefs.h. */
61879 #include <math.h>
61880 int
61881 main ()
61882 {
61883 hypotl(0, 0);
61884 ;
61885 return 0;
61886 }
61887 _ACEOF
61888 if ac_fn_cxx_try_compile "$LINENO"; then :
61889 glibcxx_cv_func_hypotl_use=yes
61890 else
61891 glibcxx_cv_func_hypotl_use=no
61892 fi
61893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61894 ac_ext=c
61895 ac_cpp='$CPP $CPPFLAGS'
61896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61899
61900
61901 fi
61902
61903 fi
61904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
61905 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
61906
61907 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
61908 for ac_func in hypotl
61909 do :
61910 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
61911 if test "x$ac_cv_func_hypotl" = x""yes; then :
61912 cat >>confdefs.h <<_ACEOF
61913 #define HAVE_HYPOTL 1
61914 _ACEOF
61915
61916 fi
61917 done
61918
61919 else
61920
61921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
61922 $as_echo_n "checking for _hypotl declaration... " >&6; }
61923 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
61924 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
61925 $as_echo_n "(cached) " >&6
61926 else
61927
61928
61929 ac_ext=cpp
61930 ac_cpp='$CXXCPP $CPPFLAGS'
61931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61934
61935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61936 /* end confdefs.h. */
61937 #include <math.h>
61938 int
61939 main ()
61940 {
61941 _hypotl(0, 0);
61942 ;
61943 return 0;
61944 }
61945 _ACEOF
61946 if ac_fn_cxx_try_compile "$LINENO"; then :
61947 glibcxx_cv_func__hypotl_use=yes
61948 else
61949 glibcxx_cv_func__hypotl_use=no
61950 fi
61951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61952 ac_ext=c
61953 ac_cpp='$CPP $CPPFLAGS'
61954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61957
61958
61959 fi
61960
61961 fi
61962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
61963 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
61964
61965 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
61966 for ac_func in _hypotl
61967 do :
61968 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
61969 if test "x$ac_cv_func__hypotl" = x""yes; then :
61970 cat >>confdefs.h <<_ACEOF
61971 #define HAVE__HYPOTL 1
61972 _ACEOF
61973
61974 fi
61975 done
61976
61977 fi
61978 fi
61979
61980
61981
61982
61983
61984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
61985 $as_echo_n "checking for ldexpl declaration... " >&6; }
61986 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
61987 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
61988 $as_echo_n "(cached) " >&6
61989 else
61990
61991
61992 ac_ext=cpp
61993 ac_cpp='$CXXCPP $CPPFLAGS'
61994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61997
61998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61999 /* end confdefs.h. */
62000 #include <math.h>
62001 int
62002 main ()
62003 {
62004 ldexpl(0, 0);
62005 ;
62006 return 0;
62007 }
62008 _ACEOF
62009 if ac_fn_cxx_try_compile "$LINENO"; then :
62010 glibcxx_cv_func_ldexpl_use=yes
62011 else
62012 glibcxx_cv_func_ldexpl_use=no
62013 fi
62014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62015 ac_ext=c
62016 ac_cpp='$CPP $CPPFLAGS'
62017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62020
62021
62022 fi
62023
62024 fi
62025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62026 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62027
62028 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62029 for ac_func in ldexpl
62030 do :
62031 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62032 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62033 cat >>confdefs.h <<_ACEOF
62034 #define HAVE_LDEXPL 1
62035 _ACEOF
62036
62037 fi
62038 done
62039
62040 else
62041
62042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62043 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62044 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62045 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62046 $as_echo_n "(cached) " >&6
62047 else
62048
62049
62050 ac_ext=cpp
62051 ac_cpp='$CXXCPP $CPPFLAGS'
62052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62055
62056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62057 /* end confdefs.h. */
62058 #include <math.h>
62059 int
62060 main ()
62061 {
62062 _ldexpl(0, 0);
62063 ;
62064 return 0;
62065 }
62066 _ACEOF
62067 if ac_fn_cxx_try_compile "$LINENO"; then :
62068 glibcxx_cv_func__ldexpl_use=yes
62069 else
62070 glibcxx_cv_func__ldexpl_use=no
62071 fi
62072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62073 ac_ext=c
62074 ac_cpp='$CPP $CPPFLAGS'
62075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62078
62079
62080 fi
62081
62082 fi
62083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62084 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62085
62086 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62087 for ac_func in _ldexpl
62088 do :
62089 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62090 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62091 cat >>confdefs.h <<_ACEOF
62092 #define HAVE__LDEXPL 1
62093 _ACEOF
62094
62095 fi
62096 done
62097
62098 fi
62099 fi
62100
62101
62102
62103
62104
62105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62106 $as_echo_n "checking for logl declaration... " >&6; }
62107 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62108 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62109 $as_echo_n "(cached) " >&6
62110 else
62111
62112
62113 ac_ext=cpp
62114 ac_cpp='$CXXCPP $CPPFLAGS'
62115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62118
62119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62120 /* end confdefs.h. */
62121 #include <math.h>
62122 #ifdef HAVE_IEEEFP_H
62123 #include <ieeefp.h>
62124 #endif
62125
62126 int
62127 main ()
62128 {
62129 logl(0);
62130 ;
62131 return 0;
62132 }
62133 _ACEOF
62134 if ac_fn_cxx_try_compile "$LINENO"; then :
62135 glibcxx_cv_func_logl_use=yes
62136 else
62137 glibcxx_cv_func_logl_use=no
62138 fi
62139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62140 ac_ext=c
62141 ac_cpp='$CPP $CPPFLAGS'
62142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62145
62146
62147 fi
62148
62149 fi
62150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62151 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62152
62153 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62154 for ac_func in logl
62155 do :
62156 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62157 if test "x$ac_cv_func_logl" = x""yes; then :
62158 cat >>confdefs.h <<_ACEOF
62159 #define HAVE_LOGL 1
62160 _ACEOF
62161
62162 fi
62163 done
62164
62165 else
62166
62167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62168 $as_echo_n "checking for _logl declaration... " >&6; }
62169 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62170 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62171 $as_echo_n "(cached) " >&6
62172 else
62173
62174
62175 ac_ext=cpp
62176 ac_cpp='$CXXCPP $CPPFLAGS'
62177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62180
62181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62182 /* end confdefs.h. */
62183 #include <math.h>
62184 #ifdef HAVE_IEEEFP_H
62185 #include <ieeefp.h>
62186 #endif
62187
62188 int
62189 main ()
62190 {
62191 _logl(0);
62192 ;
62193 return 0;
62194 }
62195 _ACEOF
62196 if ac_fn_cxx_try_compile "$LINENO"; then :
62197 glibcxx_cv_func__logl_use=yes
62198 else
62199 glibcxx_cv_func__logl_use=no
62200 fi
62201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62202 ac_ext=c
62203 ac_cpp='$CPP $CPPFLAGS'
62204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62207
62208
62209 fi
62210
62211 fi
62212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62213 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62214
62215 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62216 for ac_func in _logl
62217 do :
62218 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62219 if test "x$ac_cv_func__logl" = x""yes; then :
62220 cat >>confdefs.h <<_ACEOF
62221 #define HAVE__LOGL 1
62222 _ACEOF
62223
62224 fi
62225 done
62226
62227 fi
62228 fi
62229
62230
62231
62232
62233
62234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62235 $as_echo_n "checking for log10l declaration... " >&6; }
62236 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62237 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62238 $as_echo_n "(cached) " >&6
62239 else
62240
62241
62242 ac_ext=cpp
62243 ac_cpp='$CXXCPP $CPPFLAGS'
62244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62247
62248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62249 /* end confdefs.h. */
62250 #include <math.h>
62251 #ifdef HAVE_IEEEFP_H
62252 #include <ieeefp.h>
62253 #endif
62254
62255 int
62256 main ()
62257 {
62258 log10l(0);
62259 ;
62260 return 0;
62261 }
62262 _ACEOF
62263 if ac_fn_cxx_try_compile "$LINENO"; then :
62264 glibcxx_cv_func_log10l_use=yes
62265 else
62266 glibcxx_cv_func_log10l_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_log10l_use" >&5
62280 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62281
62282 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62283 for ac_func in log10l
62284 do :
62285 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62286 if test "x$ac_cv_func_log10l" = x""yes; then :
62287 cat >>confdefs.h <<_ACEOF
62288 #define HAVE_LOG10L 1
62289 _ACEOF
62290
62291 fi
62292 done
62293
62294 else
62295
62296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62297 $as_echo_n "checking for _log10l declaration... " >&6; }
62298 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62299 if test "${glibcxx_cv_func__log10l_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 #ifdef HAVE_IEEEFP_H
62314 #include <ieeefp.h>
62315 #endif
62316
62317 int
62318 main ()
62319 {
62320 _log10l(0);
62321 ;
62322 return 0;
62323 }
62324 _ACEOF
62325 if ac_fn_cxx_try_compile "$LINENO"; then :
62326 glibcxx_cv_func__log10l_use=yes
62327 else
62328 glibcxx_cv_func__log10l_use=no
62329 fi
62330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62331 ac_ext=c
62332 ac_cpp='$CPP $CPPFLAGS'
62333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62336
62337
62338 fi
62339
62340 fi
62341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62342 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62343
62344 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62345 for ac_func in _log10l
62346 do :
62347 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62348 if test "x$ac_cv_func__log10l" = x""yes; then :
62349 cat >>confdefs.h <<_ACEOF
62350 #define HAVE__LOG10L 1
62351 _ACEOF
62352
62353 fi
62354 done
62355
62356 fi
62357 fi
62358
62359
62360
62361
62362
62363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62364 $as_echo_n "checking for modfl declaration... " >&6; }
62365 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62366 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62367 $as_echo_n "(cached) " >&6
62368 else
62369
62370
62371 ac_ext=cpp
62372 ac_cpp='$CXXCPP $CPPFLAGS'
62373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62376
62377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62378 /* end confdefs.h. */
62379 #include <math.h>
62380 int
62381 main ()
62382 {
62383 modfl(0, 0);
62384 ;
62385 return 0;
62386 }
62387 _ACEOF
62388 if ac_fn_cxx_try_compile "$LINENO"; then :
62389 glibcxx_cv_func_modfl_use=yes
62390 else
62391 glibcxx_cv_func_modfl_use=no
62392 fi
62393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62394 ac_ext=c
62395 ac_cpp='$CPP $CPPFLAGS'
62396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62399
62400
62401 fi
62402
62403 fi
62404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62405 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62406
62407 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62408 for ac_func in modfl
62409 do :
62410 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62411 if test "x$ac_cv_func_modfl" = x""yes; then :
62412 cat >>confdefs.h <<_ACEOF
62413 #define HAVE_MODFL 1
62414 _ACEOF
62415
62416 fi
62417 done
62418
62419 else
62420
62421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62422 $as_echo_n "checking for _modfl declaration... " >&6; }
62423 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62424 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62425 $as_echo_n "(cached) " >&6
62426 else
62427
62428
62429 ac_ext=cpp
62430 ac_cpp='$CXXCPP $CPPFLAGS'
62431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62434
62435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62436 /* end confdefs.h. */
62437 #include <math.h>
62438 int
62439 main ()
62440 {
62441 _modfl(0, 0);
62442 ;
62443 return 0;
62444 }
62445 _ACEOF
62446 if ac_fn_cxx_try_compile "$LINENO"; then :
62447 glibcxx_cv_func__modfl_use=yes
62448 else
62449 glibcxx_cv_func__modfl_use=no
62450 fi
62451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62452 ac_ext=c
62453 ac_cpp='$CPP $CPPFLAGS'
62454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62457
62458
62459 fi
62460
62461 fi
62462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62463 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62464
62465 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62466 for ac_func in _modfl
62467 do :
62468 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62469 if test "x$ac_cv_func__modfl" = x""yes; then :
62470 cat >>confdefs.h <<_ACEOF
62471 #define HAVE__MODFL 1
62472 _ACEOF
62473
62474 fi
62475 done
62476
62477 fi
62478 fi
62479
62480
62481
62482
62483
62484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62485 $as_echo_n "checking for powl declaration... " >&6; }
62486 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62487 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62488 $as_echo_n "(cached) " >&6
62489 else
62490
62491
62492 ac_ext=cpp
62493 ac_cpp='$CXXCPP $CPPFLAGS'
62494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62497
62498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62499 /* end confdefs.h. */
62500 #include <math.h>
62501 int
62502 main ()
62503 {
62504 powl(0, 0);
62505 ;
62506 return 0;
62507 }
62508 _ACEOF
62509 if ac_fn_cxx_try_compile "$LINENO"; then :
62510 glibcxx_cv_func_powl_use=yes
62511 else
62512 glibcxx_cv_func_powl_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_powl_use" >&5
62526 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62527
62528 if test x$glibcxx_cv_func_powl_use = x"yes"; then
62529 for ac_func in powl
62530 do :
62531 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62532 if test "x$ac_cv_func_powl" = x""yes; then :
62533 cat >>confdefs.h <<_ACEOF
62534 #define HAVE_POWL 1
62535 _ACEOF
62536
62537 fi
62538 done
62539
62540 else
62541
62542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62543 $as_echo_n "checking for _powl declaration... " >&6; }
62544 if test x${glibcxx_cv_func__powl_use+set} != xset; then
62545 if test "${glibcxx_cv_func__powl_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 int
62560 main ()
62561 {
62562 _powl(0, 0);
62563 ;
62564 return 0;
62565 }
62566 _ACEOF
62567 if ac_fn_cxx_try_compile "$LINENO"; then :
62568 glibcxx_cv_func__powl_use=yes
62569 else
62570 glibcxx_cv_func__powl_use=no
62571 fi
62572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62573 ac_ext=c
62574 ac_cpp='$CPP $CPPFLAGS'
62575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62578
62579
62580 fi
62581
62582 fi
62583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62584 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62585
62586 if test x$glibcxx_cv_func__powl_use = x"yes"; then
62587 for ac_func in _powl
62588 do :
62589 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62590 if test "x$ac_cv_func__powl" = x""yes; then :
62591 cat >>confdefs.h <<_ACEOF
62592 #define HAVE__POWL 1
62593 _ACEOF
62594
62595 fi
62596 done
62597
62598 fi
62599 fi
62600
62601
62602
62603
62604
62605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62606 $as_echo_n "checking for sqrtl declaration... " >&6; }
62607 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62608 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62609 $as_echo_n "(cached) " >&6
62610 else
62611
62612
62613 ac_ext=cpp
62614 ac_cpp='$CXXCPP $CPPFLAGS'
62615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62618
62619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62620 /* end confdefs.h. */
62621 #include <math.h>
62622 #ifdef HAVE_IEEEFP_H
62623 #include <ieeefp.h>
62624 #endif
62625
62626 int
62627 main ()
62628 {
62629 sqrtl(0);
62630 ;
62631 return 0;
62632 }
62633 _ACEOF
62634 if ac_fn_cxx_try_compile "$LINENO"; then :
62635 glibcxx_cv_func_sqrtl_use=yes
62636 else
62637 glibcxx_cv_func_sqrtl_use=no
62638 fi
62639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62640 ac_ext=c
62641 ac_cpp='$CPP $CPPFLAGS'
62642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62645
62646
62647 fi
62648
62649 fi
62650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
62651 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
62652
62653 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
62654 for ac_func in sqrtl
62655 do :
62656 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
62657 if test "x$ac_cv_func_sqrtl" = x""yes; then :
62658 cat >>confdefs.h <<_ACEOF
62659 #define HAVE_SQRTL 1
62660 _ACEOF
62661
62662 fi
62663 done
62664
62665 else
62666
62667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
62668 $as_echo_n "checking for _sqrtl declaration... " >&6; }
62669 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
62670 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
62671 $as_echo_n "(cached) " >&6
62672 else
62673
62674
62675 ac_ext=cpp
62676 ac_cpp='$CXXCPP $CPPFLAGS'
62677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62680
62681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62682 /* end confdefs.h. */
62683 #include <math.h>
62684 #ifdef HAVE_IEEEFP_H
62685 #include <ieeefp.h>
62686 #endif
62687
62688 int
62689 main ()
62690 {
62691 _sqrtl(0);
62692 ;
62693 return 0;
62694 }
62695 _ACEOF
62696 if ac_fn_cxx_try_compile "$LINENO"; then :
62697 glibcxx_cv_func__sqrtl_use=yes
62698 else
62699 glibcxx_cv_func__sqrtl_use=no
62700 fi
62701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62702 ac_ext=c
62703 ac_cpp='$CPP $CPPFLAGS'
62704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62707
62708
62709 fi
62710
62711 fi
62712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
62713 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
62714
62715 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
62716 for ac_func in _sqrtl
62717 do :
62718 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
62719 if test "x$ac_cv_func__sqrtl" = x""yes; then :
62720 cat >>confdefs.h <<_ACEOF
62721 #define HAVE__SQRTL 1
62722 _ACEOF
62723
62724 fi
62725 done
62726
62727 fi
62728 fi
62729
62730
62731
62732
62733
62734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
62735 $as_echo_n "checking for sincosl declaration... " >&6; }
62736 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
62737 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
62738 $as_echo_n "(cached) " >&6
62739 else
62740
62741
62742 ac_ext=cpp
62743 ac_cpp='$CXXCPP $CPPFLAGS'
62744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62747
62748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62749 /* end confdefs.h. */
62750 #include <math.h>
62751 int
62752 main ()
62753 {
62754 sincosl(0, 0, 0);
62755 ;
62756 return 0;
62757 }
62758 _ACEOF
62759 if ac_fn_cxx_try_compile "$LINENO"; then :
62760 glibcxx_cv_func_sincosl_use=yes
62761 else
62762 glibcxx_cv_func_sincosl_use=no
62763 fi
62764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62765 ac_ext=c
62766 ac_cpp='$CPP $CPPFLAGS'
62767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62770
62771
62772 fi
62773
62774 fi
62775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
62776 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
62777
62778 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
62779 for ac_func in sincosl
62780 do :
62781 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
62782 if test "x$ac_cv_func_sincosl" = x""yes; then :
62783 cat >>confdefs.h <<_ACEOF
62784 #define HAVE_SINCOSL 1
62785 _ACEOF
62786
62787 fi
62788 done
62789
62790 else
62791
62792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
62793 $as_echo_n "checking for _sincosl declaration... " >&6; }
62794 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
62795 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
62796 $as_echo_n "(cached) " >&6
62797 else
62798
62799
62800 ac_ext=cpp
62801 ac_cpp='$CXXCPP $CPPFLAGS'
62802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62805
62806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62807 /* end confdefs.h. */
62808 #include <math.h>
62809 int
62810 main ()
62811 {
62812 _sincosl(0, 0, 0);
62813 ;
62814 return 0;
62815 }
62816 _ACEOF
62817 if ac_fn_cxx_try_compile "$LINENO"; then :
62818 glibcxx_cv_func__sincosl_use=yes
62819 else
62820 glibcxx_cv_func__sincosl_use=no
62821 fi
62822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62823 ac_ext=c
62824 ac_cpp='$CPP $CPPFLAGS'
62825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62828
62829
62830 fi
62831
62832 fi
62833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
62834 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
62835
62836 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
62837 for ac_func in _sincosl
62838 do :
62839 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
62840 if test "x$ac_cv_func__sincosl" = x""yes; then :
62841 cat >>confdefs.h <<_ACEOF
62842 #define HAVE__SINCOSL 1
62843 _ACEOF
62844
62845 fi
62846 done
62847
62848 fi
62849 fi
62850
62851
62852
62853
62854
62855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
62856 $as_echo_n "checking for finitel declaration... " >&6; }
62857 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
62858 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
62859 $as_echo_n "(cached) " >&6
62860 else
62861
62862
62863 ac_ext=cpp
62864 ac_cpp='$CXXCPP $CPPFLAGS'
62865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62868
62869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62870 /* end confdefs.h. */
62871 #include <math.h>
62872 #ifdef HAVE_IEEEFP_H
62873 #include <ieeefp.h>
62874 #endif
62875
62876 int
62877 main ()
62878 {
62879 finitel(0);
62880 ;
62881 return 0;
62882 }
62883 _ACEOF
62884 if ac_fn_cxx_try_compile "$LINENO"; then :
62885 glibcxx_cv_func_finitel_use=yes
62886 else
62887 glibcxx_cv_func_finitel_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_finitel_use" >&5
62901 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
62902
62903 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
62904 for ac_func in finitel
62905 do :
62906 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
62907 if test "x$ac_cv_func_finitel" = x""yes; then :
62908 cat >>confdefs.h <<_ACEOF
62909 #define HAVE_FINITEL 1
62910 _ACEOF
62911
62912 fi
62913 done
62914
62915 else
62916
62917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
62918 $as_echo_n "checking for _finitel declaration... " >&6; }
62919 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
62920 if test "${glibcxx_cv_func__finitel_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 #ifdef HAVE_IEEEFP_H
62935 #include <ieeefp.h>
62936 #endif
62937
62938 int
62939 main ()
62940 {
62941 _finitel(0);
62942 ;
62943 return 0;
62944 }
62945 _ACEOF
62946 if ac_fn_cxx_try_compile "$LINENO"; then :
62947 glibcxx_cv_func__finitel_use=yes
62948 else
62949 glibcxx_cv_func__finitel_use=no
62950 fi
62951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62952 ac_ext=c
62953 ac_cpp='$CPP $CPPFLAGS'
62954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62957
62958
62959 fi
62960
62961 fi
62962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
62963 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
62964
62965 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
62966 for ac_func in _finitel
62967 do :
62968 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
62969 if test "x$ac_cv_func__finitel" = x""yes; then :
62970 cat >>confdefs.h <<_ACEOF
62971 #define HAVE__FINITEL 1
62972 _ACEOF
62973
62974 fi
62975 done
62976
62977 fi
62978 fi
62979
62980
62981
62982
62983 LIBS="$ac_save_LIBS"
62984 CXXFLAGS="$ac_save_CXXFLAGS"
62985
62986
62987 ac_test_CXXFLAGS="${CXXFLAGS+set}"
62988 ac_save_CXXFLAGS="$CXXFLAGS"
62989 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62990
62991
62992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
62993 $as_echo_n "checking for strtold declaration... " >&6; }
62994 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62995 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
62996 $as_echo_n "(cached) " >&6
62997 else
62998
62999
63000 ac_ext=cpp
63001 ac_cpp='$CXXCPP $CPPFLAGS'
63002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63005
63006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63007 /* end confdefs.h. */
63008 #include <stdlib.h>
63009 int
63010 main ()
63011 {
63012 strtold(0, 0);
63013 ;
63014 return 0;
63015 }
63016 _ACEOF
63017 if ac_fn_cxx_try_compile "$LINENO"; then :
63018 glibcxx_cv_func_strtold_use=yes
63019 else
63020 glibcxx_cv_func_strtold_use=no
63021 fi
63022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63023 ac_ext=c
63024 ac_cpp='$CPP $CPPFLAGS'
63025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63028
63029
63030 fi
63031
63032 fi
63033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63034 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63035 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63036 for ac_func in strtold
63037 do :
63038 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63039 if test "x$ac_cv_func_strtold" = x""yes; then :
63040 cat >>confdefs.h <<_ACEOF
63041 #define HAVE_STRTOLD 1
63042 _ACEOF
63043
63044 fi
63045 done
63046
63047 fi
63048
63049
63050
63051
63052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63053 $as_echo_n "checking for strtof declaration... " >&6; }
63054 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63055 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63056 $as_echo_n "(cached) " >&6
63057 else
63058
63059
63060 ac_ext=cpp
63061 ac_cpp='$CXXCPP $CPPFLAGS'
63062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63065
63066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63067 /* end confdefs.h. */
63068 #include <stdlib.h>
63069 int
63070 main ()
63071 {
63072 strtof(0, 0);
63073 ;
63074 return 0;
63075 }
63076 _ACEOF
63077 if ac_fn_cxx_try_compile "$LINENO"; then :
63078 glibcxx_cv_func_strtof_use=yes
63079 else
63080 glibcxx_cv_func_strtof_use=no
63081 fi
63082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63083 ac_ext=c
63084 ac_cpp='$CPP $CPPFLAGS'
63085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63088
63089
63090 fi
63091
63092 fi
63093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63094 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63095 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63096 for ac_func in strtof
63097 do :
63098 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63099 if test "x$ac_cv_func_strtof" = x""yes; then :
63100 cat >>confdefs.h <<_ACEOF
63101 #define HAVE_STRTOF 1
63102 _ACEOF
63103
63104 fi
63105 done
63106
63107 fi
63108
63109
63110
63111
63112 CXXFLAGS="$ac_save_CXXFLAGS"
63113
63114 ;;
63115 *-solaris*)
63116 case "$target" in
63117 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63118
63119 # If we're not using GNU ld, then there's no point in even trying these
63120 # tests. Check for that first. We should have already tested for gld
63121 # by now (in libtool), but require it now just to be safe...
63122 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63123 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63124
63125
63126
63127 # The name set by libtool depends on the version of libtool. Shame on us
63128 # for depending on an impl detail, but c'est la vie. Older versions used
63129 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63130 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63131 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63132 # set (hence we're using an older libtool), then set it.
63133 if test x${with_gnu_ld+set} != xset; then
63134 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63135 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63136 with_gnu_ld=no
63137 else
63138 with_gnu_ld=$ac_cv_prog_gnu_ld
63139 fi
63140 fi
63141
63142 # Start by getting the version number. I think the libtool test already
63143 # does some of this, but throws away the result.
63144 glibcxx_ld_is_gold=no
63145 if test x"$with_gnu_ld" = x"yes"; then
63146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63147 $as_echo_n "checking for ld version... " >&6; }
63148
63149 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63150 glibcxx_ld_is_gold=yes
63151 fi
63152 ldver=`$LD --version 2>/dev/null |
63153 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'`
63154
63155 glibcxx_gnu_ld_version=`echo $ldver | \
63156 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63158 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63159 fi
63160
63161 # Set --gc-sections.
63162 glibcxx_have_gc_sections=no
63163 if test "$glibcxx_ld_is_gold" = "yes"; then
63164 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63165 glibcxx_have_gc_sections=yes
63166 fi
63167 else
63168 glibcxx_gcsections_min_ld=21602
63169 if test x"$with_gnu_ld" = x"yes" &&
63170 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63171 glibcxx_have_gc_sections=yes
63172 fi
63173 fi
63174 if test "$glibcxx_have_gc_sections" = "yes"; then
63175 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63176 # NB: This flag only works reliably after 2.16.1. Configure tests
63177 # for this are difficult, so hard wire a value that should work.
63178
63179 ac_test_CFLAGS="${CFLAGS+set}"
63180 ac_save_CFLAGS="$CFLAGS"
63181 CFLAGS='-Wl,--gc-sections'
63182
63183 # Check for -Wl,--gc-sections
63184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63185 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63186 if test x$gcc_no_link = xyes; then
63187 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63188 fi
63189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63190 /* end confdefs.h. */
63191 int one(void) { return 1; }
63192 int two(void) { return 2; }
63193
63194 int
63195 main ()
63196 {
63197 two();
63198 ;
63199 return 0;
63200 }
63201 _ACEOF
63202 if ac_fn_c_try_link "$LINENO"; then :
63203 ac_gcsections=yes
63204 else
63205 ac_gcsections=no
63206 fi
63207 rm -f core conftest.err conftest.$ac_objext \
63208 conftest$ac_exeext conftest.$ac_ext
63209 if test "$ac_gcsections" = "yes"; then
63210 rm -f conftest.c
63211 touch conftest.c
63212 if $CC -c conftest.c; then
63213 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63214 grep "Warning: gc-sections option ignored" > /dev/null; then
63215 ac_gcsections=no
63216 fi
63217 fi
63218 rm -f conftest.c conftest.o conftest
63219 fi
63220 if test "$ac_gcsections" = "yes"; then
63221 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63222 fi
63223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63224 $as_echo "$ac_gcsections" >&6; }
63225
63226 if test "$ac_test_CFLAGS" = set; then
63227 CFLAGS="$ac_save_CFLAGS"
63228 else
63229 # this is the suspicious part
63230 CFLAGS=''
63231 fi
63232 fi
63233
63234 # Set -z,relro.
63235 # Note this is only for shared objects.
63236 ac_ld_relro=no
63237 if test x"$with_gnu_ld" = x"yes"; then
63238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63239 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63240 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63241 if test -n "$cxx_z_relo"; then
63242 OPT_LDFLAGS="-Wl,-z,relro"
63243 ac_ld_relro=yes
63244 fi
63245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63246 $as_echo "$ac_ld_relro" >&6; }
63247 fi
63248
63249 # Set linker optimization flags.
63250 if test x"$with_gnu_ld" = x"yes"; then
63251 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63252 fi
63253
63254
63255
63256
63257 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63258
63259 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63260
63261 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63262
63263 # All of the dependencies for wide character support are here, so
63264 # turn it on.
63265 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63266
63267 ;;
63268 esac
63269 case "$target" in
63270 *-*-solaris2.10)
63271 # These two C99 functions are present only in Solaris >= 10
63272 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63273
63274 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63275
63276 ;;
63277 esac
63278 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63279
63280 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63281
63282 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63283
63284 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63285
63286 ;;
63287 *-tpf)
63288 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63289
63290
63291 # If we're not using GNU ld, then there's no point in even trying these
63292 # tests. Check for that first. We should have already tested for gld
63293 # by now (in libtool), but require it now just to be safe...
63294 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63295 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63296
63297
63298
63299 # The name set by libtool depends on the version of libtool. Shame on us
63300 # for depending on an impl detail, but c'est la vie. Older versions used
63301 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63302 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63303 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63304 # set (hence we're using an older libtool), then set it.
63305 if test x${with_gnu_ld+set} != xset; then
63306 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63307 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63308 with_gnu_ld=no
63309 else
63310 with_gnu_ld=$ac_cv_prog_gnu_ld
63311 fi
63312 fi
63313
63314 # Start by getting the version number. I think the libtool test already
63315 # does some of this, but throws away the result.
63316 glibcxx_ld_is_gold=no
63317 if test x"$with_gnu_ld" = x"yes"; then
63318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63319 $as_echo_n "checking for ld version... " >&6; }
63320
63321 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63322 glibcxx_ld_is_gold=yes
63323 fi
63324 ldver=`$LD --version 2>/dev/null |
63325 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'`
63326
63327 glibcxx_gnu_ld_version=`echo $ldver | \
63328 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63330 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63331 fi
63332
63333 # Set --gc-sections.
63334 glibcxx_have_gc_sections=no
63335 if test "$glibcxx_ld_is_gold" = "yes"; then
63336 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63337 glibcxx_have_gc_sections=yes
63338 fi
63339 else
63340 glibcxx_gcsections_min_ld=21602
63341 if test x"$with_gnu_ld" = x"yes" &&
63342 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63343 glibcxx_have_gc_sections=yes
63344 fi
63345 fi
63346 if test "$glibcxx_have_gc_sections" = "yes"; then
63347 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63348 # NB: This flag only works reliably after 2.16.1. Configure tests
63349 # for this are difficult, so hard wire a value that should work.
63350
63351 ac_test_CFLAGS="${CFLAGS+set}"
63352 ac_save_CFLAGS="$CFLAGS"
63353 CFLAGS='-Wl,--gc-sections'
63354
63355 # Check for -Wl,--gc-sections
63356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63357 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63358 if test x$gcc_no_link = xyes; then
63359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63360 fi
63361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63362 /* end confdefs.h. */
63363 int one(void) { return 1; }
63364 int two(void) { return 2; }
63365
63366 int
63367 main ()
63368 {
63369 two();
63370 ;
63371 return 0;
63372 }
63373 _ACEOF
63374 if ac_fn_c_try_link "$LINENO"; then :
63375 ac_gcsections=yes
63376 else
63377 ac_gcsections=no
63378 fi
63379 rm -f core conftest.err conftest.$ac_objext \
63380 conftest$ac_exeext conftest.$ac_ext
63381 if test "$ac_gcsections" = "yes"; then
63382 rm -f conftest.c
63383 touch conftest.c
63384 if $CC -c conftest.c; then
63385 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63386 grep "Warning: gc-sections option ignored" > /dev/null; then
63387 ac_gcsections=no
63388 fi
63389 fi
63390 rm -f conftest.c conftest.o conftest
63391 fi
63392 if test "$ac_gcsections" = "yes"; then
63393 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63394 fi
63395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63396 $as_echo "$ac_gcsections" >&6; }
63397
63398 if test "$ac_test_CFLAGS" = set; then
63399 CFLAGS="$ac_save_CFLAGS"
63400 else
63401 # this is the suspicious part
63402 CFLAGS=''
63403 fi
63404 fi
63405
63406 # Set -z,relro.
63407 # Note this is only for shared objects.
63408 ac_ld_relro=no
63409 if test x"$with_gnu_ld" = x"yes"; then
63410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63411 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63412 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63413 if test -n "$cxx_z_relo"; then
63414 OPT_LDFLAGS="-Wl,-z,relro"
63415 ac_ld_relro=yes
63416 fi
63417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63418 $as_echo "$ac_ld_relro" >&6; }
63419 fi
63420
63421 # Set linker optimization flags.
63422 if test x"$with_gnu_ld" = x"yes"; then
63423 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63424 fi
63425
63426
63427
63428
63429 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63430
63431 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63432
63433 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63434
63435 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63436
63437 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63438
63439 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63440
63441 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63442
63443 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63444
63445 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63446
63447 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63448
63449 if test x"long_double_math_on_this_cpu" = x"yes"; then
63450 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63451
63452 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63453
63454 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63455
63456 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63457
63458 fi
63459 ;;
63460 *-vxworks)
63461 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63462
63463 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63464
63465 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63466
63467 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63468
63469 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63470
63471 $as_echo "#define HAVE_COSF 1" >>confdefs.h
63472
63473 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63474
63475 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63476
63477 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63478
63479 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63480
63481 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63482
63483 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63484
63485 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63486
63487 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63488
63489 $as_echo "#define HAVE_POWF 1" >>confdefs.h
63490
63491 $as_echo "#define HAVE_SINF 1" >>confdefs.h
63492
63493 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63494
63495 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63496
63497 $as_echo "#define HAVE_TANF 1" >>confdefs.h
63498
63499 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63500
63501 ;;
63502 *)
63503 as_fn_error "No support for this host/target combination." "$LINENO" 5
63504 ;;
63505 esac
63506
63507 fi
63508
63509 # At some point, we should differentiate between architectures
63510 # like x86, which have long double versions, and alpha/powerpc/etc.,
63511 # which don't. For the time being, punt.
63512 if test x"long_double_math_on_this_cpu" = x"yes"; then
63513 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63514
63515 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63516
63517 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63518
63519 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63520
63521 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63522
63523 $as_echo "#define HAVE_COSL 1" >>confdefs.h
63524
63525 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63526
63527 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63528
63529 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63530
63531 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63532
63533 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63534
63535 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63536
63537 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63538
63539 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63540
63541 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63542
63543 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63544
63545 $as_echo "#define HAVE_POWL 1" >>confdefs.h
63546
63547 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63548
63549 $as_echo "#define HAVE_SINL 1" >>confdefs.h
63550
63551 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63552
63553 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63554
63555 $as_echo "#define HAVE_TANL 1" >>confdefs.h
63556
63557 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63558
63559 fi
63560 fi
63561
63562 # Check for _Unwind_GetIPInfo.
63563
63564
63565 # Check whether --with-system-libunwind was given.
63566 if test "${with_system_libunwind+set}" = set; then :
63567 withval=$with_system_libunwind;
63568 fi
63569
63570 # If system-libunwind was not specifically set, pick a default setting.
63571 if test x$with_system_libunwind = x; then
63572 case ${target} in
63573 ia64-*-hpux*) with_system_libunwind=yes ;;
63574 *) with_system_libunwind=no ;;
63575 esac
63576 fi
63577 # Based on system-libunwind and target, do we have ipinfo?
63578 if test x$with_system_libunwind = xyes; then
63579 case ${target} in
63580 ia64-*-*) have_unwind_getipinfo=no ;;
63581 *) have_unwind_getipinfo=yes ;;
63582 esac
63583 else
63584 # Darwin before version 9 does not have _Unwind_GetIPInfo.
63585
63586 case ${target} in
63587 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63588 *) have_unwind_getipinfo=yes ;;
63589 esac
63590
63591 fi
63592
63593 if test x$have_unwind_getipinfo = xyes; then
63594
63595 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63596
63597 fi
63598
63599
63600
63601 # Check whether --enable-linux-futex was given.
63602 if test "${enable_linux_futex+set}" = set; then :
63603 enableval=$enable_linux_futex;
63604 case "$enableval" in
63605 yes|no|default) ;;
63606 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63607 esac
63608
63609 else
63610 enable_linux_futex=default
63611 fi
63612
63613
63614 case "$target" in
63615 *-linux*)
63616 case "$enable_linux_futex" in
63617 default)
63618 # If headers don't have gettid/futex syscalls definition, then
63619 # default to no, otherwise there will be compile time failures.
63620 # Otherwise, default to yes. If we don't detect we are
63621 # compiled/linked against NPTL and not cross-compiling, check
63622 # if programs are run by default against NPTL and if not, issue
63623 # a warning.
63624 enable_linux_futex=no
63625 if test x$gcc_no_link = xyes; then
63626 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63627 fi
63628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63629 /* end confdefs.h. */
63630 #include <sys/syscall.h>
63631 int lk;
63632 int
63633 main ()
63634 {
63635 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63636 ;
63637 return 0;
63638 }
63639 _ACEOF
63640 if ac_fn_c_try_link "$LINENO"; then :
63641 save_LIBS="$LIBS"
63642 LIBS="-lpthread $LIBS"
63643 if test x$gcc_no_link = xyes; then
63644 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63645 fi
63646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63647 /* end confdefs.h. */
63648 #ifndef _GNU_SOURCE
63649 #define _GNU_SOURCE 1
63650 #endif
63651 #include <pthread.h>
63652 pthread_t th; void *status;
63653 int
63654 main ()
63655 {
63656 pthread_tryjoin_np (th, &status);
63657 ;
63658 return 0;
63659 }
63660 _ACEOF
63661 if ac_fn_c_try_link "$LINENO"; then :
63662 enable_linux_futex=yes
63663 else
63664 if test x$cross_compiling = xno; then
63665 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
63666 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
63667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
63668 If so, please configure with --disable-linux-futex" >&5
63669 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
63670 If so, please configure with --disable-linux-futex" >&2;}
63671 fi
63672 fi
63673 enable_linux_futex=yes
63674 fi
63675 rm -f core conftest.err conftest.$ac_objext \
63676 conftest$ac_exeext conftest.$ac_ext
63677 LIBS="$save_LIBS"
63678 fi
63679 rm -f core conftest.err conftest.$ac_objext \
63680 conftest$ac_exeext conftest.$ac_ext
63681 ;;
63682 yes)
63683 if test x$gcc_no_link = xyes; then
63684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63685 fi
63686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63687 /* end confdefs.h. */
63688 #include <sys/syscall.h>
63689 int lk;
63690 int
63691 main ()
63692 {
63693 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63694 ;
63695 return 0;
63696 }
63697 _ACEOF
63698 if ac_fn_c_try_link "$LINENO"; then :
63699
63700 else
63701 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
63702 fi
63703 rm -f core conftest.err conftest.$ac_objext \
63704 conftest$ac_exeext conftest.$ac_ext
63705 ;;
63706 esac
63707 ;;
63708 *)
63709 enable_linux_futex=no
63710 ;;
63711 esac
63712 if test x$enable_linux_futex = xyes; then
63713
63714 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
63715
63716 fi
63717
63718
63719
63720
63721 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
63722
63723 acx_cv_header_stdint=stddef.h
63724 acx_cv_header_stdint_kind="(already complete)"
63725 for i in stdint.h $inttype_headers; do
63726 unset ac_cv_type_uintptr_t
63727 unset ac_cv_type_uintmax_t
63728 unset ac_cv_type_int_least32_t
63729 unset ac_cv_type_int_fast32_t
63730 unset ac_cv_type_uint64_t
63731 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
63732 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
63733 #include <$i>
63734 "
63735 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
63736 acx_cv_header_stdint=$i
63737 else
63738 continue
63739 fi
63740
63741 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63742 #include <$i>
63743 "
63744 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63745
63746 else
63747 acx_cv_header_stdint_kind="(mostly complete)"
63748 fi
63749
63750 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
63751 #include <$i>
63752 "
63753 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
63754
63755 else
63756 acx_cv_header_stdint_kind="(mostly complete)"
63757 fi
63758
63759 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
63760 #include <$i>
63761 "
63762 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
63763
63764 else
63765 acx_cv_header_stdint_kind="(mostly complete)"
63766 fi
63767
63768 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63769 #include <$i>
63770 "
63771 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63772
63773 else
63774 acx_cv_header_stdint_kind="(lacks uint64_t)"
63775 fi
63776
63777 break
63778 done
63779 if test "$acx_cv_header_stdint" = stddef.h; then
63780 acx_cv_header_stdint_kind="(lacks uintmax_t)"
63781 for i in stdint.h $inttype_headers; do
63782 unset ac_cv_type_uintptr_t
63783 unset ac_cv_type_uint32_t
63784 unset ac_cv_type_uint64_t
63785 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
63786 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
63787 #include <$i>
63788 "
63789 if test "x$ac_cv_type_uint32_t" = x""yes; then :
63790 acx_cv_header_stdint=$i
63791 else
63792 continue
63793 fi
63794
63795 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63796 #include <$i>
63797 "
63798 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63799
63800 fi
63801
63802 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63803 #include <$i>
63804 "
63805 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63806
63807 fi
63808
63809 break
63810 done
63811 fi
63812 if test "$acx_cv_header_stdint" = stddef.h; then
63813 acx_cv_header_stdint_kind="(u_intXX_t style)"
63814 for i in sys/types.h $inttype_headers; do
63815 unset ac_cv_type_u_int32_t
63816 unset ac_cv_type_u_int64_t
63817 $as_echo_n "looking for u_intXX_t types in $i, " >&6
63818 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
63819 #include <$i>
63820 "
63821 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
63822 acx_cv_header_stdint=$i
63823 else
63824 continue
63825 fi
63826
63827 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
63828 #include <$i>
63829 "
63830 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
63831
63832 fi
63833
63834 break
63835 done
63836 fi
63837 if test "$acx_cv_header_stdint" = stddef.h; then
63838 acx_cv_header_stdint_kind="(using manual detection)"
63839 fi
63840
63841 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
63842 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
63843 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
63844 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
63845 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
63846
63847 # ----------------- Summarize what we found so far
63848
63849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
63850 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
63851
63852 case `$as_basename -- include/gstdint.h ||
63853 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
63854 Xinclude/gstdint.h : 'X\(//\)$' \| \
63855 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
63856 $as_echo X/include/gstdint.h |
63857 sed '/^.*\/\([^/][^/]*\)\/*$/{
63858 s//\1/
63859 q
63860 }
63861 /^X\/\(\/\/\)$/{
63862 s//\1/
63863 q
63864 }
63865 /^X\/\(\/\).*/{
63866 s//\1/
63867 q
63868 }
63869 s/.*/./; q'` in
63870 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63871 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63872 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63873 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63874 *) ;;
63875 esac
63876
63877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
63878 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
63879
63880 # ----------------- done included file, check C basic types --------
63881
63882 # Lacking an uintptr_t? Test size of void *
63883 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
63884 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
63885 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63886 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63887 # This bug is HP SR number 8606223364.
63888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
63889 $as_echo_n "checking size of void *... " >&6; }
63890 if test "${ac_cv_sizeof_void_p+set}" = set; then :
63891 $as_echo_n "(cached) " >&6
63892 else
63893 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
63894
63895 else
63896 if test "$ac_cv_type_void_p" = yes; then
63897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63899 { as_fn_set_status 77
63900 as_fn_error "cannot compute sizeof (void *)
63901 See \`config.log' for more details." "$LINENO" 5; }; }
63902 else
63903 ac_cv_sizeof_void_p=0
63904 fi
63905 fi
63906
63907 fi
63908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
63909 $as_echo "$ac_cv_sizeof_void_p" >&6; }
63910
63911
63912
63913 cat >>confdefs.h <<_ACEOF
63914 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
63915 _ACEOF
63916
63917 ;;
63918 esac
63919
63920 # Lacking an uint64_t? Test size of long
63921 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
63922 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
63923 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63924 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63925 # This bug is HP SR number 8606223364.
63926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
63927 $as_echo_n "checking size of long... " >&6; }
63928 if test "${ac_cv_sizeof_long+set}" = set; then :
63929 $as_echo_n "(cached) " >&6
63930 else
63931 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
63932
63933 else
63934 if test "$ac_cv_type_long" = yes; then
63935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63937 { as_fn_set_status 77
63938 as_fn_error "cannot compute sizeof (long)
63939 See \`config.log' for more details." "$LINENO" 5; }; }
63940 else
63941 ac_cv_sizeof_long=0
63942 fi
63943 fi
63944
63945 fi
63946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
63947 $as_echo "$ac_cv_sizeof_long" >&6; }
63948
63949
63950
63951 cat >>confdefs.h <<_ACEOF
63952 #define SIZEOF_LONG $ac_cv_sizeof_long
63953 _ACEOF
63954
63955 ;;
63956 esac
63957
63958 if test $acx_cv_header_stdint = stddef.h; then
63959 # Lacking a good header? Test size of everything and deduce all types.
63960 # The cast to long int works around a bug in the HP C Compiler
63961 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63962 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63963 # This bug is HP SR number 8606223364.
63964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
63965 $as_echo_n "checking size of int... " >&6; }
63966 if test "${ac_cv_sizeof_int+set}" = set; then :
63967 $as_echo_n "(cached) " >&6
63968 else
63969 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
63970
63971 else
63972 if test "$ac_cv_type_int" = yes; then
63973 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63975 { as_fn_set_status 77
63976 as_fn_error "cannot compute sizeof (int)
63977 See \`config.log' for more details." "$LINENO" 5; }; }
63978 else
63979 ac_cv_sizeof_int=0
63980 fi
63981 fi
63982
63983 fi
63984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
63985 $as_echo "$ac_cv_sizeof_int" >&6; }
63986
63987
63988
63989 cat >>confdefs.h <<_ACEOF
63990 #define SIZEOF_INT $ac_cv_sizeof_int
63991 _ACEOF
63992
63993
63994 # The cast to long int works around a bug in the HP C Compiler
63995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63997 # This bug is HP SR number 8606223364.
63998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
63999 $as_echo_n "checking size of short... " >&6; }
64000 if test "${ac_cv_sizeof_short+set}" = set; then :
64001 $as_echo_n "(cached) " >&6
64002 else
64003 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
64004
64005 else
64006 if test "$ac_cv_type_short" = yes; then
64007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64009 { as_fn_set_status 77
64010 as_fn_error "cannot compute sizeof (short)
64011 See \`config.log' for more details." "$LINENO" 5; }; }
64012 else
64013 ac_cv_sizeof_short=0
64014 fi
64015 fi
64016
64017 fi
64018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64019 $as_echo "$ac_cv_sizeof_short" >&6; }
64020
64021
64022
64023 cat >>confdefs.h <<_ACEOF
64024 #define SIZEOF_SHORT $ac_cv_sizeof_short
64025 _ACEOF
64026
64027
64028 # The cast to long int works around a bug in the HP C Compiler
64029 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64030 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64031 # This bug is HP SR number 8606223364.
64032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64033 $as_echo_n "checking size of char... " >&6; }
64034 if test "${ac_cv_sizeof_char+set}" = set; then :
64035 $as_echo_n "(cached) " >&6
64036 else
64037 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
64038
64039 else
64040 if test "$ac_cv_type_char" = yes; then
64041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64043 { as_fn_set_status 77
64044 as_fn_error "cannot compute sizeof (char)
64045 See \`config.log' for more details." "$LINENO" 5; }; }
64046 else
64047 ac_cv_sizeof_char=0
64048 fi
64049 fi
64050
64051 fi
64052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64053 $as_echo "$ac_cv_sizeof_char" >&6; }
64054
64055
64056
64057 cat >>confdefs.h <<_ACEOF
64058 #define SIZEOF_CHAR $ac_cv_sizeof_char
64059 _ACEOF
64060
64061
64062
64063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64064 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64065 case "$ac_cv_sizeof_char" in
64066 1) acx_cv_type_int8_t=char ;;
64067 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64068 esac
64069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64070 $as_echo "$acx_cv_type_int8_t" >&6; }
64071
64072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64073 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64074 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64075 2:*) acx_cv_type_int16_t=int ;;
64076 *:2) acx_cv_type_int16_t=short ;;
64077 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64078 esac
64079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64080 $as_echo "$acx_cv_type_int16_t" >&6; }
64081
64082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64083 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64084 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64085 4:*) acx_cv_type_int32_t=int ;;
64086 *:4) acx_cv_type_int32_t=long ;;
64087 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64088 esac
64089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64090 $as_echo "$acx_cv_type_int32_t" >&6; }
64091 fi
64092
64093 # These tests are here to make the output prettier
64094
64095 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64096 case "$ac_cv_sizeof_long" in
64097 8) acx_cv_type_int64_t=long ;;
64098 esac
64099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64100 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64102 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64103 fi
64104
64105 # Now we can use the above types
64106
64107 if test "$ac_cv_type_uintptr_t" != yes; then
64108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64109 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64110 case $ac_cv_sizeof_void_p in
64111 2) acx_cv_type_intptr_t=int16_t ;;
64112 4) acx_cv_type_intptr_t=int32_t ;;
64113 8) acx_cv_type_intptr_t=int64_t ;;
64114 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64115 esac
64116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64117 $as_echo "$acx_cv_type_intptr_t" >&6; }
64118 fi
64119
64120 # ----------------- done all checks, emit header -------------
64121 ac_config_commands="$ac_config_commands include/gstdint.h"
64122
64123
64124
64125
64126 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
64127
64128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64129 $as_echo_n "checking for GNU c++filt... " >&6; }
64130 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64131 $as_echo_n "(cached) " >&6
64132 else
64133 if test -z "$CXXFILT"; then
64134 ac_path_CXXFILT_found=false
64135 # Loop through the user's path and test for each of PROGNAME-LIST
64136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64137 for as_dir in $PATH
64138 do
64139 IFS=$as_save_IFS
64140 test -z "$as_dir" && as_dir=.
64141 for ac_prog in c++filt gc++filt; do
64142 for ac_exec_ext in '' $ac_executable_extensions; do
64143 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64144 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64145 # Check for GNU $ac_path_CXXFILT
64146 case `"$ac_path_CXXFILT" --version 2>&1` in
64147 *GNU*)
64148 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64149 esac
64150
64151 $ac_path_CXXFILT_found && break 3
64152 done
64153 done
64154 done
64155 IFS=$as_save_IFS
64156 if test -z "$ac_cv_path_CXXFILT"; then
64157 :
64158 fi
64159 else
64160 ac_cv_path_CXXFILT=$CXXFILT
64161 fi
64162
64163 fi
64164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64165 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64166 CXXFILT=$ac_cv_path_CXXFILT
64167
64168
64169
64170 # Check whether --enable-symvers was given.
64171 if test "${enable_symvers+set}" = set; then :
64172 enableval=$enable_symvers;
64173 case "$enableval" in
64174 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64175 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64176 esac
64177
64178 else
64179 enable_symvers=yes
64180 fi
64181
64182
64183
64184 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64185 # don't know enough about $LD to do tricks...
64186
64187 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64188 # with extern "C++" in version scripts.
64189
64190
64191 # Turn a 'yes' into a suitable default.
64192 if test x$enable_symvers = xyes ; then
64193 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64194 enable_symvers=no
64195 else
64196 if test $with_gnu_ld = yes ; then
64197 case ${target_os} in
64198 hpux*)
64199 enable_symvers=no ;;
64200 *)
64201 enable_symvers=gnu ;;
64202 esac
64203 else
64204 case ${target_os} in
64205 darwin*)
64206 enable_symvers=darwin ;;
64207 # Sun symbol versioning exists since Solaris 2.5.
64208 solaris2.[5-9]* | solaris2.1[0-9]*)
64209 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64210 # version scripts, so disable symbol versioning if none can be
64211 # found.
64212 if test -z "$ac_cv_path_CXXFILT"; then
64213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64214 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64216 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64218 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64219 enable_symvers=no
64220 else
64221 enable_symvers=sun
64222 fi
64223 ;;
64224 *)
64225 enable_symvers=no ;;
64226 esac
64227 fi
64228 fi
64229 fi
64230
64231 # Check to see if 'darwin' or 'darwin-export' can win.
64232 if test x$enable_symvers = xdarwin-export ; then
64233 enable_symvers=darwin
64234 fi
64235
64236 # Check if 'sun' was requested on non-Solaris 2 platforms.
64237 if test x$enable_symvers = xsun ; then
64238 case ${target_os} in
64239 solaris2*)
64240 # All fine.
64241 ;;
64242 *)
64243 # Unlikely to work.
64244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64245 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64247 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64249 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64250 enable_symvers=no
64251 ;;
64252 esac
64253 fi
64254
64255 # Check to see if 'gnu' can win.
64256 if test $enable_symvers = gnu ||
64257 test $enable_symvers = gnu-versioned-namespace ||
64258 test $enable_symvers = sun; then
64259 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64261 $as_echo_n "checking for shared libgcc... " >&6; }
64262 ac_save_CFLAGS="$CFLAGS"
64263 CFLAGS=' -lgcc_s'
64264 if test x$gcc_no_link = xyes; then
64265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64266 fi
64267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64268 /* end confdefs.h. */
64269
64270 int
64271 main ()
64272 {
64273 return 0;
64274 ;
64275 return 0;
64276 }
64277 _ACEOF
64278 if ac_fn_c_try_link "$LINENO"; then :
64279 glibcxx_shared_libgcc=yes
64280 else
64281 glibcxx_shared_libgcc=no
64282 fi
64283 rm -f core conftest.err conftest.$ac_objext \
64284 conftest$ac_exeext conftest.$ac_ext
64285 CFLAGS="$ac_save_CFLAGS"
64286 if test $glibcxx_shared_libgcc = no; then
64287 cat > conftest.c <<EOF
64288 int main (void) { return 0; }
64289 EOF
64290 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64291 -shared -shared-libgcc -o conftest.so \
64292 conftest.c -v 2>&1 >/dev/null \
64293 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64294 rm -f conftest.c conftest.so
64295 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64296 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64297 if test x$gcc_no_link = xyes; then
64298 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64299 fi
64300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64301 /* end confdefs.h. */
64302
64303 int
64304 main ()
64305 {
64306 return 0;
64307 ;
64308 return 0;
64309 }
64310 _ACEOF
64311 if ac_fn_c_try_link "$LINENO"; then :
64312 glibcxx_shared_libgcc=yes
64313 fi
64314 rm -f core conftest.err conftest.$ac_objext \
64315 conftest$ac_exeext conftest.$ac_ext
64316 CFLAGS="$ac_save_CFLAGS"
64317 fi
64318 fi
64319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64320 $as_echo "$glibcxx_shared_libgcc" >&6; }
64321
64322 # For GNU ld, we need at least this version. The format is described in
64323 # GLIBCXX_CHECK_LINKER_FEATURES above.
64324 glibcxx_min_gnu_ld_version=21400
64325
64326 # If no shared libgcc, can't win.
64327 if test $glibcxx_shared_libgcc != yes; then
64328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64329 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64331 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64333 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64334 enable_symvers=no
64335 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64336 : All interesting versions of Sun ld support sun style symbol versioning.
64337 elif test $with_gnu_ld != yes ; then
64338 # just fail for now
64339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64340 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64342 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64344 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64345 enable_symvers=no
64346 elif test $glibcxx_ld_is_gold = yes ; then
64347 : All versions of gold support symbol versioning.
64348 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64349 # The right tools, the right setup, but too old. Fallbacks?
64350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64351 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64353 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64355 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64357 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64359 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64360 enable_symvers=no
64361 fi
64362 fi
64363
64364 # Everything parsed; figure out what file to use.
64365 case $enable_symvers in
64366 no)
64367 SYMVER_FILE=config/abi/pre/none.ver
64368 ;;
64369 gnu)
64370 SYMVER_FILE=config/abi/pre/gnu.ver
64371
64372 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64373
64374 ;;
64375 gnu-versioned-namespace)
64376 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64377
64378 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64379
64380 ;;
64381 darwin)
64382 SYMVER_FILE=config/abi/pre/gnu.ver
64383
64384 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64385
64386 ;;
64387 sun)
64388 SYMVER_FILE=config/abi/pre/gnu.ver
64389
64390 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64391
64392 ;;
64393 esac
64394
64395 if test x$enable_symvers != xno ; then
64396
64397 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64398
64399 fi
64400
64401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64402 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64403 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64404 $as_echo_n "(cached) " >&6
64405 else
64406
64407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64408 /* end confdefs.h. */
64409 void foo (void); __asm (".symver foo, bar@SYMVER");
64410 int
64411 main ()
64412 {
64413
64414 ;
64415 return 0;
64416 }
64417 _ACEOF
64418 if ac_fn_c_try_compile "$LINENO"; then :
64419 glibcxx_cv_have_as_symver_directive=yes
64420 else
64421 glibcxx_cv_have_as_symver_directive=no
64422 fi
64423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64424 fi
64425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64426 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64427 if test $glibcxx_cv_have_as_symver_directive = yes; then
64428
64429 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64430
64431 fi
64432
64433
64434
64435
64436
64437
64438
64439
64440 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64441 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64442
64443 if test $enable_symvers != no ; then
64444 case ${target_os} in
64445 # The Solaris 2 runtime linker doesn't support the GNU extension of
64446 # binding the same symbol to different versions
64447 solaris2*)
64448 symvers_renaming=no ;;
64449 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64450 *)
64451
64452 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64453
64454 symvers_renaming=yes ;;
64455 esac
64456 else
64457 symvers_renaming=no
64458 fi
64459
64460
64461 # Now, set up compatibility support, if any.
64462 # In addition, need this to deal with std::size_t mangling in
64463 # src/compatibility.cc. In a perfect world, could use
64464 # typeid(std::size_t).name()[0] to do direct substitution.
64465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64466 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64467 ac_save_CFLAGS="$CFLAGS"
64468 CFLAGS="-Werror"
64469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64470 /* end confdefs.h. */
64471
64472 int
64473 main ()
64474 {
64475 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64476 ;
64477 return 0;
64478 }
64479 _ACEOF
64480 if ac_fn_c_try_compile "$LINENO"; then :
64481 glibcxx_size_t_is_i=yes
64482 else
64483 glibcxx_size_t_is_i=no
64484 fi
64485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64486 CFLAGS=$ac_save_CFLAGS
64487 if test "$glibcxx_size_t_is_i" = yes; then
64488
64489 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64490
64491 fi
64492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64493 $as_echo "$glibcxx_size_t_is_i" >&6; }
64494
64495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64496 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64497 ac_save_CFLAGS="$CFLAGS"
64498 CFLAGS="-Werror"
64499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64500 /* end confdefs.h. */
64501
64502 int
64503 main ()
64504 {
64505 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64506 ;
64507 return 0;
64508 }
64509 _ACEOF
64510 if ac_fn_c_try_compile "$LINENO"; then :
64511 glibcxx_ptrdiff_t_is_i=yes
64512 else
64513 glibcxx_ptrdiff_t_is_i=no
64514 fi
64515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64516 CFLAGS=$ac_save_CFLAGS
64517 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64518
64519 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64520
64521 fi
64522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64523 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64524
64525
64526 # Check whether --enable-visibility was given.
64527 if test "${enable_visibility+set}" = set; then :
64528 enableval=$enable_visibility;
64529 case "$enableval" in
64530 yes|no) ;;
64531 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64532 esac
64533
64534 else
64535 enable_visibility=yes
64536 fi
64537
64538
64539
64540 if test x$enable_visibility = xyes ; then
64541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64542 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64543 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64544 $as_echo_n "(cached) " >&6
64545 else
64546
64547 save_CFLAGS="$CFLAGS"
64548 CFLAGS="$CFLAGS -Werror"
64549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64550 /* end confdefs.h. */
64551 void __attribute__((visibility("hidden"))) foo(void) { }
64552 int
64553 main ()
64554 {
64555
64556 ;
64557 return 0;
64558 }
64559 _ACEOF
64560 if ac_fn_c_try_compile "$LINENO"; then :
64561 glibcxx_cv_have_attribute_visibility=yes
64562 else
64563 glibcxx_cv_have_attribute_visibility=no
64564 fi
64565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64566 CFLAGS="$save_CFLAGS"
64567 fi
64568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64569 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64570 if test $glibcxx_cv_have_attribute_visibility = no; then
64571 enable_visibility=no
64572 fi
64573 fi
64574
64575
64576 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64577 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64578
64579
64580 ac_ldbl_compat=no
64581 case "$target" in
64582 powerpc*-*-linux* | \
64583 sparc*-*-linux* | \
64584 s390*-*-linux* | \
64585 alpha*-*-linux*)
64586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64587 /* end confdefs.h. */
64588
64589 int
64590 main ()
64591 {
64592
64593 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64594 #error no need for long double compatibility
64595 #endif
64596
64597 ;
64598 return 0;
64599 }
64600 _ACEOF
64601 if ac_fn_c_try_compile "$LINENO"; then :
64602 ac_ldbl_compat=yes
64603 else
64604 ac_ldbl_compat=no
64605 fi
64606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64607 if test "$ac_ldbl_compat" = yes; then
64608
64609 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64610
64611 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64612 fi
64613 esac
64614
64615
64616 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64617
64618 if $GLIBCXX_IS_NATIVE ; then
64619 # Do checks for resource limit functions.
64620
64621 setrlimit_have_headers=yes
64622 for ac_header in unistd.h sys/time.h sys/resource.h
64623 do :
64624 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
64625 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
64626 eval as_val=\$$as_ac_Header
64627 if test "x$as_val" = x""yes; then :
64628 cat >>confdefs.h <<_ACEOF
64629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
64630 _ACEOF
64631
64632 else
64633 setrlimit_have_headers=no
64634 fi
64635
64636 done
64637
64638 # If don't have the headers, then we can't run the tests now, and we
64639 # won't be seeing any of these during testsuite compilation.
64640 if test $setrlimit_have_headers = yes; then
64641 # Can't do these in a loop, else the resulting syntax is wrong.
64642
64643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
64644 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
64645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64646 /* end confdefs.h. */
64647 #include <unistd.h>
64648 #include <sys/time.h>
64649 #include <sys/resource.h>
64650
64651 int
64652 main ()
64653 {
64654 int f = RLIMIT_DATA ;
64655 ;
64656 return 0;
64657 }
64658 _ACEOF
64659 if ac_fn_c_try_compile "$LINENO"; then :
64660 glibcxx_mresult=1
64661 else
64662 glibcxx_mresult=0
64663 fi
64664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64665
64666 cat >>confdefs.h <<_ACEOF
64667 #define HAVE_LIMIT_DATA $glibcxx_mresult
64668 _ACEOF
64669
64670 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64672 $as_echo "$res" >&6; }
64673
64674
64675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
64676 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
64677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64678 /* end confdefs.h. */
64679 #include <unistd.h>
64680 #include <sys/time.h>
64681 #include <sys/resource.h>
64682
64683 int
64684 main ()
64685 {
64686 int f = RLIMIT_RSS ;
64687 ;
64688 return 0;
64689 }
64690 _ACEOF
64691 if ac_fn_c_try_compile "$LINENO"; then :
64692 glibcxx_mresult=1
64693 else
64694 glibcxx_mresult=0
64695 fi
64696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64697
64698 cat >>confdefs.h <<_ACEOF
64699 #define HAVE_LIMIT_RSS $glibcxx_mresult
64700 _ACEOF
64701
64702 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64704 $as_echo "$res" >&6; }
64705
64706
64707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
64708 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
64709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64710 /* end confdefs.h. */
64711 #include <unistd.h>
64712 #include <sys/time.h>
64713 #include <sys/resource.h>
64714
64715 int
64716 main ()
64717 {
64718 int f = RLIMIT_VMEM ;
64719 ;
64720 return 0;
64721 }
64722 _ACEOF
64723 if ac_fn_c_try_compile "$LINENO"; then :
64724 glibcxx_mresult=1
64725 else
64726 glibcxx_mresult=0
64727 fi
64728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64729
64730 cat >>confdefs.h <<_ACEOF
64731 #define HAVE_LIMIT_VMEM $glibcxx_mresult
64732 _ACEOF
64733
64734 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64736 $as_echo "$res" >&6; }
64737
64738
64739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
64740 $as_echo_n "checking for RLIMIT_AS... " >&6; }
64741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64742 /* end confdefs.h. */
64743 #include <unistd.h>
64744 #include <sys/time.h>
64745 #include <sys/resource.h>
64746
64747 int
64748 main ()
64749 {
64750 int f = RLIMIT_AS ;
64751 ;
64752 return 0;
64753 }
64754 _ACEOF
64755 if ac_fn_c_try_compile "$LINENO"; then :
64756 glibcxx_mresult=1
64757 else
64758 glibcxx_mresult=0
64759 fi
64760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64761
64762 cat >>confdefs.h <<_ACEOF
64763 #define HAVE_LIMIT_AS $glibcxx_mresult
64764 _ACEOF
64765
64766 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64768 $as_echo "$res" >&6; }
64769
64770
64771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
64772 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
64773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64774 /* end confdefs.h. */
64775 #include <unistd.h>
64776 #include <sys/time.h>
64777 #include <sys/resource.h>
64778
64779 int
64780 main ()
64781 {
64782 int f = RLIMIT_FSIZE ;
64783 ;
64784 return 0;
64785 }
64786 _ACEOF
64787 if ac_fn_c_try_compile "$LINENO"; then :
64788 glibcxx_mresult=1
64789 else
64790 glibcxx_mresult=0
64791 fi
64792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64793
64794 cat >>confdefs.h <<_ACEOF
64795 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
64796 _ACEOF
64797
64798 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64800 $as_echo "$res" >&6; }
64801
64802
64803 # Check for rlimit, setrlimit.
64804 if test "${glibcxx_cv_setrlimit+set}" = set; then :
64805 $as_echo_n "(cached) " >&6
64806 else
64807
64808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64809 /* end confdefs.h. */
64810 #include <unistd.h>
64811 #include <sys/time.h>
64812 #include <sys/resource.h>
64813
64814 int
64815 main ()
64816 {
64817 struct rlimit r;
64818 setrlimit(0, &r);
64819 ;
64820 return 0;
64821 }
64822 _ACEOF
64823 if ac_fn_c_try_compile "$LINENO"; then :
64824 glibcxx_cv_setrlimit=yes
64825 else
64826 glibcxx_cv_setrlimit=no
64827 fi
64828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64829
64830 fi
64831
64832 fi
64833
64834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
64835 $as_echo_n "checking for testsuite resource limits support... " >&6; }
64836 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
64837 ac_res_limits=yes
64838
64839 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
64840
64841 else
64842 ac_res_limits=no
64843 fi
64844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
64845 $as_echo "$ac_res_limits" >&6; }
64846
64847
64848 # Look for setenv, so that extended locale tests can be performed.
64849
64850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
64851 $as_echo_n "checking for setenv declaration... " >&6; }
64852 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
64853 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
64854 $as_echo_n "(cached) " >&6
64855 else
64856
64857
64858 ac_ext=cpp
64859 ac_cpp='$CXXCPP $CPPFLAGS'
64860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64863
64864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64865 /* end confdefs.h. */
64866 #include <stdlib.h>
64867 int
64868 main ()
64869 {
64870 setenv(0, 0, 0);
64871 ;
64872 return 0;
64873 }
64874 _ACEOF
64875 if ac_fn_cxx_try_compile "$LINENO"; then :
64876 glibcxx_cv_func_setenv_use=yes
64877 else
64878 glibcxx_cv_func_setenv_use=no
64879 fi
64880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64881 ac_ext=c
64882 ac_cpp='$CPP $CPPFLAGS'
64883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64886
64887
64888 fi
64889
64890 fi
64891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
64892 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
64893 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
64894 for ac_func in setenv
64895 do :
64896 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
64897 if test "x$ac_cv_func_setenv" = x""yes; then :
64898 cat >>confdefs.h <<_ACEOF
64899 #define HAVE_SETENV 1
64900 _ACEOF
64901
64902 fi
64903 done
64904
64905 fi
64906
64907 fi
64908
64909 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
64910 test $enable_symvers != no; then
64911 case "$host" in
64912 *-*-cygwin*)
64913 enable_abi_check=no ;;
64914 *)
64915 enable_abi_check=yes ;;
64916 esac
64917 else
64918 # Only build this as native, since automake does not understand
64919 # CXX_FOR_BUILD.
64920 enable_abi_check=no
64921 fi
64922
64923 # Export file names for ABI checking.
64924 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
64925
64926 baseline_subdir_switch="$abi_baseline_subdir_switch"
64927
64928
64929
64930 # Define documentation rules conditionally.
64931
64932 # See if makeinfo has been installed and is modern enough
64933 # that we can use it.
64934
64935 # Extract the first word of "makeinfo", so it can be a program name with args.
64936 set dummy makeinfo; ac_word=$2
64937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64938 $as_echo_n "checking for $ac_word... " >&6; }
64939 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
64940 $as_echo_n "(cached) " >&6
64941 else
64942 if test -n "$MAKEINFO"; then
64943 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
64944 else
64945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64946 for as_dir in $PATH
64947 do
64948 IFS=$as_save_IFS
64949 test -z "$as_dir" && as_dir=.
64950 for ac_exec_ext in '' $ac_executable_extensions; do
64951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64952 ac_cv_prog_MAKEINFO="makeinfo"
64953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64954 break 2
64955 fi
64956 done
64957 done
64958 IFS=$as_save_IFS
64959
64960 fi
64961 fi
64962 MAKEINFO=$ac_cv_prog_MAKEINFO
64963 if test -n "$MAKEINFO"; then
64964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
64965 $as_echo "$MAKEINFO" >&6; }
64966 else
64967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64968 $as_echo "no" >&6; }
64969 fi
64970
64971
64972 if test -n "$MAKEINFO"; then
64973 # Found it, now check the version.
64974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
64975 $as_echo_n "checking for modern makeinfo... " >&6; }
64976 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
64977 $as_echo_n "(cached) " >&6
64978 else
64979 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
64980 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
64981
64982 case $ac_prog_version in
64983 '') gcc_cv_prog_makeinfo_modern=no;;
64984 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
64985 *) gcc_cv_prog_makeinfo_modern=no;;
64986 esac
64987
64988 fi
64989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
64990 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
64991 else
64992 gcc_cv_prog_makeinfo_modern=no
64993 fi
64994 if test $gcc_cv_prog_makeinfo_modern = no; then
64995 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
64996 fi
64997
64998 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
64999 BUILD_INFO_TRUE=
65000 BUILD_INFO_FALSE='#'
65001 else
65002 BUILD_INFO_TRUE='#'
65003 BUILD_INFO_FALSE=
65004 fi
65005
65006
65007 # Check for doxygen
65008 # Extract the first word of "doxygen", so it can be a program name with args.
65009 set dummy doxygen; ac_word=$2
65010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65011 $as_echo_n "checking for $ac_word... " >&6; }
65012 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65013 $as_echo_n "(cached) " >&6
65014 else
65015 if test -n "$DOXYGEN"; then
65016 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65017 else
65018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65019 for as_dir in $PATH
65020 do
65021 IFS=$as_save_IFS
65022 test -z "$as_dir" && as_dir=.
65023 for ac_exec_ext in '' $ac_executable_extensions; do
65024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65025 ac_cv_prog_DOXYGEN="yes"
65026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65027 break 2
65028 fi
65029 done
65030 done
65031 IFS=$as_save_IFS
65032
65033 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65034 fi
65035 fi
65036 DOXYGEN=$ac_cv_prog_DOXYGEN
65037 if test -n "$DOXYGEN"; then
65038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65039 $as_echo "$DOXYGEN" >&6; }
65040 else
65041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65042 $as_echo "no" >&6; }
65043 fi
65044
65045
65046 # Extract the first word of "dot", so it can be a program name with args.
65047 set dummy dot; ac_word=$2
65048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65049 $as_echo_n "checking for $ac_word... " >&6; }
65050 if test "${ac_cv_prog_DOT+set}" = set; then :
65051 $as_echo_n "(cached) " >&6
65052 else
65053 if test -n "$DOT"; then
65054 ac_cv_prog_DOT="$DOT" # Let the user override the test.
65055 else
65056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65057 for as_dir in $PATH
65058 do
65059 IFS=$as_save_IFS
65060 test -z "$as_dir" && as_dir=.
65061 for ac_exec_ext in '' $ac_executable_extensions; do
65062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65063 ac_cv_prog_DOT="yes"
65064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65065 break 2
65066 fi
65067 done
65068 done
65069 IFS=$as_save_IFS
65070
65071 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65072 fi
65073 fi
65074 DOT=$ac_cv_prog_DOT
65075 if test -n "$DOT"; then
65076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65077 $as_echo "$DOT" >&6; }
65078 else
65079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65080 $as_echo "no" >&6; }
65081 fi
65082
65083
65084
65085 # Check for docbook
65086 # Extract the first word of "xsltproc", so it can be a program name with args.
65087 set dummy xsltproc; ac_word=$2
65088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65089 $as_echo_n "checking for $ac_word... " >&6; }
65090 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65091 $as_echo_n "(cached) " >&6
65092 else
65093 if test -n "$XSLTPROC"; then
65094 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65095 else
65096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65097 for as_dir in $PATH
65098 do
65099 IFS=$as_save_IFS
65100 test -z "$as_dir" && as_dir=.
65101 for ac_exec_ext in '' $ac_executable_extensions; do
65102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65103 ac_cv_prog_XSLTPROC="yes"
65104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65105 break 2
65106 fi
65107 done
65108 done
65109 IFS=$as_save_IFS
65110
65111 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65112 fi
65113 fi
65114 XSLTPROC=$ac_cv_prog_XSLTPROC
65115 if test -n "$XSLTPROC"; then
65116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65117 $as_echo "$XSLTPROC" >&6; }
65118 else
65119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65120 $as_echo "no" >&6; }
65121 fi
65122
65123
65124 # Extract the first word of "xmllint", so it can be a program name with args.
65125 set dummy xmllint; ac_word=$2
65126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65127 $as_echo_n "checking for $ac_word... " >&6; }
65128 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65129 $as_echo_n "(cached) " >&6
65130 else
65131 if test -n "$XMLLINT"; then
65132 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65133 else
65134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65135 for as_dir in $PATH
65136 do
65137 IFS=$as_save_IFS
65138 test -z "$as_dir" && as_dir=.
65139 for ac_exec_ext in '' $ac_executable_extensions; do
65140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65141 ac_cv_prog_XMLLINT="yes"
65142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65143 break 2
65144 fi
65145 done
65146 done
65147 IFS=$as_save_IFS
65148
65149 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65150 fi
65151 fi
65152 XMLLINT=$ac_cv_prog_XMLLINT
65153 if test -n "$XMLLINT"; then
65154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65155 $as_echo "$XMLLINT" >&6; }
65156 else
65157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65158 $as_echo "no" >&6; }
65159 fi
65160
65161
65162
65163
65164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65165 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65166 glibcxx_stylesheets=no
65167 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
65168 glibcxx_stylesheets=yes
65169 fi
65170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65171 $as_echo "$glibcxx_stylesheets" >&6; }
65172
65173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65174 $as_echo_n "checking for local stylesheet directory... " >&6; }
65175 glibcxx_local_stylesheets=no
65176 if test x"$glibcxx_stylesheets" = x"yes"; then
65177 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65178 glibcxx_local_stylesheets=yes
65179 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65180 fi
65181 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65182 glibcxx_local_stylesheets=yes
65183 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65184 fi
65185 fi
65186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65187 $as_echo "$glibcxx_local_stylesheets" >&6; }
65188
65189 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65190
65191 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65192 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65193 else
65194 glibcxx_stylesheets=no
65195 fi
65196
65197
65198 # Check for xml/html dependencies.
65199 if test $ac_cv_prog_DOXYGEN = "yes" &&
65200 test $ac_cv_prog_DOT = "yes" &&
65201 test $ac_cv_prog_XSLTPROC = "yes" &&
65202 test $ac_cv_prog_XMLLINT = "yes" &&
65203 test $glibcxx_stylesheets = "yes"; then
65204 BUILD_XML_TRUE=
65205 BUILD_XML_FALSE='#'
65206 else
65207 BUILD_XML_TRUE='#'
65208 BUILD_XML_FALSE=
65209 fi
65210
65211
65212 if test $ac_cv_prog_DOXYGEN = "yes" &&
65213 test $ac_cv_prog_DOT = "yes" &&
65214 test $ac_cv_prog_XSLTPROC = "yes" &&
65215 test $ac_cv_prog_XMLLINT = "yes" &&
65216 test $glibcxx_stylesheets = "yes"; then
65217 BUILD_HTML_TRUE=
65218 BUILD_HTML_FALSE='#'
65219 else
65220 BUILD_HTML_TRUE='#'
65221 BUILD_HTML_FALSE=
65222 fi
65223
65224
65225 # Check for man dependencies.
65226 if test $ac_cv_prog_DOXYGEN = "yes" &&
65227 test $ac_cv_prog_DOT = "yes"; then
65228 BUILD_MAN_TRUE=
65229 BUILD_MAN_FALSE='#'
65230 else
65231 BUILD_MAN_TRUE='#'
65232 BUILD_MAN_FALSE=
65233 fi
65234
65235
65236 # Check for pdf/epub dependencies.
65237 # Extract the first word of "dblatex", so it can be a program name with args.
65238 set dummy dblatex; ac_word=$2
65239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65240 $as_echo_n "checking for $ac_word... " >&6; }
65241 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65242 $as_echo_n "(cached) " >&6
65243 else
65244 if test -n "$DBLATEX"; then
65245 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65246 else
65247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65248 for as_dir in $PATH
65249 do
65250 IFS=$as_save_IFS
65251 test -z "$as_dir" && as_dir=.
65252 for ac_exec_ext in '' $ac_executable_extensions; do
65253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65254 ac_cv_prog_DBLATEX="yes"
65255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65256 break 2
65257 fi
65258 done
65259 done
65260 IFS=$as_save_IFS
65261
65262 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65263 fi
65264 fi
65265 DBLATEX=$ac_cv_prog_DBLATEX
65266 if test -n "$DBLATEX"; then
65267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65268 $as_echo "$DBLATEX" >&6; }
65269 else
65270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65271 $as_echo "no" >&6; }
65272 fi
65273
65274
65275 # Extract the first word of "pdflatex", so it can be a program name with args.
65276 set dummy pdflatex; ac_word=$2
65277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65278 $as_echo_n "checking for $ac_word... " >&6; }
65279 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65280 $as_echo_n "(cached) " >&6
65281 else
65282 if test -n "$PDFLATEX"; then
65283 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65284 else
65285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65286 for as_dir in $PATH
65287 do
65288 IFS=$as_save_IFS
65289 test -z "$as_dir" && as_dir=.
65290 for ac_exec_ext in '' $ac_executable_extensions; do
65291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65292 ac_cv_prog_PDFLATEX="yes"
65293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65294 break 2
65295 fi
65296 done
65297 done
65298 IFS=$as_save_IFS
65299
65300 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65301 fi
65302 fi
65303 PDFLATEX=$ac_cv_prog_PDFLATEX
65304 if test -n "$PDFLATEX"; then
65305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65306 $as_echo "$PDFLATEX" >&6; }
65307 else
65308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65309 $as_echo "no" >&6; }
65310 fi
65311
65312
65313 if test $ac_cv_prog_DBLATEX = "yes" &&
65314 test $ac_cv_prog_PDFLATEX = "yes"; then
65315 BUILD_PDF_TRUE=
65316 BUILD_PDF_FALSE='#'
65317 else
65318 BUILD_PDF_TRUE='#'
65319 BUILD_PDF_FALSE=
65320 fi
65321
65322
65323 # Extract the first word of "ruby", so it can be a program name with args.
65324 set dummy ruby; ac_word=$2
65325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65326 $as_echo_n "checking for $ac_word... " >&6; }
65327 if test "${ac_cv_prog_RUBY+set}" = set; then :
65328 $as_echo_n "(cached) " >&6
65329 else
65330 if test -n "$RUBY"; then
65331 ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65332 else
65333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65334 for as_dir in $PATH
65335 do
65336 IFS=$as_save_IFS
65337 test -z "$as_dir" && as_dir=.
65338 for ac_exec_ext in '' $ac_executable_extensions; do
65339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65340 ac_cv_prog_RUBY="yes"
65341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65342 break 2
65343 fi
65344 done
65345 done
65346 IFS=$as_save_IFS
65347
65348 test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65349 fi
65350 fi
65351 RUBY=$ac_cv_prog_RUBY
65352 if test -n "$RUBY"; then
65353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65354 $as_echo "$RUBY" >&6; }
65355 else
65356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65357 $as_echo "no" >&6; }
65358 fi
65359
65360
65361 # Extract the first word of "dbtoepub", so it can be a program name with args.
65362 set dummy dbtoepub; ac_word=$2
65363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65364 $as_echo_n "checking for $ac_word... " >&6; }
65365 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65366 $as_echo_n "(cached) " >&6
65367 else
65368 if test -n "$DBTOEPUB"; then
65369 ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65370 else
65371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65372 for as_dir in $PATH
65373 do
65374 IFS=$as_save_IFS
65375 test -z "$as_dir" && as_dir=.
65376 for ac_exec_ext in '' $ac_executable_extensions; do
65377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65378 ac_cv_prog_DBTOEPUB="yes"
65379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65380 break 2
65381 fi
65382 done
65383 done
65384 IFS=$as_save_IFS
65385
65386 test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65387 fi
65388 fi
65389 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65390 if test -n "$DBTOEPUB"; then
65391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65392 $as_echo "$DBTOEPUB" >&6; }
65393 else
65394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65395 $as_echo "no" >&6; }
65396 fi
65397
65398
65399 if test $ac_cv_prog_RUBY = "yes" &&
65400 test $ac_cv_prog_DBTOEPUB = "yes"; then
65401 BUILD_EPUB_TRUE=
65402 BUILD_EPUB_FALSE='#'
65403 else
65404 BUILD_EPUB_TRUE='#'
65405 BUILD_EPUB_FALSE=
65406 fi
65407
65408
65409
65410 # Propagate the target-specific source directories through the build chain.
65411 ATOMICITY_SRCDIR=config/${atomicity_dir}
65412 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65413 ATOMIC_FLAGS=${atomic_flags}
65414 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65415 OS_INC_SRCDIR=config/${os_include_dir}
65416 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65417 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65418
65419
65420
65421
65422
65423
65424
65425
65426
65427 # Determine cross-compile flags and AM_CONDITIONALs.
65428 #AC_SUBST(GLIBCXX_IS_NATIVE)
65429 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65430 if test $is_hosted = yes; then
65431 GLIBCXX_HOSTED_TRUE=
65432 GLIBCXX_HOSTED_FALSE='#'
65433 else
65434 GLIBCXX_HOSTED_TRUE='#'
65435 GLIBCXX_HOSTED_FALSE=
65436 fi
65437
65438
65439 if test $enable_libstdcxx_pch = yes; then
65440 GLIBCXX_BUILD_PCH_TRUE=
65441 GLIBCXX_BUILD_PCH_FALSE='#'
65442 else
65443 GLIBCXX_BUILD_PCH_TRUE='#'
65444 GLIBCXX_BUILD_PCH_FALSE=
65445 fi
65446
65447
65448 if test $enable_cheaders = c; then
65449 GLIBCXX_C_HEADERS_C_TRUE=
65450 GLIBCXX_C_HEADERS_C_FALSE='#'
65451 else
65452 GLIBCXX_C_HEADERS_C_TRUE='#'
65453 GLIBCXX_C_HEADERS_C_FALSE=
65454 fi
65455
65456
65457 if test $enable_cheaders = c_std; then
65458 GLIBCXX_C_HEADERS_C_STD_TRUE=
65459 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65460 else
65461 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65462 GLIBCXX_C_HEADERS_C_STD_FALSE=
65463 fi
65464
65465
65466 if test $enable_cheaders = c_global; then
65467 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65468 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65469 else
65470 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65471 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65472 fi
65473
65474
65475 if test $c_compatibility = yes; then
65476 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65477 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65478 else
65479 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65480 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65481 fi
65482
65483
65484 if test $enable_libstdcxx_debug = yes; then
65485 GLIBCXX_BUILD_DEBUG_TRUE=
65486 GLIBCXX_BUILD_DEBUG_FALSE='#'
65487 else
65488 GLIBCXX_BUILD_DEBUG_TRUE='#'
65489 GLIBCXX_BUILD_DEBUG_FALSE=
65490 fi
65491
65492
65493 if test $enable_parallel = yes; then
65494 ENABLE_PARALLEL_TRUE=
65495 ENABLE_PARALLEL_FALSE='#'
65496 else
65497 ENABLE_PARALLEL_TRUE='#'
65498 ENABLE_PARALLEL_FALSE=
65499 fi
65500
65501
65502 if test $enable_extern_template = yes; then
65503 ENABLE_EXTERN_TEMPLATE_TRUE=
65504 ENABLE_EXTERN_TEMPLATE_FALSE='#'
65505 else
65506 ENABLE_EXTERN_TEMPLATE_TRUE='#'
65507 ENABLE_EXTERN_TEMPLATE_FALSE=
65508 fi
65509
65510
65511 if test $enable_symvers != no; then
65512 ENABLE_SYMVERS_TRUE=
65513 ENABLE_SYMVERS_FALSE='#'
65514 else
65515 ENABLE_SYMVERS_TRUE='#'
65516 ENABLE_SYMVERS_FALSE=
65517 fi
65518
65519
65520 if test $enable_symvers = gnu; then
65521 ENABLE_SYMVERS_GNU_TRUE=
65522 ENABLE_SYMVERS_GNU_FALSE='#'
65523 else
65524 ENABLE_SYMVERS_GNU_TRUE='#'
65525 ENABLE_SYMVERS_GNU_FALSE=
65526 fi
65527
65528
65529 if test $enable_symvers = gnu-versioned-namespace; then
65530 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65531 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65532 else
65533 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65534 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65535 fi
65536
65537
65538 if test $enable_symvers = darwin; then
65539 ENABLE_SYMVERS_DARWIN_TRUE=
65540 ENABLE_SYMVERS_DARWIN_FALSE='#'
65541 else
65542 ENABLE_SYMVERS_DARWIN_TRUE='#'
65543 ENABLE_SYMVERS_DARWIN_FALSE=
65544 fi
65545
65546
65547 if test $enable_symvers = sun; then
65548 ENABLE_SYMVERS_SUN_TRUE=
65549 ENABLE_SYMVERS_SUN_FALSE='#'
65550 else
65551 ENABLE_SYMVERS_SUN_TRUE='#'
65552 ENABLE_SYMVERS_SUN_FALSE=
65553 fi
65554
65555
65556 if test $symvers_renaming = no; then
65557 ENABLE_SYMVERS_SOL2_TRUE=
65558 ENABLE_SYMVERS_SOL2_FALSE='#'
65559 else
65560 ENABLE_SYMVERS_SOL2_TRUE='#'
65561 ENABLE_SYMVERS_SOL2_FALSE=
65562 fi
65563
65564
65565 if test $enable_visibility = yes; then
65566 ENABLE_VISIBILITY_TRUE=
65567 ENABLE_VISIBILITY_FALSE='#'
65568 else
65569 ENABLE_VISIBILITY_TRUE='#'
65570 ENABLE_VISIBILITY_FALSE=
65571 fi
65572
65573
65574 if test $ac_ldbl_compat = yes; then
65575 GLIBCXX_LDBL_COMPAT_TRUE=
65576 GLIBCXX_LDBL_COMPAT_FALSE='#'
65577 else
65578 GLIBCXX_LDBL_COMPAT_TRUE='#'
65579 GLIBCXX_LDBL_COMPAT_FALSE=
65580 fi
65581
65582
65583
65584
65585 cat >confcache <<\_ACEOF
65586 # This file is a shell script that caches the results of configure
65587 # tests run on this system so they can be shared between configure
65588 # scripts and configure runs, see configure's option --config-cache.
65589 # It is not useful on other systems. If it contains results you don't
65590 # want to keep, you may remove or edit it.
65591 #
65592 # config.status only pays attention to the cache file if you give it
65593 # the --recheck option to rerun configure.
65594 #
65595 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65596 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65597 # following values.
65598
65599 _ACEOF
65600
65601 # The following way of writing the cache mishandles newlines in values,
65602 # but we know of no workaround that is simple, portable, and efficient.
65603 # So, we kill variables containing newlines.
65604 # Ultrix sh set writes to stderr and can't be redirected directly,
65605 # and sets the high bit in the cache file unless we assign to the vars.
65606 (
65607 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65608 eval ac_val=\$$ac_var
65609 case $ac_val in #(
65610 *${as_nl}*)
65611 case $ac_var in #(
65612 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65613 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65614 esac
65615 case $ac_var in #(
65616 _ | IFS | as_nl) ;; #(
65617 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65618 *) { eval $ac_var=; unset $ac_var;} ;;
65619 esac ;;
65620 esac
65621 done
65622
65623 (set) 2>&1 |
65624 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65625 *${as_nl}ac_space=\ *)
65626 # `set' does not quote correctly, so add quotes: double-quote
65627 # substitution turns \\\\ into \\, and sed turns \\ into \.
65628 sed -n \
65629 "s/'/'\\\\''/g;
65630 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65631 ;; #(
65632 *)
65633 # `set' quotes correctly as required by POSIX, so do not add quotes.
65634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65635 ;;
65636 esac |
65637 sort
65638 ) |
65639 sed '
65640 /^ac_cv_env_/b end
65641 t clear
65642 :clear
65643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65644 t end
65645 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65646 :end' >>confcache
65647 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65648 if test -w "$cache_file"; then
65649 test "x$cache_file" != "x/dev/null" &&
65650 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65651 $as_echo "$as_me: updating cache $cache_file" >&6;}
65652 cat confcache >$cache_file
65653 else
65654 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65655 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65656 fi
65657 fi
65658 rm -f confcache
65659
65660 if test ${multilib} = yes; then
65661 multilib_arg="--enable-multilib"
65662 else
65663 multilib_arg=
65664 fi
65665
65666 # Export all the install information.
65667
65668 glibcxx_toolexecdir=no
65669 glibcxx_toolexeclibdir=no
65670 glibcxx_prefixdir=$prefix
65671
65672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
65673 $as_echo_n "checking for gxx-include-dir... " >&6; }
65674
65675 # Check whether --with-gxx-include-dir was given.
65676 if test "${with_gxx_include_dir+set}" = set; then :
65677 withval=$with_gxx_include_dir; case "$withval" in
65678 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
65679 no) gxx_include_dir=no ;;
65680 *) gxx_include_dir=$withval ;;
65681 esac
65682 else
65683 gxx_include_dir=no
65684 fi
65685
65686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65687 $as_echo "$gxx_include_dir" >&6; }
65688
65689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
65690 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
65691 # Check whether --enable-version-specific-runtime-libs was given.
65692 if test "${enable_version_specific_runtime_libs+set}" = set; then :
65693 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
65694 yes) version_specific_libs=yes ;;
65695 no) version_specific_libs=no ;;
65696 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
65697 esac
65698 else
65699 version_specific_libs=no
65700 fi
65701
65702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
65703 $as_echo "$version_specific_libs" >&6; }
65704
65705 # Default case for install directory for include files.
65706 if test $version_specific_libs = no && test $gxx_include_dir = no; then
65707 gxx_include_dir='include/c++/${gcc_version}'
65708 if test -n "$with_cross_host" &&
65709 test x"$with_cross_host" != x"no"; then
65710 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
65711 else
65712 gxx_include_dir='${prefix}/'"$gxx_include_dir"
65713 fi
65714 fi
65715
65716 # Version-specific runtime libs processing.
65717 if test $version_specific_libs = yes; then
65718 # Need the gcc compiler version to know where to install libraries
65719 # and header files if --enable-version-specific-runtime-libs option
65720 # is selected. FIXME: these variables are misnamed, there are
65721 # no executables installed in _toolexecdir or _toolexeclibdir.
65722 if test x"$gxx_include_dir" = x"no"; then
65723 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
65724 fi
65725 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65726 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
65727 fi
65728
65729 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
65730 # Install a library built with a cross compiler in tooldir, not libdir.
65731 if test x"$glibcxx_toolexecdir" = x"no"; then
65732 if test -n "$with_cross_host" &&
65733 test x"$with_cross_host" != x"no"; then
65734 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
65735 glibcxx_toolexeclibdir='${toolexecdir}/lib'
65736 else
65737 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65738 glibcxx_toolexeclibdir='${libdir}'
65739 fi
65740 multi_os_directory=`$CXX -print-multi-os-directory`
65741 case $multi_os_directory in
65742 .) ;; # Avoid trailing /.
65743 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
65744 esac
65745 fi
65746
65747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
65748 $as_echo_n "checking for install location... " >&6; }
65749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65750 $as_echo "$gxx_include_dir" >&6; }
65751
65752
65753
65754
65755
65756
65757
65758 # Export all the include and flag information to Makefiles.
65759
65760 # Used for every C++ compile we perform.
65761 GLIBCXX_INCLUDES="\
65762 -I$glibcxx_builddir/include/$host_alias \
65763 -I$glibcxx_builddir/include \
65764 -I$glibcxx_srcdir/libsupc++"
65765
65766 # For Canadian crosses, pick this up too.
65767 if test $CANADIAN = yes; then
65768 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
65769 fi
65770
65771 # Stuff in the actual top level. Currently only used by libsupc++ to
65772 # get unwind* headers from the libgcc dir.
65773 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
65774 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
65775
65776 # Now, export this to all the little Makefiles....
65777
65778
65779
65780
65781 # Optimization flags that are probably a good idea for thrill-seekers. Just
65782 # uncomment the lines below and make, everything else is ready to go...
65783 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
65784 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
65785
65786
65787 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
65788
65789
65790
65791 if test "$enable_shared" = yes; then
65792 LIBSUPCXX_PICFLAGS="-prefer-pic"
65793 else
65794 LIBSUPCXX_PICFLAGS=
65795 fi
65796
65797
65798 ac_config_files="$ac_config_files Makefile"
65799
65800 ac_config_files="$ac_config_files scripts/testsuite_flags"
65801
65802 ac_config_files="$ac_config_files scripts/extract_symvers"
65803
65804
65805 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
65806 # that multilib installs will end up installed in the correct place.
65807 # The testsuite needs it for multilib-aware ABI baseline files.
65808 # To work around this not being passed down from config-ml.in ->
65809 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
65810 # append it here. Only modify Makefiles that have just been created.
65811 #
65812 # Also, get rid of this simulated-VPATH thing that automake does.
65813 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
65814
65815
65816 ac_config_commands="$ac_config_commands generate-headers"
65817
65818
65819 cat >confcache <<\_ACEOF
65820 # This file is a shell script that caches the results of configure
65821 # tests run on this system so they can be shared between configure
65822 # scripts and configure runs, see configure's option --config-cache.
65823 # It is not useful on other systems. If it contains results you don't
65824 # want to keep, you may remove or edit it.
65825 #
65826 # config.status only pays attention to the cache file if you give it
65827 # the --recheck option to rerun configure.
65828 #
65829 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65830 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65831 # following values.
65832
65833 _ACEOF
65834
65835 # The following way of writing the cache mishandles newlines in values,
65836 # but we know of no workaround that is simple, portable, and efficient.
65837 # So, we kill variables containing newlines.
65838 # Ultrix sh set writes to stderr and can't be redirected directly,
65839 # and sets the high bit in the cache file unless we assign to the vars.
65840 (
65841 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65842 eval ac_val=\$$ac_var
65843 case $ac_val in #(
65844 *${as_nl}*)
65845 case $ac_var in #(
65846 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65847 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65848 esac
65849 case $ac_var in #(
65850 _ | IFS | as_nl) ;; #(
65851 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65852 *) { eval $ac_var=; unset $ac_var;} ;;
65853 esac ;;
65854 esac
65855 done
65856
65857 (set) 2>&1 |
65858 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65859 *${as_nl}ac_space=\ *)
65860 # `set' does not quote correctly, so add quotes: double-quote
65861 # substitution turns \\\\ into \\, and sed turns \\ into \.
65862 sed -n \
65863 "s/'/'\\\\''/g;
65864 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65865 ;; #(
65866 *)
65867 # `set' quotes correctly as required by POSIX, so do not add quotes.
65868 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65869 ;;
65870 esac |
65871 sort
65872 ) |
65873 sed '
65874 /^ac_cv_env_/b end
65875 t clear
65876 :clear
65877 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65878 t end
65879 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65880 :end' >>confcache
65881 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65882 if test -w "$cache_file"; then
65883 test "x$cache_file" != "x/dev/null" &&
65884 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65885 $as_echo "$as_me: updating cache $cache_file" >&6;}
65886 cat confcache >$cache_file
65887 else
65888 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65889 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65890 fi
65891 fi
65892 rm -f confcache
65893
65894 test "x$prefix" = xNONE && prefix=$ac_default_prefix
65895 # Let make expand exec_prefix.
65896 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
65897
65898 DEFS=-DHAVE_CONFIG_H
65899
65900 ac_libobjs=
65901 ac_ltlibobjs=
65902 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
65903 # 1. Remove the extension, and $U if already installed.
65904 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
65905 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
65906 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
65907 # will be set to the directory where LIBOBJS objects are built.
65908 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
65909 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
65910 done
65911 LIBOBJS=$ac_libobjs
65912
65913 LTLIBOBJS=$ac_ltlibobjs
65914
65915
65916 if test -n "$EXEEXT"; then
65917 am__EXEEXT_TRUE=
65918 am__EXEEXT_FALSE='#'
65919 else
65920 am__EXEEXT_TRUE='#'
65921 am__EXEEXT_FALSE=
65922 fi
65923
65924 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
65925 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
65926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65927 fi
65928 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
65929 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
65930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65931 fi
65932 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
65933 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
65934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65935 fi
65936 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
65937 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
65938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65939 fi
65940 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
65941 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
65942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65943 fi
65944 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
65945 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
65946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65947 fi
65948 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
65949 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
65950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65951 fi
65952 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
65953 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
65954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65955 fi
65956 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
65957 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
65958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65959 fi
65960 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
65961 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
65962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65963 fi
65964 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
65965 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
65966 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65967 fi
65968 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
65969 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
65970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65971 fi
65972 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
65973 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
65974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65975 fi
65976 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
65977 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
65978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65979 fi
65980 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
65981 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
65982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65983 fi
65984 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
65985 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
65986 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65987 fi
65988 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
65989 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
65990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65991 fi
65992 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
65993 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
65994 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65995 fi
65996 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
65997 as_fn_error "conditional \"BUILD_INFO\" was never defined.
65998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65999 fi
66000 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66001 as_fn_error "conditional \"BUILD_XML\" was never defined.
66002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66003 fi
66004 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66005 as_fn_error "conditional \"BUILD_HTML\" was never defined.
66006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66007 fi
66008 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66009 as_fn_error "conditional \"BUILD_MAN\" was never defined.
66010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66011 fi
66012 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66013 as_fn_error "conditional \"BUILD_PDF\" was never defined.
66014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66015 fi
66016 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66017 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66019 fi
66020
66021 : ${CONFIG_STATUS=./config.status}
66022 ac_write_fail=0
66023 ac_clean_files_save=$ac_clean_files
66024 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66025 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66026 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66027 as_write_fail=0
66028 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66029 #! $SHELL
66030 # Generated by $as_me.
66031 # Run this file to recreate the current configuration.
66032 # Compiler output produced by configure, useful for debugging
66033 # configure, is in config.log if it exists.
66034
66035 debug=false
66036 ac_cs_recheck=false
66037 ac_cs_silent=false
66038
66039 SHELL=\${CONFIG_SHELL-$SHELL}
66040 export SHELL
66041 _ASEOF
66042 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66043 ## -------------------- ##
66044 ## M4sh Initialization. ##
66045 ## -------------------- ##
66046
66047 # Be more Bourne compatible
66048 DUALCASE=1; export DUALCASE # for MKS sh
66049 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66050 emulate sh
66051 NULLCMD=:
66052 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66053 # is contrary to our usage. Disable this feature.
66054 alias -g '${1+"$@"}'='"$@"'
66055 setopt NO_GLOB_SUBST
66056 else
66057 case `(set -o) 2>/dev/null` in #(
66058 *posix*) :
66059 set -o posix ;; #(
66060 *) :
66061 ;;
66062 esac
66063 fi
66064
66065
66066 as_nl='
66067 '
66068 export as_nl
66069 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66070 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66071 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66072 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66073 # Prefer a ksh shell builtin over an external printf program on Solaris,
66074 # but without wasting forks for bash or zsh.
66075 if test -z "$BASH_VERSION$ZSH_VERSION" \
66076 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66077 as_echo='print -r --'
66078 as_echo_n='print -rn --'
66079 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66080 as_echo='printf %s\n'
66081 as_echo_n='printf %s'
66082 else
66083 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66084 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66085 as_echo_n='/usr/ucb/echo -n'
66086 else
66087 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66088 as_echo_n_body='eval
66089 arg=$1;
66090 case $arg in #(
66091 *"$as_nl"*)
66092 expr "X$arg" : "X\\(.*\\)$as_nl";
66093 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66094 esac;
66095 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66096 '
66097 export as_echo_n_body
66098 as_echo_n='sh -c $as_echo_n_body as_echo'
66099 fi
66100 export as_echo_body
66101 as_echo='sh -c $as_echo_body as_echo'
66102 fi
66103
66104 # The user is always right.
66105 if test "${PATH_SEPARATOR+set}" != set; then
66106 PATH_SEPARATOR=:
66107 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66108 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66109 PATH_SEPARATOR=';'
66110 }
66111 fi
66112
66113
66114 # IFS
66115 # We need space, tab and new line, in precisely that order. Quoting is
66116 # there to prevent editors from complaining about space-tab.
66117 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66118 # splitting by setting IFS to empty value.)
66119 IFS=" "" $as_nl"
66120
66121 # Find who we are. Look in the path if we contain no directory separator.
66122 case $0 in #((
66123 *[\\/]* ) as_myself=$0 ;;
66124 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66125 for as_dir in $PATH
66126 do
66127 IFS=$as_save_IFS
66128 test -z "$as_dir" && as_dir=.
66129 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66130 done
66131 IFS=$as_save_IFS
66132
66133 ;;
66134 esac
66135 # We did not find ourselves, most probably we were run as `sh COMMAND'
66136 # in which case we are not to be found in the path.
66137 if test "x$as_myself" = x; then
66138 as_myself=$0
66139 fi
66140 if test ! -f "$as_myself"; then
66141 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66142 exit 1
66143 fi
66144
66145 # Unset variables that we do not need and which cause bugs (e.g. in
66146 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66147 # suppresses any "Segmentation fault" message there. '((' could
66148 # trigger a bug in pdksh 5.2.14.
66149 for as_var in BASH_ENV ENV MAIL MAILPATH
66150 do eval test x\${$as_var+set} = xset \
66151 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66152 done
66153 PS1='$ '
66154 PS2='> '
66155 PS4='+ '
66156
66157 # NLS nuisances.
66158 LC_ALL=C
66159 export LC_ALL
66160 LANGUAGE=C
66161 export LANGUAGE
66162
66163 # CDPATH.
66164 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66165
66166
66167 # as_fn_error ERROR [LINENO LOG_FD]
66168 # ---------------------------------
66169 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66170 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66171 # script with status $?, using 1 if that was 0.
66172 as_fn_error ()
66173 {
66174 as_status=$?; test $as_status -eq 0 && as_status=1
66175 if test "$3"; then
66176 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66177 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66178 fi
66179 $as_echo "$as_me: error: $1" >&2
66180 as_fn_exit $as_status
66181 } # as_fn_error
66182
66183
66184 # as_fn_set_status STATUS
66185 # -----------------------
66186 # Set $? to STATUS, without forking.
66187 as_fn_set_status ()
66188 {
66189 return $1
66190 } # as_fn_set_status
66191
66192 # as_fn_exit STATUS
66193 # -----------------
66194 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66195 as_fn_exit ()
66196 {
66197 set +e
66198 as_fn_set_status $1
66199 exit $1
66200 } # as_fn_exit
66201
66202 # as_fn_unset VAR
66203 # ---------------
66204 # Portably unset VAR.
66205 as_fn_unset ()
66206 {
66207 { eval $1=; unset $1;}
66208 }
66209 as_unset=as_fn_unset
66210 # as_fn_append VAR VALUE
66211 # ----------------------
66212 # Append the text in VALUE to the end of the definition contained in VAR. Take
66213 # advantage of any shell optimizations that allow amortized linear growth over
66214 # repeated appends, instead of the typical quadratic growth present in naive
66215 # implementations.
66216 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66217 eval 'as_fn_append ()
66218 {
66219 eval $1+=\$2
66220 }'
66221 else
66222 as_fn_append ()
66223 {
66224 eval $1=\$$1\$2
66225 }
66226 fi # as_fn_append
66227
66228 # as_fn_arith ARG...
66229 # ------------------
66230 # Perform arithmetic evaluation on the ARGs, and store the result in the
66231 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66232 # must be portable across $(()) and expr.
66233 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66234 eval 'as_fn_arith ()
66235 {
66236 as_val=$(( $* ))
66237 }'
66238 else
66239 as_fn_arith ()
66240 {
66241 as_val=`expr "$@" || test $? -eq 1`
66242 }
66243 fi # as_fn_arith
66244
66245
66246 if expr a : '\(a\)' >/dev/null 2>&1 &&
66247 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66248 as_expr=expr
66249 else
66250 as_expr=false
66251 fi
66252
66253 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66254 as_basename=basename
66255 else
66256 as_basename=false
66257 fi
66258
66259 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66260 as_dirname=dirname
66261 else
66262 as_dirname=false
66263 fi
66264
66265 as_me=`$as_basename -- "$0" ||
66266 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66267 X"$0" : 'X\(//\)$' \| \
66268 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66269 $as_echo X/"$0" |
66270 sed '/^.*\/\([^/][^/]*\)\/*$/{
66271 s//\1/
66272 q
66273 }
66274 /^X\/\(\/\/\)$/{
66275 s//\1/
66276 q
66277 }
66278 /^X\/\(\/\).*/{
66279 s//\1/
66280 q
66281 }
66282 s/.*/./; q'`
66283
66284 # Avoid depending upon Character Ranges.
66285 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66286 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66287 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66288 as_cr_digits='0123456789'
66289 as_cr_alnum=$as_cr_Letters$as_cr_digits
66290
66291 ECHO_C= ECHO_N= ECHO_T=
66292 case `echo -n x` in #(((((
66293 -n*)
66294 case `echo 'xy\c'` in
66295 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66296 xy) ECHO_C='\c';;
66297 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66298 ECHO_T=' ';;
66299 esac;;
66300 *)
66301 ECHO_N='-n';;
66302 esac
66303
66304 rm -f conf$$ conf$$.exe conf$$.file
66305 if test -d conf$$.dir; then
66306 rm -f conf$$.dir/conf$$.file
66307 else
66308 rm -f conf$$.dir
66309 mkdir conf$$.dir 2>/dev/null
66310 fi
66311 if (echo >conf$$.file) 2>/dev/null; then
66312 if ln -s conf$$.file conf$$ 2>/dev/null; then
66313 as_ln_s='ln -s'
66314 # ... but there are two gotchas:
66315 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66316 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66317 # In both cases, we have to default to `cp -p'.
66318 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66319 as_ln_s='cp -p'
66320 elif ln conf$$.file conf$$ 2>/dev/null; then
66321 as_ln_s=ln
66322 else
66323 as_ln_s='cp -p'
66324 fi
66325 else
66326 as_ln_s='cp -p'
66327 fi
66328 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66329 rmdir conf$$.dir 2>/dev/null
66330
66331
66332 # as_fn_mkdir_p
66333 # -------------
66334 # Create "$as_dir" as a directory, including parents if necessary.
66335 as_fn_mkdir_p ()
66336 {
66337
66338 case $as_dir in #(
66339 -*) as_dir=./$as_dir;;
66340 esac
66341 test -d "$as_dir" || eval $as_mkdir_p || {
66342 as_dirs=
66343 while :; do
66344 case $as_dir in #(
66345 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66346 *) as_qdir=$as_dir;;
66347 esac
66348 as_dirs="'$as_qdir' $as_dirs"
66349 as_dir=`$as_dirname -- "$as_dir" ||
66350 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66351 X"$as_dir" : 'X\(//\)[^/]' \| \
66352 X"$as_dir" : 'X\(//\)$' \| \
66353 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66354 $as_echo X"$as_dir" |
66355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66356 s//\1/
66357 q
66358 }
66359 /^X\(\/\/\)[^/].*/{
66360 s//\1/
66361 q
66362 }
66363 /^X\(\/\/\)$/{
66364 s//\1/
66365 q
66366 }
66367 /^X\(\/\).*/{
66368 s//\1/
66369 q
66370 }
66371 s/.*/./; q'`
66372 test -d "$as_dir" && break
66373 done
66374 test -z "$as_dirs" || eval "mkdir $as_dirs"
66375 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66376
66377
66378 } # as_fn_mkdir_p
66379 if mkdir -p . 2>/dev/null; then
66380 as_mkdir_p='mkdir -p "$as_dir"'
66381 else
66382 test -d ./-p && rmdir ./-p
66383 as_mkdir_p=false
66384 fi
66385
66386 if test -x / >/dev/null 2>&1; then
66387 as_test_x='test -x'
66388 else
66389 if ls -dL / >/dev/null 2>&1; then
66390 as_ls_L_option=L
66391 else
66392 as_ls_L_option=
66393 fi
66394 as_test_x='
66395 eval sh -c '\''
66396 if test -d "$1"; then
66397 test -d "$1/.";
66398 else
66399 case $1 in #(
66400 -*)set "./$1";;
66401 esac;
66402 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66403 ???[sx]*):;;*)false;;esac;fi
66404 '\'' sh
66405 '
66406 fi
66407 as_executable_p=$as_test_x
66408
66409 # Sed expression to map a string onto a valid CPP name.
66410 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66411
66412 # Sed expression to map a string onto a valid variable name.
66413 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66414
66415
66416 exec 6>&1
66417 ## ----------------------------------- ##
66418 ## Main body of $CONFIG_STATUS script. ##
66419 ## ----------------------------------- ##
66420 _ASEOF
66421 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66422
66423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66424 # Save the log message, to keep $0 and so on meaningful, and to
66425 # report actual input values of CONFIG_FILES etc. instead of their
66426 # values after options handling.
66427 ac_log="
66428 This file was extended by package-unused $as_me version-unused, which was
66429 generated by GNU Autoconf 2.64. Invocation command line was
66430
66431 CONFIG_FILES = $CONFIG_FILES
66432 CONFIG_HEADERS = $CONFIG_HEADERS
66433 CONFIG_LINKS = $CONFIG_LINKS
66434 CONFIG_COMMANDS = $CONFIG_COMMANDS
66435 $ $0 $@
66436
66437 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66438 "
66439
66440 _ACEOF
66441
66442 case $ac_config_files in *"
66443 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66444 esac
66445
66446 case $ac_config_headers in *"
66447 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66448 esac
66449
66450
66451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66452 # Files that config.status was made for.
66453 config_files="$ac_config_files"
66454 config_headers="$ac_config_headers"
66455 config_commands="$ac_config_commands"
66456
66457 _ACEOF
66458
66459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66460 ac_cs_usage="\
66461 \`$as_me' instantiates files and other configuration actions
66462 from templates according to the current configuration. Unless the files
66463 and actions are specified as TAGs, all are instantiated by default.
66464
66465 Usage: $0 [OPTION]... [TAG]...
66466
66467 -h, --help print this help, then exit
66468 -V, --version print version number and configuration settings, then exit
66469 -q, --quiet, --silent
66470 do not print progress messages
66471 -d, --debug don't remove temporary files
66472 --recheck update $as_me by reconfiguring in the same conditions
66473 --file=FILE[:TEMPLATE]
66474 instantiate the configuration file FILE
66475 --header=FILE[:TEMPLATE]
66476 instantiate the configuration header FILE
66477
66478 Configuration files:
66479 $config_files
66480
66481 Configuration headers:
66482 $config_headers
66483
66484 Configuration commands:
66485 $config_commands
66486
66487 Report bugs to the package provider."
66488
66489 _ACEOF
66490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66491 ac_cs_version="\\
66492 package-unused config.status version-unused
66493 configured by $0, generated by GNU Autoconf 2.64,
66494 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66495
66496 Copyright (C) 2009 Free Software Foundation, Inc.
66497 This config.status script is free software; the Free Software Foundation
66498 gives unlimited permission to copy, distribute and modify it."
66499
66500 ac_pwd='$ac_pwd'
66501 srcdir='$srcdir'
66502 INSTALL='$INSTALL'
66503 MKDIR_P='$MKDIR_P'
66504 AWK='$AWK'
66505 test -n "\$AWK" || AWK=awk
66506 _ACEOF
66507
66508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66509 # The default lists apply if the user does not specify any file.
66510 ac_need_defaults=:
66511 while test $# != 0
66512 do
66513 case $1 in
66514 --*=*)
66515 ac_option=`expr "X$1" : 'X\([^=]*\)='`
66516 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66517 ac_shift=:
66518 ;;
66519 *)
66520 ac_option=$1
66521 ac_optarg=$2
66522 ac_shift=shift
66523 ;;
66524 esac
66525
66526 case $ac_option in
66527 # Handling of the options.
66528 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66529 ac_cs_recheck=: ;;
66530 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66531 $as_echo "$ac_cs_version"; exit ;;
66532 --debug | --debu | --deb | --de | --d | -d )
66533 debug=: ;;
66534 --file | --fil | --fi | --f )
66535 $ac_shift
66536 case $ac_optarg in
66537 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66538 esac
66539 as_fn_append CONFIG_FILES " '$ac_optarg'"
66540 ac_need_defaults=false;;
66541 --header | --heade | --head | --hea )
66542 $ac_shift
66543 case $ac_optarg in
66544 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66545 esac
66546 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66547 ac_need_defaults=false;;
66548 --he | --h)
66549 # Conflict between --help and --header
66550 as_fn_error "ambiguous option: \`$1'
66551 Try \`$0 --help' for more information.";;
66552 --help | --hel | -h )
66553 $as_echo "$ac_cs_usage"; exit ;;
66554 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66555 | -silent | --silent | --silen | --sile | --sil | --si | --s)
66556 ac_cs_silent=: ;;
66557
66558 # This is an error.
66559 -*) as_fn_error "unrecognized option: \`$1'
66560 Try \`$0 --help' for more information." ;;
66561
66562 *) as_fn_append ac_config_targets " $1"
66563 ac_need_defaults=false ;;
66564
66565 esac
66566 shift
66567 done
66568
66569 ac_configure_extra_args=
66570
66571 if $ac_cs_silent; then
66572 exec 6>/dev/null
66573 ac_configure_extra_args="$ac_configure_extra_args --silent"
66574 fi
66575
66576 _ACEOF
66577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66578 if \$ac_cs_recheck; then
66579 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66580 shift
66581 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66582 CONFIG_SHELL='$SHELL'
66583 export CONFIG_SHELL
66584 exec "\$@"
66585 fi
66586
66587 _ACEOF
66588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66589 exec 5>>config.log
66590 {
66591 echo
66592 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66593 ## Running $as_me. ##
66594 _ASBOX
66595 $as_echo "$ac_log"
66596 } >&5
66597
66598 _ACEOF
66599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66600 #
66601 # INIT-COMMANDS
66602 #
66603
66604 srcdir="$srcdir"
66605 host="$host"
66606 target="$target"
66607 with_multisubdir="$with_multisubdir"
66608 with_multisrctop="$with_multisrctop"
66609 with_target_subdir="$with_target_subdir"
66610 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66611 multi_basedir="$multi_basedir"
66612 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66613 CC="$CC"
66614 CXX="$CXX"
66615 GFORTRAN="$GFORTRAN"
66616 GCJ="$GCJ"
66617
66618
66619 # The HP-UX ksh and POSIX shell print the target directory to stdout
66620 # if CDPATH is set.
66621 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66622
66623 sed_quote_subst='$sed_quote_subst'
66624 double_quote_subst='$double_quote_subst'
66625 delay_variable_subst='$delay_variable_subst'
66626 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
66627 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
66628 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
66629 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
66630 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
66631 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
66632 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
66633 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
66634 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
66635 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
66636 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
66637 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
66638 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
66639 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
66640 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
66641 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
66642 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
66643 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
66644 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
66645 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
66646 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
66647 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
66648 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
66649 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
66650 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
66651 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
66652 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
66653 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
66654 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
66655 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
66656 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
66657 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
66658 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
66659 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
66660 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
66661 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
66662 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
66663 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66664 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66665 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
66666 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
66667 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
66668 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
66669 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
66670 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
66671 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
66672 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
66673 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
66674 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"`'
66675 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
66676 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
66677 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
66678 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
66679 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
66680 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
66681 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
66682 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
66683 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
66684 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
66685 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
66686 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
66687 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
66688 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
66689 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
66690 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66691 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
66692 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
66693 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
66694 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
66695 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
66696 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
66697 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66698 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
66699 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66700 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
66701 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66702 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
66703 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
66704 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
66705 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
66706 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
66707 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
66708 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
66709 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
66710 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
66711 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
66712 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
66713 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
66714 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
66715 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
66716 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
66717 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
66718 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
66719 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
66720 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
66721 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
66722 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
66723 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
66724 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
66725 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
66726 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
66727 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
66728 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
66729 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
66730 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
66731 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
66732 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
66733 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66734 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66735 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
66736 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
66737 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
66738 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
66739 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
66740 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
66741 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
66742 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
66743 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
66744 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
66745 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
66746 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
66747 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
66748 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
66749 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
66750 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
66751 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
66752 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
66753 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
66754 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66755 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66756 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
66757 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
66758 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
66759 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
66760 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
66761 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
66762 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
66763 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
66764 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
66765 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66766 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66767 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
66768 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66769 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66770 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66771 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66772 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66773 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66774 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
66775 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66776 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66777 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66778 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
66779 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
66780 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
66781 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
66782 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
66783 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
66784 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
66785 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
66786 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
66787 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
66788 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
66789 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66790 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66791 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66792 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66793 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
66794 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
66795 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
66796 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66797 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66798 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
66799 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
66800 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
66801
66802 LTCC='$LTCC'
66803 LTCFLAGS='$LTCFLAGS'
66804 compiler='$compiler_DEFAULT'
66805
66806 # A function that is used when there is no print builtin or printf.
66807 func_fallback_echo ()
66808 {
66809 eval 'cat <<_LTECHO_EOF
66810 \$1
66811 _LTECHO_EOF'
66812 }
66813
66814 # Quote evaled strings.
66815 for var in SHELL \
66816 ECHO \
66817 SED \
66818 GREP \
66819 EGREP \
66820 FGREP \
66821 LD \
66822 NM \
66823 LN_S \
66824 lt_SP2NL \
66825 lt_NL2SP \
66826 reload_flag \
66827 OBJDUMP \
66828 deplibs_check_method \
66829 file_magic_cmd \
66830 AR \
66831 AR_FLAGS \
66832 STRIP \
66833 RANLIB \
66834 CC \
66835 CFLAGS \
66836 compiler \
66837 lt_cv_sys_global_symbol_pipe \
66838 lt_cv_sys_global_symbol_to_cdecl \
66839 lt_cv_sys_global_symbol_to_c_name_address \
66840 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
66841 lt_prog_compiler_no_builtin_flag \
66842 lt_prog_compiler_wl \
66843 lt_prog_compiler_pic \
66844 lt_prog_compiler_static \
66845 lt_cv_prog_compiler_c_o \
66846 need_locks \
66847 DSYMUTIL \
66848 NMEDIT \
66849 LIPO \
66850 OTOOL \
66851 OTOOL64 \
66852 shrext_cmds \
66853 export_dynamic_flag_spec \
66854 whole_archive_flag_spec \
66855 compiler_needs_object \
66856 with_gnu_ld \
66857 allow_undefined_flag \
66858 no_undefined_flag \
66859 hardcode_libdir_flag_spec \
66860 hardcode_libdir_flag_spec_ld \
66861 hardcode_libdir_separator \
66862 fix_srcfile_path \
66863 exclude_expsyms \
66864 include_expsyms \
66865 file_list_spec \
66866 variables_saved_for_relink \
66867 libname_spec \
66868 library_names_spec \
66869 soname_spec \
66870 install_override_mode \
66871 finish_eval \
66872 old_striplib \
66873 striplib \
66874 compiler_lib_search_dirs \
66875 predep_objects \
66876 postdep_objects \
66877 predeps \
66878 postdeps \
66879 compiler_lib_search_path \
66880 LD_CXX \
66881 reload_flag_CXX \
66882 compiler_CXX \
66883 lt_prog_compiler_no_builtin_flag_CXX \
66884 lt_prog_compiler_wl_CXX \
66885 lt_prog_compiler_pic_CXX \
66886 lt_prog_compiler_static_CXX \
66887 lt_cv_prog_compiler_c_o_CXX \
66888 export_dynamic_flag_spec_CXX \
66889 whole_archive_flag_spec_CXX \
66890 compiler_needs_object_CXX \
66891 with_gnu_ld_CXX \
66892 allow_undefined_flag_CXX \
66893 no_undefined_flag_CXX \
66894 hardcode_libdir_flag_spec_CXX \
66895 hardcode_libdir_flag_spec_ld_CXX \
66896 hardcode_libdir_separator_CXX \
66897 fix_srcfile_path_CXX \
66898 exclude_expsyms_CXX \
66899 include_expsyms_CXX \
66900 file_list_spec_CXX \
66901 compiler_lib_search_dirs_CXX \
66902 predep_objects_CXX \
66903 postdep_objects_CXX \
66904 predeps_CXX \
66905 postdeps_CXX \
66906 compiler_lib_search_path_CXX; do
66907 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66908 *[\\\\\\\`\\"\\\$]*)
66909 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
66910 ;;
66911 *)
66912 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66913 ;;
66914 esac
66915 done
66916
66917 # Double-quote double-evaled strings.
66918 for var in reload_cmds \
66919 old_postinstall_cmds \
66920 old_postuninstall_cmds \
66921 old_archive_cmds \
66922 extract_expsyms_cmds \
66923 old_archive_from_new_cmds \
66924 old_archive_from_expsyms_cmds \
66925 archive_cmds \
66926 archive_expsym_cmds \
66927 module_cmds \
66928 module_expsym_cmds \
66929 export_symbols_cmds \
66930 prelink_cmds \
66931 postinstall_cmds \
66932 postuninstall_cmds \
66933 finish_cmds \
66934 sys_lib_search_path_spec \
66935 sys_lib_dlsearch_path_spec \
66936 reload_cmds_CXX \
66937 old_archive_cmds_CXX \
66938 old_archive_from_new_cmds_CXX \
66939 old_archive_from_expsyms_cmds_CXX \
66940 archive_cmds_CXX \
66941 archive_expsym_cmds_CXX \
66942 module_cmds_CXX \
66943 module_expsym_cmds_CXX \
66944 export_symbols_cmds_CXX \
66945 prelink_cmds_CXX; do
66946 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66947 *[\\\\\\\`\\"\\\$]*)
66948 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
66949 ;;
66950 *)
66951 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66952 ;;
66953 esac
66954 done
66955
66956 ac_aux_dir='$ac_aux_dir'
66957 xsi_shell='$xsi_shell'
66958 lt_shell_append='$lt_shell_append'
66959
66960 # See if we are running on zsh, and set the options which allow our
66961 # commands through without removal of \ escapes INIT.
66962 if test -n "\${ZSH_VERSION+set}" ; then
66963 setopt NO_GLOB_SUBST
66964 fi
66965
66966
66967 PACKAGE='$PACKAGE'
66968 VERSION='$VERSION'
66969 TIMESTAMP='$TIMESTAMP'
66970 RM='$RM'
66971 ofile='$ofile'
66972
66973
66974
66975
66976
66977
66978 GCC="$GCC"
66979 CC="$CC"
66980 acx_cv_header_stdint="$acx_cv_header_stdint"
66981 acx_cv_type_int8_t="$acx_cv_type_int8_t"
66982 acx_cv_type_int16_t="$acx_cv_type_int16_t"
66983 acx_cv_type_int32_t="$acx_cv_type_int32_t"
66984 acx_cv_type_int64_t="$acx_cv_type_int64_t"
66985 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
66986 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
66987 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
66988 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
66989 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
66990 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
66991 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
66992 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
66993 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
66994
66995
66996 _ACEOF
66997
66998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66999
67000 # Handling of arguments.
67001 for ac_config_target in $ac_config_targets
67002 do
67003 case $ac_config_target in
67004 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67005 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67006 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67007 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67008 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67009 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67010 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67011 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67012 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67013 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67014 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67015 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67016 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67017 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67018 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67019
67020 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67021 esac
67022 done
67023
67024
67025 # If the user did not use the arguments to specify the items to instantiate,
67026 # then the envvar interface is used. Set only those that are not.
67027 # We use the long form for the default assignment because of an extremely
67028 # bizarre bug on SunOS 4.1.3.
67029 if $ac_need_defaults; then
67030 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67031 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67032 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67033 fi
67034
67035 # Have a temporary directory for convenience. Make it in the build tree
67036 # simply because there is no reason against having it here, and in addition,
67037 # creating and moving files from /tmp can sometimes cause problems.
67038 # Hook for its removal unless debugging.
67039 # Note that there is a small window in which the directory will not be cleaned:
67040 # after its creation but before its name has been assigned to `$tmp'.
67041 $debug ||
67042 {
67043 tmp=
67044 trap 'exit_status=$?
67045 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67046 ' 0
67047 trap 'as_fn_exit 1' 1 2 13 15
67048 }
67049 # Create a (secure) tmp directory for tmp files.
67050
67051 {
67052 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67053 test -n "$tmp" && test -d "$tmp"
67054 } ||
67055 {
67056 tmp=./conf$$-$RANDOM
67057 (umask 077 && mkdir "$tmp")
67058 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67059
67060 # Set up the scripts for CONFIG_FILES section.
67061 # No need to generate them if there are no CONFIG_FILES.
67062 # This happens for instance with `./config.status config.h'.
67063 if test -n "$CONFIG_FILES"; then
67064
67065
67066 ac_cr=`echo X | tr X '\015'`
67067 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67068 # But we know of no other shell where ac_cr would be empty at this
67069 # point, so we can use a bashism as a fallback.
67070 if test "x$ac_cr" = x; then
67071 eval ac_cr=\$\'\\r\'
67072 fi
67073 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67074 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67075 ac_cs_awk_cr='\r'
67076 else
67077 ac_cs_awk_cr=$ac_cr
67078 fi
67079
67080 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67081 _ACEOF
67082
67083
67084 {
67085 echo "cat >conf$$subs.awk <<_ACEOF" &&
67086 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67087 echo "_ACEOF"
67088 } >conf$$subs.sh ||
67089 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67090 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67091 ac_delim='%!_!# '
67092 for ac_last_try in false false false false false :; do
67093 . ./conf$$subs.sh ||
67094 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67095
67096 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67097 if test $ac_delim_n = $ac_delim_num; then
67098 break
67099 elif $ac_last_try; then
67100 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67101 else
67102 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67103 fi
67104 done
67105 rm -f conf$$subs.sh
67106
67107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67108 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67109 _ACEOF
67110 sed -n '
67111 h
67112 s/^/S["/; s/!.*/"]=/
67113 p
67114 g
67115 s/^[^!]*!//
67116 :repl
67117 t repl
67118 s/'"$ac_delim"'$//
67119 t delim
67120 :nl
67121 h
67122 s/\(.\{148\}\).*/\1/
67123 t more1
67124 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67125 p
67126 n
67127 b repl
67128 :more1
67129 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67130 p
67131 g
67132 s/.\{148\}//
67133 t nl
67134 :delim
67135 h
67136 s/\(.\{148\}\).*/\1/
67137 t more2
67138 s/["\\]/\\&/g; s/^/"/; s/$/"/
67139 p
67140 b
67141 :more2
67142 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67143 p
67144 g
67145 s/.\{148\}//
67146 t delim
67147 ' <conf$$subs.awk | sed '
67148 /^[^""]/{
67149 N
67150 s/\n//
67151 }
67152 ' >>$CONFIG_STATUS || ac_write_fail=1
67153 rm -f conf$$subs.awk
67154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67155 _ACAWK
67156 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67157 for (key in S) S_is_set[key] = 1
67158 FS = "\a"
67159
67160 }
67161 {
67162 line = $ 0
67163 nfields = split(line, field, "@")
67164 substed = 0
67165 len = length(field[1])
67166 for (i = 2; i < nfields; i++) {
67167 key = field[i]
67168 keylen = length(key)
67169 if (S_is_set[key]) {
67170 value = S[key]
67171 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67172 len += length(value) + length(field[++i])
67173 substed = 1
67174 } else
67175 len += 1 + keylen
67176 }
67177
67178 print line
67179 }
67180
67181 _ACAWK
67182 _ACEOF
67183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67184 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67185 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67186 else
67187 cat
67188 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67189 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67190 _ACEOF
67191
67192 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67193 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67194 # trailing colons and then remove the whole line if VPATH becomes empty
67195 # (actually we leave an empty line to preserve line numbers).
67196 if test "x$srcdir" = x.; then
67197 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67198 s/:*\$(srcdir):*/:/
67199 s/:*\${srcdir}:*/:/
67200 s/:*@srcdir@:*/:/
67201 s/^\([^=]*=[ ]*\):*/\1/
67202 s/:*$//
67203 s/^[^=]*=[ ]*$//
67204 }'
67205 fi
67206
67207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67208 fi # test -n "$CONFIG_FILES"
67209
67210 # Set up the scripts for CONFIG_HEADERS section.
67211 # No need to generate them if there are no CONFIG_HEADERS.
67212 # This happens for instance with `./config.status Makefile'.
67213 if test -n "$CONFIG_HEADERS"; then
67214 cat >"$tmp/defines.awk" <<\_ACAWK ||
67215 BEGIN {
67216 _ACEOF
67217
67218 # Transform confdefs.h into an awk script `defines.awk', embedded as
67219 # here-document in config.status, that substitutes the proper values into
67220 # config.h.in to produce config.h.
67221
67222 # Create a delimiter string that does not exist in confdefs.h, to ease
67223 # handling of long lines.
67224 ac_delim='%!_!# '
67225 for ac_last_try in false false :; do
67226 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67227 if test -z "$ac_t"; then
67228 break
67229 elif $ac_last_try; then
67230 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67231 else
67232 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67233 fi
67234 done
67235
67236 # For the awk script, D is an array of macro values keyed by name,
67237 # likewise P contains macro parameters if any. Preserve backslash
67238 # newline sequences.
67239
67240 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67241 sed -n '
67242 s/.\{148\}/&'"$ac_delim"'/g
67243 t rset
67244 :rset
67245 s/^[ ]*#[ ]*define[ ][ ]*/ /
67246 t def
67247 d
67248 :def
67249 s/\\$//
67250 t bsnl
67251 s/["\\]/\\&/g
67252 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67253 D["\1"]=" \3"/p
67254 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67255 d
67256 :bsnl
67257 s/["\\]/\\&/g
67258 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67259 D["\1"]=" \3\\\\\\n"\\/p
67260 t cont
67261 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67262 t cont
67263 d
67264 :cont
67265 n
67266 s/.\{148\}/&'"$ac_delim"'/g
67267 t clear
67268 :clear
67269 s/\\$//
67270 t bsnlc
67271 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67272 d
67273 :bsnlc
67274 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67275 b cont
67276 ' <confdefs.h | sed '
67277 s/'"$ac_delim"'/"\\\
67278 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67279
67280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67281 for (key in D) D_is_set[key] = 1
67282 FS = "\a"
67283 }
67284 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67285 line = \$ 0
67286 split(line, arg, " ")
67287 if (arg[1] == "#") {
67288 defundef = arg[2]
67289 mac1 = arg[3]
67290 } else {
67291 defundef = substr(arg[1], 2)
67292 mac1 = arg[2]
67293 }
67294 split(mac1, mac2, "(") #)
67295 macro = mac2[1]
67296 prefix = substr(line, 1, index(line, defundef) - 1)
67297 if (D_is_set[macro]) {
67298 # Preserve the white space surrounding the "#".
67299 print prefix "define", macro P[macro] D[macro]
67300 next
67301 } else {
67302 # Replace #undef with comments. This is necessary, for example,
67303 # in the case of _POSIX_SOURCE, which is predefined and required
67304 # on some systems where configure will not decide to define it.
67305 if (defundef == "undef") {
67306 print "/*", prefix defundef, macro, "*/"
67307 next
67308 }
67309 }
67310 }
67311 { print }
67312 _ACAWK
67313 _ACEOF
67314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67315 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67316 fi # test -n "$CONFIG_HEADERS"
67317
67318
67319 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67320 shift
67321 for ac_tag
67322 do
67323 case $ac_tag in
67324 :[FHLC]) ac_mode=$ac_tag; continue;;
67325 esac
67326 case $ac_mode$ac_tag in
67327 :[FHL]*:*);;
67328 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67329 :[FH]-) ac_tag=-:-;;
67330 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67331 esac
67332 ac_save_IFS=$IFS
67333 IFS=:
67334 set x $ac_tag
67335 IFS=$ac_save_IFS
67336 shift
67337 ac_file=$1
67338 shift
67339
67340 case $ac_mode in
67341 :L) ac_source=$1;;
67342 :[FH])
67343 ac_file_inputs=
67344 for ac_f
67345 do
67346 case $ac_f in
67347 -) ac_f="$tmp/stdin";;
67348 *) # Look for the file first in the build tree, then in the source tree
67349 # (if the path is not absolute). The absolute path cannot be DOS-style,
67350 # because $ac_f cannot contain `:'.
67351 test -f "$ac_f" ||
67352 case $ac_f in
67353 [\\/$]*) false;;
67354 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67355 esac ||
67356 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67357 esac
67358 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67359 as_fn_append ac_file_inputs " '$ac_f'"
67360 done
67361
67362 # Let's still pretend it is `configure' which instantiates (i.e., don't
67363 # use $as_me), people would be surprised to read:
67364 # /* config.h. Generated by config.status. */
67365 configure_input='Generated from '`
67366 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67367 `' by configure.'
67368 if test x"$ac_file" != x-; then
67369 configure_input="$ac_file. $configure_input"
67370 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67371 $as_echo "$as_me: creating $ac_file" >&6;}
67372 fi
67373 # Neutralize special characters interpreted by sed in replacement strings.
67374 case $configure_input in #(
67375 *\&* | *\|* | *\\* )
67376 ac_sed_conf_input=`$as_echo "$configure_input" |
67377 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67378 *) ac_sed_conf_input=$configure_input;;
67379 esac
67380
67381 case $ac_tag in
67382 *:-:* | *:-) cat >"$tmp/stdin" \
67383 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67384 esac
67385 ;;
67386 esac
67387
67388 ac_dir=`$as_dirname -- "$ac_file" ||
67389 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67390 X"$ac_file" : 'X\(//\)[^/]' \| \
67391 X"$ac_file" : 'X\(//\)$' \| \
67392 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67393 $as_echo X"$ac_file" |
67394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67395 s//\1/
67396 q
67397 }
67398 /^X\(\/\/\)[^/].*/{
67399 s//\1/
67400 q
67401 }
67402 /^X\(\/\/\)$/{
67403 s//\1/
67404 q
67405 }
67406 /^X\(\/\).*/{
67407 s//\1/
67408 q
67409 }
67410 s/.*/./; q'`
67411 as_dir="$ac_dir"; as_fn_mkdir_p
67412 ac_builddir=.
67413
67414 case "$ac_dir" in
67415 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67416 *)
67417 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67418 # A ".." for each directory in $ac_dir_suffix.
67419 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67420 case $ac_top_builddir_sub in
67421 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67422 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67423 esac ;;
67424 esac
67425 ac_abs_top_builddir=$ac_pwd
67426 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67427 # for backward compatibility:
67428 ac_top_builddir=$ac_top_build_prefix
67429
67430 case $srcdir in
67431 .) # We are building in place.
67432 ac_srcdir=.
67433 ac_top_srcdir=$ac_top_builddir_sub
67434 ac_abs_top_srcdir=$ac_pwd ;;
67435 [\\/]* | ?:[\\/]* ) # Absolute name.
67436 ac_srcdir=$srcdir$ac_dir_suffix;
67437 ac_top_srcdir=$srcdir
67438 ac_abs_top_srcdir=$srcdir ;;
67439 *) # Relative name.
67440 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67441 ac_top_srcdir=$ac_top_build_prefix$srcdir
67442 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67443 esac
67444 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67445
67446
67447 case $ac_mode in
67448 :F)
67449 #
67450 # CONFIG_FILE
67451 #
67452
67453 case $INSTALL in
67454 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67455 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67456 esac
67457 ac_MKDIR_P=$MKDIR_P
67458 case $MKDIR_P in
67459 [\\/$]* | ?:[\\/]* ) ;;
67460 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67461 esac
67462 _ACEOF
67463
67464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67465 # If the template does not know about datarootdir, expand it.
67466 # FIXME: This hack should be removed a few years after 2.60.
67467 ac_datarootdir_hack=; ac_datarootdir_seen=
67468 ac_sed_dataroot='
67469 /datarootdir/ {
67470 p
67471 q
67472 }
67473 /@datadir@/p
67474 /@docdir@/p
67475 /@infodir@/p
67476 /@localedir@/p
67477 /@mandir@/p'
67478 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67479 *datarootdir*) ac_datarootdir_seen=yes;;
67480 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67482 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67483 _ACEOF
67484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67485 ac_datarootdir_hack='
67486 s&@datadir@&$datadir&g
67487 s&@docdir@&$docdir&g
67488 s&@infodir@&$infodir&g
67489 s&@localedir@&$localedir&g
67490 s&@mandir@&$mandir&g
67491 s&\\\${datarootdir}&$datarootdir&g' ;;
67492 esac
67493 _ACEOF
67494
67495 # Neutralize VPATH when `$srcdir' = `.'.
67496 # Shell code in configure.ac might set extrasub.
67497 # FIXME: do we really want to maintain this feature?
67498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67499 ac_sed_extra="$ac_vpsub
67500 $extrasub
67501 _ACEOF
67502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67503 :t
67504 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67505 s|@configure_input@|$ac_sed_conf_input|;t t
67506 s&@top_builddir@&$ac_top_builddir_sub&;t t
67507 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67508 s&@srcdir@&$ac_srcdir&;t t
67509 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67510 s&@top_srcdir@&$ac_top_srcdir&;t t
67511 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67512 s&@builddir@&$ac_builddir&;t t
67513 s&@abs_builddir@&$ac_abs_builddir&;t t
67514 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67515 s&@INSTALL@&$ac_INSTALL&;t t
67516 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67517 $ac_datarootdir_hack
67518 "
67519 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67520 || as_fn_error "could not create $ac_file" "$LINENO" 5
67521
67522 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67523 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67524 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67526 which seems to be undefined. Please make sure it is defined." >&5
67527 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67528 which seems to be undefined. Please make sure it is defined." >&2;}
67529
67530 rm -f "$tmp/stdin"
67531 case $ac_file in
67532 -) cat "$tmp/out" && rm -f "$tmp/out";;
67533 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67534 esac \
67535 || as_fn_error "could not create $ac_file" "$LINENO" 5
67536 ;;
67537 :H)
67538 #
67539 # CONFIG_HEADER
67540 #
67541 if test x"$ac_file" != x-; then
67542 {
67543 $as_echo "/* $configure_input */" \
67544 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67545 } >"$tmp/config.h" \
67546 || as_fn_error "could not create $ac_file" "$LINENO" 5
67547 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67548 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67549 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67550 else
67551 rm -f "$ac_file"
67552 mv "$tmp/config.h" "$ac_file" \
67553 || as_fn_error "could not create $ac_file" "$LINENO" 5
67554 fi
67555 else
67556 $as_echo "/* $configure_input */" \
67557 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67558 || as_fn_error "could not create -" "$LINENO" 5
67559 fi
67560 # Compute "$ac_file"'s index in $config_headers.
67561 _am_arg="$ac_file"
67562 _am_stamp_count=1
67563 for _am_header in $config_headers :; do
67564 case $_am_header in
67565 $_am_arg | $_am_arg:* )
67566 break ;;
67567 * )
67568 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67569 esac
67570 done
67571 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67572 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67573 X"$_am_arg" : 'X\(//\)[^/]' \| \
67574 X"$_am_arg" : 'X\(//\)$' \| \
67575 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67576 $as_echo X"$_am_arg" |
67577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67578 s//\1/
67579 q
67580 }
67581 /^X\(\/\/\)[^/].*/{
67582 s//\1/
67583 q
67584 }
67585 /^X\(\/\/\)$/{
67586 s//\1/
67587 q
67588 }
67589 /^X\(\/\).*/{
67590 s//\1/
67591 q
67592 }
67593 s/.*/./; q'`/stamp-h$_am_stamp_count
67594 ;;
67595
67596 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67597 $as_echo "$as_me: executing $ac_file commands" >&6;}
67598 ;;
67599 esac
67600
67601
67602 case $ac_file$ac_mode in
67603 "default-1":C)
67604 # Only add multilib support code if we just rebuilt the top-level
67605 # Makefile.
67606 case " $CONFIG_FILES " in
67607 *" Makefile "*)
67608 ac_file=Makefile . ${multi_basedir}/config-ml.in
67609 ;;
67610 esac ;;
67611 "libtool":C)
67612
67613 # See if we are running on zsh, and set the options which allow our
67614 # commands through without removal of \ escapes.
67615 if test -n "${ZSH_VERSION+set}" ; then
67616 setopt NO_GLOB_SUBST
67617 fi
67618
67619 cfgfile="${ofile}T"
67620 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
67621 $RM "$cfgfile"
67622
67623 cat <<_LT_EOF >> "$cfgfile"
67624 #! $SHELL
67625
67626 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
67627 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
67628 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
67629 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
67630 #
67631 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
67632 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
67633 # Written by Gordon Matzigkeit, 1996
67634 #
67635 # This file is part of GNU Libtool.
67636 #
67637 # GNU Libtool is free software; you can redistribute it and/or
67638 # modify it under the terms of the GNU General Public License as
67639 # published by the Free Software Foundation; either version 2 of
67640 # the License, or (at your option) any later version.
67641 #
67642 # As a special exception to the GNU General Public License,
67643 # if you distribute this file as part of a program or library that
67644 # is built using GNU Libtool, you may include this file under the
67645 # same distribution terms that you use for the rest of that program.
67646 #
67647 # GNU Libtool is distributed in the hope that it will be useful,
67648 # but WITHOUT ANY WARRANTY; without even the implied warranty of
67649 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67650 # GNU General Public License for more details.
67651 #
67652 # You should have received a copy of the GNU General Public License
67653 # along with GNU Libtool; see the file COPYING. If not, a copy
67654 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
67655 # obtained by writing to the Free Software Foundation, Inc.,
67656 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
67657
67658
67659 # The names of the tagged configurations supported by this script.
67660 available_tags="CXX "
67661
67662 # ### BEGIN LIBTOOL CONFIG
67663
67664 # Which release of libtool.m4 was used?
67665 macro_version=$macro_version
67666 macro_revision=$macro_revision
67667
67668 # Whether or not to build shared libraries.
67669 build_libtool_libs=$enable_shared
67670
67671 # Whether or not to build static libraries.
67672 build_old_libs=$enable_static
67673
67674 # What type of objects to build.
67675 pic_mode=$pic_mode
67676
67677 # Whether or not to optimize for fast installation.
67678 fast_install=$enable_fast_install
67679
67680 # Shell to use when invoking shell scripts.
67681 SHELL=$lt_SHELL
67682
67683 # An echo program that protects backslashes.
67684 ECHO=$lt_ECHO
67685
67686 # The host system.
67687 host_alias=$host_alias
67688 host=$host
67689 host_os=$host_os
67690
67691 # The build system.
67692 build_alias=$build_alias
67693 build=$build
67694 build_os=$build_os
67695
67696 # A sed program that does not truncate output.
67697 SED=$lt_SED
67698
67699 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
67700 Xsed="\$SED -e 1s/^X//"
67701
67702 # A grep program that handles long lines.
67703 GREP=$lt_GREP
67704
67705 # An ERE matcher.
67706 EGREP=$lt_EGREP
67707
67708 # A literal string matcher.
67709 FGREP=$lt_FGREP
67710
67711 # A BSD- or MS-compatible name lister.
67712 NM=$lt_NM
67713
67714 # Whether we need soft or hard links.
67715 LN_S=$lt_LN_S
67716
67717 # What is the maximum length of a command?
67718 max_cmd_len=$max_cmd_len
67719
67720 # Object file suffix (normally "o").
67721 objext=$ac_objext
67722
67723 # Executable file suffix (normally "").
67724 exeext=$exeext
67725
67726 # whether the shell understands "unset".
67727 lt_unset=$lt_unset
67728
67729 # turn spaces into newlines.
67730 SP2NL=$lt_lt_SP2NL
67731
67732 # turn newlines into spaces.
67733 NL2SP=$lt_lt_NL2SP
67734
67735 # An object symbol dumper.
67736 OBJDUMP=$lt_OBJDUMP
67737
67738 # Method to check whether dependent libraries are shared objects.
67739 deplibs_check_method=$lt_deplibs_check_method
67740
67741 # Command to use when deplibs_check_method == "file_magic".
67742 file_magic_cmd=$lt_file_magic_cmd
67743
67744 # The archiver.
67745 AR=$lt_AR
67746 AR_FLAGS=$lt_AR_FLAGS
67747
67748 # A symbol stripping program.
67749 STRIP=$lt_STRIP
67750
67751 # Commands used to install an old-style archive.
67752 RANLIB=$lt_RANLIB
67753 old_postinstall_cmds=$lt_old_postinstall_cmds
67754 old_postuninstall_cmds=$lt_old_postuninstall_cmds
67755
67756 # Whether to use a lock for old archive extraction.
67757 lock_old_archive_extraction=$lock_old_archive_extraction
67758
67759 # A C compiler.
67760 LTCC=$lt_CC
67761
67762 # LTCC compiler flags.
67763 LTCFLAGS=$lt_CFLAGS
67764
67765 # Take the output of nm and produce a listing of raw symbols and C names.
67766 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
67767
67768 # Transform the output of nm in a proper C declaration.
67769 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
67770
67771 # Transform the output of nm in a C name address pair.
67772 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
67773
67774 # Transform the output of nm in a C name address pair when lib prefix is needed.
67775 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
67776
67777 # The name of the directory that contains temporary libtool files.
67778 objdir=$objdir
67779
67780 # Used to examine libraries when file_magic_cmd begins with "file".
67781 MAGIC_CMD=$MAGIC_CMD
67782
67783 # Must we lock files when doing compilation?
67784 need_locks=$lt_need_locks
67785
67786 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
67787 DSYMUTIL=$lt_DSYMUTIL
67788
67789 # Tool to change global to local symbols on Mac OS X.
67790 NMEDIT=$lt_NMEDIT
67791
67792 # Tool to manipulate fat objects and archives on Mac OS X.
67793 LIPO=$lt_LIPO
67794
67795 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
67796 OTOOL=$lt_OTOOL
67797
67798 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
67799 OTOOL64=$lt_OTOOL64
67800
67801 # Old archive suffix (normally "a").
67802 libext=$libext
67803
67804 # Shared library suffix (normally ".so").
67805 shrext_cmds=$lt_shrext_cmds
67806
67807 # The commands to extract the exported symbol list from a shared archive.
67808 extract_expsyms_cmds=$lt_extract_expsyms_cmds
67809
67810 # Variables whose values should be saved in libtool wrapper scripts and
67811 # restored at link time.
67812 variables_saved_for_relink=$lt_variables_saved_for_relink
67813
67814 # Do we need the "lib" prefix for modules?
67815 need_lib_prefix=$need_lib_prefix
67816
67817 # Do we need a version for libraries?
67818 need_version=$need_version
67819
67820 # Library versioning type.
67821 version_type=$version_type
67822
67823 # Shared library runtime path variable.
67824 runpath_var=$runpath_var
67825
67826 # Shared library path variable.
67827 shlibpath_var=$shlibpath_var
67828
67829 # Is shlibpath searched before the hard-coded library search path?
67830 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
67831
67832 # Format of library name prefix.
67833 libname_spec=$lt_libname_spec
67834
67835 # List of archive names. First name is the real one, the rest are links.
67836 # The last name is the one that the linker finds with -lNAME
67837 library_names_spec=$lt_library_names_spec
67838
67839 # The coded name of the library, if different from the real name.
67840 soname_spec=$lt_soname_spec
67841
67842 # Permission mode override for installation of shared libraries.
67843 install_override_mode=$lt_install_override_mode
67844
67845 # Command to use after installation of a shared archive.
67846 postinstall_cmds=$lt_postinstall_cmds
67847
67848 # Command to use after uninstallation of a shared archive.
67849 postuninstall_cmds=$lt_postuninstall_cmds
67850
67851 # Commands used to finish a libtool library installation in a directory.
67852 finish_cmds=$lt_finish_cmds
67853
67854 # As "finish_cmds", except a single script fragment to be evaled but
67855 # not shown.
67856 finish_eval=$lt_finish_eval
67857
67858 # Whether we should hardcode library paths into libraries.
67859 hardcode_into_libs=$hardcode_into_libs
67860
67861 # Compile-time system search path for libraries.
67862 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
67863
67864 # Run-time system search path for libraries.
67865 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
67866
67867 # Whether dlopen is supported.
67868 dlopen_support=$enable_dlopen
67869
67870 # Whether dlopen of programs is supported.
67871 dlopen_self=$enable_dlopen_self
67872
67873 # Whether dlopen of statically linked programs is supported.
67874 dlopen_self_static=$enable_dlopen_self_static
67875
67876 # Commands to strip libraries.
67877 old_striplib=$lt_old_striplib
67878 striplib=$lt_striplib
67879
67880
67881 # The linker used to build libraries.
67882 LD=$lt_LD
67883
67884 # How to create reloadable object files.
67885 reload_flag=$lt_reload_flag
67886 reload_cmds=$lt_reload_cmds
67887
67888 # Commands used to build an old-style archive.
67889 old_archive_cmds=$lt_old_archive_cmds
67890
67891 # A language specific compiler.
67892 CC=$lt_compiler
67893
67894 # Is the compiler the GNU compiler?
67895 with_gcc=$GCC
67896
67897 # Compiler flag to turn off builtin functions.
67898 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
67899
67900 # How to pass a linker flag through the compiler.
67901 wl=$lt_lt_prog_compiler_wl
67902
67903 # Additional compiler flags for building library objects.
67904 pic_flag=$lt_lt_prog_compiler_pic
67905
67906 # Compiler flag to prevent dynamic linking.
67907 link_static_flag=$lt_lt_prog_compiler_static
67908
67909 # Does compiler simultaneously support -c and -o options?
67910 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
67911
67912 # Whether or not to add -lc for building shared libraries.
67913 build_libtool_need_lc=$archive_cmds_need_lc
67914
67915 # Whether or not to disallow shared libs when runtime libs are static.
67916 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
67917
67918 # Compiler flag to allow reflexive dlopens.
67919 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
67920
67921 # Compiler flag to generate shared objects directly from archives.
67922 whole_archive_flag_spec=$lt_whole_archive_flag_spec
67923
67924 # Whether the compiler copes with passing no objects directly.
67925 compiler_needs_object=$lt_compiler_needs_object
67926
67927 # Create an old-style archive from a shared archive.
67928 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
67929
67930 # Create a temporary old-style archive to link instead of a shared archive.
67931 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
67932
67933 # Commands used to build a shared archive.
67934 archive_cmds=$lt_archive_cmds
67935 archive_expsym_cmds=$lt_archive_expsym_cmds
67936
67937 # Commands used to build a loadable module if different from building
67938 # a shared archive.
67939 module_cmds=$lt_module_cmds
67940 module_expsym_cmds=$lt_module_expsym_cmds
67941
67942 # Whether we are building with GNU ld or not.
67943 with_gnu_ld=$lt_with_gnu_ld
67944
67945 # Flag that allows shared libraries with undefined symbols to be built.
67946 allow_undefined_flag=$lt_allow_undefined_flag
67947
67948 # Flag that enforces no undefined symbols.
67949 no_undefined_flag=$lt_no_undefined_flag
67950
67951 # Flag to hardcode \$libdir into a binary during linking.
67952 # This must work even if \$libdir does not exist
67953 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
67954
67955 # If ld is used when linking, flag to hardcode \$libdir into a binary
67956 # during linking. This must work even if \$libdir does not exist.
67957 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
67958
67959 # Whether we need a single "-rpath" flag with a separated argument.
67960 hardcode_libdir_separator=$lt_hardcode_libdir_separator
67961
67962 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67963 # DIR into the resulting binary.
67964 hardcode_direct=$hardcode_direct
67965
67966 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67967 # DIR into the resulting binary and the resulting library dependency is
67968 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
67969 # library is relocated.
67970 hardcode_direct_absolute=$hardcode_direct_absolute
67971
67972 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
67973 # into the resulting binary.
67974 hardcode_minus_L=$hardcode_minus_L
67975
67976 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
67977 # into the resulting binary.
67978 hardcode_shlibpath_var=$hardcode_shlibpath_var
67979
67980 # Set to "yes" if building a shared library automatically hardcodes DIR
67981 # into the library and all subsequent libraries and executables linked
67982 # against it.
67983 hardcode_automatic=$hardcode_automatic
67984
67985 # Set to yes if linker adds runtime paths of dependent libraries
67986 # to runtime path list.
67987 inherit_rpath=$inherit_rpath
67988
67989 # Whether libtool must link a program against all its dependency libraries.
67990 link_all_deplibs=$link_all_deplibs
67991
67992 # Fix the shell variable \$srcfile for the compiler.
67993 fix_srcfile_path=$lt_fix_srcfile_path
67994
67995 # Set to "yes" if exported symbols are required.
67996 always_export_symbols=$always_export_symbols
67997
67998 # The commands to list exported symbols.
67999 export_symbols_cmds=$lt_export_symbols_cmds
68000
68001 # Symbols that should not be listed in the preloaded symbols.
68002 exclude_expsyms=$lt_exclude_expsyms
68003
68004 # Symbols that must always be exported.
68005 include_expsyms=$lt_include_expsyms
68006
68007 # Commands necessary for linking programs (against libraries) with templates.
68008 prelink_cmds=$lt_prelink_cmds
68009
68010 # Specify filename containing input files.
68011 file_list_spec=$lt_file_list_spec
68012
68013 # How to hardcode a shared library path into an executable.
68014 hardcode_action=$hardcode_action
68015
68016 # The directories searched by this compiler when creating a shared library.
68017 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68018
68019 # Dependencies to place before and after the objects being linked to
68020 # create a shared library.
68021 predep_objects=$lt_predep_objects
68022 postdep_objects=$lt_postdep_objects
68023 predeps=$lt_predeps
68024 postdeps=$lt_postdeps
68025
68026 # The library search path used internally by the compiler when linking
68027 # a shared library.
68028 compiler_lib_search_path=$lt_compiler_lib_search_path
68029
68030 # ### END LIBTOOL CONFIG
68031
68032 _LT_EOF
68033
68034 case $host_os in
68035 aix3*)
68036 cat <<\_LT_EOF >> "$cfgfile"
68037 # AIX sometimes has problems with the GCC collect2 program. For some
68038 # reason, if we set the COLLECT_NAMES environment variable, the problems
68039 # vanish in a puff of smoke.
68040 if test "X${COLLECT_NAMES+set}" != Xset; then
68041 COLLECT_NAMES=
68042 export COLLECT_NAMES
68043 fi
68044 _LT_EOF
68045 ;;
68046 esac
68047
68048
68049 ltmain="$ac_aux_dir/ltmain.sh"
68050
68051
68052 # We use sed instead of cat because bash on DJGPP gets confused if
68053 # if finds mixed CR/LF and LF-only lines. Since sed operates in
68054 # text mode, it properly converts lines to CR/LF. This bash problem
68055 # is reportedly fixed, but why not run on old versions too?
68056 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68057 || (rm -f "$cfgfile"; exit 1)
68058
68059 case $xsi_shell in
68060 yes)
68061 cat << \_LT_EOF >> "$cfgfile"
68062
68063 # func_dirname file append nondir_replacement
68064 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68065 # otherwise set result to NONDIR_REPLACEMENT.
68066 func_dirname ()
68067 {
68068 case ${1} in
68069 */*) func_dirname_result="${1%/*}${2}" ;;
68070 * ) func_dirname_result="${3}" ;;
68071 esac
68072 }
68073
68074 # func_basename file
68075 func_basename ()
68076 {
68077 func_basename_result="${1##*/}"
68078 }
68079
68080 # func_dirname_and_basename file append nondir_replacement
68081 # perform func_basename and func_dirname in a single function
68082 # call:
68083 # dirname: Compute the dirname of FILE. If nonempty,
68084 # add APPEND to the result, otherwise set result
68085 # to NONDIR_REPLACEMENT.
68086 # value returned in "$func_dirname_result"
68087 # basename: Compute filename of FILE.
68088 # value retuned in "$func_basename_result"
68089 # Implementation must be kept synchronized with func_dirname
68090 # and func_basename. For efficiency, we do not delegate to
68091 # those functions but instead duplicate the functionality here.
68092 func_dirname_and_basename ()
68093 {
68094 case ${1} in
68095 */*) func_dirname_result="${1%/*}${2}" ;;
68096 * ) func_dirname_result="${3}" ;;
68097 esac
68098 func_basename_result="${1##*/}"
68099 }
68100
68101 # func_stripname prefix suffix name
68102 # strip PREFIX and SUFFIX off of NAME.
68103 # PREFIX and SUFFIX must not contain globbing or regex special
68104 # characters, hashes, percent signs, but SUFFIX may contain a leading
68105 # dot (in which case that matches only a dot).
68106 func_stripname ()
68107 {
68108 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68109 # positional parameters, so assign one to ordinary parameter first.
68110 func_stripname_result=${3}
68111 func_stripname_result=${func_stripname_result#"${1}"}
68112 func_stripname_result=${func_stripname_result%"${2}"}
68113 }
68114
68115 # func_opt_split
68116 func_opt_split ()
68117 {
68118 func_opt_split_opt=${1%%=*}
68119 func_opt_split_arg=${1#*=}
68120 }
68121
68122 # func_lo2o object
68123 func_lo2o ()
68124 {
68125 case ${1} in
68126 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68127 *) func_lo2o_result=${1} ;;
68128 esac
68129 }
68130
68131 # func_xform libobj-or-source
68132 func_xform ()
68133 {
68134 func_xform_result=${1%.*}.lo
68135 }
68136
68137 # func_arith arithmetic-term...
68138 func_arith ()
68139 {
68140 func_arith_result=$(( $* ))
68141 }
68142
68143 # func_len string
68144 # STRING may not start with a hyphen.
68145 func_len ()
68146 {
68147 func_len_result=${#1}
68148 }
68149
68150 _LT_EOF
68151 ;;
68152 *) # Bourne compatible functions.
68153 cat << \_LT_EOF >> "$cfgfile"
68154
68155 # func_dirname file append nondir_replacement
68156 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68157 # otherwise set result to NONDIR_REPLACEMENT.
68158 func_dirname ()
68159 {
68160 # Extract subdirectory from the argument.
68161 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68162 if test "X$func_dirname_result" = "X${1}"; then
68163 func_dirname_result="${3}"
68164 else
68165 func_dirname_result="$func_dirname_result${2}"
68166 fi
68167 }
68168
68169 # func_basename file
68170 func_basename ()
68171 {
68172 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68173 }
68174
68175
68176 # func_stripname prefix suffix name
68177 # strip PREFIX and SUFFIX off of NAME.
68178 # PREFIX and SUFFIX must not contain globbing or regex special
68179 # characters, hashes, percent signs, but SUFFIX may contain a leading
68180 # dot (in which case that matches only a dot).
68181 # func_strip_suffix prefix name
68182 func_stripname ()
68183 {
68184 case ${2} in
68185 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68186 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68187 esac
68188 }
68189
68190 # sed scripts:
68191 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68192 my_sed_long_arg='1s/^-[^=]*=//'
68193
68194 # func_opt_split
68195 func_opt_split ()
68196 {
68197 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68198 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68199 }
68200
68201 # func_lo2o object
68202 func_lo2o ()
68203 {
68204 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68205 }
68206
68207 # func_xform libobj-or-source
68208 func_xform ()
68209 {
68210 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68211 }
68212
68213 # func_arith arithmetic-term...
68214 func_arith ()
68215 {
68216 func_arith_result=`expr "$@"`
68217 }
68218
68219 # func_len string
68220 # STRING may not start with a hyphen.
68221 func_len ()
68222 {
68223 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68224 }
68225
68226 _LT_EOF
68227 esac
68228
68229 case $lt_shell_append in
68230 yes)
68231 cat << \_LT_EOF >> "$cfgfile"
68232
68233 # func_append var value
68234 # Append VALUE to the end of shell variable VAR.
68235 func_append ()
68236 {
68237 eval "$1+=\$2"
68238 }
68239 _LT_EOF
68240 ;;
68241 *)
68242 cat << \_LT_EOF >> "$cfgfile"
68243
68244 # func_append var value
68245 # Append VALUE to the end of shell variable VAR.
68246 func_append ()
68247 {
68248 eval "$1=\$$1\$2"
68249 }
68250
68251 _LT_EOF
68252 ;;
68253 esac
68254
68255
68256 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68257 || (rm -f "$cfgfile"; exit 1)
68258
68259 mv -f "$cfgfile" "$ofile" ||
68260 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68261 chmod +x "$ofile"
68262
68263
68264 cat <<_LT_EOF >> "$ofile"
68265
68266 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68267
68268 # The linker used to build libraries.
68269 LD=$lt_LD_CXX
68270
68271 # How to create reloadable object files.
68272 reload_flag=$lt_reload_flag_CXX
68273 reload_cmds=$lt_reload_cmds_CXX
68274
68275 # Commands used to build an old-style archive.
68276 old_archive_cmds=$lt_old_archive_cmds_CXX
68277
68278 # A language specific compiler.
68279 CC=$lt_compiler_CXX
68280
68281 # Is the compiler the GNU compiler?
68282 with_gcc=$GCC_CXX
68283
68284 # Compiler flag to turn off builtin functions.
68285 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68286
68287 # How to pass a linker flag through the compiler.
68288 wl=$lt_lt_prog_compiler_wl_CXX
68289
68290 # Additional compiler flags for building library objects.
68291 pic_flag=$lt_lt_prog_compiler_pic_CXX
68292
68293 # Compiler flag to prevent dynamic linking.
68294 link_static_flag=$lt_lt_prog_compiler_static_CXX
68295
68296 # Does compiler simultaneously support -c and -o options?
68297 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68298
68299 # Whether or not to add -lc for building shared libraries.
68300 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68301
68302 # Whether or not to disallow shared libs when runtime libs are static.
68303 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68304
68305 # Compiler flag to allow reflexive dlopens.
68306 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68307
68308 # Compiler flag to generate shared objects directly from archives.
68309 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68310
68311 # Whether the compiler copes with passing no objects directly.
68312 compiler_needs_object=$lt_compiler_needs_object_CXX
68313
68314 # Create an old-style archive from a shared archive.
68315 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68316
68317 # Create a temporary old-style archive to link instead of a shared archive.
68318 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68319
68320 # Commands used to build a shared archive.
68321 archive_cmds=$lt_archive_cmds_CXX
68322 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68323
68324 # Commands used to build a loadable module if different from building
68325 # a shared archive.
68326 module_cmds=$lt_module_cmds_CXX
68327 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68328
68329 # Whether we are building with GNU ld or not.
68330 with_gnu_ld=$lt_with_gnu_ld_CXX
68331
68332 # Flag that allows shared libraries with undefined symbols to be built.
68333 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68334
68335 # Flag that enforces no undefined symbols.
68336 no_undefined_flag=$lt_no_undefined_flag_CXX
68337
68338 # Flag to hardcode \$libdir into a binary during linking.
68339 # This must work even if \$libdir does not exist
68340 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68341
68342 # If ld is used when linking, flag to hardcode \$libdir into a binary
68343 # during linking. This must work even if \$libdir does not exist.
68344 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68345
68346 # Whether we need a single "-rpath" flag with a separated argument.
68347 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68348
68349 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68350 # DIR into the resulting binary.
68351 hardcode_direct=$hardcode_direct_CXX
68352
68353 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68354 # DIR into the resulting binary and the resulting library dependency is
68355 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68356 # library is relocated.
68357 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68358
68359 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68360 # into the resulting binary.
68361 hardcode_minus_L=$hardcode_minus_L_CXX
68362
68363 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68364 # into the resulting binary.
68365 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68366
68367 # Set to "yes" if building a shared library automatically hardcodes DIR
68368 # into the library and all subsequent libraries and executables linked
68369 # against it.
68370 hardcode_automatic=$hardcode_automatic_CXX
68371
68372 # Set to yes if linker adds runtime paths of dependent libraries
68373 # to runtime path list.
68374 inherit_rpath=$inherit_rpath_CXX
68375
68376 # Whether libtool must link a program against all its dependency libraries.
68377 link_all_deplibs=$link_all_deplibs_CXX
68378
68379 # Fix the shell variable \$srcfile for the compiler.
68380 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68381
68382 # Set to "yes" if exported symbols are required.
68383 always_export_symbols=$always_export_symbols_CXX
68384
68385 # The commands to list exported symbols.
68386 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68387
68388 # Symbols that should not be listed in the preloaded symbols.
68389 exclude_expsyms=$lt_exclude_expsyms_CXX
68390
68391 # Symbols that must always be exported.
68392 include_expsyms=$lt_include_expsyms_CXX
68393
68394 # Commands necessary for linking programs (against libraries) with templates.
68395 prelink_cmds=$lt_prelink_cmds_CXX
68396
68397 # Specify filename containing input files.
68398 file_list_spec=$lt_file_list_spec_CXX
68399
68400 # How to hardcode a shared library path into an executable.
68401 hardcode_action=$hardcode_action_CXX
68402
68403 # The directories searched by this compiler when creating a shared library.
68404 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68405
68406 # Dependencies to place before and after the objects being linked to
68407 # create a shared library.
68408 predep_objects=$lt_predep_objects_CXX
68409 postdep_objects=$lt_postdep_objects_CXX
68410 predeps=$lt_predeps_CXX
68411 postdeps=$lt_postdeps_CXX
68412
68413 # The library search path used internally by the compiler when linking
68414 # a shared library.
68415 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68416
68417 # ### END LIBTOOL TAG CONFIG: CXX
68418 _LT_EOF
68419
68420 ;;
68421 "include/gstdint.h":C)
68422 if test "$GCC" = yes; then
68423 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68424 else
68425 echo "/* generated for $CC */" > tmp-stdint.h
68426 fi
68427
68428 sed 's/^ *//' >> tmp-stdint.h <<EOF
68429
68430 #ifndef GCC_GENERATED_STDINT_H
68431 #define GCC_GENERATED_STDINT_H 1
68432
68433 #include <sys/types.h>
68434 EOF
68435
68436 if test "$acx_cv_header_stdint" != stdint.h; then
68437 echo "#include <stddef.h>" >> tmp-stdint.h
68438 fi
68439 if test "$acx_cv_header_stdint" != stddef.h; then
68440 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68441 fi
68442
68443 sed 's/^ *//' >> tmp-stdint.h <<EOF
68444 /* glibc uses these symbols as guards to prevent redefinitions. */
68445 #ifdef __int8_t_defined
68446 #define _INT8_T
68447 #define _INT16_T
68448 #define _INT32_T
68449 #endif
68450 #ifdef __uint32_t_defined
68451 #define _UINT32_T
68452 #endif
68453
68454 EOF
68455
68456 # ----------------- done header, emit basic int types -------------
68457 if test "$acx_cv_header_stdint" = stddef.h; then
68458 sed 's/^ *//' >> tmp-stdint.h <<EOF
68459
68460 #ifndef _UINT8_T
68461 #define _UINT8_T
68462 #ifndef __uint8_t_defined
68463 #define __uint8_t_defined
68464 #ifndef uint8_t
68465 typedef unsigned $acx_cv_type_int8_t uint8_t;
68466 #endif
68467 #endif
68468 #endif
68469
68470 #ifndef _UINT16_T
68471 #define _UINT16_T
68472 #ifndef __uint16_t_defined
68473 #define __uint16_t_defined
68474 #ifndef uint16_t
68475 typedef unsigned $acx_cv_type_int16_t uint16_t;
68476 #endif
68477 #endif
68478 #endif
68479
68480 #ifndef _UINT32_T
68481 #define _UINT32_T
68482 #ifndef __uint32_t_defined
68483 #define __uint32_t_defined
68484 #ifndef uint32_t
68485 typedef unsigned $acx_cv_type_int32_t uint32_t;
68486 #endif
68487 #endif
68488 #endif
68489
68490 #ifndef _INT8_T
68491 #define _INT8_T
68492 #ifndef __int8_t_defined
68493 #define __int8_t_defined
68494 #ifndef int8_t
68495 typedef $acx_cv_type_int8_t int8_t;
68496 #endif
68497 #endif
68498 #endif
68499
68500 #ifndef _INT16_T
68501 #define _INT16_T
68502 #ifndef __int16_t_defined
68503 #define __int16_t_defined
68504 #ifndef int16_t
68505 typedef $acx_cv_type_int16_t int16_t;
68506 #endif
68507 #endif
68508 #endif
68509
68510 #ifndef _INT32_T
68511 #define _INT32_T
68512 #ifndef __int32_t_defined
68513 #define __int32_t_defined
68514 #ifndef int32_t
68515 typedef $acx_cv_type_int32_t int32_t;
68516 #endif
68517 #endif
68518 #endif
68519 EOF
68520 elif test "$ac_cv_type_u_int32_t" = yes; then
68521 sed 's/^ *//' >> tmp-stdint.h <<EOF
68522
68523 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68524 #ifndef _INT8_T
68525 #define _INT8_T
68526 #endif
68527 #ifndef _INT16_T
68528 #define _INT16_T
68529 #endif
68530 #ifndef _INT32_T
68531 #define _INT32_T
68532 #endif
68533
68534 #ifndef _UINT8_T
68535 #define _UINT8_T
68536 #ifndef __uint8_t_defined
68537 #define __uint8_t_defined
68538 #ifndef uint8_t
68539 typedef u_int8_t uint8_t;
68540 #endif
68541 #endif
68542 #endif
68543
68544 #ifndef _UINT16_T
68545 #define _UINT16_T
68546 #ifndef __uint16_t_defined
68547 #define __uint16_t_defined
68548 #ifndef uint16_t
68549 typedef u_int16_t uint16_t;
68550 #endif
68551 #endif
68552 #endif
68553
68554 #ifndef _UINT32_T
68555 #define _UINT32_T
68556 #ifndef __uint32_t_defined
68557 #define __uint32_t_defined
68558 #ifndef uint32_t
68559 typedef u_int32_t uint32_t;
68560 #endif
68561 #endif
68562 #endif
68563 EOF
68564 else
68565 sed 's/^ *//' >> tmp-stdint.h <<EOF
68566
68567 /* Some systems have guard macros to prevent redefinitions, define them. */
68568 #ifndef _INT8_T
68569 #define _INT8_T
68570 #endif
68571 #ifndef _INT16_T
68572 #define _INT16_T
68573 #endif
68574 #ifndef _INT32_T
68575 #define _INT32_T
68576 #endif
68577 #ifndef _UINT8_T
68578 #define _UINT8_T
68579 #endif
68580 #ifndef _UINT16_T
68581 #define _UINT16_T
68582 #endif
68583 #ifndef _UINT32_T
68584 #define _UINT32_T
68585 #endif
68586 EOF
68587 fi
68588
68589 # ------------- done basic int types, emit int64_t types ------------
68590 if test "$ac_cv_type_uint64_t" = yes; then
68591 sed 's/^ *//' >> tmp-stdint.h <<EOF
68592
68593 /* system headers have good uint64_t and int64_t */
68594 #ifndef _INT64_T
68595 #define _INT64_T
68596 #endif
68597 #ifndef _UINT64_T
68598 #define _UINT64_T
68599 #endif
68600 EOF
68601 elif test "$ac_cv_type_u_int64_t" = yes; then
68602 sed 's/^ *//' >> tmp-stdint.h <<EOF
68603
68604 /* system headers have an u_int64_t (and int64_t) */
68605 #ifndef _INT64_T
68606 #define _INT64_T
68607 #endif
68608 #ifndef _UINT64_T
68609 #define _UINT64_T
68610 #ifndef __uint64_t_defined
68611 #define __uint64_t_defined
68612 #ifndef uint64_t
68613 typedef u_int64_t uint64_t;
68614 #endif
68615 #endif
68616 #endif
68617 EOF
68618 elif test -n "$acx_cv_type_int64_t"; then
68619 sed 's/^ *//' >> tmp-stdint.h <<EOF
68620
68621 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
68622 #ifndef _INT64_T
68623 #define _INT64_T
68624 #ifndef int64_t
68625 typedef $acx_cv_type_int64_t int64_t;
68626 #endif
68627 #endif
68628 #ifndef _UINT64_T
68629 #define _UINT64_T
68630 #ifndef __uint64_t_defined
68631 #define __uint64_t_defined
68632 #ifndef uint64_t
68633 typedef unsigned $acx_cv_type_int64_t uint64_t;
68634 #endif
68635 #endif
68636 #endif
68637 EOF
68638 else
68639 sed 's/^ *//' >> tmp-stdint.h <<EOF
68640
68641 /* some common heuristics for int64_t, using compiler-specific tests */
68642 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
68643 #ifndef _INT64_T
68644 #define _INT64_T
68645 #ifndef __int64_t_defined
68646 #ifndef int64_t
68647 typedef long long int64_t;
68648 #endif
68649 #endif
68650 #endif
68651 #ifndef _UINT64_T
68652 #define _UINT64_T
68653 #ifndef uint64_t
68654 typedef unsigned long long uint64_t;
68655 #endif
68656 #endif
68657
68658 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
68659 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
68660 does not implement __extension__. But that compiler doesn't define
68661 __GNUC_MINOR__. */
68662 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
68663 # define __extension__
68664 # endif
68665
68666 # ifndef _INT64_T
68667 # define _INT64_T
68668 # ifndef int64_t
68669 __extension__ typedef long long int64_t;
68670 # endif
68671 # endif
68672 # ifndef _UINT64_T
68673 # define _UINT64_T
68674 # ifndef uint64_t
68675 __extension__ typedef unsigned long long uint64_t;
68676 # endif
68677 # endif
68678
68679 #elif !defined __STRICT_ANSI__
68680 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
68681
68682 # ifndef _INT64_T
68683 # define _INT64_T
68684 # ifndef int64_t
68685 typedef __int64 int64_t;
68686 # endif
68687 # endif
68688 # ifndef _UINT64_T
68689 # define _UINT64_T
68690 # ifndef uint64_t
68691 typedef unsigned __int64 uint64_t;
68692 # endif
68693 # endif
68694 # endif /* compiler */
68695
68696 #endif /* ANSI version */
68697 EOF
68698 fi
68699
68700 # ------------- done int64_t types, emit intptr types ------------
68701 if test "$ac_cv_type_uintptr_t" != yes; then
68702 sed 's/^ *//' >> tmp-stdint.h <<EOF
68703
68704 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
68705 #ifndef __uintptr_t_defined
68706 #ifndef uintptr_t
68707 typedef u$acx_cv_type_intptr_t uintptr_t;
68708 #endif
68709 #endif
68710 #ifndef __intptr_t_defined
68711 #ifndef intptr_t
68712 typedef $acx_cv_type_intptr_t intptr_t;
68713 #endif
68714 #endif
68715 EOF
68716 fi
68717
68718 # ------------- done intptr types, emit int_least types ------------
68719 if test "$ac_cv_type_int_least32_t" != yes; then
68720 sed 's/^ *//' >> tmp-stdint.h <<EOF
68721
68722 /* Define int_least types */
68723 typedef int8_t int_least8_t;
68724 typedef int16_t int_least16_t;
68725 typedef int32_t int_least32_t;
68726 #ifdef _INT64_T
68727 typedef int64_t int_least64_t;
68728 #endif
68729
68730 typedef uint8_t uint_least8_t;
68731 typedef uint16_t uint_least16_t;
68732 typedef uint32_t uint_least32_t;
68733 #ifdef _UINT64_T
68734 typedef uint64_t uint_least64_t;
68735 #endif
68736 EOF
68737 fi
68738
68739 # ------------- done intptr types, emit int_fast types ------------
68740 if test "$ac_cv_type_int_fast32_t" != yes; then
68741 sed 's/^ *//' >> tmp-stdint.h <<EOF
68742
68743 /* Define int_fast types. short is often slow */
68744 typedef int8_t int_fast8_t;
68745 typedef int int_fast16_t;
68746 typedef int32_t int_fast32_t;
68747 #ifdef _INT64_T
68748 typedef int64_t int_fast64_t;
68749 #endif
68750
68751 typedef uint8_t uint_fast8_t;
68752 typedef unsigned int uint_fast16_t;
68753 typedef uint32_t uint_fast32_t;
68754 #ifdef _UINT64_T
68755 typedef uint64_t uint_fast64_t;
68756 #endif
68757 EOF
68758 fi
68759
68760 if test "$ac_cv_type_uintmax_t" != yes; then
68761 sed 's/^ *//' >> tmp-stdint.h <<EOF
68762
68763 /* Define intmax based on what we found */
68764 #ifndef intmax_t
68765 #ifdef _INT64_T
68766 typedef int64_t intmax_t;
68767 #else
68768 typedef long intmax_t;
68769 #endif
68770 #endif
68771 #ifndef uintmax_t
68772 #ifdef _UINT64_T
68773 typedef uint64_t uintmax_t;
68774 #else
68775 typedef unsigned long uintmax_t;
68776 #endif
68777 #endif
68778 EOF
68779 fi
68780
68781 sed 's/^ *//' >> tmp-stdint.h <<EOF
68782
68783 #endif /* GCC_GENERATED_STDINT_H */
68784 EOF
68785
68786 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
68787 rm -f tmp-stdint.h
68788 else
68789 mv -f tmp-stdint.h include/gstdint.h
68790 fi
68791
68792 ;;
68793 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
68794 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
68795 "include/Makefile":F) cat > vpsed$$ << \_EOF
68796 s!`test -f '$<' || echo '$(srcdir)/'`!!
68797 _EOF
68798 sed -f vpsed$$ $ac_file > tmp$$
68799 mv tmp$$ $ac_file
68800 rm vpsed$$
68801 echo 'MULTISUBDIR =' >> $ac_file
68802 ml_norecursion=yes
68803 . ${multi_basedir}/config-ml.in
68804 { ml_norecursion=; unset ml_norecursion;}
68805 ;;
68806 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
68807 s!`test -f '$<' || echo '$(srcdir)/'`!!
68808 _EOF
68809 sed -f vpsed$$ $ac_file > tmp$$
68810 mv tmp$$ $ac_file
68811 rm vpsed$$
68812 echo 'MULTISUBDIR =' >> $ac_file
68813 ml_norecursion=yes
68814 . ${multi_basedir}/config-ml.in
68815 { ml_norecursion=; unset ml_norecursion;}
68816 ;;
68817 "python/Makefile":F) cat > vpsed$$ << \_EOF
68818 s!`test -f '$<' || echo '$(srcdir)/'`!!
68819 _EOF
68820 sed -f vpsed$$ $ac_file > tmp$$
68821 mv tmp$$ $ac_file
68822 rm vpsed$$
68823 echo 'MULTISUBDIR =' >> $ac_file
68824 ml_norecursion=yes
68825 . ${multi_basedir}/config-ml.in
68826 { ml_norecursion=; unset ml_norecursion;}
68827 ;;
68828 "src/Makefile":F) cat > vpsed$$ << \_EOF
68829 s!`test -f '$<' || echo '$(srcdir)/'`!!
68830 _EOF
68831 sed -f vpsed$$ $ac_file > tmp$$
68832 mv tmp$$ $ac_file
68833 rm vpsed$$
68834 echo 'MULTISUBDIR =' >> $ac_file
68835 ml_norecursion=yes
68836 . ${multi_basedir}/config-ml.in
68837 { ml_norecursion=; unset ml_norecursion;}
68838 ;;
68839 "doc/Makefile":F) cat > vpsed$$ << \_EOF
68840 s!`test -f '$<' || echo '$(srcdir)/'`!!
68841 _EOF
68842 sed -f vpsed$$ $ac_file > tmp$$
68843 mv tmp$$ $ac_file
68844 rm vpsed$$
68845 echo 'MULTISUBDIR =' >> $ac_file
68846 ml_norecursion=yes
68847 . ${multi_basedir}/config-ml.in
68848 { ml_norecursion=; unset ml_norecursion;}
68849 ;;
68850 "po/Makefile":F) cat > vpsed$$ << \_EOF
68851 s!`test -f '$<' || echo '$(srcdir)/'`!!
68852 _EOF
68853 sed -f vpsed$$ $ac_file > tmp$$
68854 mv tmp$$ $ac_file
68855 rm vpsed$$
68856 echo 'MULTISUBDIR =' >> $ac_file
68857 ml_norecursion=yes
68858 . ${multi_basedir}/config-ml.in
68859 { ml_norecursion=; unset ml_norecursion;}
68860 ;;
68861 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
68862 s!`test -f '$<' || echo '$(srcdir)/'`!!
68863 _EOF
68864 sed -f vpsed$$ $ac_file > tmp$$
68865 mv tmp$$ $ac_file
68866 rm vpsed$$
68867 echo 'MULTISUBDIR =' >> $ac_file
68868 ml_norecursion=yes
68869 . ${multi_basedir}/config-ml.in
68870 { ml_norecursion=; unset ml_norecursion;}
68871 ;;
68872 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
68873
68874 esac
68875 done # for ac_tag
68876
68877
68878 as_fn_exit 0
68879 _ACEOF
68880 ac_clean_files=$ac_clean_files_save
68881
68882 test $ac_write_fail = 0 ||
68883 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
68884
68885
68886 # configure is writing to config.log, and then calls config.status.
68887 # config.status does its own redirection, appending to config.log.
68888 # Unfortunately, on DOS this fails, as config.log is still kept open
68889 # by configure, so config.status won't be able to write to it; its
68890 # output is simply discarded. So we exec the FD to /dev/null,
68891 # effectively closing config.log, so it can be properly (re)opened and
68892 # appended to by config.status. When coming back to configure, we
68893 # need to make the FD available again.
68894 if test "$no_create" != yes; then
68895 ac_cs_success=:
68896 ac_config_status_args=
68897 test "$silent" = yes &&
68898 ac_config_status_args="$ac_config_status_args --quiet"
68899 exec 5>/dev/null
68900 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
68901 exec 5>>config.log
68902 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
68903 # would make configure fail if this is the last instruction.
68904 $ac_cs_success || as_fn_exit $?
68905 fi
68906 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
68907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
68908 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
68909 fi
68910