]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856).
[thirdparty/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
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 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
200
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
212 fi
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
224 /*)
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
233 fi
234 fi
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279 fi
280 exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298 { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307 return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)$/{
352 s//\1/
353 q
354 }
355 /^X\(\/\).*/{
356 s//\1/
357 q
358 }
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
383 {
384 eval $1+=\$2
385 }'
386 else
387 as_fn_append ()
388 {
389 eval $1=\$$1\$2
390 }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
400 {
401 as_val=$(( $* ))
402 }'
403 else
404 as_fn_arith ()
405 {
406 as_val=`expr "$@" || test $? -eq 1`
407 }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422 fi
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
453 q
454 }
455 /^X\/\(\/\/\)$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\).*/{
460 s//\1/
461 q
462 }
463 s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
479 p
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
485 b
486 :lineno
487 N
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
517 *)
518 ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
541 fi
542 else
543 as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='package-unused'
589 PACKAGE_TARNAME='libstdc++'
590 PACKAGE_VERSION='version-unused'
591 PACKAGE_STRING='package-unused version-unused'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
594
595 ac_unique_file="src/shared/hashtable-aux.cc"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 # include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 # include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
631
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 get_gcc_base_ver
637 WARN_FLAGS
638 OPTIMIZE_CXXFLAGS
639 TOPLEVEL_INCLUDES
640 GLIBCXX_INCLUDES
641 glibcxx_toolexeclibdir
642 glibcxx_toolexecdir
643 gxx_include_dir
644 glibcxx_prefixdir
645 EXTRA_CFLAGS
646 CPU_OPT_BITS_RANDOM
647 CPU_OPT_EXT_RANDOM
648 ERROR_CONSTANTS_SRCDIR
649 OS_INC_SRCDIR
650 ABI_TWEAKS_SRCDIR
651 CPU_DEFINES_SRCDIR
652 ATOMIC_FLAGS
653 ATOMIC_WORD_SRCDIR
654 ATOMICITY_SRCDIR
655 INCLUDE_DIR_NOTPARALLEL_FALSE
656 INCLUDE_DIR_NOTPARALLEL_TRUE
657 BUILD_PDF_FALSE
658 BUILD_PDF_TRUE
659 PDFLATEX
660 DBLATEX
661 BUILD_MAN_FALSE
662 BUILD_MAN_TRUE
663 BUILD_HTML_FALSE
664 BUILD_HTML_TRUE
665 BUILD_XML_FALSE
666 BUILD_XML_TRUE
667 BUILD_EPUB_FALSE
668 BUILD_EPUB_TRUE
669 XSL_STYLE_DIR
670 XMLLINT
671 XSLTPROC
672 DOT
673 DOXYGEN
674 BUILD_INFO_FALSE
675 BUILD_INFO_TRUE
676 ENABLE_FILESYSTEM_TS_FALSE
677 ENABLE_FILESYSTEM_TS_TRUE
678 baseline_subdir_switch
679 baseline_dir
680 HWCAP_CFLAGS
681 GLIBCXX_LDBL_COMPAT_FALSE
682 GLIBCXX_LDBL_COMPAT_TRUE
683 LONG_DOUBLE_COMPAT_FLAGS
684 ENABLE_CXX11_ABI_FALSE
685 ENABLE_CXX11_ABI_TRUE
686 glibcxx_cxx98_abi
687 ENABLE_DUAL_ABI_FALSE
688 ENABLE_DUAL_ABI_TRUE
689 ENABLE_VISIBILITY_FALSE
690 ENABLE_VISIBILITY_TRUE
691 libtool_VERSION
692 ENABLE_SYMVERS_SUN_FALSE
693 ENABLE_SYMVERS_SUN_TRUE
694 ENABLE_SYMVERS_DARWIN_FALSE
695 ENABLE_SYMVERS_DARWIN_TRUE
696 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
697 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
698 ENABLE_SYMVERS_GNU_FALSE
699 ENABLE_SYMVERS_GNU_TRUE
700 ENABLE_SYMVERS_FALSE
701 ENABLE_SYMVERS_TRUE
702 port_specific_symbol_files
703 SYMVER_FILE
704 CXXFILT
705 LTLIBICONV
706 LIBICONV
707 OPT_LDFLAGS
708 SECTION_LDFLAGS
709 GLIBCXX_LIBS
710 ENABLE_VTABLE_VERIFY_FALSE
711 ENABLE_VTABLE_VERIFY_TRUE
712 VTV_CYGMIN_FALSE
713 VTV_CYGMIN_TRUE
714 VTV_CXXLINKFLAGS
715 VTV_PCH_CXXFLAGS
716 VTV_CXXFLAGS
717 ENABLE_WERROR_FALSE
718 ENABLE_WERROR_TRUE
719 ENABLE_PYTHONDIR_FALSE
720 ENABLE_PYTHONDIR_TRUE
721 python_mod_dir
722 ENABLE_EXTERN_TEMPLATE_FALSE
723 ENABLE_EXTERN_TEMPLATE_TRUE
724 EXTRA_CXX_FLAGS
725 GLIBCXX_BUILD_DEBUG_FALSE
726 GLIBCXX_BUILD_DEBUG_TRUE
727 DEBUG_FLAGS
728 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
729 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
730 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
731 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
732 GLIBCXX_C_HEADERS_C_STD_FALSE
733 GLIBCXX_C_HEADERS_C_STD_TRUE
734 GLIBCXX_C_HEADERS_C_FALSE
735 GLIBCXX_C_HEADERS_C_TRUE
736 C_INCLUDE_DIR
737 ALLOCATOR_NAME
738 ALLOCATOR_H
739 ENABLE_ALLOCATOR_NEW_FALSE
740 ENABLE_ALLOCATOR_NEW_TRUE
741 CLOCALE_INTERNAL_H
742 CLOCALE_CC
743 CTIME_CC
744 CTIME_H
745 CNUMERIC_CC
746 CMONEY_CC
747 CMESSAGES_CC
748 CCTYPE_CC
749 CCOLLATE_CC
750 CCODECVT_CC
751 CMESSAGES_H
752 CLOCALE_H
753 USE_NLS
754 glibcxx_localedir
755 glibcxx_POFILES
756 glibcxx_MOFILES
757 check_msgfmt
758 BASIC_FILE_CC
759 BASIC_FILE_H
760 CSTDIO_H
761 SECTION_FLAGS
762 ENABLE_FLOAT128_FALSE
763 ENABLE_FLOAT128_TRUE
764 thread_header
765 glibcxx_PCHFLAGS
766 GLIBCXX_BUILD_PCH_FALSE
767 GLIBCXX_BUILD_PCH_TRUE
768 GLIBCXX_HOSTED_FALSE
769 GLIBCXX_HOSTED_TRUE
770 glibcxx_compiler_shared_flag
771 glibcxx_compiler_pic_flag
772 glibcxx_lt_pic_flag
773 enable_static
774 enable_shared
775 lt_host_flags
776 CXXCPP
777 OTOOL64
778 OTOOL
779 LIPO
780 NMEDIT
781 DSYMUTIL
782 OBJDUMP
783 NM
784 ac_ct_DUMPBIN
785 DUMPBIN
786 LD
787 FGREP
788 SED
789 LIBTOOL
790 EGREP
791 GREP
792 CPP
793 MAINT
794 MAINTAINER_MODE_FALSE
795 MAINTAINER_MODE_TRUE
796 RANLIB
797 AR
798 AS
799 LN_S
800 toplevel_srcdir
801 toplevel_builddir
802 glibcxx_srcdir
803 glibcxx_builddir
804 ac_ct_CXX
805 CXXFLAGS
806 CXX
807 OBJEXT
808 EXEEXT
809 ac_ct_CC
810 CPPFLAGS
811 LDFLAGS
812 CFLAGS
813 CC
814 AM_BACKSLASH
815 AM_DEFAULT_VERBOSITY
816 AM_DEFAULT_V
817 AM_V
818 am__untar
819 am__tar
820 AMTAR
821 am__leading_dot
822 SET_MAKE
823 AWK
824 mkdir_p
825 MKDIR_P
826 INSTALL_STRIP_PROGRAM
827 STRIP
828 install_sh
829 MAKEINFO
830 AUTOHEADER
831 AUTOMAKE
832 AUTOCONF
833 ACLOCAL
834 VERSION
835 PACKAGE
836 CYGPATH_W
837 am__isrc
838 INSTALL_DATA
839 INSTALL_SCRIPT
840 INSTALL_PROGRAM
841 target_os
842 target_vendor
843 target_cpu
844 target
845 host_os
846 host_vendor
847 host_cpu
848 host
849 build_os
850 build_vendor
851 build_cpu
852 build
853 multi_basedir
854 target_alias
855 host_alias
856 build_alias
857 LIBS
858 ECHO_T
859 ECHO_N
860 ECHO_C
861 DEFS
862 mandir
863 localedir
864 libdir
865 psdir
866 pdfdir
867 dvidir
868 htmldir
869 infodir
870 docdir
871 oldincludedir
872 includedir
873 localstatedir
874 sharedstatedir
875 sysconfdir
876 datadir
877 datarootdir
878 libexecdir
879 sbindir
880 bindir
881 program_transform_name
882 prefix
883 exec_prefix
884 PACKAGE_URL
885 PACKAGE_BUGREPORT
886 PACKAGE_STRING
887 PACKAGE_VERSION
888 PACKAGE_TARNAME
889 PACKAGE_NAME
890 PATH_SEPARATOR
891 SHELL'
892 ac_subst_files=''
893 ac_user_opts='
894 enable_option_checking
895 enable_multilib
896 enable_silent_rules
897 with_target_subdir
898 with_cross_host
899 with_newlib
900 enable_maintainer_mode
901 enable_shared
902 enable_static
903 with_pic
904 enable_fast_install
905 with_gnu_ld
906 enable_libtool_lock
907 enable_hosted_libstdcxx
908 enable_libstdcxx_verbose
909 enable_libstdcxx_pch
910 enable_cstdio
911 enable_clocale
912 enable_nls
913 enable_libstdcxx_allocator
914 enable_cheaders
915 enable_long_long
916 enable_wchar_t
917 enable_c99
918 enable_concept_checks
919 enable_libstdcxx_debug_flags
920 enable_libstdcxx_debug
921 enable_cxx_flags
922 enable_fully_dynamic_string
923 enable_extern_template
924 with_python_dir
925 enable_werror
926 enable_vtable_verify
927 enable_libstdcxx_time
928 enable_tls
929 enable_rpath
930 with_libiconv_prefix
931 with_system_libunwind
932 enable_linux_futex
933 enable_symvers
934 enable_libstdcxx_visibility
935 enable_libstdcxx_dual_abi
936 with_default_libstdcxx_abi
937 enable_libstdcxx_threads
938 enable_libstdcxx_filesystem_ts
939 enable_cet
940 with_gxx_include_dir
941 enable_version_specific_runtime_libs
942 with_gcc_major_version_only
943 '
944 ac_precious_vars='build_alias
945 host_alias
946 target_alias
947 CC
948 CFLAGS
949 LDFLAGS
950 LIBS
951 CPPFLAGS
952 CXX
953 CXXFLAGS
954 CCC
955 CPP
956 CXXCPP
957 CXXFILT'
958
959
960 # Initialize some variables set by options.
961 ac_init_help=
962 ac_init_version=false
963 ac_unrecognized_opts=
964 ac_unrecognized_sep=
965 # The variables have the same names as the options, with
966 # dashes changed to underlines.
967 cache_file=/dev/null
968 exec_prefix=NONE
969 no_create=
970 no_recursion=
971 prefix=NONE
972 program_prefix=NONE
973 program_suffix=NONE
974 program_transform_name=s,x,x,
975 silent=
976 site=
977 srcdir=
978 verbose=
979 x_includes=NONE
980 x_libraries=NONE
981
982 # Installation directory options.
983 # These are left unexpanded so users can "make install exec_prefix=/foo"
984 # and all the variables that are supposed to be based on exec_prefix
985 # by default will actually change.
986 # Use braces instead of parens because sh, perl, etc. also accept them.
987 # (The list follows the same order as the GNU Coding Standards.)
988 bindir='${exec_prefix}/bin'
989 sbindir='${exec_prefix}/sbin'
990 libexecdir='${exec_prefix}/libexec'
991 datarootdir='${prefix}/share'
992 datadir='${datarootdir}'
993 sysconfdir='${prefix}/etc'
994 sharedstatedir='${prefix}/com'
995 localstatedir='${prefix}/var'
996 includedir='${prefix}/include'
997 oldincludedir='/usr/include'
998 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
999 infodir='${datarootdir}/info'
1000 htmldir='${docdir}'
1001 dvidir='${docdir}'
1002 pdfdir='${docdir}'
1003 psdir='${docdir}'
1004 libdir='${exec_prefix}/lib'
1005 localedir='${datarootdir}/locale'
1006 mandir='${datarootdir}/man'
1007
1008 ac_prev=
1009 ac_dashdash=
1010 for ac_option
1011 do
1012 # If the previous option needs an argument, assign it.
1013 if test -n "$ac_prev"; then
1014 eval $ac_prev=\$ac_option
1015 ac_prev=
1016 continue
1017 fi
1018
1019 case $ac_option in
1020 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1021 *=) ac_optarg= ;;
1022 *) ac_optarg=yes ;;
1023 esac
1024
1025 # Accept the important Cygnus configure options, so we can diagnose typos.
1026
1027 case $ac_dashdash$ac_option in
1028 --)
1029 ac_dashdash=yes ;;
1030
1031 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1032 ac_prev=bindir ;;
1033 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1034 bindir=$ac_optarg ;;
1035
1036 -build | --build | --buil | --bui | --bu)
1037 ac_prev=build_alias ;;
1038 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1039 build_alias=$ac_optarg ;;
1040
1041 -cache-file | --cache-file | --cache-fil | --cache-fi \
1042 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1043 ac_prev=cache_file ;;
1044 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1045 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1046 cache_file=$ac_optarg ;;
1047
1048 --config-cache | -C)
1049 cache_file=config.cache ;;
1050
1051 -datadir | --datadir | --datadi | --datad)
1052 ac_prev=datadir ;;
1053 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1054 datadir=$ac_optarg ;;
1055
1056 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1057 | --dataroo | --dataro | --datar)
1058 ac_prev=datarootdir ;;
1059 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1060 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1061 datarootdir=$ac_optarg ;;
1062
1063 -disable-* | --disable-*)
1064 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067 as_fn_error $? "invalid feature name: $ac_useropt"
1068 ac_useropt_orig=$ac_useropt
1069 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070 case $ac_user_opts in
1071 *"
1072 "enable_$ac_useropt"
1073 "*) ;;
1074 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1075 ac_unrecognized_sep=', ';;
1076 esac
1077 eval enable_$ac_useropt=no ;;
1078
1079 -docdir | --docdir | --docdi | --doc | --do)
1080 ac_prev=docdir ;;
1081 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1082 docdir=$ac_optarg ;;
1083
1084 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1085 ac_prev=dvidir ;;
1086 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1087 dvidir=$ac_optarg ;;
1088
1089 -enable-* | --enable-*)
1090 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1091 # Reject names that are not valid shell variable names.
1092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093 as_fn_error $? "invalid feature name: $ac_useropt"
1094 ac_useropt_orig=$ac_useropt
1095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096 case $ac_user_opts in
1097 *"
1098 "enable_$ac_useropt"
1099 "*) ;;
1100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1101 ac_unrecognized_sep=', ';;
1102 esac
1103 eval enable_$ac_useropt=\$ac_optarg ;;
1104
1105 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1106 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1107 | --exec | --exe | --ex)
1108 ac_prev=exec_prefix ;;
1109 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1110 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1111 | --exec=* | --exe=* | --ex=*)
1112 exec_prefix=$ac_optarg ;;
1113
1114 -gas | --gas | --ga | --g)
1115 # Obsolete; use --with-gas.
1116 with_gas=yes ;;
1117
1118 -help | --help | --hel | --he | -h)
1119 ac_init_help=long ;;
1120 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1121 ac_init_help=recursive ;;
1122 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1123 ac_init_help=short ;;
1124
1125 -host | --host | --hos | --ho)
1126 ac_prev=host_alias ;;
1127 -host=* | --host=* | --hos=* | --ho=*)
1128 host_alias=$ac_optarg ;;
1129
1130 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1131 ac_prev=htmldir ;;
1132 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1133 | --ht=*)
1134 htmldir=$ac_optarg ;;
1135
1136 -includedir | --includedir | --includedi | --included | --include \
1137 | --includ | --inclu | --incl | --inc)
1138 ac_prev=includedir ;;
1139 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1140 | --includ=* | --inclu=* | --incl=* | --inc=*)
1141 includedir=$ac_optarg ;;
1142
1143 -infodir | --infodir | --infodi | --infod | --info | --inf)
1144 ac_prev=infodir ;;
1145 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1146 infodir=$ac_optarg ;;
1147
1148 -libdir | --libdir | --libdi | --libd)
1149 ac_prev=libdir ;;
1150 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1151 libdir=$ac_optarg ;;
1152
1153 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1154 | --libexe | --libex | --libe)
1155 ac_prev=libexecdir ;;
1156 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1157 | --libexe=* | --libex=* | --libe=*)
1158 libexecdir=$ac_optarg ;;
1159
1160 -localedir | --localedir | --localedi | --localed | --locale)
1161 ac_prev=localedir ;;
1162 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1163 localedir=$ac_optarg ;;
1164
1165 -localstatedir | --localstatedir | --localstatedi | --localstated \
1166 | --localstate | --localstat | --localsta | --localst | --locals)
1167 ac_prev=localstatedir ;;
1168 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1169 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1170 localstatedir=$ac_optarg ;;
1171
1172 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1173 ac_prev=mandir ;;
1174 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1175 mandir=$ac_optarg ;;
1176
1177 -nfp | --nfp | --nf)
1178 # Obsolete; use --without-fp.
1179 with_fp=no ;;
1180
1181 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1182 | --no-cr | --no-c | -n)
1183 no_create=yes ;;
1184
1185 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1186 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1187 no_recursion=yes ;;
1188
1189 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1190 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1191 | --oldin | --oldi | --old | --ol | --o)
1192 ac_prev=oldincludedir ;;
1193 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1194 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1195 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1196 oldincludedir=$ac_optarg ;;
1197
1198 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1199 ac_prev=prefix ;;
1200 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1201 prefix=$ac_optarg ;;
1202
1203 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1204 | --program-pre | --program-pr | --program-p)
1205 ac_prev=program_prefix ;;
1206 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1207 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1208 program_prefix=$ac_optarg ;;
1209
1210 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1211 | --program-suf | --program-su | --program-s)
1212 ac_prev=program_suffix ;;
1213 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1214 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1215 program_suffix=$ac_optarg ;;
1216
1217 -program-transform-name | --program-transform-name \
1218 | --program-transform-nam | --program-transform-na \
1219 | --program-transform-n | --program-transform- \
1220 | --program-transform | --program-transfor \
1221 | --program-transfo | --program-transf \
1222 | --program-trans | --program-tran \
1223 | --progr-tra | --program-tr | --program-t)
1224 ac_prev=program_transform_name ;;
1225 -program-transform-name=* | --program-transform-name=* \
1226 | --program-transform-nam=* | --program-transform-na=* \
1227 | --program-transform-n=* | --program-transform-=* \
1228 | --program-transform=* | --program-transfor=* \
1229 | --program-transfo=* | --program-transf=* \
1230 | --program-trans=* | --program-tran=* \
1231 | --progr-tra=* | --program-tr=* | --program-t=*)
1232 program_transform_name=$ac_optarg ;;
1233
1234 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1235 ac_prev=pdfdir ;;
1236 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1237 pdfdir=$ac_optarg ;;
1238
1239 -psdir | --psdir | --psdi | --psd | --ps)
1240 ac_prev=psdir ;;
1241 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1242 psdir=$ac_optarg ;;
1243
1244 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1245 | -silent | --silent | --silen | --sile | --sil)
1246 silent=yes ;;
1247
1248 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1249 ac_prev=sbindir ;;
1250 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1251 | --sbi=* | --sb=*)
1252 sbindir=$ac_optarg ;;
1253
1254 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1255 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1256 | --sharedst | --shareds | --shared | --share | --shar \
1257 | --sha | --sh)
1258 ac_prev=sharedstatedir ;;
1259 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1260 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1261 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1262 | --sha=* | --sh=*)
1263 sharedstatedir=$ac_optarg ;;
1264
1265 -site | --site | --sit)
1266 ac_prev=site ;;
1267 -site=* | --site=* | --sit=*)
1268 site=$ac_optarg ;;
1269
1270 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1271 ac_prev=srcdir ;;
1272 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1273 srcdir=$ac_optarg ;;
1274
1275 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1276 | --syscon | --sysco | --sysc | --sys | --sy)
1277 ac_prev=sysconfdir ;;
1278 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1279 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1280 sysconfdir=$ac_optarg ;;
1281
1282 -target | --target | --targe | --targ | --tar | --ta | --t)
1283 ac_prev=target_alias ;;
1284 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1285 target_alias=$ac_optarg ;;
1286
1287 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1288 verbose=yes ;;
1289
1290 -version | --version | --versio | --versi | --vers | -V)
1291 ac_init_version=: ;;
1292
1293 -with-* | --with-*)
1294 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1295 # Reject names that are not valid shell variable names.
1296 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1297 as_fn_error $? "invalid package name: $ac_useropt"
1298 ac_useropt_orig=$ac_useropt
1299 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1300 case $ac_user_opts in
1301 *"
1302 "with_$ac_useropt"
1303 "*) ;;
1304 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1305 ac_unrecognized_sep=', ';;
1306 esac
1307 eval with_$ac_useropt=\$ac_optarg ;;
1308
1309 -without-* | --without-*)
1310 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1311 # Reject names that are not valid shell variable names.
1312 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1313 as_fn_error $? "invalid package name: $ac_useropt"
1314 ac_useropt_orig=$ac_useropt
1315 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1316 case $ac_user_opts in
1317 *"
1318 "with_$ac_useropt"
1319 "*) ;;
1320 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1321 ac_unrecognized_sep=', ';;
1322 esac
1323 eval with_$ac_useropt=no ;;
1324
1325 --x)
1326 # Obsolete; use --with-x.
1327 with_x=yes ;;
1328
1329 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1330 | --x-incl | --x-inc | --x-in | --x-i)
1331 ac_prev=x_includes ;;
1332 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1333 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1334 x_includes=$ac_optarg ;;
1335
1336 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1337 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1338 ac_prev=x_libraries ;;
1339 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1340 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1341 x_libraries=$ac_optarg ;;
1342
1343 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1344 Try \`$0 --help' for more information"
1345 ;;
1346
1347 *=*)
1348 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1349 # Reject names that are not valid shell variable names.
1350 case $ac_envvar in #(
1351 '' | [0-9]* | *[!_$as_cr_alnum]* )
1352 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1353 esac
1354 eval $ac_envvar=\$ac_optarg
1355 export $ac_envvar ;;
1356
1357 *)
1358 # FIXME: should be removed in autoconf 3.0.
1359 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1360 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1361 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1362 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1363 ;;
1364
1365 esac
1366 done
1367
1368 if test -n "$ac_prev"; then
1369 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1370 as_fn_error $? "missing argument to $ac_option"
1371 fi
1372
1373 if test -n "$ac_unrecognized_opts"; then
1374 case $enable_option_checking in
1375 no) ;;
1376 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1377 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1378 esac
1379 fi
1380
1381 # Check all directory arguments for consistency.
1382 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1383 datadir sysconfdir sharedstatedir localstatedir includedir \
1384 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1385 libdir localedir mandir
1386 do
1387 eval ac_val=\$$ac_var
1388 # Remove trailing slashes.
1389 case $ac_val in
1390 */ )
1391 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1392 eval $ac_var=\$ac_val;;
1393 esac
1394 # Be sure to have absolute directory names.
1395 case $ac_val in
1396 [\\/$]* | ?:[\\/]* ) continue;;
1397 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1398 esac
1399 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1400 done
1401
1402 # There might be people who depend on the old broken behavior: `$host'
1403 # used to hold the argument of --host etc.
1404 # FIXME: To remove some day.
1405 build=$build_alias
1406 host=$host_alias
1407 target=$target_alias
1408
1409 # FIXME: To remove some day.
1410 if test "x$host_alias" != x; then
1411 if test "x$build_alias" = x; then
1412 cross_compiling=maybe
1413 elif test "x$build_alias" != "x$host_alias"; then
1414 cross_compiling=yes
1415 fi
1416 fi
1417
1418 ac_tool_prefix=
1419 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1420
1421 test "$silent" = yes && exec 6>/dev/null
1422
1423
1424 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1425 ac_ls_di=`ls -di .` &&
1426 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1427 as_fn_error $? "working directory cannot be determined"
1428 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1429 as_fn_error $? "pwd does not report name of working directory"
1430
1431
1432 # Find the source files, if location was not specified.
1433 if test -z "$srcdir"; then
1434 ac_srcdir_defaulted=yes
1435 # Try the directory containing this script, then the parent directory.
1436 ac_confdir=`$as_dirname -- "$as_myself" ||
1437 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1438 X"$as_myself" : 'X\(//\)[^/]' \| \
1439 X"$as_myself" : 'X\(//\)$' \| \
1440 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1441 $as_echo X"$as_myself" |
1442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1443 s//\1/
1444 q
1445 }
1446 /^X\(\/\/\)[^/].*/{
1447 s//\1/
1448 q
1449 }
1450 /^X\(\/\/\)$/{
1451 s//\1/
1452 q
1453 }
1454 /^X\(\/\).*/{
1455 s//\1/
1456 q
1457 }
1458 s/.*/./; q'`
1459 srcdir=$ac_confdir
1460 if test ! -r "$srcdir/$ac_unique_file"; then
1461 srcdir=..
1462 fi
1463 else
1464 ac_srcdir_defaulted=no
1465 fi
1466 if test ! -r "$srcdir/$ac_unique_file"; then
1467 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1468 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1469 fi
1470 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1471 ac_abs_confdir=`(
1472 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1473 pwd)`
1474 # When building in place, set srcdir=.
1475 if test "$ac_abs_confdir" = "$ac_pwd"; then
1476 srcdir=.
1477 fi
1478 # Remove unnecessary trailing slashes from srcdir.
1479 # Double slashes in file names in object file debugging info
1480 # mess up M-x gdb in Emacs.
1481 case $srcdir in
1482 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1483 esac
1484 for ac_var in $ac_precious_vars; do
1485 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1486 eval ac_env_${ac_var}_value=\$${ac_var}
1487 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1488 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1489 done
1490
1491 #
1492 # Report the --help message.
1493 #
1494 if test "$ac_init_help" = "long"; then
1495 # Omit some internal or obsolete options to make the list less imposing.
1496 # This message is too long to be a string in the A/UX 3.1 sh.
1497 cat <<_ACEOF
1498 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1499
1500 Usage: $0 [OPTION]... [VAR=VALUE]...
1501
1502 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1503 VAR=VALUE. See below for descriptions of some of the useful variables.
1504
1505 Defaults for the options are specified in brackets.
1506
1507 Configuration:
1508 -h, --help display this help and exit
1509 --help=short display options specific to this package
1510 --help=recursive display the short help of all the included packages
1511 -V, --version display version information and exit
1512 -q, --quiet, --silent do not print \`checking ...' messages
1513 --cache-file=FILE cache test results in FILE [disabled]
1514 -C, --config-cache alias for \`--cache-file=config.cache'
1515 -n, --no-create do not create output files
1516 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1517
1518 Installation directories:
1519 --prefix=PREFIX install architecture-independent files in PREFIX
1520 [$ac_default_prefix]
1521 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1522 [PREFIX]
1523
1524 By default, \`make install' will install all the files in
1525 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1526 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1527 for instance \`--prefix=\$HOME'.
1528
1529 For better control, use the options below.
1530
1531 Fine tuning of the installation directories:
1532 --bindir=DIR user executables [EPREFIX/bin]
1533 --sbindir=DIR system admin executables [EPREFIX/sbin]
1534 --libexecdir=DIR program executables [EPREFIX/libexec]
1535 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1536 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1537 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1538 --libdir=DIR object code libraries [EPREFIX/lib]
1539 --includedir=DIR C header files [PREFIX/include]
1540 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1541 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1542 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1543 --infodir=DIR info documentation [DATAROOTDIR/info]
1544 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1545 --mandir=DIR man documentation [DATAROOTDIR/man]
1546 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1547 --htmldir=DIR html documentation [DOCDIR]
1548 --dvidir=DIR dvi documentation [DOCDIR]
1549 --pdfdir=DIR pdf documentation [DOCDIR]
1550 --psdir=DIR ps documentation [DOCDIR]
1551 _ACEOF
1552
1553 cat <<\_ACEOF
1554
1555 Program names:
1556 --program-prefix=PREFIX prepend PREFIX to installed program names
1557 --program-suffix=SUFFIX append SUFFIX to installed program names
1558 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1559
1560 System types:
1561 --build=BUILD configure for building on BUILD [guessed]
1562 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1563 --target=TARGET configure for building compilers for TARGET [HOST]
1564 _ACEOF
1565 fi
1566
1567 if test -n "$ac_init_help"; then
1568 case $ac_init_help in
1569 short | recursive ) echo "Configuration of package-unused version-unused:";;
1570 esac
1571 cat <<\_ACEOF
1572
1573 Optional Features:
1574 --disable-option-checking ignore unrecognized --enable/--with options
1575 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1576 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1577 --enable-multilib build many library versions (default)
1578 --enable-silent-rules less verbose build output (undo: "make V=1")
1579 --disable-silent-rules verbose build output (undo: "make V=0")
1580 --enable-maintainer-mode
1581 enable make rules and dependencies not useful (and
1582 sometimes confusing) to the casual installer
1583 --enable-shared[=PKGS] build shared libraries [default=yes]
1584 --enable-static[=PKGS] build static libraries [default=yes]
1585 --enable-fast-install[=PKGS]
1586 optimize for fast installation [default=yes]
1587 --disable-libtool-lock avoid locking (might break parallel builds)
1588 --disable-hosted-libstdcxx
1589 only build freestanding C++ runtime support
1590 --disable-libstdcxx-verbose
1591 disable termination messages to standard error
1592 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1593 [default=$is_hosted]
1594 --enable-cstdio[=PACKAGE]
1595 use target-specific I/O package [default=stdio]
1596 --enable-clocale[=MODEL]
1597 use MODEL for target locale package [default=auto]
1598 --enable-nls use Native Language Support (default)
1599 --enable-libstdcxx-allocator[=KIND]
1600 use KIND for target std::allocator base
1601 [default=auto]
1602 --enable-cheaders[=KIND]
1603 construct "C" headers for g++ [default=$c_model]
1604 --enable-long-long enable template specializations for 'long long'
1605 [default=yes]
1606 --enable-wchar_t enable template specializations for 'wchar_t'
1607 [default=yes]
1608 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1609 --enable-concept-checks use Boost-derived template checks [default=no]
1610 --enable-libstdcxx-debug-flags=FLAGS
1611 pass compiler FLAGS when building debug library
1612 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1613 --enable-libstdcxx-debug
1614 build extra debug library [default=no]
1615 --enable-cxx-flags=FLAGS
1616 pass compiler FLAGS when building library [default=]
1617 --enable-fully-dynamic-string
1618 do not put empty strings in per-process static
1619 memory [default=no]
1620 --enable-extern-template
1621 enable extern template [default=yes]
1622 --enable-werror turns on -Werror [default=no]
1623 --enable-vtable-verify enable vtable verify [default=no]
1624 --enable-libstdcxx-time[=KIND]
1625 use KIND for check type [default=auto]
1626 --enable-tls Use thread-local storage [default=yes]
1627 --disable-rpath do not hardcode runtime library paths
1628 --enable-linux-futex use the Linux futex system call [default=default]
1629 --enable-symvers[=STYLE]
1630 enables symbol versioning of the shared library
1631 [default=yes]
1632 --enable-libstdcxx-visibility
1633 enables visibility safe usage [default=yes]
1634 --enable-libstdcxx-dual-abi
1635 support two versions of std::string [default=yes]
1636 --enable-libstdcxx-threads
1637 enable C++11 threads support [default=auto]
1638 --enable-libstdcxx-filesystem-ts
1639 turns on ISO/IEC TS 18822 support [default=auto]
1640 --enable-cet enable Intel CET in target libraries [default=no]
1641 --enable-version-specific-runtime-libs
1642 Specify that runtime libraries should be installed
1643 in a compiler-specific directory
1644
1645 Optional Packages:
1646 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1647 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1648 --with-target-subdir=SUBDIR
1649 configuring in a subdirectory
1650 --with-cross-host=HOST configuring with a cross compiler
1651 --with-newlib assume newlib as a system C library
1652 --with-pic try to use only PIC/non-PIC objects [default=use
1653 both]
1654 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1655 --with-python-dir the location to install Python modules. This path is
1656 relative starting from the prefix.
1657 --with-gnu-ld assume the C compiler uses GNU ld default=no
1658 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1659 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1660 --with-system-libunwind use installed libunwind
1661 --with-default-libstdcxx-abi
1662 set the std::string ABI to use by default
1663 --with-gxx-include-dir=DIR
1664 installation directory for include files
1665 --with-gcc-major-version-only
1666 use only GCC major number in filesystem paths
1667
1668 Some influential environment variables:
1669 CC C compiler command
1670 CFLAGS C compiler flags
1671 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1672 nonstandard directory <lib dir>
1673 LIBS libraries to pass to the linker, e.g. -l<library>
1674 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1675 you have headers in a nonstandard directory <include dir>
1676 CXX C++ compiler command
1677 CXXFLAGS C++ compiler flags
1678 CPP C preprocessor
1679 CXXCPP C++ preprocessor
1680 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1681 `c++filt', `gc++filt' on PATH.
1682
1683 Use these variables to override the choices made by `configure' or to help
1684 it to find libraries and programs with nonstandard names/locations.
1685
1686 Report bugs to the package provider.
1687 _ACEOF
1688 ac_status=$?
1689 fi
1690
1691 if test "$ac_init_help" = "recursive"; then
1692 # If there are subdirs, report their specific --help.
1693 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1694 test -d "$ac_dir" ||
1695 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1696 continue
1697 ac_builddir=.
1698
1699 case "$ac_dir" in
1700 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1701 *)
1702 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1703 # A ".." for each directory in $ac_dir_suffix.
1704 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1705 case $ac_top_builddir_sub in
1706 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1707 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1708 esac ;;
1709 esac
1710 ac_abs_top_builddir=$ac_pwd
1711 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1712 # for backward compatibility:
1713 ac_top_builddir=$ac_top_build_prefix
1714
1715 case $srcdir in
1716 .) # We are building in place.
1717 ac_srcdir=.
1718 ac_top_srcdir=$ac_top_builddir_sub
1719 ac_abs_top_srcdir=$ac_pwd ;;
1720 [\\/]* | ?:[\\/]* ) # Absolute name.
1721 ac_srcdir=$srcdir$ac_dir_suffix;
1722 ac_top_srcdir=$srcdir
1723 ac_abs_top_srcdir=$srcdir ;;
1724 *) # Relative name.
1725 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1726 ac_top_srcdir=$ac_top_build_prefix$srcdir
1727 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1728 esac
1729 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1730
1731 cd "$ac_dir" || { ac_status=$?; continue; }
1732 # Check for guested configure.
1733 if test -f "$ac_srcdir/configure.gnu"; then
1734 echo &&
1735 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1736 elif test -f "$ac_srcdir/configure"; then
1737 echo &&
1738 $SHELL "$ac_srcdir/configure" --help=recursive
1739 else
1740 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1741 fi || ac_status=$?
1742 cd "$ac_pwd" || { ac_status=$?; break; }
1743 done
1744 fi
1745
1746 test -n "$ac_init_help" && exit $ac_status
1747 if $ac_init_version; then
1748 cat <<\_ACEOF
1749 package-unused configure version-unused
1750 generated by GNU Autoconf 2.69
1751
1752 Copyright (C) 2012 Free Software Foundation, Inc.
1753 This configure script is free software; the Free Software Foundation
1754 gives unlimited permission to copy, distribute and modify it.
1755 _ACEOF
1756 exit
1757 fi
1758
1759 ## ------------------------ ##
1760 ## Autoconf initialization. ##
1761 ## ------------------------ ##
1762
1763 # ac_fn_c_try_compile LINENO
1764 # --------------------------
1765 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1766 ac_fn_c_try_compile ()
1767 {
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 rm -f conftest.$ac_objext
1770 if { { ac_try="$ac_compile"
1771 case "(($ac_try" in
1772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1774 esac
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_compile") 2>conftest.err
1778 ac_status=$?
1779 if test -s conftest.err; then
1780 grep -v '^ *+' conftest.err >conftest.er1
1781 cat conftest.er1 >&5
1782 mv -f conftest.er1 conftest.err
1783 fi
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; } && {
1786 test -z "$ac_c_werror_flag" ||
1787 test ! -s conftest.err
1788 } && test -s conftest.$ac_objext; then :
1789 ac_retval=0
1790 else
1791 $as_echo "$as_me: failed program was:" >&5
1792 sed 's/^/| /' conftest.$ac_ext >&5
1793
1794 ac_retval=1
1795 fi
1796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797 as_fn_set_status $ac_retval
1798
1799 } # ac_fn_c_try_compile
1800
1801 # ac_fn_cxx_try_compile LINENO
1802 # ----------------------------
1803 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1804 ac_fn_cxx_try_compile ()
1805 {
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 rm -f conftest.$ac_objext
1808 if { { ac_try="$ac_compile"
1809 case "(($ac_try" in
1810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1811 *) ac_try_echo=$ac_try;;
1812 esac
1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815 (eval "$ac_compile") 2>conftest.err
1816 ac_status=$?
1817 if test -s conftest.err; then
1818 grep -v '^ *+' conftest.err >conftest.er1
1819 cat conftest.er1 >&5
1820 mv -f conftest.er1 conftest.err
1821 fi
1822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 test $ac_status = 0; } && {
1824 test -z "$ac_cxx_werror_flag" ||
1825 test ! -s conftest.err
1826 } && test -s conftest.$ac_objext; then :
1827 ac_retval=0
1828 else
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1831
1832 ac_retval=1
1833 fi
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 as_fn_set_status $ac_retval
1836
1837 } # ac_fn_cxx_try_compile
1838
1839 # ac_fn_c_try_cpp LINENO
1840 # ----------------------
1841 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1842 ac_fn_c_try_cpp ()
1843 {
1844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845 if { { ac_try="$ac_cpp conftest.$ac_ext"
1846 case "(($ac_try" in
1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848 *) ac_try_echo=$ac_try;;
1849 esac
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1853 ac_status=$?
1854 if test -s conftest.err; then
1855 grep -v '^ *+' conftest.err >conftest.er1
1856 cat conftest.er1 >&5
1857 mv -f conftest.er1 conftest.err
1858 fi
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } > conftest.i && {
1861 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1862 test ! -s conftest.err
1863 }; then :
1864 ac_retval=0
1865 else
1866 $as_echo "$as_me: failed program was:" >&5
1867 sed 's/^/| /' conftest.$ac_ext >&5
1868
1869 ac_retval=1
1870 fi
1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872 as_fn_set_status $ac_retval
1873
1874 } # ac_fn_c_try_cpp
1875
1876 # ac_fn_c_try_link LINENO
1877 # -----------------------
1878 # Try to link conftest.$ac_ext, and return whether this succeeded.
1879 ac_fn_c_try_link ()
1880 {
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 rm -f conftest.$ac_objext conftest$ac_exeext
1883 if { { ac_try="$ac_link"
1884 case "(($ac_try" in
1885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886 *) ac_try_echo=$ac_try;;
1887 esac
1888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889 $as_echo "$ac_try_echo"; } >&5
1890 (eval "$ac_link") 2>conftest.err
1891 ac_status=$?
1892 if test -s conftest.err; then
1893 grep -v '^ *+' conftest.err >conftest.er1
1894 cat conftest.er1 >&5
1895 mv -f conftest.er1 conftest.err
1896 fi
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && {
1899 test -z "$ac_c_werror_flag" ||
1900 test ! -s conftest.err
1901 } && test -s conftest$ac_exeext && {
1902 test "$cross_compiling" = yes ||
1903 test -x conftest$ac_exeext
1904 }; then :
1905 ac_retval=0
1906 else
1907 $as_echo "$as_me: failed program was:" >&5
1908 sed 's/^/| /' conftest.$ac_ext >&5
1909
1910 ac_retval=1
1911 fi
1912 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1913 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1914 # interfere with the next link command; also delete a directory that is
1915 # left behind by Apple's compiler. We do this before executing the actions.
1916 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918 as_fn_set_status $ac_retval
1919
1920 } # ac_fn_c_try_link
1921
1922 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1923 # -------------------------------------------------------
1924 # Tests whether HEADER exists and can be compiled using the include files in
1925 # INCLUDES, setting the cache variable VAR accordingly.
1926 ac_fn_c_check_header_compile ()
1927 {
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if eval \${$3+:} false; then :
1932 $as_echo_n "(cached) " >&6
1933 else
1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1936 $4
1937 #include <$2>
1938 _ACEOF
1939 if ac_fn_c_try_compile "$LINENO"; then :
1940 eval "$3=yes"
1941 else
1942 eval "$3=no"
1943 fi
1944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1945 fi
1946 eval ac_res=\$$3
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950
1951 } # ac_fn_c_check_header_compile
1952
1953 # ac_fn_c_try_run LINENO
1954 # ----------------------
1955 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1956 # that executables *can* be run.
1957 ac_fn_c_try_run ()
1958 {
1959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960 if { { ac_try="$ac_link"
1961 case "(($ac_try" in
1962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1963 *) ac_try_echo=$ac_try;;
1964 esac
1965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1966 $as_echo "$ac_try_echo"; } >&5
1967 (eval "$ac_link") 2>&5
1968 ac_status=$?
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1971 { { case "(($ac_try" in
1972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1973 *) ac_try_echo=$ac_try;;
1974 esac
1975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1976 $as_echo "$ac_try_echo"; } >&5
1977 (eval "$ac_try") 2>&5
1978 ac_status=$?
1979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1980 test $ac_status = 0; }; }; then :
1981 ac_retval=0
1982 else
1983 $as_echo "$as_me: program exited with status $ac_status" >&5
1984 $as_echo "$as_me: failed program was:" >&5
1985 sed 's/^/| /' conftest.$ac_ext >&5
1986
1987 ac_retval=$ac_status
1988 fi
1989 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1991 as_fn_set_status $ac_retval
1992
1993 } # ac_fn_c_try_run
1994
1995 # ac_fn_c_check_func LINENO FUNC VAR
1996 # ----------------------------------
1997 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1998 ac_fn_c_check_func ()
1999 {
2000 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2002 $as_echo_n "checking for $2... " >&6; }
2003 if eval \${$3+:} false; then :
2004 $as_echo_n "(cached) " >&6
2005 else
2006 if test x$gcc_no_link = xyes; then
2007 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2008 fi
2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2011 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2013 #define $2 innocuous_$2
2014
2015 /* System header to define __stub macros and hopefully few prototypes,
2016 which can conflict with char $2 (); below.
2017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2018 <limits.h> exists even on freestanding compilers. */
2019
2020 #ifdef __STDC__
2021 # include <limits.h>
2022 #else
2023 # include <assert.h>
2024 #endif
2025
2026 #undef $2
2027
2028 /* Override any GCC internal prototype to avoid an error.
2029 Use char because int might match the return type of a GCC
2030 builtin and then its argument prototype would still apply. */
2031 #ifdef __cplusplus
2032 extern "C"
2033 #endif
2034 char $2 ();
2035 /* The GNU C library defines this for functions which it implements
2036 to always fail with ENOSYS. Some functions are actually named
2037 something starting with __ and the normal name is an alias. */
2038 #if defined __stub_$2 || defined __stub___$2
2039 choke me
2040 #endif
2041
2042 int
2043 main ()
2044 {
2045 return $2 ();
2046 ;
2047 return 0;
2048 }
2049 _ACEOF
2050 if ac_fn_c_try_link "$LINENO"; then :
2051 eval "$3=yes"
2052 else
2053 eval "$3=no"
2054 fi
2055 rm -f core conftest.err conftest.$ac_objext \
2056 conftest$ac_exeext conftest.$ac_ext
2057 fi
2058 eval ac_res=\$$3
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2060 $as_echo "$ac_res" >&6; }
2061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2062
2063 } # ac_fn_c_check_func
2064
2065 # ac_fn_cxx_try_cpp LINENO
2066 # ------------------------
2067 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2068 ac_fn_cxx_try_cpp ()
2069 {
2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2071 if { { ac_try="$ac_cpp conftest.$ac_ext"
2072 case "(($ac_try" in
2073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074 *) ac_try_echo=$ac_try;;
2075 esac
2076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2077 $as_echo "$ac_try_echo"; } >&5
2078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2079 ac_status=$?
2080 if test -s conftest.err; then
2081 grep -v '^ *+' conftest.err >conftest.er1
2082 cat conftest.er1 >&5
2083 mv -f conftest.er1 conftest.err
2084 fi
2085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086 test $ac_status = 0; } > conftest.i && {
2087 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2088 test ! -s conftest.err
2089 }; then :
2090 ac_retval=0
2091 else
2092 $as_echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.$ac_ext >&5
2094
2095 ac_retval=1
2096 fi
2097 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2098 as_fn_set_status $ac_retval
2099
2100 } # ac_fn_cxx_try_cpp
2101
2102 # ac_fn_cxx_try_link LINENO
2103 # -------------------------
2104 # Try to link conftest.$ac_ext, and return whether this succeeded.
2105 ac_fn_cxx_try_link ()
2106 {
2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108 rm -f conftest.$ac_objext conftest$ac_exeext
2109 if { { ac_try="$ac_link"
2110 case "(($ac_try" in
2111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2112 *) ac_try_echo=$ac_try;;
2113 esac
2114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2115 $as_echo "$ac_try_echo"; } >&5
2116 (eval "$ac_link") 2>conftest.err
2117 ac_status=$?
2118 if test -s conftest.err; then
2119 grep -v '^ *+' conftest.err >conftest.er1
2120 cat conftest.er1 >&5
2121 mv -f conftest.er1 conftest.err
2122 fi
2123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2124 test $ac_status = 0; } && {
2125 test -z "$ac_cxx_werror_flag" ||
2126 test ! -s conftest.err
2127 } && test -s conftest$ac_exeext && {
2128 test "$cross_compiling" = yes ||
2129 test -x conftest$ac_exeext
2130 }; then :
2131 ac_retval=0
2132 else
2133 $as_echo "$as_me: failed program was:" >&5
2134 sed 's/^/| /' conftest.$ac_ext >&5
2135
2136 ac_retval=1
2137 fi
2138 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2139 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2140 # interfere with the next link command; also delete a directory that is
2141 # left behind by Apple's compiler. We do this before executing the actions.
2142 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2143 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2144 as_fn_set_status $ac_retval
2145
2146 } # ac_fn_cxx_try_link
2147
2148 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2149 # -------------------------------------------------------
2150 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2151 # the include files in INCLUDES and setting the cache variable VAR
2152 # accordingly.
2153 ac_fn_c_check_header_mongrel ()
2154 {
2155 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2156 if eval \${$3+:} false; then :
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2158 $as_echo_n "checking for $2... " >&6; }
2159 if eval \${$3+:} false; then :
2160 $as_echo_n "(cached) " >&6
2161 fi
2162 eval ac_res=\$$3
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2165 else
2166 # Is the header compilable?
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2168 $as_echo_n "checking $2 usability... " >&6; }
2169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2170 /* end confdefs.h. */
2171 $4
2172 #include <$2>
2173 _ACEOF
2174 if ac_fn_c_try_compile "$LINENO"; then :
2175 ac_header_compiler=yes
2176 else
2177 ac_header_compiler=no
2178 fi
2179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2181 $as_echo "$ac_header_compiler" >&6; }
2182
2183 # Is the header present?
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2185 $as_echo_n "checking $2 presence... " >&6; }
2186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2187 /* end confdefs.h. */
2188 #include <$2>
2189 _ACEOF
2190 if ac_fn_c_try_cpp "$LINENO"; then :
2191 ac_header_preproc=yes
2192 else
2193 ac_header_preproc=no
2194 fi
2195 rm -f conftest.err conftest.i conftest.$ac_ext
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2197 $as_echo "$ac_header_preproc" >&6; }
2198
2199 # So? What about this header?
2200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2201 yes:no: )
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2203 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2205 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2206 ;;
2207 no:yes:* )
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2209 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2211 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2213 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2215 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2217 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2218 ;;
2219 esac
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2221 $as_echo_n "checking for $2... " >&6; }
2222 if eval \${$3+:} false; then :
2223 $as_echo_n "(cached) " >&6
2224 else
2225 eval "$3=\$ac_header_compiler"
2226 fi
2227 eval ac_res=\$$3
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2229 $as_echo "$ac_res" >&6; }
2230 fi
2231 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2232
2233 } # ac_fn_c_check_header_mongrel
2234
2235 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2236 # ---------------------------------------------------------
2237 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2238 # the include files in INCLUDES and setting the cache variable VAR
2239 # accordingly.
2240 ac_fn_cxx_check_header_mongrel ()
2241 {
2242 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2243 if eval \${$3+:} false; then :
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2245 $as_echo_n "checking for $2... " >&6; }
2246 if eval \${$3+:} false; then :
2247 $as_echo_n "(cached) " >&6
2248 fi
2249 eval ac_res=\$$3
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2252 else
2253 # Is the header compilable?
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2255 $as_echo_n "checking $2 usability... " >&6; }
2256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2257 /* end confdefs.h. */
2258 $4
2259 #include <$2>
2260 _ACEOF
2261 if ac_fn_cxx_try_compile "$LINENO"; then :
2262 ac_header_compiler=yes
2263 else
2264 ac_header_compiler=no
2265 fi
2266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2268 $as_echo "$ac_header_compiler" >&6; }
2269
2270 # Is the header present?
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2272 $as_echo_n "checking $2 presence... " >&6; }
2273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2274 /* end confdefs.h. */
2275 #include <$2>
2276 _ACEOF
2277 if ac_fn_cxx_try_cpp "$LINENO"; then :
2278 ac_header_preproc=yes
2279 else
2280 ac_header_preproc=no
2281 fi
2282 rm -f conftest.err conftest.i conftest.$ac_ext
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2284 $as_echo "$ac_header_preproc" >&6; }
2285
2286 # So? What about this header?
2287 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2288 yes:no: )
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2290 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2292 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2293 ;;
2294 no:yes:* )
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2296 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2298 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2300 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2302 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2304 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2305 ;;
2306 esac
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2308 $as_echo_n "checking for $2... " >&6; }
2309 if eval \${$3+:} false; then :
2310 $as_echo_n "(cached) " >&6
2311 else
2312 eval "$3=\$ac_header_compiler"
2313 fi
2314 eval ac_res=\$$3
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2316 $as_echo "$ac_res" >&6; }
2317 fi
2318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2319
2320 } # ac_fn_cxx_check_header_mongrel
2321
2322 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2323 # --------------------------------------------
2324 # Tries to find the compile-time value of EXPR in a program that includes
2325 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2326 # computed
2327 ac_fn_c_compute_int ()
2328 {
2329 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2330 if test "$cross_compiling" = yes; then
2331 # Depending upon the size, compute the lo and hi bounds.
2332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2333 /* end confdefs.h. */
2334 $4
2335 int
2336 main ()
2337 {
2338 static int test_array [1 - 2 * !(($2) >= 0)];
2339 test_array [0] = 0;
2340 return test_array [0];
2341
2342 ;
2343 return 0;
2344 }
2345 _ACEOF
2346 if ac_fn_c_try_compile "$LINENO"; then :
2347 ac_lo=0 ac_mid=0
2348 while :; do
2349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2350 /* end confdefs.h. */
2351 $4
2352 int
2353 main ()
2354 {
2355 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2356 test_array [0] = 0;
2357 return test_array [0];
2358
2359 ;
2360 return 0;
2361 }
2362 _ACEOF
2363 if ac_fn_c_try_compile "$LINENO"; then :
2364 ac_hi=$ac_mid; break
2365 else
2366 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2367 if test $ac_lo -le $ac_mid; then
2368 ac_lo= ac_hi=
2369 break
2370 fi
2371 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2372 fi
2373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2374 done
2375 else
2376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2377 /* end confdefs.h. */
2378 $4
2379 int
2380 main ()
2381 {
2382 static int test_array [1 - 2 * !(($2) < 0)];
2383 test_array [0] = 0;
2384 return test_array [0];
2385
2386 ;
2387 return 0;
2388 }
2389 _ACEOF
2390 if ac_fn_c_try_compile "$LINENO"; then :
2391 ac_hi=-1 ac_mid=-1
2392 while :; do
2393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2394 /* end confdefs.h. */
2395 $4
2396 int
2397 main ()
2398 {
2399 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2400 test_array [0] = 0;
2401 return test_array [0];
2402
2403 ;
2404 return 0;
2405 }
2406 _ACEOF
2407 if ac_fn_c_try_compile "$LINENO"; then :
2408 ac_lo=$ac_mid; break
2409 else
2410 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2411 if test $ac_mid -le $ac_hi; then
2412 ac_lo= ac_hi=
2413 break
2414 fi
2415 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2416 fi
2417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2418 done
2419 else
2420 ac_lo= ac_hi=
2421 fi
2422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2423 fi
2424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2425 # Binary search between lo and hi bounds.
2426 while test "x$ac_lo" != "x$ac_hi"; do
2427 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429 /* end confdefs.h. */
2430 $4
2431 int
2432 main ()
2433 {
2434 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2435 test_array [0] = 0;
2436 return test_array [0];
2437
2438 ;
2439 return 0;
2440 }
2441 _ACEOF
2442 if ac_fn_c_try_compile "$LINENO"; then :
2443 ac_hi=$ac_mid
2444 else
2445 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2446 fi
2447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2448 done
2449 case $ac_lo in #((
2450 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2451 '') ac_retval=1 ;;
2452 esac
2453 else
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2456 $4
2457 static long int longval () { return $2; }
2458 static unsigned long int ulongval () { return $2; }
2459 #include <stdio.h>
2460 #include <stdlib.h>
2461 int
2462 main ()
2463 {
2464
2465 FILE *f = fopen ("conftest.val", "w");
2466 if (! f)
2467 return 1;
2468 if (($2) < 0)
2469 {
2470 long int i = longval ();
2471 if (i != ($2))
2472 return 1;
2473 fprintf (f, "%ld", i);
2474 }
2475 else
2476 {
2477 unsigned long int i = ulongval ();
2478 if (i != ($2))
2479 return 1;
2480 fprintf (f, "%lu", i);
2481 }
2482 /* Do not output a trailing newline, as this causes \r\n confusion
2483 on some platforms. */
2484 return ferror (f) || fclose (f) != 0;
2485
2486 ;
2487 return 0;
2488 }
2489 _ACEOF
2490 if ac_fn_c_try_run "$LINENO"; then :
2491 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2492 else
2493 ac_retval=1
2494 fi
2495 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2496 conftest.$ac_objext conftest.beam conftest.$ac_ext
2497 rm -f conftest.val
2498
2499 fi
2500 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2501 as_fn_set_status $ac_retval
2502
2503 } # ac_fn_c_compute_int
2504
2505 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2506 # -------------------------------------------
2507 # Tests whether TYPE exists after having included INCLUDES, setting cache
2508 # variable VAR accordingly.
2509 ac_fn_c_check_type ()
2510 {
2511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2513 $as_echo_n "checking for $2... " >&6; }
2514 if eval \${$3+:} false; then :
2515 $as_echo_n "(cached) " >&6
2516 else
2517 eval "$3=no"
2518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519 /* end confdefs.h. */
2520 $4
2521 int
2522 main ()
2523 {
2524 if (sizeof ($2))
2525 return 0;
2526 ;
2527 return 0;
2528 }
2529 _ACEOF
2530 if ac_fn_c_try_compile "$LINENO"; then :
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2533 $4
2534 int
2535 main ()
2536 {
2537 if (sizeof (($2)))
2538 return 0;
2539 ;
2540 return 0;
2541 }
2542 _ACEOF
2543 if ac_fn_c_try_compile "$LINENO"; then :
2544
2545 else
2546 eval "$3=yes"
2547 fi
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2549 fi
2550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2551 fi
2552 eval ac_res=\$$3
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2554 $as_echo "$ac_res" >&6; }
2555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2556
2557 } # ac_fn_c_check_type
2558
2559 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2560 # ---------------------------------------------
2561 # Tests whether TYPE exists after having included INCLUDES, setting cache
2562 # variable VAR accordingly.
2563 ac_fn_cxx_check_type ()
2564 {
2565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2567 $as_echo_n "checking for $2... " >&6; }
2568 if eval \${$3+:} false; then :
2569 $as_echo_n "(cached) " >&6
2570 else
2571 eval "$3=no"
2572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2573 /* end confdefs.h. */
2574 $4
2575 int
2576 main ()
2577 {
2578 if (sizeof ($2))
2579 return 0;
2580 ;
2581 return 0;
2582 }
2583 _ACEOF
2584 if ac_fn_cxx_try_compile "$LINENO"; then :
2585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2586 /* end confdefs.h. */
2587 $4
2588 int
2589 main ()
2590 {
2591 if (sizeof (($2)))
2592 return 0;
2593 ;
2594 return 0;
2595 }
2596 _ACEOF
2597 if ac_fn_cxx_try_compile "$LINENO"; then :
2598
2599 else
2600 eval "$3=yes"
2601 fi
2602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2603 fi
2604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2605 fi
2606 eval ac_res=\$$3
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2608 $as_echo "$ac_res" >&6; }
2609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2610
2611 } # ac_fn_cxx_check_type
2612 cat >config.log <<_ACEOF
2613 This file contains any messages produced by compilers while
2614 running configure, to aid debugging if configure makes a mistake.
2615
2616 It was created by package-unused $as_me version-unused, which was
2617 generated by GNU Autoconf 2.69. Invocation command line was
2618
2619 $ $0 $@
2620
2621 _ACEOF
2622 exec 5>>config.log
2623 {
2624 cat <<_ASUNAME
2625 ## --------- ##
2626 ## Platform. ##
2627 ## --------- ##
2628
2629 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2630 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2631 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2632 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2633 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2634
2635 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2636 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2637
2638 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2639 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2640 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2641 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2642 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2643 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2644 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2645
2646 _ASUNAME
2647
2648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 for as_dir in $PATH
2650 do
2651 IFS=$as_save_IFS
2652 test -z "$as_dir" && as_dir=.
2653 $as_echo "PATH: $as_dir"
2654 done
2655 IFS=$as_save_IFS
2656
2657 } >&5
2658
2659 cat >&5 <<_ACEOF
2660
2661
2662 ## ----------- ##
2663 ## Core tests. ##
2664 ## ----------- ##
2665
2666 _ACEOF
2667
2668
2669 # Keep a trace of the command line.
2670 # Strip out --no-create and --no-recursion so they do not pile up.
2671 # Strip out --silent because we don't want to record it for future runs.
2672 # Also quote any args containing shell meta-characters.
2673 # Make two passes to allow for proper duplicate-argument suppression.
2674 ac_configure_args=
2675 ac_configure_args0=
2676 ac_configure_args1=
2677 ac_must_keep_next=false
2678 for ac_pass in 1 2
2679 do
2680 for ac_arg
2681 do
2682 case $ac_arg in
2683 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2684 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2685 | -silent | --silent | --silen | --sile | --sil)
2686 continue ;;
2687 *\'*)
2688 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2689 esac
2690 case $ac_pass in
2691 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2692 2)
2693 as_fn_append ac_configure_args1 " '$ac_arg'"
2694 if test $ac_must_keep_next = true; then
2695 ac_must_keep_next=false # Got value, back to normal.
2696 else
2697 case $ac_arg in
2698 *=* | --config-cache | -C | -disable-* | --disable-* \
2699 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2700 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2701 | -with-* | --with-* | -without-* | --without-* | --x)
2702 case "$ac_configure_args0 " in
2703 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2704 esac
2705 ;;
2706 -* ) ac_must_keep_next=true ;;
2707 esac
2708 fi
2709 as_fn_append ac_configure_args " '$ac_arg'"
2710 ;;
2711 esac
2712 done
2713 done
2714 { ac_configure_args0=; unset ac_configure_args0;}
2715 { ac_configure_args1=; unset ac_configure_args1;}
2716
2717 # When interrupted or exit'd, cleanup temporary files, and complete
2718 # config.log. We remove comments because anyway the quotes in there
2719 # would cause problems or look ugly.
2720 # WARNING: Use '\'' to represent an apostrophe within the trap.
2721 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2722 trap 'exit_status=$?
2723 # Save into config.log some information that might help in debugging.
2724 {
2725 echo
2726
2727 $as_echo "## ---------------- ##
2728 ## Cache variables. ##
2729 ## ---------------- ##"
2730 echo
2731 # The following way of writing the cache mishandles newlines in values,
2732 (
2733 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2734 eval ac_val=\$$ac_var
2735 case $ac_val in #(
2736 *${as_nl}*)
2737 case $ac_var in #(
2738 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2739 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2740 esac
2741 case $ac_var in #(
2742 _ | IFS | as_nl) ;; #(
2743 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2744 *) { eval $ac_var=; unset $ac_var;} ;;
2745 esac ;;
2746 esac
2747 done
2748 (set) 2>&1 |
2749 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2750 *${as_nl}ac_space=\ *)
2751 sed -n \
2752 "s/'\''/'\''\\\\'\'''\''/g;
2753 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2754 ;; #(
2755 *)
2756 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2757 ;;
2758 esac |
2759 sort
2760 )
2761 echo
2762
2763 $as_echo "## ----------------- ##
2764 ## Output variables. ##
2765 ## ----------------- ##"
2766 echo
2767 for ac_var in $ac_subst_vars
2768 do
2769 eval ac_val=\$$ac_var
2770 case $ac_val in
2771 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2772 esac
2773 $as_echo "$ac_var='\''$ac_val'\''"
2774 done | sort
2775 echo
2776
2777 if test -n "$ac_subst_files"; then
2778 $as_echo "## ------------------- ##
2779 ## File substitutions. ##
2780 ## ------------------- ##"
2781 echo
2782 for ac_var in $ac_subst_files
2783 do
2784 eval ac_val=\$$ac_var
2785 case $ac_val in
2786 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2787 esac
2788 $as_echo "$ac_var='\''$ac_val'\''"
2789 done | sort
2790 echo
2791 fi
2792
2793 if test -s confdefs.h; then
2794 $as_echo "## ----------- ##
2795 ## confdefs.h. ##
2796 ## ----------- ##"
2797 echo
2798 cat confdefs.h
2799 echo
2800 fi
2801 test "$ac_signal" != 0 &&
2802 $as_echo "$as_me: caught signal $ac_signal"
2803 $as_echo "$as_me: exit $exit_status"
2804 } >&5
2805 rm -f core *.core core.conftest.* &&
2806 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2807 exit $exit_status
2808 ' 0
2809 for ac_signal in 1 2 13 15; do
2810 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2811 done
2812 ac_signal=0
2813
2814 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2815 rm -f -r conftest* confdefs.h
2816
2817 $as_echo "/* confdefs.h */" > confdefs.h
2818
2819 # Predefined preprocessor variables.
2820
2821 cat >>confdefs.h <<_ACEOF
2822 #define PACKAGE_NAME "$PACKAGE_NAME"
2823 _ACEOF
2824
2825 cat >>confdefs.h <<_ACEOF
2826 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2827 _ACEOF
2828
2829 cat >>confdefs.h <<_ACEOF
2830 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2831 _ACEOF
2832
2833 cat >>confdefs.h <<_ACEOF
2834 #define PACKAGE_STRING "$PACKAGE_STRING"
2835 _ACEOF
2836
2837 cat >>confdefs.h <<_ACEOF
2838 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2839 _ACEOF
2840
2841 cat >>confdefs.h <<_ACEOF
2842 #define PACKAGE_URL "$PACKAGE_URL"
2843 _ACEOF
2844
2845
2846 # Let the site file select an alternate cache file if it wants to.
2847 # Prefer an explicitly selected file to automatically selected ones.
2848 ac_site_file1=NONE
2849 ac_site_file2=NONE
2850 if test -n "$CONFIG_SITE"; then
2851 # We do not want a PATH search for config.site.
2852 case $CONFIG_SITE in #((
2853 -*) ac_site_file1=./$CONFIG_SITE;;
2854 */*) ac_site_file1=$CONFIG_SITE;;
2855 *) ac_site_file1=./$CONFIG_SITE;;
2856 esac
2857 elif test "x$prefix" != xNONE; then
2858 ac_site_file1=$prefix/share/config.site
2859 ac_site_file2=$prefix/etc/config.site
2860 else
2861 ac_site_file1=$ac_default_prefix/share/config.site
2862 ac_site_file2=$ac_default_prefix/etc/config.site
2863 fi
2864 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2865 do
2866 test "x$ac_site_file" = xNONE && continue
2867 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2869 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2870 sed 's/^/| /' "$ac_site_file" >&5
2871 . "$ac_site_file" \
2872 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2874 as_fn_error $? "failed to load site script $ac_site_file
2875 See \`config.log' for more details" "$LINENO" 5; }
2876 fi
2877 done
2878
2879 if test -r "$cache_file"; then
2880 # Some versions of bash will fail to source /dev/null (special files
2881 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2882 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2884 $as_echo "$as_me: loading cache $cache_file" >&6;}
2885 case $cache_file in
2886 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2887 *) . "./$cache_file";;
2888 esac
2889 fi
2890 else
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2892 $as_echo "$as_me: creating cache $cache_file" >&6;}
2893 >$cache_file
2894 fi
2895
2896 # Check that the precious variables saved in the cache have kept the same
2897 # value.
2898 ac_cache_corrupted=false
2899 for ac_var in $ac_precious_vars; do
2900 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2901 eval ac_new_set=\$ac_env_${ac_var}_set
2902 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2903 eval ac_new_val=\$ac_env_${ac_var}_value
2904 case $ac_old_set,$ac_new_set in
2905 set,)
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2907 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2908 ac_cache_corrupted=: ;;
2909 ,set)
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2911 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2912 ac_cache_corrupted=: ;;
2913 ,);;
2914 *)
2915 if test "x$ac_old_val" != "x$ac_new_val"; then
2916 # differences in whitespace do not lead to failure.
2917 ac_old_val_w=`echo x $ac_old_val`
2918 ac_new_val_w=`echo x $ac_new_val`
2919 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2921 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2922 ac_cache_corrupted=:
2923 else
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2925 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2926 eval $ac_var=\$ac_old_val
2927 fi
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2929 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2931 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2932 fi;;
2933 esac
2934 # Pass precious variables to config.status.
2935 if test "$ac_new_set" = set; then
2936 case $ac_new_val in
2937 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2938 *) ac_arg=$ac_var=$ac_new_val ;;
2939 esac
2940 case " $ac_configure_args " in
2941 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2942 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2943 esac
2944 fi
2945 done
2946 if $ac_cache_corrupted; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2950 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2951 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2952 fi
2953 ## -------------------- ##
2954 ## Main body of script. ##
2955 ## -------------------- ##
2956
2957 ac_ext=c
2958 ac_cpp='$CPP $CPPFLAGS'
2959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2962
2963
2964
2965
2966
2967
2968 ac_config_headers="$ac_config_headers config.h"
2969
2970
2971 # This works around the fact that libtool configuration may change LD
2972 # for this particular configuration, but some shells, instead of
2973 # keeping the changes in LD private, export them just because LD is
2974 # exported. Only used at the end of this file.
2975 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2976
2977 # Find the rest of the source tree framework.
2978 # Default to --enable-multilib
2979 # Check whether --enable-multilib was given.
2980 if test "${enable_multilib+set}" = set; then :
2981 enableval=$enable_multilib; case "$enableval" in
2982 yes) multilib=yes ;;
2983 no) multilib=no ;;
2984 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2985 esac
2986 else
2987 multilib=yes
2988 fi
2989
2990
2991 # We may get other options which we leave undocumented:
2992 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2993 # See config-ml.in if you want the gory details.
2994
2995 if test "$srcdir" = "."; then
2996 if test "$with_target_subdir" != "."; then
2997 multi_basedir="$srcdir/$with_multisrctop../.."
2998 else
2999 multi_basedir="$srcdir/$with_multisrctop.."
3000 fi
3001 else
3002 multi_basedir="$srcdir/.."
3003 fi
3004
3005
3006 # Even if the default multilib is not a cross compilation,
3007 # it may be that some of the other multilibs are.
3008 if test $cross_compiling = no && test $multilib = yes \
3009 && test "x${with_multisubdir}" != x ; then
3010 cross_compiling=maybe
3011 fi
3012
3013 ac_config_commands="$ac_config_commands default-1"
3014
3015
3016 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3017 #
3018 # You will slowly go insane if you do not grok the following fact: when
3019 # building v3 as part of the compiler, the top-level /target/ becomes the
3020 # library's /host/. configure then causes --target to default to --host,
3021 # exactly like any other package using autoconf. Therefore, 'target' and
3022 # 'host' will always be the same. This makes sense both for native and
3023 # cross compilers, just think about it for a little while. :-)
3024 #
3025 # Also, if v3 is being configured as part of a cross compiler, the top-level
3026 # configure script will pass the "real" host as $with_cross_host.
3027 #
3028 # Do not delete or change the following two lines. For why, see
3029 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3030 ac_aux_dir=
3031 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3032 if test -f "$ac_dir/install-sh"; then
3033 ac_aux_dir=$ac_dir
3034 ac_install_sh="$ac_aux_dir/install-sh -c"
3035 break
3036 elif test -f "$ac_dir/install.sh"; then
3037 ac_aux_dir=$ac_dir
3038 ac_install_sh="$ac_aux_dir/install.sh -c"
3039 break
3040 elif test -f "$ac_dir/shtool"; then
3041 ac_aux_dir=$ac_dir
3042 ac_install_sh="$ac_aux_dir/shtool install -c"
3043 break
3044 fi
3045 done
3046 if test -z "$ac_aux_dir"; then
3047 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3048 fi
3049
3050 # These three variables are undocumented and unsupported,
3051 # and are intended to be withdrawn in a future Autoconf release.
3052 # They can cause serious problems if a builder's source tree is in a directory
3053 # whose full name contains unusual characters.
3054 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3055 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3056 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3057
3058
3059 # Make sure we can run config.sub.
3060 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3061 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3062
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3064 $as_echo_n "checking build system type... " >&6; }
3065 if ${ac_cv_build+:} false; then :
3066 $as_echo_n "(cached) " >&6
3067 else
3068 ac_build_alias=$build_alias
3069 test "x$ac_build_alias" = x &&
3070 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3071 test "x$ac_build_alias" = x &&
3072 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3073 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3074 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3075
3076 fi
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3078 $as_echo "$ac_cv_build" >&6; }
3079 case $ac_cv_build in
3080 *-*-*) ;;
3081 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3082 esac
3083 build=$ac_cv_build
3084 ac_save_IFS=$IFS; IFS='-'
3085 set x $ac_cv_build
3086 shift
3087 build_cpu=$1
3088 build_vendor=$2
3089 shift; shift
3090 # Remember, the first character of IFS is used to create $*,
3091 # except with old shells:
3092 build_os=$*
3093 IFS=$ac_save_IFS
3094 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3095
3096
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3098 $as_echo_n "checking host system type... " >&6; }
3099 if ${ac_cv_host+:} false; then :
3100 $as_echo_n "(cached) " >&6
3101 else
3102 if test "x$host_alias" = x; then
3103 ac_cv_host=$ac_cv_build
3104 else
3105 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3106 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3107 fi
3108
3109 fi
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3111 $as_echo "$ac_cv_host" >&6; }
3112 case $ac_cv_host in
3113 *-*-*) ;;
3114 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3115 esac
3116 host=$ac_cv_host
3117 ac_save_IFS=$IFS; IFS='-'
3118 set x $ac_cv_host
3119 shift
3120 host_cpu=$1
3121 host_vendor=$2
3122 shift; shift
3123 # Remember, the first character of IFS is used to create $*,
3124 # except with old shells:
3125 host_os=$*
3126 IFS=$ac_save_IFS
3127 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3128
3129
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3131 $as_echo_n "checking target system type... " >&6; }
3132 if ${ac_cv_target+:} false; then :
3133 $as_echo_n "(cached) " >&6
3134 else
3135 if test "x$target_alias" = x; then
3136 ac_cv_target=$ac_cv_host
3137 else
3138 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3139 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3140 fi
3141
3142 fi
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3144 $as_echo "$ac_cv_target" >&6; }
3145 case $ac_cv_target in
3146 *-*-*) ;;
3147 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3148 esac
3149 target=$ac_cv_target
3150 ac_save_IFS=$IFS; IFS='-'
3151 set x $ac_cv_target
3152 shift
3153 target_cpu=$1
3154 target_vendor=$2
3155 shift; shift
3156 # Remember, the first character of IFS is used to create $*,
3157 # except with old shells:
3158 target_os=$*
3159 IFS=$ac_save_IFS
3160 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3161
3162
3163 # The aliases save the names the user supplied, while $host etc.
3164 # will get canonicalized.
3165 test -n "$target_alias" &&
3166 test "$program_prefix$program_suffix$program_transform_name" = \
3167 NONENONEs,x,x, &&
3168 program_prefix=${target_alias}-
3169
3170 target_alias=${target_alias-$host_alias}
3171
3172 # Handy for debugging:
3173 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3174
3175 if test "$build" != "$host"; then
3176 # We are being configured with some form of cross compiler.
3177 GLIBCXX_IS_NATIVE=false
3178 case "$host","$target" in
3179 # Darwin crosses can use the host system's libraries and headers,
3180 # because of the fat library support. Of course, it must be the
3181 # same version of Darwin on both sides. Allow the user to
3182 # just say --target=foo-darwin without a version number to mean
3183 # "the version on this system".
3184 *-*-darwin*,*-*-darwin*)
3185 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3186 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3187 if test $hostos = $targetos -o $targetos = darwin ; then
3188 GLIBCXX_IS_NATIVE=true
3189 fi
3190 ;;
3191
3192 *)
3193
3194 ;;
3195 esac
3196 else
3197 GLIBCXX_IS_NATIVE=true
3198 fi
3199
3200 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3201 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3202 # 1.x: minimum required version
3203 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3204 # of other PACKAGE_* variables will, however, and there's nothing
3205 # we can do about that; they come from AC_INIT).
3206 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3207 # file in the top srcdir, etc, etc), so stop complaining.
3208 # no-dependencies: turns off auto dependency generation (just for now)
3209 # no-dist: we don't want 'dist' and related rules.
3210 # -Wall: turns on all automake warnings...
3211 # -Wno-portability: ...except this one, since GNU make is now required.
3212 am__api_version='1.15'
3213
3214 # Find a good install program. We prefer a C program (faster),
3215 # so one script is as good as another. But avoid the broken or
3216 # incompatible versions:
3217 # SysV /etc/install, /usr/sbin/install
3218 # SunOS /usr/etc/install
3219 # IRIX /sbin/install
3220 # AIX /bin/install
3221 # AmigaOS /C/install, which installs bootblocks on floppy discs
3222 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3223 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3224 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3225 # OS/2's system install, which has a completely different semantic
3226 # ./install, which can be erroneously created by make from ./install.sh.
3227 # Reject install programs that cannot install multiple files.
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3229 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3230 if test -z "$INSTALL"; then
3231 if ${ac_cv_path_install+:} false; then :
3232 $as_echo_n "(cached) " >&6
3233 else
3234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235 for as_dir in $PATH
3236 do
3237 IFS=$as_save_IFS
3238 test -z "$as_dir" && as_dir=.
3239 # Account for people who put trailing slashes in PATH elements.
3240 case $as_dir/ in #((
3241 ./ | .// | /[cC]/* | \
3242 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3243 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3244 /usr/ucb/* ) ;;
3245 *)
3246 # OSF1 and SCO ODT 3.0 have their own names for install.
3247 # Don't use installbsd from OSF since it installs stuff as root
3248 # by default.
3249 for ac_prog in ginstall scoinst install; do
3250 for ac_exec_ext in '' $ac_executable_extensions; do
3251 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3252 if test $ac_prog = install &&
3253 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3254 # AIX install. It has an incompatible calling convention.
3255 :
3256 elif test $ac_prog = install &&
3257 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3258 # program-specific install script used by HP pwplus--don't use.
3259 :
3260 else
3261 rm -rf conftest.one conftest.two conftest.dir
3262 echo one > conftest.one
3263 echo two > conftest.two
3264 mkdir conftest.dir
3265 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3266 test -s conftest.one && test -s conftest.two &&
3267 test -s conftest.dir/conftest.one &&
3268 test -s conftest.dir/conftest.two
3269 then
3270 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3271 break 3
3272 fi
3273 fi
3274 fi
3275 done
3276 done
3277 ;;
3278 esac
3279
3280 done
3281 IFS=$as_save_IFS
3282
3283 rm -rf conftest.one conftest.two conftest.dir
3284
3285 fi
3286 if test "${ac_cv_path_install+set}" = set; then
3287 INSTALL=$ac_cv_path_install
3288 else
3289 # As a last resort, use the slow shell script. Don't cache a
3290 # value for INSTALL within a source directory, because that will
3291 # break other packages using the cache if that directory is
3292 # removed, or if the value is a relative name.
3293 INSTALL=$ac_install_sh
3294 fi
3295 fi
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3297 $as_echo "$INSTALL" >&6; }
3298
3299 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3300 # It thinks the first close brace ends the variable substitution.
3301 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3302
3303 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3304
3305 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3306
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3308 $as_echo_n "checking whether build environment is sane... " >&6; }
3309 # Reject unsafe characters in $srcdir or the absolute working directory
3310 # name. Accept space and tab only in the latter.
3311 am_lf='
3312 '
3313 case `pwd` in
3314 *[\\\"\#\$\&\'\`$am_lf]*)
3315 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3316 esac
3317 case $srcdir in
3318 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3319 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3320 esac
3321
3322 # Do 'set' in a subshell so we don't clobber the current shell's
3323 # arguments. Must try -L first in case configure is actually a
3324 # symlink; some systems play weird games with the mod time of symlinks
3325 # (eg FreeBSD returns the mod time of the symlink's containing
3326 # directory).
3327 if (
3328 am_has_slept=no
3329 for am_try in 1 2; do
3330 echo "timestamp, slept: $am_has_slept" > conftest.file
3331 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3332 if test "$*" = "X"; then
3333 # -L didn't work.
3334 set X `ls -t "$srcdir/configure" conftest.file`
3335 fi
3336 if test "$*" != "X $srcdir/configure conftest.file" \
3337 && test "$*" != "X conftest.file $srcdir/configure"; then
3338
3339 # If neither matched, then we have a broken ls. This can happen
3340 # if, for instance, CONFIG_SHELL is bash and it inherits a
3341 # broken ls alias from the environment. This has actually
3342 # happened. Such a system could not be considered "sane".
3343 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3344 alias in your environment" "$LINENO" 5
3345 fi
3346 if test "$2" = conftest.file || test $am_try -eq 2; then
3347 break
3348 fi
3349 # Just in case.
3350 sleep 1
3351 am_has_slept=yes
3352 done
3353 test "$2" = conftest.file
3354 )
3355 then
3356 # Ok.
3357 :
3358 else
3359 as_fn_error $? "newly created file is older than distributed files!
3360 Check your system clock" "$LINENO" 5
3361 fi
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3363 $as_echo "yes" >&6; }
3364 # If we didn't sleep, we still need to ensure time stamps of config.status and
3365 # generated files are strictly newer.
3366 am_sleep_pid=
3367 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3368 ( sleep 1 ) &
3369 am_sleep_pid=$!
3370 fi
3371
3372 rm -f conftest.file
3373
3374 test "$program_prefix" != NONE &&
3375 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3376 # Use a double $ so make ignores it.
3377 test "$program_suffix" != NONE &&
3378 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3379 # Double any \ or $.
3380 # By default was `s,x,x', remove it if useless.
3381 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3382 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3383
3384 # Expand $ac_aux_dir to an absolute path.
3385 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3386
3387 if test x"${MISSING+set}" != xset; then
3388 case $am_aux_dir in
3389 *\ * | *\ *)
3390 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3391 *)
3392 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3393 esac
3394 fi
3395 # Use eval to expand $SHELL
3396 if eval "$MISSING --is-lightweight"; then
3397 am_missing_run="$MISSING "
3398 else
3399 am_missing_run=
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3401 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3402 fi
3403
3404 if test x"${install_sh+set}" != xset; then
3405 case $am_aux_dir in
3406 *\ * | *\ *)
3407 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3408 *)
3409 install_sh="\${SHELL} $am_aux_dir/install-sh"
3410 esac
3411 fi
3412
3413 # Installed binaries are usually stripped using 'strip' when the user
3414 # run "make install-strip". However 'strip' might not be the right
3415 # tool to use in cross-compilation environments, therefore Automake
3416 # will honor the 'STRIP' environment variable to overrule this program.
3417 if test "$cross_compiling" != no; then
3418 if test -n "$ac_tool_prefix"; then
3419 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3420 set dummy ${ac_tool_prefix}strip; ac_word=$2
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3422 $as_echo_n "checking for $ac_word... " >&6; }
3423 if ${ac_cv_prog_STRIP+:} false; then :
3424 $as_echo_n "(cached) " >&6
3425 else
3426 if test -n "$STRIP"; then
3427 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3428 else
3429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430 for as_dir in $PATH
3431 do
3432 IFS=$as_save_IFS
3433 test -z "$as_dir" && as_dir=.
3434 for ac_exec_ext in '' $ac_executable_extensions; do
3435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3436 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3438 break 2
3439 fi
3440 done
3441 done
3442 IFS=$as_save_IFS
3443
3444 fi
3445 fi
3446 STRIP=$ac_cv_prog_STRIP
3447 if test -n "$STRIP"; then
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3449 $as_echo "$STRIP" >&6; }
3450 else
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3452 $as_echo "no" >&6; }
3453 fi
3454
3455
3456 fi
3457 if test -z "$ac_cv_prog_STRIP"; then
3458 ac_ct_STRIP=$STRIP
3459 # Extract the first word of "strip", so it can be a program name with args.
3460 set dummy strip; ac_word=$2
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3462 $as_echo_n "checking for $ac_word... " >&6; }
3463 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3464 $as_echo_n "(cached) " >&6
3465 else
3466 if test -n "$ac_ct_STRIP"; then
3467 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3468 else
3469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3470 for as_dir in $PATH
3471 do
3472 IFS=$as_save_IFS
3473 test -z "$as_dir" && as_dir=.
3474 for ac_exec_ext in '' $ac_executable_extensions; do
3475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3476 ac_cv_prog_ac_ct_STRIP="strip"
3477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3478 break 2
3479 fi
3480 done
3481 done
3482 IFS=$as_save_IFS
3483
3484 fi
3485 fi
3486 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3487 if test -n "$ac_ct_STRIP"; then
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3489 $as_echo "$ac_ct_STRIP" >&6; }
3490 else
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3492 $as_echo "no" >&6; }
3493 fi
3494
3495 if test "x$ac_ct_STRIP" = x; then
3496 STRIP=":"
3497 else
3498 case $cross_compiling:$ac_tool_warned in
3499 yes:)
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3502 ac_tool_warned=yes ;;
3503 esac
3504 STRIP=$ac_ct_STRIP
3505 fi
3506 else
3507 STRIP="$ac_cv_prog_STRIP"
3508 fi
3509
3510 fi
3511 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3512
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3514 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3515 if test -z "$MKDIR_P"; then
3516 if ${ac_cv_path_mkdir+:} false; then :
3517 $as_echo_n "(cached) " >&6
3518 else
3519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3520 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3521 do
3522 IFS=$as_save_IFS
3523 test -z "$as_dir" && as_dir=.
3524 for ac_prog in mkdir gmkdir; do
3525 for ac_exec_ext in '' $ac_executable_extensions; do
3526 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3527 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3528 'mkdir (GNU coreutils) '* | \
3529 'mkdir (coreutils) '* | \
3530 'mkdir (fileutils) '4.1*)
3531 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3532 break 3;;
3533 esac
3534 done
3535 done
3536 done
3537 IFS=$as_save_IFS
3538
3539 fi
3540
3541 test -d ./--version && rmdir ./--version
3542 if test "${ac_cv_path_mkdir+set}" = set; then
3543 MKDIR_P="$ac_cv_path_mkdir -p"
3544 else
3545 # As a last resort, use the slow shell script. Don't cache a
3546 # value for MKDIR_P within a source directory, because that will
3547 # break other packages using the cache if that directory is
3548 # removed, or if the value is a relative name.
3549 MKDIR_P="$ac_install_sh -d"
3550 fi
3551 fi
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3553 $as_echo "$MKDIR_P" >&6; }
3554
3555 for ac_prog in gawk mawk nawk awk
3556 do
3557 # Extract the first word of "$ac_prog", so it can be a program name with args.
3558 set dummy $ac_prog; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if ${ac_cv_prog_AWK+:} false; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$AWK"; then
3565 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3569 do
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574 ac_cv_prog_AWK="$ac_prog"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3577 fi
3578 done
3579 done
3580 IFS=$as_save_IFS
3581
3582 fi
3583 fi
3584 AWK=$ac_cv_prog_AWK
3585 if test -n "$AWK"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3587 $as_echo "$AWK" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 fi
3592
3593
3594 test -n "$AWK" && break
3595 done
3596
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3598 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3599 set x ${MAKE-make}
3600 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3601 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 cat >conftest.make <<\_ACEOF
3605 SHELL = /bin/sh
3606 all:
3607 @echo '@@@%%%=$(MAKE)=@@@%%%'
3608 _ACEOF
3609 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3610 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3611 *@@@%%%=?*=@@@%%%*)
3612 eval ac_cv_prog_make_${ac_make}_set=yes;;
3613 *)
3614 eval ac_cv_prog_make_${ac_make}_set=no;;
3615 esac
3616 rm -f conftest.make
3617 fi
3618 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3620 $as_echo "yes" >&6; }
3621 SET_MAKE=
3622 else
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3625 SET_MAKE="MAKE=${MAKE-make}"
3626 fi
3627
3628 rm -rf .tst 2>/dev/null
3629 mkdir .tst 2>/dev/null
3630 if test -d .tst; then
3631 am__leading_dot=.
3632 else
3633 am__leading_dot=_
3634 fi
3635 rmdir .tst 2>/dev/null
3636
3637 # Check whether --enable-silent-rules was given.
3638 if test "${enable_silent_rules+set}" = set; then :
3639 enableval=$enable_silent_rules;
3640 fi
3641
3642 case $enable_silent_rules in # (((
3643 yes) AM_DEFAULT_VERBOSITY=0;;
3644 no) AM_DEFAULT_VERBOSITY=1;;
3645 *) AM_DEFAULT_VERBOSITY=1;;
3646 esac
3647 am_make=${MAKE-make}
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3649 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3650 if ${am_cv_make_support_nested_variables+:} false; then :
3651 $as_echo_n "(cached) " >&6
3652 else
3653 if $as_echo 'TRUE=$(BAR$(V))
3654 BAR0=false
3655 BAR1=true
3656 V=1
3657 am__doit:
3658 @$(TRUE)
3659 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3660 am_cv_make_support_nested_variables=yes
3661 else
3662 am_cv_make_support_nested_variables=no
3663 fi
3664 fi
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3666 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3667 if test $am_cv_make_support_nested_variables = yes; then
3668 AM_V='$(V)'
3669 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3670 else
3671 AM_V=$AM_DEFAULT_VERBOSITY
3672 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3673 fi
3674 AM_BACKSLASH='\'
3675
3676 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3677 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3678 # is not polluted with repeated "-I."
3679 am__isrc=' -I$(srcdir)'
3680 # test to see if srcdir already configured
3681 if test -f $srcdir/config.status; then
3682 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3683 fi
3684 fi
3685
3686 # test whether we have cygpath
3687 if test -z "$CYGPATH_W"; then
3688 if (cygpath --version) >/dev/null 2>/dev/null; then
3689 CYGPATH_W='cygpath -w'
3690 else
3691 CYGPATH_W=echo
3692 fi
3693 fi
3694
3695
3696 # Define the identity of the package.
3697 PACKAGE='libstdc++'
3698 VERSION='version-unused'
3699
3700
3701 # Some tools Automake needs.
3702
3703 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3704
3705
3706 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3707
3708
3709 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3710
3711
3712 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3713
3714
3715 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3716
3717 # For better backward compatibility. To be removed once Automake 1.9.x
3718 # dies out for good. For more background, see:
3719 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3720 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3721 mkdir_p='$(MKDIR_P)'
3722
3723 # We need awk for the "check" target (and possibly the TAP driver). The
3724 # system "awk" is bad on some platforms.
3725 # Always define AMTAR for backward compatibility. Yes, it's still used
3726 # in the wild :-( We should find a proper way to deprecate it ...
3727 AMTAR='$${TAR-tar}'
3728
3729
3730 # We'll loop over all known methods to create a tar archive until one works.
3731 _am_tools='gnutar pax cpio none'
3732
3733 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3734
3735
3736
3737
3738
3739
3740 # POSIX will say in a future version that running "rm -f" with no argument
3741 # is OK; and we want to be able to make that assumption in our Makefile
3742 # recipes. So use an aggressive probe to check that the usage we want is
3743 # actually supported "in the wild" to an acceptable degree.
3744 # See automake bug#10828.
3745 # To make any issue more visible, cause the running configure to be aborted
3746 # by default if the 'rm' program in use doesn't match our expectations; the
3747 # user can still override this though.
3748 if rm -f && rm -fr && rm -rf; then : OK; else
3749 cat >&2 <<'END'
3750 Oops!
3751
3752 Your 'rm' program seems unable to run without file operands specified
3753 on the command line, even when the '-f' option is present. This is contrary
3754 to the behaviour of most rm programs out there, and not conforming with
3755 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3756
3757 Please tell bug-automake@gnu.org about your system, including the value
3758 of your $PATH and any error possibly output before this message. This
3759 can help us improve future automake versions.
3760
3761 END
3762 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3763 echo 'Configuration will proceed anyway, since you have set the' >&2
3764 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3765 echo >&2
3766 else
3767 cat >&2 <<'END'
3768 Aborting the configuration process, to ensure you take notice of the issue.
3769
3770 You can download and install GNU coreutils to get an 'rm' implementation
3771 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3772
3773 If you want to complete the configuration process using your problematic
3774 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3775 to "yes", and re-run configure.
3776
3777 END
3778 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3779 fi
3780 fi
3781
3782
3783
3784
3785 # -fno-builtin must be present here so that a non-conflicting form of
3786 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3787
3788 save_CXXFLAGS="$CXXFLAGS"
3789 CXXFLAGS="$CXXFLAGS -fno-builtin"
3790 ac_ext=c
3791 ac_cpp='$CPP $CPPFLAGS'
3792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3795 if test -n "$ac_tool_prefix"; then
3796 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3797 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if ${ac_cv_prog_CC+:} false; then :
3801 $as_echo_n "(cached) " >&6
3802 else
3803 if test -n "$CC"; then
3804 ac_cv_prog_CC="$CC" # Let the user override the test.
3805 else
3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3807 for as_dir in $PATH
3808 do
3809 IFS=$as_save_IFS
3810 test -z "$as_dir" && as_dir=.
3811 for ac_exec_ext in '' $ac_executable_extensions; do
3812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3813 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 break 2
3816 fi
3817 done
3818 done
3819 IFS=$as_save_IFS
3820
3821 fi
3822 fi
3823 CC=$ac_cv_prog_CC
3824 if test -n "$CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3826 $as_echo "$CC" >&6; }
3827 else
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3830 fi
3831
3832
3833 fi
3834 if test -z "$ac_cv_prog_CC"; then
3835 ac_ct_CC=$CC
3836 # Extract the first word of "gcc", so it can be a program name with args.
3837 set dummy gcc; ac_word=$2
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3839 $as_echo_n "checking for $ac_word... " >&6; }
3840 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3841 $as_echo_n "(cached) " >&6
3842 else
3843 if test -n "$ac_ct_CC"; then
3844 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3845 else
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH
3848 do
3849 IFS=$as_save_IFS
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3853 ac_cv_prog_ac_ct_CC="gcc"
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 break 2
3856 fi
3857 done
3858 done
3859 IFS=$as_save_IFS
3860
3861 fi
3862 fi
3863 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3864 if test -n "$ac_ct_CC"; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3866 $as_echo "$ac_ct_CC" >&6; }
3867 else
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869 $as_echo "no" >&6; }
3870 fi
3871
3872 if test "x$ac_ct_CC" = x; then
3873 CC=""
3874 else
3875 case $cross_compiling:$ac_tool_warned in
3876 yes:)
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3879 ac_tool_warned=yes ;;
3880 esac
3881 CC=$ac_ct_CC
3882 fi
3883 else
3884 CC="$ac_cv_prog_CC"
3885 fi
3886
3887 if test -z "$CC"; then
3888 if test -n "$ac_tool_prefix"; then
3889 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3890 set dummy ${ac_tool_prefix}cc; ac_word=$2
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3892 $as_echo_n "checking for $ac_word... " >&6; }
3893 if ${ac_cv_prog_CC+:} false; then :
3894 $as_echo_n "(cached) " >&6
3895 else
3896 if test -n "$CC"; then
3897 ac_cv_prog_CC="$CC" # Let the user override the test.
3898 else
3899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3900 for as_dir in $PATH
3901 do
3902 IFS=$as_save_IFS
3903 test -z "$as_dir" && as_dir=.
3904 for ac_exec_ext in '' $ac_executable_extensions; do
3905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3906 ac_cv_prog_CC="${ac_tool_prefix}cc"
3907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3908 break 2
3909 fi
3910 done
3911 done
3912 IFS=$as_save_IFS
3913
3914 fi
3915 fi
3916 CC=$ac_cv_prog_CC
3917 if test -n "$CC"; then
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3919 $as_echo "$CC" >&6; }
3920 else
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3922 $as_echo "no" >&6; }
3923 fi
3924
3925
3926 fi
3927 fi
3928 if test -z "$CC"; then
3929 # Extract the first word of "cc", so it can be a program name with args.
3930 set dummy cc; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if ${ac_cv_prog_CC+:} false; then :
3934 $as_echo_n "(cached) " >&6
3935 else
3936 if test -n "$CC"; then
3937 ac_cv_prog_CC="$CC" # Let the user override the test.
3938 else
3939 ac_prog_rejected=no
3940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3941 for as_dir in $PATH
3942 do
3943 IFS=$as_save_IFS
3944 test -z "$as_dir" && as_dir=.
3945 for ac_exec_ext in '' $ac_executable_extensions; do
3946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3947 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3948 ac_prog_rejected=yes
3949 continue
3950 fi
3951 ac_cv_prog_CC="cc"
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 break 2
3954 fi
3955 done
3956 done
3957 IFS=$as_save_IFS
3958
3959 if test $ac_prog_rejected = yes; then
3960 # We found a bogon in the path, so make sure we never use it.
3961 set dummy $ac_cv_prog_CC
3962 shift
3963 if test $# != 0; then
3964 # We chose a different compiler from the bogus one.
3965 # However, it has the same basename, so the bogon will be chosen
3966 # first if we set CC to just the basename; use the full file name.
3967 shift
3968 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3969 fi
3970 fi
3971 fi
3972 fi
3973 CC=$ac_cv_prog_CC
3974 if test -n "$CC"; then
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3976 $as_echo "$CC" >&6; }
3977 else
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979 $as_echo "no" >&6; }
3980 fi
3981
3982
3983 fi
3984 if test -z "$CC"; then
3985 if test -n "$ac_tool_prefix"; then
3986 for ac_prog in cl.exe
3987 do
3988 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3989 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if ${ac_cv_prog_CC+:} false; then :
3993 $as_echo_n "(cached) " >&6
3994 else
3995 if test -n "$CC"; then
3996 ac_cv_prog_CC="$CC" # Let the user override the test.
3997 else
3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999 for as_dir in $PATH
4000 do
4001 IFS=$as_save_IFS
4002 test -z "$as_dir" && as_dir=.
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4005 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 break 2
4008 fi
4009 done
4010 done
4011 IFS=$as_save_IFS
4012
4013 fi
4014 fi
4015 CC=$ac_cv_prog_CC
4016 if test -n "$CC"; then
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4018 $as_echo "$CC" >&6; }
4019 else
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4021 $as_echo "no" >&6; }
4022 fi
4023
4024
4025 test -n "$CC" && break
4026 done
4027 fi
4028 if test -z "$CC"; then
4029 ac_ct_CC=$CC
4030 for ac_prog in cl.exe
4031 do
4032 # Extract the first word of "$ac_prog", so it can be a program name with args.
4033 set dummy $ac_prog; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4037 $as_echo_n "(cached) " >&6
4038 else
4039 if test -n "$ac_ct_CC"; then
4040 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4041 else
4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 for as_dir in $PATH
4044 do
4045 IFS=$as_save_IFS
4046 test -z "$as_dir" && as_dir=.
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049 ac_cv_prog_ac_ct_CC="$ac_prog"
4050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4051 break 2
4052 fi
4053 done
4054 done
4055 IFS=$as_save_IFS
4056
4057 fi
4058 fi
4059 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4060 if test -n "$ac_ct_CC"; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4062 $as_echo "$ac_ct_CC" >&6; }
4063 else
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065 $as_echo "no" >&6; }
4066 fi
4067
4068
4069 test -n "$ac_ct_CC" && break
4070 done
4071
4072 if test "x$ac_ct_CC" = x; then
4073 CC=""
4074 else
4075 case $cross_compiling:$ac_tool_warned in
4076 yes:)
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4079 ac_tool_warned=yes ;;
4080 esac
4081 CC=$ac_ct_CC
4082 fi
4083 fi
4084
4085 fi
4086
4087
4088 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4090 as_fn_error $? "no acceptable C compiler found in \$PATH
4091 See \`config.log' for more details" "$LINENO" 5; }
4092
4093 # Provide some information about the compiler.
4094 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4095 set X $ac_compile
4096 ac_compiler=$2
4097 for ac_option in --version -v -V -qversion; do
4098 { { ac_try="$ac_compiler $ac_option >&5"
4099 case "(($ac_try" in
4100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4101 *) ac_try_echo=$ac_try;;
4102 esac
4103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104 $as_echo "$ac_try_echo"; } >&5
4105 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4106 ac_status=$?
4107 if test -s conftest.err; then
4108 sed '10a\
4109 ... rest of stderr output deleted ...
4110 10q' conftest.err >conftest.er1
4111 cat conftest.er1 >&5
4112 fi
4113 rm -f conftest.er1 conftest.err
4114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4115 test $ac_status = 0; }
4116 done
4117
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4120
4121 int
4122 main ()
4123 {
4124
4125 ;
4126 return 0;
4127 }
4128 _ACEOF
4129 # FIXME: Cleanup?
4130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4131 (eval $ac_link) 2>&5
4132 ac_status=$?
4133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4134 test $ac_status = 0; }; then :
4135 gcc_no_link=no
4136 else
4137 gcc_no_link=yes
4138 fi
4139 if test x$gcc_no_link = xyes; then
4140 # Setting cross_compile will disable run tests; it will
4141 # also disable AC_CHECK_FILE but that's generally
4142 # correct if we can't link.
4143 cross_compiling=yes
4144 EXEEXT=
4145 else
4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4148
4149 int
4150 main ()
4151 {
4152
4153 ;
4154 return 0;
4155 }
4156 _ACEOF
4157 ac_clean_files_save=$ac_clean_files
4158 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4159 # Try to create an executable without -o first, disregard a.out.
4160 # It will help us diagnose broken compilers, and finding out an intuition
4161 # of exeext.
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4163 $as_echo_n "checking whether the C compiler works... " >&6; }
4164 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4165
4166 # The possible output files:
4167 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4168
4169 ac_rmfiles=
4170 for ac_file in $ac_files
4171 do
4172 case $ac_file in
4173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4174 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4175 esac
4176 done
4177 rm -f $ac_rmfiles
4178
4179 if { { ac_try="$ac_link_default"
4180 case "(($ac_try" in
4181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4182 *) ac_try_echo=$ac_try;;
4183 esac
4184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4185 $as_echo "$ac_try_echo"; } >&5
4186 (eval "$ac_link_default") 2>&5
4187 ac_status=$?
4188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4189 test $ac_status = 0; }; then :
4190 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4191 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4192 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4193 # so that the user can short-circuit this test for compilers unknown to
4194 # Autoconf.
4195 for ac_file in $ac_files ''
4196 do
4197 test -f "$ac_file" || continue
4198 case $ac_file in
4199 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4200 ;;
4201 [ab].out )
4202 # We found the default executable, but exeext='' is most
4203 # certainly right.
4204 break;;
4205 *.* )
4206 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4207 then :; else
4208 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4209 fi
4210 # We set ac_cv_exeext here because the later test for it is not
4211 # safe: cross compilers may not add the suffix if given an `-o'
4212 # argument, so we may need to know it at that point already.
4213 # Even if this section looks crufty: it has the advantage of
4214 # actually working.
4215 break;;
4216 * )
4217 break;;
4218 esac
4219 done
4220 test "$ac_cv_exeext" = no && ac_cv_exeext=
4221
4222 else
4223 ac_file=''
4224 fi
4225 if test -z "$ac_file"; then :
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4228 $as_echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.$ac_ext >&5
4230
4231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4233 as_fn_error 77 "C compiler cannot create executables
4234 See \`config.log' for more details" "$LINENO" 5; }
4235 else
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4237 $as_echo "yes" >&6; }
4238 fi
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4240 $as_echo_n "checking for C compiler default output file name... " >&6; }
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4242 $as_echo "$ac_file" >&6; }
4243 ac_exeext=$ac_cv_exeext
4244
4245 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4246 ac_clean_files=$ac_clean_files_save
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4248 $as_echo_n "checking for suffix of executables... " >&6; }
4249 if { { ac_try="$ac_link"
4250 case "(($ac_try" in
4251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4252 *) ac_try_echo=$ac_try;;
4253 esac
4254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4255 $as_echo "$ac_try_echo"; } >&5
4256 (eval "$ac_link") 2>&5
4257 ac_status=$?
4258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4259 test $ac_status = 0; }; then :
4260 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4261 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4262 # work properly (i.e., refer to `conftest.exe'), while it won't with
4263 # `rm'.
4264 for ac_file in conftest.exe conftest conftest.*; do
4265 test -f "$ac_file" || continue
4266 case $ac_file in
4267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4268 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4269 break;;
4270 * ) break;;
4271 esac
4272 done
4273 else
4274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4276 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4277 See \`config.log' for more details" "$LINENO" 5; }
4278 fi
4279 rm -f conftest conftest$ac_cv_exeext
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4281 $as_echo "$ac_cv_exeext" >&6; }
4282
4283 rm -f conftest.$ac_ext
4284 EXEEXT=$ac_cv_exeext
4285 ac_exeext=$EXEEXT
4286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4287 /* end confdefs.h. */
4288 #include <stdio.h>
4289 int
4290 main ()
4291 {
4292 FILE *f = fopen ("conftest.out", "w");
4293 return ferror (f) || fclose (f) != 0;
4294
4295 ;
4296 return 0;
4297 }
4298 _ACEOF
4299 ac_clean_files="$ac_clean_files conftest.out"
4300 # Check that the compiler produces executables we can run. If not, either
4301 # the compiler is broken, or we cross compile.
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4303 $as_echo_n "checking whether we are cross compiling... " >&6; }
4304 if test "$cross_compiling" != yes; then
4305 { { ac_try="$ac_link"
4306 case "(($ac_try" in
4307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4309 esac
4310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4311 $as_echo "$ac_try_echo"; } >&5
4312 (eval "$ac_link") 2>&5
4313 ac_status=$?
4314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4315 test $ac_status = 0; }
4316 if { ac_try='./conftest$ac_cv_exeext'
4317 { { case "(($ac_try" in
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4320 esac
4321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4322 $as_echo "$ac_try_echo"; } >&5
4323 (eval "$ac_try") 2>&5
4324 ac_status=$?
4325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4326 test $ac_status = 0; }; }; then
4327 cross_compiling=no
4328 else
4329 if test "$cross_compiling" = maybe; then
4330 cross_compiling=yes
4331 else
4332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4334 as_fn_error $? "cannot run C compiled programs.
4335 If you meant to cross compile, use \`--host'.
4336 See \`config.log' for more details" "$LINENO" 5; }
4337 fi
4338 fi
4339 fi
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4341 $as_echo "$cross_compiling" >&6; }
4342
4343 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4344 ac_clean_files=$ac_clean_files_save
4345 fi
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4347 $as_echo_n "checking for suffix of object files... " >&6; }
4348 if ${ac_cv_objext+:} false; then :
4349 $as_echo_n "(cached) " >&6
4350 else
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4353
4354 int
4355 main ()
4356 {
4357
4358 ;
4359 return 0;
4360 }
4361 _ACEOF
4362 rm -f conftest.o conftest.obj
4363 if { { ac_try="$ac_compile"
4364 case "(($ac_try" in
4365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4366 *) ac_try_echo=$ac_try;;
4367 esac
4368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4369 $as_echo "$ac_try_echo"; } >&5
4370 (eval "$ac_compile") 2>&5
4371 ac_status=$?
4372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4373 test $ac_status = 0; }; then :
4374 for ac_file in conftest.o conftest.obj conftest.*; do
4375 test -f "$ac_file" || continue;
4376 case $ac_file in
4377 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4378 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4379 break;;
4380 esac
4381 done
4382 else
4383 $as_echo "$as_me: failed program was:" >&5
4384 sed 's/^/| /' conftest.$ac_ext >&5
4385
4386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4388 as_fn_error $? "cannot compute suffix of object files: cannot compile
4389 See \`config.log' for more details" "$LINENO" 5; }
4390 fi
4391 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4392 fi
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4394 $as_echo "$ac_cv_objext" >&6; }
4395 OBJEXT=$ac_cv_objext
4396 ac_objext=$OBJEXT
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4398 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4399 if ${ac_cv_c_compiler_gnu+:} false; then :
4400 $as_echo_n "(cached) " >&6
4401 else
4402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4403 /* end confdefs.h. */
4404
4405 int
4406 main ()
4407 {
4408 #ifndef __GNUC__
4409 choke me
4410 #endif
4411
4412 ;
4413 return 0;
4414 }
4415 _ACEOF
4416 if ac_fn_c_try_compile "$LINENO"; then :
4417 ac_compiler_gnu=yes
4418 else
4419 ac_compiler_gnu=no
4420 fi
4421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4422 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4423
4424 fi
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4426 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4427 if test $ac_compiler_gnu = yes; then
4428 GCC=yes
4429 else
4430 GCC=
4431 fi
4432 ac_test_CFLAGS=${CFLAGS+set}
4433 ac_save_CFLAGS=$CFLAGS
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4435 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4436 if ${ac_cv_prog_cc_g+:} false; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 ac_save_c_werror_flag=$ac_c_werror_flag
4440 ac_c_werror_flag=yes
4441 ac_cv_prog_cc_g=no
4442 CFLAGS="-g"
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4445
4446 int
4447 main ()
4448 {
4449
4450 ;
4451 return 0;
4452 }
4453 _ACEOF
4454 if ac_fn_c_try_compile "$LINENO"; then :
4455 ac_cv_prog_cc_g=yes
4456 else
4457 CFLAGS=""
4458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4459 /* end confdefs.h. */
4460
4461 int
4462 main ()
4463 {
4464
4465 ;
4466 return 0;
4467 }
4468 _ACEOF
4469 if ac_fn_c_try_compile "$LINENO"; then :
4470
4471 else
4472 ac_c_werror_flag=$ac_save_c_werror_flag
4473 CFLAGS="-g"
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4476
4477 int
4478 main ()
4479 {
4480
4481 ;
4482 return 0;
4483 }
4484 _ACEOF
4485 if ac_fn_c_try_compile "$LINENO"; then :
4486 ac_cv_prog_cc_g=yes
4487 fi
4488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4489 fi
4490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4491 fi
4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4493 ac_c_werror_flag=$ac_save_c_werror_flag
4494 fi
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4496 $as_echo "$ac_cv_prog_cc_g" >&6; }
4497 if test "$ac_test_CFLAGS" = set; then
4498 CFLAGS=$ac_save_CFLAGS
4499 elif test $ac_cv_prog_cc_g = yes; then
4500 if test "$GCC" = yes; then
4501 CFLAGS="-g -O2"
4502 else
4503 CFLAGS="-g"
4504 fi
4505 else
4506 if test "$GCC" = yes; then
4507 CFLAGS="-O2"
4508 else
4509 CFLAGS=
4510 fi
4511 fi
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4513 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4514 if ${ac_cv_prog_cc_c89+:} false; then :
4515 $as_echo_n "(cached) " >&6
4516 else
4517 ac_cv_prog_cc_c89=no
4518 ac_save_CC=$CC
4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4521 #include <stdarg.h>
4522 #include <stdio.h>
4523 struct stat;
4524 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4525 struct buf { int x; };
4526 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4527 static char *e (p, i)
4528 char **p;
4529 int i;
4530 {
4531 return p[i];
4532 }
4533 static char *f (char * (*g) (char **, int), char **p, ...)
4534 {
4535 char *s;
4536 va_list v;
4537 va_start (v,p);
4538 s = g (p, va_arg (v,int));
4539 va_end (v);
4540 return s;
4541 }
4542
4543 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4544 function prototypes and stuff, but not '\xHH' hex character constants.
4545 These don't provoke an error unfortunately, instead are silently treated
4546 as 'x'. The following induces an error, until -std is added to get
4547 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4548 array size at least. It's necessary to write '\x00'==0 to get something
4549 that's true only with -std. */
4550 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4551
4552 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4553 inside strings and character constants. */
4554 #define FOO(x) 'x'
4555 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4556
4557 int test (int i, double x);
4558 struct s1 {int (*f) (int a);};
4559 struct s2 {int (*f) (double a);};
4560 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4561 int argc;
4562 char **argv;
4563 int
4564 main ()
4565 {
4566 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4567 ;
4568 return 0;
4569 }
4570 _ACEOF
4571 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4572 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4573 do
4574 CC="$ac_save_CC $ac_arg"
4575 if ac_fn_c_try_compile "$LINENO"; then :
4576 ac_cv_prog_cc_c89=$ac_arg
4577 fi
4578 rm -f core conftest.err conftest.$ac_objext
4579 test "x$ac_cv_prog_cc_c89" != "xno" && break
4580 done
4581 rm -f conftest.$ac_ext
4582 CC=$ac_save_CC
4583
4584 fi
4585 # AC_CACHE_VAL
4586 case "x$ac_cv_prog_cc_c89" in
4587 x)
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4589 $as_echo "none needed" >&6; } ;;
4590 xno)
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4592 $as_echo "unsupported" >&6; } ;;
4593 *)
4594 CC="$CC $ac_cv_prog_cc_c89"
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4596 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4597 esac
4598 if test "x$ac_cv_prog_cc_c89" != xno; then :
4599
4600 fi
4601
4602 ac_ext=c
4603 ac_cpp='$CPP $CPPFLAGS'
4604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4607
4608 ac_ext=c
4609 ac_cpp='$CPP $CPPFLAGS'
4610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4614 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4615 if ${am_cv_prog_cc_c_o+:} false; then :
4616 $as_echo_n "(cached) " >&6
4617 else
4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4619 /* end confdefs.h. */
4620
4621 int
4622 main ()
4623 {
4624
4625 ;
4626 return 0;
4627 }
4628 _ACEOF
4629 # Make sure it works both with $CC and with simple cc.
4630 # Following AC_PROG_CC_C_O, we do the test twice because some
4631 # compilers refuse to overwrite an existing .o file with -o,
4632 # though they will create one.
4633 am_cv_prog_cc_c_o=yes
4634 for am_i in 1 2; do
4635 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4636 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4637 ac_status=$?
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); } \
4640 && test -f conftest2.$ac_objext; then
4641 : OK
4642 else
4643 am_cv_prog_cc_c_o=no
4644 break
4645 fi
4646 done
4647 rm -f core conftest*
4648 unset am_i
4649 fi
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4651 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4652 if test "$am_cv_prog_cc_c_o" != yes; then
4653 # Losing compiler, so override with the script.
4654 # FIXME: It is wrong to rewrite CC.
4655 # But if we don't then we get into trouble of one sort or another.
4656 # A longer-term fix would be to have automake use am__CC in this case,
4657 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4658 CC="$am_aux_dir/compile $CC"
4659 fi
4660 ac_ext=c
4661 ac_cpp='$CPP $CPPFLAGS'
4662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4665
4666
4667 ac_ext=cpp
4668 ac_cpp='$CXXCPP $CPPFLAGS'
4669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4672 if test -z "$CXX"; then
4673 if test -n "$CCC"; then
4674 CXX=$CCC
4675 else
4676 if test -n "$ac_tool_prefix"; then
4677 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4678 do
4679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4680 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682 $as_echo_n "checking for $ac_word... " >&6; }
4683 if ${ac_cv_prog_CXX+:} false; then :
4684 $as_echo_n "(cached) " >&6
4685 else
4686 if test -n "$CXX"; then
4687 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4688 else
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 for as_dir in $PATH
4691 do
4692 IFS=$as_save_IFS
4693 test -z "$as_dir" && as_dir=.
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4696 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 break 2
4699 fi
4700 done
4701 done
4702 IFS=$as_save_IFS
4703
4704 fi
4705 fi
4706 CXX=$ac_cv_prog_CXX
4707 if test -n "$CXX"; then
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4709 $as_echo "$CXX" >&6; }
4710 else
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 $as_echo "no" >&6; }
4713 fi
4714
4715
4716 test -n "$CXX" && break
4717 done
4718 fi
4719 if test -z "$CXX"; then
4720 ac_ct_CXX=$CXX
4721 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4722 do
4723 # Extract the first word of "$ac_prog", so it can be a program name with args.
4724 set dummy $ac_prog; ac_word=$2
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4726 $as_echo_n "checking for $ac_word... " >&6; }
4727 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4728 $as_echo_n "(cached) " >&6
4729 else
4730 if test -n "$ac_ct_CXX"; then
4731 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4732 else
4733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4734 for as_dir in $PATH
4735 do
4736 IFS=$as_save_IFS
4737 test -z "$as_dir" && as_dir=.
4738 for ac_exec_ext in '' $ac_executable_extensions; do
4739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4740 ac_cv_prog_ac_ct_CXX="$ac_prog"
4741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4742 break 2
4743 fi
4744 done
4745 done
4746 IFS=$as_save_IFS
4747
4748 fi
4749 fi
4750 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4751 if test -n "$ac_ct_CXX"; then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4753 $as_echo "$ac_ct_CXX" >&6; }
4754 else
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756 $as_echo "no" >&6; }
4757 fi
4758
4759
4760 test -n "$ac_ct_CXX" && break
4761 done
4762
4763 if test "x$ac_ct_CXX" = x; then
4764 CXX="g++"
4765 else
4766 case $cross_compiling:$ac_tool_warned in
4767 yes:)
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4770 ac_tool_warned=yes ;;
4771 esac
4772 CXX=$ac_ct_CXX
4773 fi
4774 fi
4775
4776 fi
4777 fi
4778 # Provide some information about the compiler.
4779 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4780 set X $ac_compile
4781 ac_compiler=$2
4782 for ac_option in --version -v -V -qversion; do
4783 { { ac_try="$ac_compiler $ac_option >&5"
4784 case "(($ac_try" in
4785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4786 *) ac_try_echo=$ac_try;;
4787 esac
4788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4789 $as_echo "$ac_try_echo"; } >&5
4790 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4791 ac_status=$?
4792 if test -s conftest.err; then
4793 sed '10a\
4794 ... rest of stderr output deleted ...
4795 10q' conftest.err >conftest.er1
4796 cat conftest.er1 >&5
4797 fi
4798 rm -f conftest.er1 conftest.err
4799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4800 test $ac_status = 0; }
4801 done
4802
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4804 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4805 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4806 $as_echo_n "(cached) " >&6
4807 else
4808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4809 /* end confdefs.h. */
4810
4811 int
4812 main ()
4813 {
4814 #ifndef __GNUC__
4815 choke me
4816 #endif
4817
4818 ;
4819 return 0;
4820 }
4821 _ACEOF
4822 if ac_fn_cxx_try_compile "$LINENO"; then :
4823 ac_compiler_gnu=yes
4824 else
4825 ac_compiler_gnu=no
4826 fi
4827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4828 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4829
4830 fi
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4832 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4833 if test $ac_compiler_gnu = yes; then
4834 GXX=yes
4835 else
4836 GXX=
4837 fi
4838 ac_test_CXXFLAGS=${CXXFLAGS+set}
4839 ac_save_CXXFLAGS=$CXXFLAGS
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4841 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4842 if ${ac_cv_prog_cxx_g+:} false; then :
4843 $as_echo_n "(cached) " >&6
4844 else
4845 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4846 ac_cxx_werror_flag=yes
4847 ac_cv_prog_cxx_g=no
4848 CXXFLAGS="-g"
4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850 /* end confdefs.h. */
4851
4852 int
4853 main ()
4854 {
4855
4856 ;
4857 return 0;
4858 }
4859 _ACEOF
4860 if ac_fn_cxx_try_compile "$LINENO"; then :
4861 ac_cv_prog_cxx_g=yes
4862 else
4863 CXXFLAGS=""
4864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4865 /* end confdefs.h. */
4866
4867 int
4868 main ()
4869 {
4870
4871 ;
4872 return 0;
4873 }
4874 _ACEOF
4875 if ac_fn_cxx_try_compile "$LINENO"; then :
4876
4877 else
4878 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4879 CXXFLAGS="-g"
4880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4881 /* end confdefs.h. */
4882
4883 int
4884 main ()
4885 {
4886
4887 ;
4888 return 0;
4889 }
4890 _ACEOF
4891 if ac_fn_cxx_try_compile "$LINENO"; then :
4892 ac_cv_prog_cxx_g=yes
4893 fi
4894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4895 fi
4896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4897 fi
4898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4900 fi
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4902 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4903 if test "$ac_test_CXXFLAGS" = set; then
4904 CXXFLAGS=$ac_save_CXXFLAGS
4905 elif test $ac_cv_prog_cxx_g = yes; then
4906 if test "$GXX" = yes; then
4907 CXXFLAGS="-g -O2"
4908 else
4909 CXXFLAGS="-g"
4910 fi
4911 else
4912 if test "$GXX" = yes; then
4913 CXXFLAGS="-O2"
4914 else
4915 CXXFLAGS=
4916 fi
4917 fi
4918 ac_ext=c
4919 ac_cpp='$CPP $CPPFLAGS'
4920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4923
4924 CXXFLAGS="$save_CXXFLAGS"
4925
4926 # Runs configure.host, and assorted other critical bits. Sets
4927 # up critical shell variables.
4928
4929 ac_ext=c
4930 ac_cpp='$CPP $CPPFLAGS'
4931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4935 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4936 # On Suns, sometimes $CPP names a directory.
4937 if test -n "$CPP" && test -d "$CPP"; then
4938 CPP=
4939 fi
4940 if test -z "$CPP"; then
4941 if ${ac_cv_prog_CPP+:} false; then :
4942 $as_echo_n "(cached) " >&6
4943 else
4944 # Double quotes because CPP needs to be expanded
4945 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4946 do
4947 ac_preproc_ok=false
4948 for ac_c_preproc_warn_flag in '' yes
4949 do
4950 # Use a header file that comes with gcc, so configuring glibc
4951 # with a fresh cross-compiler works.
4952 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4953 # <limits.h> exists even on freestanding compilers.
4954 # On the NeXT, cc -E runs the code through the compiler's parser,
4955 # not just through cpp. "Syntax error" is here to catch this case.
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4958 #ifdef __STDC__
4959 # include <limits.h>
4960 #else
4961 # include <assert.h>
4962 #endif
4963 Syntax error
4964 _ACEOF
4965 if ac_fn_c_try_cpp "$LINENO"; then :
4966
4967 else
4968 # Broken: fails on valid input.
4969 continue
4970 fi
4971 rm -f conftest.err conftest.i conftest.$ac_ext
4972
4973 # OK, works on sane cases. Now check whether nonexistent headers
4974 # can be detected and how.
4975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4976 /* end confdefs.h. */
4977 #include <ac_nonexistent.h>
4978 _ACEOF
4979 if ac_fn_c_try_cpp "$LINENO"; then :
4980 # Broken: success on invalid input.
4981 continue
4982 else
4983 # Passes both tests.
4984 ac_preproc_ok=:
4985 break
4986 fi
4987 rm -f conftest.err conftest.i conftest.$ac_ext
4988
4989 done
4990 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4991 rm -f conftest.i conftest.err conftest.$ac_ext
4992 if $ac_preproc_ok; then :
4993 break
4994 fi
4995
4996 done
4997 ac_cv_prog_CPP=$CPP
4998
4999 fi
5000 CPP=$ac_cv_prog_CPP
5001 else
5002 ac_cv_prog_CPP=$CPP
5003 fi
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5005 $as_echo "$CPP" >&6; }
5006 ac_preproc_ok=false
5007 for ac_c_preproc_warn_flag in '' yes
5008 do
5009 # Use a header file that comes with gcc, so configuring glibc
5010 # with a fresh cross-compiler works.
5011 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5012 # <limits.h> exists even on freestanding compilers.
5013 # On the NeXT, cc -E runs the code through the compiler's parser,
5014 # not just through cpp. "Syntax error" is here to catch this case.
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5017 #ifdef __STDC__
5018 # include <limits.h>
5019 #else
5020 # include <assert.h>
5021 #endif
5022 Syntax error
5023 _ACEOF
5024 if ac_fn_c_try_cpp "$LINENO"; then :
5025
5026 else
5027 # Broken: fails on valid input.
5028 continue
5029 fi
5030 rm -f conftest.err conftest.i conftest.$ac_ext
5031
5032 # OK, works on sane cases. Now check whether nonexistent headers
5033 # can be detected and how.
5034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5035 /* end confdefs.h. */
5036 #include <ac_nonexistent.h>
5037 _ACEOF
5038 if ac_fn_c_try_cpp "$LINENO"; then :
5039 # Broken: success on invalid input.
5040 continue
5041 else
5042 # Passes both tests.
5043 ac_preproc_ok=:
5044 break
5045 fi
5046 rm -f conftest.err conftest.i conftest.$ac_ext
5047
5048 done
5049 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5050 rm -f conftest.i conftest.err conftest.$ac_ext
5051 if $ac_preproc_ok; then :
5052
5053 else
5054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5056 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5057 See \`config.log' for more details" "$LINENO" 5; }
5058 fi
5059
5060 ac_ext=c
5061 ac_cpp='$CPP $CPPFLAGS'
5062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5065
5066
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5068 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5069 if ${ac_cv_path_GREP+:} false; then :
5070 $as_echo_n "(cached) " >&6
5071 else
5072 if test -z "$GREP"; then
5073 ac_path_GREP_found=false
5074 # Loop through the user's path and test for each of PROGNAME-LIST
5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5077 do
5078 IFS=$as_save_IFS
5079 test -z "$as_dir" && as_dir=.
5080 for ac_prog in grep ggrep; do
5081 for ac_exec_ext in '' $ac_executable_extensions; do
5082 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5083 as_fn_executable_p "$ac_path_GREP" || continue
5084 # Check for GNU ac_path_GREP and select it if it is found.
5085 # Check for GNU $ac_path_GREP
5086 case `"$ac_path_GREP" --version 2>&1` in
5087 *GNU*)
5088 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5089 *)
5090 ac_count=0
5091 $as_echo_n 0123456789 >"conftest.in"
5092 while :
5093 do
5094 cat "conftest.in" "conftest.in" >"conftest.tmp"
5095 mv "conftest.tmp" "conftest.in"
5096 cp "conftest.in" "conftest.nl"
5097 $as_echo 'GREP' >> "conftest.nl"
5098 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5099 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5100 as_fn_arith $ac_count + 1 && ac_count=$as_val
5101 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5102 # Best one so far, save it but keep looking for a better one
5103 ac_cv_path_GREP="$ac_path_GREP"
5104 ac_path_GREP_max=$ac_count
5105 fi
5106 # 10*(2^10) chars as input seems more than enough
5107 test $ac_count -gt 10 && break
5108 done
5109 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5110 esac
5111
5112 $ac_path_GREP_found && break 3
5113 done
5114 done
5115 done
5116 IFS=$as_save_IFS
5117 if test -z "$ac_cv_path_GREP"; then
5118 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5119 fi
5120 else
5121 ac_cv_path_GREP=$GREP
5122 fi
5123
5124 fi
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5126 $as_echo "$ac_cv_path_GREP" >&6; }
5127 GREP="$ac_cv_path_GREP"
5128
5129
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5131 $as_echo_n "checking for egrep... " >&6; }
5132 if ${ac_cv_path_EGREP+:} false; then :
5133 $as_echo_n "(cached) " >&6
5134 else
5135 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5136 then ac_cv_path_EGREP="$GREP -E"
5137 else
5138 if test -z "$EGREP"; then
5139 ac_path_EGREP_found=false
5140 # Loop through the user's path and test for each of PROGNAME-LIST
5141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5143 do
5144 IFS=$as_save_IFS
5145 test -z "$as_dir" && as_dir=.
5146 for ac_prog in egrep; do
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5149 as_fn_executable_p "$ac_path_EGREP" || continue
5150 # Check for GNU ac_path_EGREP and select it if it is found.
5151 # Check for GNU $ac_path_EGREP
5152 case `"$ac_path_EGREP" --version 2>&1` in
5153 *GNU*)
5154 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5155 *)
5156 ac_count=0
5157 $as_echo_n 0123456789 >"conftest.in"
5158 while :
5159 do
5160 cat "conftest.in" "conftest.in" >"conftest.tmp"
5161 mv "conftest.tmp" "conftest.in"
5162 cp "conftest.in" "conftest.nl"
5163 $as_echo 'EGREP' >> "conftest.nl"
5164 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5165 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5166 as_fn_arith $ac_count + 1 && ac_count=$as_val
5167 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5168 # Best one so far, save it but keep looking for a better one
5169 ac_cv_path_EGREP="$ac_path_EGREP"
5170 ac_path_EGREP_max=$ac_count
5171 fi
5172 # 10*(2^10) chars as input seems more than enough
5173 test $ac_count -gt 10 && break
5174 done
5175 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5176 esac
5177
5178 $ac_path_EGREP_found && break 3
5179 done
5180 done
5181 done
5182 IFS=$as_save_IFS
5183 if test -z "$ac_cv_path_EGREP"; then
5184 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5185 fi
5186 else
5187 ac_cv_path_EGREP=$EGREP
5188 fi
5189
5190 fi
5191 fi
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5193 $as_echo "$ac_cv_path_EGREP" >&6; }
5194 EGREP="$ac_cv_path_EGREP"
5195
5196
5197
5198 # Keep these sync'd with the list in Makefile.am. The first provides an
5199 # expandable list at autoconf time; the second provides an expandable list
5200 # (i.e., shell variable) at configure time.
5201
5202 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
5203
5204 # These need to be absolute paths, yet at the same time need to
5205 # canonicalize only relative paths, because then amd will not unmount
5206 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5207 glibcxx_builddir=`${PWDCMD-pwd}`
5208 case $srcdir in
5209 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5210 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5211 esac
5212 toplevel_builddir=${glibcxx_builddir}/..
5213 toplevel_srcdir=${glibcxx_srcdir}/..
5214
5215
5216
5217
5218
5219 # We use these options to decide which functions to include. They are
5220 # set from the top level.
5221
5222 # Check whether --with-target-subdir was given.
5223 if test "${with_target_subdir+set}" = set; then :
5224 withval=$with_target_subdir;
5225 fi
5226
5227
5228
5229 # Check whether --with-cross-host was given.
5230 if test "${with_cross_host+set}" = set; then :
5231 withval=$with_cross_host;
5232 fi
5233
5234
5235
5236 # Check whether --with-newlib was given.
5237 if test "${with_newlib+set}" = set; then :
5238 withval=$with_newlib;
5239 fi
5240
5241
5242 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5243 # available). Uncomment the next line to force a particular method.
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5245 $as_echo_n "checking whether ln -s works... " >&6; }
5246 LN_S=$as_ln_s
5247 if test "$LN_S" = "ln -s"; then
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5249 $as_echo "yes" >&6; }
5250 else
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5252 $as_echo "no, using $LN_S" >&6; }
5253 fi
5254
5255 #LN_S='cp -p'
5256
5257 if test -n "$ac_tool_prefix"; then
5258 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5259 set dummy ${ac_tool_prefix}as; ac_word=$2
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261 $as_echo_n "checking for $ac_word... " >&6; }
5262 if ${ac_cv_prog_AS+:} false; then :
5263 $as_echo_n "(cached) " >&6
5264 else
5265 if test -n "$AS"; then
5266 ac_cv_prog_AS="$AS" # Let the user override the test.
5267 else
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH
5270 do
5271 IFS=$as_save_IFS
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_AS="${ac_tool_prefix}as"
5276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 break 2
5278 fi
5279 done
5280 done
5281 IFS=$as_save_IFS
5282
5283 fi
5284 fi
5285 AS=$ac_cv_prog_AS
5286 if test -n "$AS"; then
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5288 $as_echo "$AS" >&6; }
5289 else
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5291 $as_echo "no" >&6; }
5292 fi
5293
5294
5295 fi
5296 if test -z "$ac_cv_prog_AS"; then
5297 ac_ct_AS=$AS
5298 # Extract the first word of "as", so it can be a program name with args.
5299 set dummy as; ac_word=$2
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5301 $as_echo_n "checking for $ac_word... " >&6; }
5302 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5303 $as_echo_n "(cached) " >&6
5304 else
5305 if test -n "$ac_ct_AS"; then
5306 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5307 else
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 for as_dir in $PATH
5310 do
5311 IFS=$as_save_IFS
5312 test -z "$as_dir" && as_dir=.
5313 for ac_exec_ext in '' $ac_executable_extensions; do
5314 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5315 ac_cv_prog_ac_ct_AS="as"
5316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5317 break 2
5318 fi
5319 done
5320 done
5321 IFS=$as_save_IFS
5322
5323 fi
5324 fi
5325 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5326 if test -n "$ac_ct_AS"; then
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5328 $as_echo "$ac_ct_AS" >&6; }
5329 else
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5331 $as_echo "no" >&6; }
5332 fi
5333
5334 if test "x$ac_ct_AS" = x; then
5335 AS=""
5336 else
5337 case $cross_compiling:$ac_tool_warned in
5338 yes:)
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5341 ac_tool_warned=yes ;;
5342 esac
5343 AS=$ac_ct_AS
5344 fi
5345 else
5346 AS="$ac_cv_prog_AS"
5347 fi
5348
5349 if test -n "$ac_tool_prefix"; then
5350 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5351 set dummy ${ac_tool_prefix}ar; ac_word=$2
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5353 $as_echo_n "checking for $ac_word... " >&6; }
5354 if ${ac_cv_prog_AR+:} false; then :
5355 $as_echo_n "(cached) " >&6
5356 else
5357 if test -n "$AR"; then
5358 ac_cv_prog_AR="$AR" # Let the user override the test.
5359 else
5360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5361 for as_dir in $PATH
5362 do
5363 IFS=$as_save_IFS
5364 test -z "$as_dir" && as_dir=.
5365 for ac_exec_ext in '' $ac_executable_extensions; do
5366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5367 ac_cv_prog_AR="${ac_tool_prefix}ar"
5368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5369 break 2
5370 fi
5371 done
5372 done
5373 IFS=$as_save_IFS
5374
5375 fi
5376 fi
5377 AR=$ac_cv_prog_AR
5378 if test -n "$AR"; then
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5380 $as_echo "$AR" >&6; }
5381 else
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5383 $as_echo "no" >&6; }
5384 fi
5385
5386
5387 fi
5388 if test -z "$ac_cv_prog_AR"; then
5389 ac_ct_AR=$AR
5390 # Extract the first word of "ar", so it can be a program name with args.
5391 set dummy ar; ac_word=$2
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5394 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5395 $as_echo_n "(cached) " >&6
5396 else
5397 if test -n "$ac_ct_AR"; then
5398 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5399 else
5400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5401 for as_dir in $PATH
5402 do
5403 IFS=$as_save_IFS
5404 test -z "$as_dir" && as_dir=.
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5407 ac_cv_prog_ac_ct_AR="ar"
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 break 2
5410 fi
5411 done
5412 done
5413 IFS=$as_save_IFS
5414
5415 fi
5416 fi
5417 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5418 if test -n "$ac_ct_AR"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5420 $as_echo "$ac_ct_AR" >&6; }
5421 else
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5424 fi
5425
5426 if test "x$ac_ct_AR" = x; then
5427 AR=""
5428 else
5429 case $cross_compiling:$ac_tool_warned in
5430 yes:)
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5433 ac_tool_warned=yes ;;
5434 esac
5435 AR=$ac_ct_AR
5436 fi
5437 else
5438 AR="$ac_cv_prog_AR"
5439 fi
5440
5441 if test -n "$ac_tool_prefix"; then
5442 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5443 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5445 $as_echo_n "checking for $ac_word... " >&6; }
5446 if ${ac_cv_prog_RANLIB+:} false; then :
5447 $as_echo_n "(cached) " >&6
5448 else
5449 if test -n "$RANLIB"; then
5450 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5451 else
5452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5453 for as_dir in $PATH
5454 do
5455 IFS=$as_save_IFS
5456 test -z "$as_dir" && as_dir=.
5457 for ac_exec_ext in '' $ac_executable_extensions; do
5458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5459 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 break 2
5462 fi
5463 done
5464 done
5465 IFS=$as_save_IFS
5466
5467 fi
5468 fi
5469 RANLIB=$ac_cv_prog_RANLIB
5470 if test -n "$RANLIB"; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5472 $as_echo "$RANLIB" >&6; }
5473 else
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5475 $as_echo "no" >&6; }
5476 fi
5477
5478
5479 fi
5480 if test -z "$ac_cv_prog_RANLIB"; then
5481 ac_ct_RANLIB=$RANLIB
5482 # Extract the first word of "ranlib", so it can be a program name with args.
5483 set dummy ranlib; ac_word=$2
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5485 $as_echo_n "checking for $ac_word... " >&6; }
5486 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5487 $as_echo_n "(cached) " >&6
5488 else
5489 if test -n "$ac_ct_RANLIB"; then
5490 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5491 else
5492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 for as_dir in $PATH
5494 do
5495 IFS=$as_save_IFS
5496 test -z "$as_dir" && as_dir=.
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5499 ac_cv_prog_ac_ct_RANLIB="ranlib"
5500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501 break 2
5502 fi
5503 done
5504 done
5505 IFS=$as_save_IFS
5506
5507 fi
5508 fi
5509 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5510 if test -n "$ac_ct_RANLIB"; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5512 $as_echo "$ac_ct_RANLIB" >&6; }
5513 else
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5516 fi
5517
5518 if test "x$ac_ct_RANLIB" = x; then
5519 RANLIB="ranlib-not-found-in-path-error"
5520 else
5521 case $cross_compiling:$ac_tool_warned in
5522 yes:)
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5525 ac_tool_warned=yes ;;
5526 esac
5527 RANLIB=$ac_ct_RANLIB
5528 fi
5529 else
5530 RANLIB="$ac_cv_prog_RANLIB"
5531 fi
5532
5533
5534
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5536 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5537 # Check whether --enable-maintainer-mode was given.
5538 if test "${enable_maintainer_mode+set}" = set; then :
5539 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5540 else
5541 USE_MAINTAINER_MODE=no
5542 fi
5543
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5545 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5546 if test $USE_MAINTAINER_MODE = yes; then
5547 MAINTAINER_MODE_TRUE=
5548 MAINTAINER_MODE_FALSE='#'
5549 else
5550 MAINTAINER_MODE_TRUE='#'
5551 MAINTAINER_MODE_FALSE=
5552 fi
5553
5554 MAINT=$MAINTAINER_MODE_TRUE
5555
5556
5557
5558 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5559 # which are themselves conditionally expanded.
5560 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5561 ## other macros from doing the same. This should be automated.) -pme
5562
5563 # Check for C library flavor since GNU/Linux platforms use different
5564 # configuration directories depending on the C library in use.
5565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5566 /* end confdefs.h. */
5567
5568 #include <stdio.h>
5569 #if __UCLIBC__
5570 _using_uclibc
5571 #endif
5572
5573 _ACEOF
5574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5575 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5576 uclibc=yes
5577 else
5578 uclibc=no
5579 fi
5580 rm -f conftest*
5581
5582
5583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5584 /* end confdefs.h. */
5585
5586 #include <stdio.h>
5587 #if __BIONIC__
5588 _using_bionic
5589 #endif
5590
5591 _ACEOF
5592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5593 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5594 bionic=yes
5595 else
5596 bionic=no
5597 fi
5598 rm -f conftest*
5599
5600
5601 # Find platform-specific directories containing configuration info.
5602 # Also possibly modify flags used elsewhere, as needed by the platform.
5603
5604 . $glibcxx_srcdir/configure.host
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5606 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5608 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5609
5610
5611
5612 # Libtool setup.
5613 if test "x${with_newlib}" != "xyes"; then
5614 enable_dlopen=yes
5615
5616
5617
5618 fi
5619 case `pwd` in
5620 *\ * | *\ *)
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5622 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5623 esac
5624
5625
5626
5627 macro_version='2.2.7a'
5628 macro_revision='1.3134'
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642 ltmain="$ac_aux_dir/ltmain.sh"
5643
5644 # Backslashify metacharacters that are still active within
5645 # double-quoted strings.
5646 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5647
5648 # Same as above, but do not quote variable references.
5649 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5650
5651 # Sed substitution to delay expansion of an escaped shell variable in a
5652 # double_quote_subst'ed string.
5653 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5654
5655 # Sed substitution to delay expansion of an escaped single quote.
5656 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5657
5658 # Sed substitution to avoid accidental globbing in evaled expressions
5659 no_glob_subst='s/\*/\\\*/g'
5660
5661 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5662 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5663 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5664
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5666 $as_echo_n "checking how to print strings... " >&6; }
5667 # Test print first, because it will be a builtin if present.
5668 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5669 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5670 ECHO='print -r --'
5671 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5672 ECHO='printf %s\n'
5673 else
5674 # Use this function as a fallback that always works.
5675 func_fallback_echo ()
5676 {
5677 eval 'cat <<_LTECHO_EOF
5678 $1
5679 _LTECHO_EOF'
5680 }
5681 ECHO='func_fallback_echo'
5682 fi
5683
5684 # func_echo_all arg...
5685 # Invoke $ECHO with all args, space-separated.
5686 func_echo_all ()
5687 {
5688 $ECHO ""
5689 }
5690
5691 case "$ECHO" in
5692 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5693 $as_echo "printf" >&6; } ;;
5694 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5695 $as_echo "print -r" >&6; } ;;
5696 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5697 $as_echo "cat" >&6; } ;;
5698 esac
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5714 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5715 if ${ac_cv_path_SED+:} false; then :
5716 $as_echo_n "(cached) " >&6
5717 else
5718 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5719 for ac_i in 1 2 3 4 5 6 7; do
5720 ac_script="$ac_script$as_nl$ac_script"
5721 done
5722 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5723 { ac_script=; unset ac_script;}
5724 if test -z "$SED"; then
5725 ac_path_SED_found=false
5726 # Loop through the user's path and test for each of PROGNAME-LIST
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 for as_dir in $PATH
5729 do
5730 IFS=$as_save_IFS
5731 test -z "$as_dir" && as_dir=.
5732 for ac_prog in sed gsed; do
5733 for ac_exec_ext in '' $ac_executable_extensions; do
5734 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5735 as_fn_executable_p "$ac_path_SED" || continue
5736 # Check for GNU ac_path_SED and select it if it is found.
5737 # Check for GNU $ac_path_SED
5738 case `"$ac_path_SED" --version 2>&1` in
5739 *GNU*)
5740 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5741 *)
5742 ac_count=0
5743 $as_echo_n 0123456789 >"conftest.in"
5744 while :
5745 do
5746 cat "conftest.in" "conftest.in" >"conftest.tmp"
5747 mv "conftest.tmp" "conftest.in"
5748 cp "conftest.in" "conftest.nl"
5749 $as_echo '' >> "conftest.nl"
5750 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5751 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5752 as_fn_arith $ac_count + 1 && ac_count=$as_val
5753 if test $ac_count -gt ${ac_path_SED_max-0}; then
5754 # Best one so far, save it but keep looking for a better one
5755 ac_cv_path_SED="$ac_path_SED"
5756 ac_path_SED_max=$ac_count
5757 fi
5758 # 10*(2^10) chars as input seems more than enough
5759 test $ac_count -gt 10 && break
5760 done
5761 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5762 esac
5763
5764 $ac_path_SED_found && break 3
5765 done
5766 done
5767 done
5768 IFS=$as_save_IFS
5769 if test -z "$ac_cv_path_SED"; then
5770 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5771 fi
5772 else
5773 ac_cv_path_SED=$SED
5774 fi
5775
5776 fi
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5778 $as_echo "$ac_cv_path_SED" >&6; }
5779 SED="$ac_cv_path_SED"
5780 rm -f conftest.sed
5781
5782 test -z "$SED" && SED=sed
5783 Xsed="$SED -e 1s/^X//"
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5796 $as_echo_n "checking for fgrep... " >&6; }
5797 if ${ac_cv_path_FGREP+:} false; then :
5798 $as_echo_n "(cached) " >&6
5799 else
5800 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5801 then ac_cv_path_FGREP="$GREP -F"
5802 else
5803 if test -z "$FGREP"; then
5804 ac_path_FGREP_found=false
5805 # Loop through the user's path and test for each of PROGNAME-LIST
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5808 do
5809 IFS=$as_save_IFS
5810 test -z "$as_dir" && as_dir=.
5811 for ac_prog in fgrep; do
5812 for ac_exec_ext in '' $ac_executable_extensions; do
5813 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5814 as_fn_executable_p "$ac_path_FGREP" || continue
5815 # Check for GNU ac_path_FGREP and select it if it is found.
5816 # Check for GNU $ac_path_FGREP
5817 case `"$ac_path_FGREP" --version 2>&1` in
5818 *GNU*)
5819 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5820 *)
5821 ac_count=0
5822 $as_echo_n 0123456789 >"conftest.in"
5823 while :
5824 do
5825 cat "conftest.in" "conftest.in" >"conftest.tmp"
5826 mv "conftest.tmp" "conftest.in"
5827 cp "conftest.in" "conftest.nl"
5828 $as_echo 'FGREP' >> "conftest.nl"
5829 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5830 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5831 as_fn_arith $ac_count + 1 && ac_count=$as_val
5832 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5833 # Best one so far, save it but keep looking for a better one
5834 ac_cv_path_FGREP="$ac_path_FGREP"
5835 ac_path_FGREP_max=$ac_count
5836 fi
5837 # 10*(2^10) chars as input seems more than enough
5838 test $ac_count -gt 10 && break
5839 done
5840 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5841 esac
5842
5843 $ac_path_FGREP_found && break 3
5844 done
5845 done
5846 done
5847 IFS=$as_save_IFS
5848 if test -z "$ac_cv_path_FGREP"; then
5849 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5850 fi
5851 else
5852 ac_cv_path_FGREP=$FGREP
5853 fi
5854
5855 fi
5856 fi
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5858 $as_echo "$ac_cv_path_FGREP" >&6; }
5859 FGREP="$ac_cv_path_FGREP"
5860
5861
5862 test -z "$GREP" && GREP=grep
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882 # Check whether --with-gnu-ld was given.
5883 if test "${with_gnu_ld+set}" = set; then :
5884 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5885 else
5886 with_gnu_ld=no
5887 fi
5888
5889 ac_prog=ld
5890 if test "$GCC" = yes; then
5891 # Check if gcc -print-prog-name=ld gives a path.
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5893 $as_echo_n "checking for ld used by $CC... " >&6; }
5894 case $host in
5895 *-*-mingw*)
5896 # gcc leaves a trailing carriage return which upsets mingw
5897 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5898 *)
5899 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5900 esac
5901 case $ac_prog in
5902 # Accept absolute paths.
5903 [\\/]* | ?:[\\/]*)
5904 re_direlt='/[^/][^/]*/\.\./'
5905 # Canonicalize the pathname of ld
5906 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5907 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5908 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5909 done
5910 test -z "$LD" && LD="$ac_prog"
5911 ;;
5912 "")
5913 # If it fails, then pretend we aren't using GCC.
5914 ac_prog=ld
5915 ;;
5916 *)
5917 # If it is relative, then search for the first ld in PATH.
5918 with_gnu_ld=unknown
5919 ;;
5920 esac
5921 elif test "$with_gnu_ld" = yes; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5923 $as_echo_n "checking for GNU ld... " >&6; }
5924 else
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5926 $as_echo_n "checking for non-GNU ld... " >&6; }
5927 fi
5928 if ${lt_cv_path_LD+:} false; then :
5929 $as_echo_n "(cached) " >&6
5930 else
5931 if test -z "$LD"; then
5932 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5933 for ac_dir in $PATH; do
5934 IFS="$lt_save_ifs"
5935 test -z "$ac_dir" && ac_dir=.
5936 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5937 lt_cv_path_LD="$ac_dir/$ac_prog"
5938 # Check to see if the program is GNU ld. I'd rather use --version,
5939 # but apparently some variants of GNU ld only accept -v.
5940 # Break only if it was the GNU/non-GNU ld that we prefer.
5941 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5942 *GNU* | *'with BFD'*)
5943 test "$with_gnu_ld" != no && break
5944 ;;
5945 *)
5946 test "$with_gnu_ld" != yes && break
5947 ;;
5948 esac
5949 fi
5950 done
5951 IFS="$lt_save_ifs"
5952 else
5953 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5954 fi
5955 fi
5956
5957 LD="$lt_cv_path_LD"
5958 if test -n "$LD"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5960 $as_echo "$LD" >&6; }
5961 else
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5964 fi
5965 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5967 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5968 if ${lt_cv_prog_gnu_ld+:} false; then :
5969 $as_echo_n "(cached) " >&6
5970 else
5971 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5972 case `$LD -v 2>&1 </dev/null` in
5973 *GNU* | *'with BFD'*)
5974 lt_cv_prog_gnu_ld=yes
5975 ;;
5976 *)
5977 lt_cv_prog_gnu_ld=no
5978 ;;
5979 esac
5980 fi
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5982 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5983 with_gnu_ld=$lt_cv_prog_gnu_ld
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5994 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5995 if ${lt_cv_path_NM+:} false; then :
5996 $as_echo_n "(cached) " >&6
5997 else
5998 if test -n "$NM"; then
5999 # Let the user override the test.
6000 lt_cv_path_NM="$NM"
6001 else
6002 lt_nm_to_check="${ac_tool_prefix}nm"
6003 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6004 lt_nm_to_check="$lt_nm_to_check nm"
6005 fi
6006 for lt_tmp_nm in $lt_nm_to_check; do
6007 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6008 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6009 IFS="$lt_save_ifs"
6010 test -z "$ac_dir" && ac_dir=.
6011 tmp_nm="$ac_dir/$lt_tmp_nm"
6012 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6013 # Check to see if the nm accepts a BSD-compat flag.
6014 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6015 # nm: unknown option "B" ignored
6016 # Tru64's nm complains that /dev/null is an invalid object file
6017 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6018 */dev/null* | *'Invalid file or object type'*)
6019 lt_cv_path_NM="$tmp_nm -B"
6020 break
6021 ;;
6022 *)
6023 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6024 */dev/null*)
6025 lt_cv_path_NM="$tmp_nm -p"
6026 break
6027 ;;
6028 *)
6029 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6030 continue # so that we can try to find one that supports BSD flags
6031 ;;
6032 esac
6033 ;;
6034 esac
6035 fi
6036 done
6037 IFS="$lt_save_ifs"
6038 done
6039 : ${lt_cv_path_NM=no}
6040 fi
6041 fi
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6043 $as_echo "$lt_cv_path_NM" >&6; }
6044 if test "$lt_cv_path_NM" != "no"; then
6045 NM="$lt_cv_path_NM"
6046 else
6047 # Didn't find any BSD compatible name lister, look for dumpbin.
6048 if test -n "$DUMPBIN"; then :
6049 # Let the user override the test.
6050 else
6051 if test -n "$ac_tool_prefix"; then
6052 for ac_prog in dumpbin "link -dump"
6053 do
6054 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6055 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057 $as_echo_n "checking for $ac_word... " >&6; }
6058 if ${ac_cv_prog_DUMPBIN+:} false; then :
6059 $as_echo_n "(cached) " >&6
6060 else
6061 if test -n "$DUMPBIN"; then
6062 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6063 else
6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 for as_dir in $PATH
6066 do
6067 IFS=$as_save_IFS
6068 test -z "$as_dir" && as_dir=.
6069 for ac_exec_ext in '' $ac_executable_extensions; do
6070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6071 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 break 2
6074 fi
6075 done
6076 done
6077 IFS=$as_save_IFS
6078
6079 fi
6080 fi
6081 DUMPBIN=$ac_cv_prog_DUMPBIN
6082 if test -n "$DUMPBIN"; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6084 $as_echo "$DUMPBIN" >&6; }
6085 else
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087 $as_echo "no" >&6; }
6088 fi
6089
6090
6091 test -n "$DUMPBIN" && break
6092 done
6093 fi
6094 if test -z "$DUMPBIN"; then
6095 ac_ct_DUMPBIN=$DUMPBIN
6096 for ac_prog in dumpbin "link -dump"
6097 do
6098 # Extract the first word of "$ac_prog", so it can be a program name with args.
6099 set dummy $ac_prog; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6103 $as_echo_n "(cached) " >&6
6104 else
6105 if test -n "$ac_ct_DUMPBIN"; then
6106 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6107 else
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in $PATH
6110 do
6111 IFS=$as_save_IFS
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 break 2
6118 fi
6119 done
6120 done
6121 IFS=$as_save_IFS
6122
6123 fi
6124 fi
6125 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6126 if test -n "$ac_ct_DUMPBIN"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6128 $as_echo "$ac_ct_DUMPBIN" >&6; }
6129 else
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6132 fi
6133
6134
6135 test -n "$ac_ct_DUMPBIN" && break
6136 done
6137
6138 if test "x$ac_ct_DUMPBIN" = x; then
6139 DUMPBIN=":"
6140 else
6141 case $cross_compiling:$ac_tool_warned in
6142 yes:)
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6145 ac_tool_warned=yes ;;
6146 esac
6147 DUMPBIN=$ac_ct_DUMPBIN
6148 fi
6149 fi
6150
6151 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6152 *COFF*)
6153 DUMPBIN="$DUMPBIN -symbols"
6154 ;;
6155 *)
6156 DUMPBIN=:
6157 ;;
6158 esac
6159 fi
6160
6161 if test "$DUMPBIN" != ":"; then
6162 NM="$DUMPBIN"
6163 fi
6164 fi
6165 test -z "$NM" && NM=nm
6166
6167
6168
6169
6170
6171
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6173 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6174 if ${lt_cv_nm_interface+:} false; then :
6175 $as_echo_n "(cached) " >&6
6176 else
6177 lt_cv_nm_interface="BSD nm"
6178 echo "int some_variable = 0;" > conftest.$ac_ext
6179 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6180 (eval "$ac_compile" 2>conftest.err)
6181 cat conftest.err >&5
6182 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6183 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6184 cat conftest.err >&5
6185 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6186 cat conftest.out >&5
6187 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6188 lt_cv_nm_interface="MS dumpbin"
6189 fi
6190 rm -f conftest*
6191 fi
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6193 $as_echo "$lt_cv_nm_interface" >&6; }
6194
6195 # find the maximum length of command line arguments
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6197 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6198 if ${lt_cv_sys_max_cmd_len+:} false; then :
6199 $as_echo_n "(cached) " >&6
6200 else
6201 i=0
6202 teststring="ABCD"
6203
6204 case $build_os in
6205 msdosdjgpp*)
6206 # On DJGPP, this test can blow up pretty badly due to problems in libc
6207 # (any single argument exceeding 2000 bytes causes a buffer overrun
6208 # during glob expansion). Even if it were fixed, the result of this
6209 # check would be larger than it should be.
6210 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6211 ;;
6212
6213 gnu*)
6214 # Under GNU Hurd, this test is not required because there is
6215 # no limit to the length of command line arguments.
6216 # Libtool will interpret -1 as no limit whatsoever
6217 lt_cv_sys_max_cmd_len=-1;
6218 ;;
6219
6220 cygwin* | mingw* | cegcc*)
6221 # On Win9x/ME, this test blows up -- it succeeds, but takes
6222 # about 5 minutes as the teststring grows exponentially.
6223 # Worse, since 9x/ME are not pre-emptively multitasking,
6224 # you end up with a "frozen" computer, even though with patience
6225 # the test eventually succeeds (with a max line length of 256k).
6226 # Instead, let's just punt: use the minimum linelength reported by
6227 # all of the supported platforms: 8192 (on NT/2K/XP).
6228 lt_cv_sys_max_cmd_len=8192;
6229 ;;
6230
6231 mint*)
6232 # On MiNT this can take a long time and run out of memory.
6233 lt_cv_sys_max_cmd_len=8192;
6234 ;;
6235
6236 amigaos*)
6237 # On AmigaOS with pdksh, this test takes hours, literally.
6238 # So we just punt and use a minimum line length of 8192.
6239 lt_cv_sys_max_cmd_len=8192;
6240 ;;
6241
6242 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6243 # This has been around since 386BSD, at least. Likely further.
6244 if test -x /sbin/sysctl; then
6245 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6246 elif test -x /usr/sbin/sysctl; then
6247 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6248 else
6249 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6250 fi
6251 # And add a safety zone
6252 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6253 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6254 ;;
6255
6256 interix*)
6257 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6258 lt_cv_sys_max_cmd_len=196608
6259 ;;
6260
6261 osf*)
6262 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6263 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6264 # nice to cause kernel panics so lets avoid the loop below.
6265 # First set a reasonable default.
6266 lt_cv_sys_max_cmd_len=16384
6267 #
6268 if test -x /sbin/sysconfig; then
6269 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6270 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6271 esac
6272 fi
6273 ;;
6274 sco3.2v5*)
6275 lt_cv_sys_max_cmd_len=102400
6276 ;;
6277 sysv5* | sco5v6* | sysv4.2uw2*)
6278 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6279 if test -n "$kargmax"; then
6280 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6281 else
6282 lt_cv_sys_max_cmd_len=32768
6283 fi
6284 ;;
6285 *)
6286 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6287 if test -n "$lt_cv_sys_max_cmd_len"; then
6288 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6289 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6290 else
6291 # Make teststring a little bigger before we do anything with it.
6292 # a 1K string should be a reasonable start.
6293 for i in 1 2 3 4 5 6 7 8 ; do
6294 teststring=$teststring$teststring
6295 done
6296 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6297 # If test is not a shell built-in, we'll probably end up computing a
6298 # maximum length that is only half of the actual maximum length, but
6299 # we can't tell.
6300 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6301 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6302 test $i != 17 # 1/2 MB should be enough
6303 do
6304 i=`expr $i + 1`
6305 teststring=$teststring$teststring
6306 done
6307 # Only check the string length outside the loop.
6308 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6309 teststring=
6310 # Add a significant safety factor because C++ compilers can tack on
6311 # massive amounts of additional arguments before passing them to the
6312 # linker. It appears as though 1/2 is a usable value.
6313 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6314 fi
6315 ;;
6316 esac
6317
6318 fi
6319
6320 if test -n $lt_cv_sys_max_cmd_len ; then
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6322 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6323 else
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6325 $as_echo "none" >&6; }
6326 fi
6327 max_cmd_len=$lt_cv_sys_max_cmd_len
6328
6329
6330
6331
6332
6333
6334 : ${CP="cp -f"}
6335 : ${MV="mv -f"}
6336 : ${RM="rm -f"}
6337
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6339 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6340 # Try some XSI features
6341 xsi_shell=no
6342 ( _lt_dummy="a/b/c"
6343 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6344 = c,a/b,, \
6345 && eval 'test $(( 1 + 1 )) -eq 2 \
6346 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6347 && xsi_shell=yes
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6349 $as_echo "$xsi_shell" >&6; }
6350
6351
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6353 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6354 lt_shell_append=no
6355 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6356 >/dev/null 2>&1 \
6357 && lt_shell_append=yes
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6359 $as_echo "$lt_shell_append" >&6; }
6360
6361
6362 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6363 lt_unset=unset
6364 else
6365 lt_unset=false
6366 fi
6367
6368
6369
6370
6371
6372 # test EBCDIC or ASCII
6373 case `echo X|tr X '\101'` in
6374 A) # ASCII based system
6375 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6376 lt_SP2NL='tr \040 \012'
6377 lt_NL2SP='tr \015\012 \040\040'
6378 ;;
6379 *) # EBCDIC based system
6380 lt_SP2NL='tr \100 \n'
6381 lt_NL2SP='tr \r\n \100\100'
6382 ;;
6383 esac
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6394 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6395 if ${lt_cv_ld_reload_flag+:} false; then :
6396 $as_echo_n "(cached) " >&6
6397 else
6398 lt_cv_ld_reload_flag='-r'
6399 fi
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6401 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6402 reload_flag=$lt_cv_ld_reload_flag
6403 case $reload_flag in
6404 "" | " "*) ;;
6405 *) reload_flag=" $reload_flag" ;;
6406 esac
6407 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6408 case $host_os in
6409 darwin*)
6410 if test "$GCC" = yes; then
6411 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6412 else
6413 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6414 fi
6415 ;;
6416 esac
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426 if test -n "$ac_tool_prefix"; then
6427 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6428 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430 $as_echo_n "checking for $ac_word... " >&6; }
6431 if ${ac_cv_prog_OBJDUMP+:} false; then :
6432 $as_echo_n "(cached) " >&6
6433 else
6434 if test -n "$OBJDUMP"; then
6435 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6436 else
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438 for as_dir in $PATH
6439 do
6440 IFS=$as_save_IFS
6441 test -z "$as_dir" && as_dir=.
6442 for ac_exec_ext in '' $ac_executable_extensions; do
6443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6444 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6446 break 2
6447 fi
6448 done
6449 done
6450 IFS=$as_save_IFS
6451
6452 fi
6453 fi
6454 OBJDUMP=$ac_cv_prog_OBJDUMP
6455 if test -n "$OBJDUMP"; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6457 $as_echo "$OBJDUMP" >&6; }
6458 else
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460 $as_echo "no" >&6; }
6461 fi
6462
6463
6464 fi
6465 if test -z "$ac_cv_prog_OBJDUMP"; then
6466 ac_ct_OBJDUMP=$OBJDUMP
6467 # Extract the first word of "objdump", so it can be a program name with args.
6468 set dummy objdump; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6472 $as_echo_n "(cached) " >&6
6473 else
6474 if test -n "$ac_ct_OBJDUMP"; then
6475 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6476 else
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478 for as_dir in $PATH
6479 do
6480 IFS=$as_save_IFS
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 break 2
6487 fi
6488 done
6489 done
6490 IFS=$as_save_IFS
6491
6492 fi
6493 fi
6494 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6495 if test -n "$ac_ct_OBJDUMP"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6497 $as_echo "$ac_ct_OBJDUMP" >&6; }
6498 else
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6501 fi
6502
6503 if test "x$ac_ct_OBJDUMP" = x; then
6504 OBJDUMP="false"
6505 else
6506 case $cross_compiling:$ac_tool_warned in
6507 yes:)
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6510 ac_tool_warned=yes ;;
6511 esac
6512 OBJDUMP=$ac_ct_OBJDUMP
6513 fi
6514 else
6515 OBJDUMP="$ac_cv_prog_OBJDUMP"
6516 fi
6517
6518 test -z "$OBJDUMP" && OBJDUMP=objdump
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6529 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6530 if ${lt_cv_deplibs_check_method+:} false; then :
6531 $as_echo_n "(cached) " >&6
6532 else
6533 lt_cv_file_magic_cmd='$MAGIC_CMD'
6534 lt_cv_file_magic_test_file=
6535 lt_cv_deplibs_check_method='unknown'
6536 # Need to set the preceding variable on all platforms that support
6537 # interlibrary dependencies.
6538 # 'none' -- dependencies not supported.
6539 # `unknown' -- same as none, but documents that we really don't know.
6540 # 'pass_all' -- all dependencies passed with no checks.
6541 # 'test_compile' -- check by making test program.
6542 # 'file_magic [[regex]]' -- check by looking for files in library path
6543 # which responds to the $file_magic_cmd with a given extended regex.
6544 # If you have `file' or equivalent on your system and you're not sure
6545 # whether `pass_all' will *always* work, you probably want this one.
6546
6547 case $host_os in
6548 aix[4-9]*)
6549 lt_cv_deplibs_check_method=pass_all
6550 ;;
6551
6552 beos*)
6553 lt_cv_deplibs_check_method=pass_all
6554 ;;
6555
6556 bsdi[45]*)
6557 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6558 lt_cv_file_magic_cmd='/usr/bin/file -L'
6559 lt_cv_file_magic_test_file=/shlib/libc.so
6560 ;;
6561
6562 cygwin*)
6563 # func_win32_libid is a shell function defined in ltmain.sh
6564 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6565 lt_cv_file_magic_cmd='func_win32_libid'
6566 ;;
6567
6568 mingw* | pw32*)
6569 # Base MSYS/MinGW do not provide the 'file' command needed by
6570 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6571 # unless we find 'file', for example because we are cross-compiling.
6572 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6573 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6574 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6575 lt_cv_file_magic_cmd='func_win32_libid'
6576 else
6577 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6578 lt_cv_file_magic_cmd='$OBJDUMP -f'
6579 fi
6580 ;;
6581
6582 cegcc*)
6583 # use the weaker test based on 'objdump'. See mingw*.
6584 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6585 lt_cv_file_magic_cmd='$OBJDUMP -f'
6586 ;;
6587
6588 darwin* | rhapsody*)
6589 lt_cv_deplibs_check_method=pass_all
6590 ;;
6591
6592 freebsd* | dragonfly*)
6593 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6594 case $host_cpu in
6595 i*86 )
6596 # Not sure whether the presence of OpenBSD here was a mistake.
6597 # Let's accept both of them until this is cleared up.
6598 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6599 lt_cv_file_magic_cmd=/usr/bin/file
6600 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6601 ;;
6602 esac
6603 else
6604 lt_cv_deplibs_check_method=pass_all
6605 fi
6606 ;;
6607
6608 gnu*)
6609 lt_cv_deplibs_check_method=pass_all
6610 ;;
6611
6612 haiku*)
6613 lt_cv_deplibs_check_method=pass_all
6614 ;;
6615
6616 hpux10.20* | hpux11*)
6617 lt_cv_file_magic_cmd=/usr/bin/file
6618 case $host_cpu in
6619 ia64*)
6620 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6621 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6622 ;;
6623 hppa*64*)
6624 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]'
6625 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6626 ;;
6627 *)
6628 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6629 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6630 ;;
6631 esac
6632 ;;
6633
6634 interix[3-9]*)
6635 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6636 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6637 ;;
6638
6639 irix5* | irix6* | nonstopux*)
6640 case $LD in
6641 *-32|*"-32 ") libmagic=32-bit;;
6642 *-n32|*"-n32 ") libmagic=N32;;
6643 *-64|*"-64 ") libmagic=64-bit;;
6644 *) libmagic=never-match;;
6645 esac
6646 lt_cv_deplibs_check_method=pass_all
6647 ;;
6648
6649 # This must be Linux ELF.
6650 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6651 lt_cv_deplibs_check_method=pass_all
6652 ;;
6653
6654 netbsd*)
6655 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6656 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6657 else
6658 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6659 fi
6660 ;;
6661
6662 newos6*)
6663 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6664 lt_cv_file_magic_cmd=/usr/bin/file
6665 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6666 ;;
6667
6668 *nto* | *qnx*)
6669 lt_cv_deplibs_check_method=pass_all
6670 ;;
6671
6672 openbsd*)
6673 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6674 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6675 else
6676 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6677 fi
6678 ;;
6679
6680 osf3* | osf4* | osf5*)
6681 lt_cv_deplibs_check_method=pass_all
6682 ;;
6683
6684 rdos*)
6685 lt_cv_deplibs_check_method=pass_all
6686 ;;
6687
6688 solaris*)
6689 lt_cv_deplibs_check_method=pass_all
6690 ;;
6691
6692 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6693 lt_cv_deplibs_check_method=pass_all
6694 ;;
6695
6696 sysv4 | sysv4.3*)
6697 case $host_vendor in
6698 motorola)
6699 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]'
6700 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6701 ;;
6702 ncr)
6703 lt_cv_deplibs_check_method=pass_all
6704 ;;
6705 sequent)
6706 lt_cv_file_magic_cmd='/bin/file'
6707 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6708 ;;
6709 sni)
6710 lt_cv_file_magic_cmd='/bin/file'
6711 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6712 lt_cv_file_magic_test_file=/lib/libc.so
6713 ;;
6714 siemens)
6715 lt_cv_deplibs_check_method=pass_all
6716 ;;
6717 pc)
6718 lt_cv_deplibs_check_method=pass_all
6719 ;;
6720 esac
6721 ;;
6722
6723 tpf*)
6724 lt_cv_deplibs_check_method=pass_all
6725 ;;
6726 esac
6727
6728 fi
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6730 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6731 file_magic_cmd=$lt_cv_file_magic_cmd
6732 deplibs_check_method=$lt_cv_deplibs_check_method
6733 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746 if test -n "$ac_tool_prefix"; then
6747 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6748 set dummy ${ac_tool_prefix}ar; ac_word=$2
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 $as_echo_n "checking for $ac_word... " >&6; }
6751 if ${ac_cv_prog_AR+:} false; then :
6752 $as_echo_n "(cached) " >&6
6753 else
6754 if test -n "$AR"; then
6755 ac_cv_prog_AR="$AR" # Let the user override the test.
6756 else
6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6758 for as_dir in $PATH
6759 do
6760 IFS=$as_save_IFS
6761 test -z "$as_dir" && as_dir=.
6762 for ac_exec_ext in '' $ac_executable_extensions; do
6763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6764 ac_cv_prog_AR="${ac_tool_prefix}ar"
6765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 break 2
6767 fi
6768 done
6769 done
6770 IFS=$as_save_IFS
6771
6772 fi
6773 fi
6774 AR=$ac_cv_prog_AR
6775 if test -n "$AR"; then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6777 $as_echo "$AR" >&6; }
6778 else
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6780 $as_echo "no" >&6; }
6781 fi
6782
6783
6784 fi
6785 if test -z "$ac_cv_prog_AR"; then
6786 ac_ct_AR=$AR
6787 # Extract the first word of "ar", so it can be a program name with args.
6788 set dummy ar; ac_word=$2
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6790 $as_echo_n "checking for $ac_word... " >&6; }
6791 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6792 $as_echo_n "(cached) " >&6
6793 else
6794 if test -n "$ac_ct_AR"; then
6795 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6796 else
6797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6798 for as_dir in $PATH
6799 do
6800 IFS=$as_save_IFS
6801 test -z "$as_dir" && as_dir=.
6802 for ac_exec_ext in '' $ac_executable_extensions; do
6803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6804 ac_cv_prog_ac_ct_AR="ar"
6805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6806 break 2
6807 fi
6808 done
6809 done
6810 IFS=$as_save_IFS
6811
6812 fi
6813 fi
6814 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6815 if test -n "$ac_ct_AR"; then
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6817 $as_echo "$ac_ct_AR" >&6; }
6818 else
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6820 $as_echo "no" >&6; }
6821 fi
6822
6823 if test "x$ac_ct_AR" = x; then
6824 AR="false"
6825 else
6826 case $cross_compiling:$ac_tool_warned in
6827 yes:)
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6830 ac_tool_warned=yes ;;
6831 esac
6832 AR=$ac_ct_AR
6833 fi
6834 else
6835 AR="$ac_cv_prog_AR"
6836 fi
6837
6838 test -z "$AR" && AR=ar
6839 test -z "$AR_FLAGS" && AR_FLAGS=cru
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851 if test -n "$ac_tool_prefix"; then
6852 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6853 set dummy ${ac_tool_prefix}strip; ac_word=$2
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855 $as_echo_n "checking for $ac_word... " >&6; }
6856 if ${ac_cv_prog_STRIP+:} false; then :
6857 $as_echo_n "(cached) " >&6
6858 else
6859 if test -n "$STRIP"; then
6860 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6861 else
6862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 for as_dir in $PATH
6864 do
6865 IFS=$as_save_IFS
6866 test -z "$as_dir" && as_dir=.
6867 for ac_exec_ext in '' $ac_executable_extensions; do
6868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6869 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6871 break 2
6872 fi
6873 done
6874 done
6875 IFS=$as_save_IFS
6876
6877 fi
6878 fi
6879 STRIP=$ac_cv_prog_STRIP
6880 if test -n "$STRIP"; then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6882 $as_echo "$STRIP" >&6; }
6883 else
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 $as_echo "no" >&6; }
6886 fi
6887
6888
6889 fi
6890 if test -z "$ac_cv_prog_STRIP"; then
6891 ac_ct_STRIP=$STRIP
6892 # Extract the first word of "strip", so it can be a program name with args.
6893 set dummy strip; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895 $as_echo_n "checking for $ac_word... " >&6; }
6896 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6897 $as_echo_n "(cached) " >&6
6898 else
6899 if test -n "$ac_ct_STRIP"; then
6900 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6901 else
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 for as_dir in $PATH
6904 do
6905 IFS=$as_save_IFS
6906 test -z "$as_dir" && as_dir=.
6907 for ac_exec_ext in '' $ac_executable_extensions; do
6908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6909 ac_cv_prog_ac_ct_STRIP="strip"
6910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6911 break 2
6912 fi
6913 done
6914 done
6915 IFS=$as_save_IFS
6916
6917 fi
6918 fi
6919 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6920 if test -n "$ac_ct_STRIP"; then
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6922 $as_echo "$ac_ct_STRIP" >&6; }
6923 else
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925 $as_echo "no" >&6; }
6926 fi
6927
6928 if test "x$ac_ct_STRIP" = x; then
6929 STRIP=":"
6930 else
6931 case $cross_compiling:$ac_tool_warned in
6932 yes:)
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6935 ac_tool_warned=yes ;;
6936 esac
6937 STRIP=$ac_ct_STRIP
6938 fi
6939 else
6940 STRIP="$ac_cv_prog_STRIP"
6941 fi
6942
6943 test -z "$STRIP" && STRIP=:
6944
6945
6946
6947
6948
6949
6950 if test -n "$ac_tool_prefix"; then
6951 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6952 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6954 $as_echo_n "checking for $ac_word... " >&6; }
6955 if ${ac_cv_prog_RANLIB+:} false; then :
6956 $as_echo_n "(cached) " >&6
6957 else
6958 if test -n "$RANLIB"; then
6959 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6960 else
6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6962 for as_dir in $PATH
6963 do
6964 IFS=$as_save_IFS
6965 test -z "$as_dir" && as_dir=.
6966 for ac_exec_ext in '' $ac_executable_extensions; do
6967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6968 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6970 break 2
6971 fi
6972 done
6973 done
6974 IFS=$as_save_IFS
6975
6976 fi
6977 fi
6978 RANLIB=$ac_cv_prog_RANLIB
6979 if test -n "$RANLIB"; then
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6981 $as_echo "$RANLIB" >&6; }
6982 else
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6984 $as_echo "no" >&6; }
6985 fi
6986
6987
6988 fi
6989 if test -z "$ac_cv_prog_RANLIB"; then
6990 ac_ct_RANLIB=$RANLIB
6991 # Extract the first word of "ranlib", so it can be a program name with args.
6992 set dummy ranlib; ac_word=$2
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6994 $as_echo_n "checking for $ac_word... " >&6; }
6995 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6996 $as_echo_n "(cached) " >&6
6997 else
6998 if test -n "$ac_ct_RANLIB"; then
6999 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7000 else
7001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7002 for as_dir in $PATH
7003 do
7004 IFS=$as_save_IFS
7005 test -z "$as_dir" && as_dir=.
7006 for ac_exec_ext in '' $ac_executable_extensions; do
7007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7008 ac_cv_prog_ac_ct_RANLIB="ranlib"
7009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 break 2
7011 fi
7012 done
7013 done
7014 IFS=$as_save_IFS
7015
7016 fi
7017 fi
7018 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7019 if test -n "$ac_ct_RANLIB"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7021 $as_echo "$ac_ct_RANLIB" >&6; }
7022 else
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7024 $as_echo "no" >&6; }
7025 fi
7026
7027 if test "x$ac_ct_RANLIB" = x; then
7028 RANLIB=":"
7029 else
7030 case $cross_compiling:$ac_tool_warned in
7031 yes:)
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7034 ac_tool_warned=yes ;;
7035 esac
7036 RANLIB=$ac_ct_RANLIB
7037 fi
7038 else
7039 RANLIB="$ac_cv_prog_RANLIB"
7040 fi
7041
7042 test -z "$RANLIB" && RANLIB=:
7043
7044
7045
7046
7047
7048
7049 # Determine commands to create old-style static archives.
7050 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7051 old_postinstall_cmds='chmod 644 $oldlib'
7052 old_postuninstall_cmds=
7053
7054 if test -n "$RANLIB"; then
7055 case $host_os in
7056 openbsd*)
7057 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7058 ;;
7059 *)
7060 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7061 ;;
7062 esac
7063 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7064 fi
7065
7066 case $host_os in
7067 darwin*)
7068 lock_old_archive_extraction=yes ;;
7069 *)
7070 lock_old_archive_extraction=no ;;
7071 esac
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111 # If no C compiler was specified, use CC.
7112 LTCC=${LTCC-"$CC"}
7113
7114 # If no C compiler flags were specified, use CFLAGS.
7115 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7116
7117 # Allow CC to be a program name with arguments.
7118 compiler=$CC
7119
7120
7121 # Check for command to grab the raw symbol name followed by C symbol from nm.
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7123 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7124 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7125 $as_echo_n "(cached) " >&6
7126 else
7127
7128 # These are sane defaults that work on at least a few old systems.
7129 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7130
7131 # Character class describing NM global symbol codes.
7132 symcode='[BCDEGRST]'
7133
7134 # Regexp to match symbols that can be accessed directly from C.
7135 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7136
7137 # Define system-specific variables.
7138 case $host_os in
7139 aix*)
7140 symcode='[BCDT]'
7141 ;;
7142 cygwin* | mingw* | pw32* | cegcc*)
7143 symcode='[ABCDGISTW]'
7144 ;;
7145 hpux*)
7146 if test "$host_cpu" = ia64; then
7147 symcode='[ABCDEGRST]'
7148 fi
7149 ;;
7150 irix* | nonstopux*)
7151 symcode='[BCDEGRST]'
7152 ;;
7153 osf*)
7154 symcode='[BCDEGQRST]'
7155 ;;
7156 solaris*)
7157 symcode='[BDRT]'
7158 ;;
7159 sco3.2v5*)
7160 symcode='[DT]'
7161 ;;
7162 sysv4.2uw2*)
7163 symcode='[DT]'
7164 ;;
7165 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7166 symcode='[ABDT]'
7167 ;;
7168 sysv4)
7169 symcode='[DFNSTU]'
7170 ;;
7171 esac
7172
7173 # If we're using GNU nm, then use its standard symbol codes.
7174 case `$NM -V 2>&1` in
7175 *GNU* | *'with BFD'*)
7176 symcode='[ABCDGIRSTW]' ;;
7177 esac
7178
7179 # Transform an extracted symbol line into a proper C declaration.
7180 # Some systems (esp. on ia64) link data and code symbols differently,
7181 # so use this general approach.
7182 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7183
7184 # Transform an extracted symbol line into symbol name and symbol address
7185 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7186 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'"
7187
7188 # Handle CRLF in mingw tool chain
7189 opt_cr=
7190 case $build_os in
7191 mingw*)
7192 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7193 ;;
7194 esac
7195
7196 # Try without a prefix underscore, then with it.
7197 for ac_symprfx in "" "_"; do
7198
7199 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7200 symxfrm="\\1 $ac_symprfx\\2 \\2"
7201
7202 # Write the raw and C identifiers.
7203 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7204 # Fake it for dumpbin and say T for any non-static function
7205 # and D for any global variable.
7206 # Also find C++ and __fastcall symbols from MSVC++,
7207 # which start with @ or ?.
7208 lt_cv_sys_global_symbol_pipe="$AWK '"\
7209 " {last_section=section; section=\$ 3};"\
7210 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7211 " \$ 0!~/External *\|/{next};"\
7212 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7213 " {if(hide[section]) next};"\
7214 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7215 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7216 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7217 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7218 " ' prfx=^$ac_symprfx"
7219 else
7220 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7221 fi
7222
7223 # Check to see that the pipe works correctly.
7224 pipe_works=no
7225
7226 rm -f conftest*
7227 cat > conftest.$ac_ext <<_LT_EOF
7228 #ifdef __cplusplus
7229 extern "C" {
7230 #endif
7231 char nm_test_var;
7232 void nm_test_func(void);
7233 void nm_test_func(void){}
7234 #ifdef __cplusplus
7235 }
7236 #endif
7237 int main(){nm_test_var='a';nm_test_func();return(0);}
7238 _LT_EOF
7239
7240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7241 (eval $ac_compile) 2>&5
7242 ac_status=$?
7243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7244 test $ac_status = 0; }; then
7245 # Now try to grab the symbols.
7246 nlist=conftest.nm
7247 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7248 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7249 ac_status=$?
7250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7251 test $ac_status = 0; } && test -s "$nlist"; then
7252 # Try sorting and uniquifying the output.
7253 if sort "$nlist" | uniq > "$nlist"T; then
7254 mv -f "$nlist"T "$nlist"
7255 else
7256 rm -f "$nlist"T
7257 fi
7258
7259 # Make sure that we snagged all the symbols we need.
7260 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7261 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7262 cat <<_LT_EOF > conftest.$ac_ext
7263 #ifdef __cplusplus
7264 extern "C" {
7265 #endif
7266
7267 _LT_EOF
7268 # Now generate the symbol file.
7269 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7270
7271 cat <<_LT_EOF >> conftest.$ac_ext
7272
7273 /* The mapping between symbol names and symbols. */
7274 const struct {
7275 const char *name;
7276 void *address;
7277 }
7278 lt__PROGRAM__LTX_preloaded_symbols[] =
7279 {
7280 { "@PROGRAM@", (void *) 0 },
7281 _LT_EOF
7282 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7283 cat <<\_LT_EOF >> conftest.$ac_ext
7284 {0, (void *) 0}
7285 };
7286
7287 /* This works around a problem in FreeBSD linker */
7288 #ifdef FREEBSD_WORKAROUND
7289 static const void *lt_preloaded_setup() {
7290 return lt__PROGRAM__LTX_preloaded_symbols;
7291 }
7292 #endif
7293
7294 #ifdef __cplusplus
7295 }
7296 #endif
7297 _LT_EOF
7298 # Now try linking the two files.
7299 mv conftest.$ac_objext conftstm.$ac_objext
7300 lt_save_LIBS="$LIBS"
7301 lt_save_CFLAGS="$CFLAGS"
7302 LIBS="conftstm.$ac_objext"
7303 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7304 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7305 (eval $ac_link) 2>&5
7306 ac_status=$?
7307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7308 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7309 pipe_works=yes
7310 fi
7311 LIBS="$lt_save_LIBS"
7312 CFLAGS="$lt_save_CFLAGS"
7313 else
7314 echo "cannot find nm_test_func in $nlist" >&5
7315 fi
7316 else
7317 echo "cannot find nm_test_var in $nlist" >&5
7318 fi
7319 else
7320 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7321 fi
7322 else
7323 echo "$progname: failed program was:" >&5
7324 cat conftest.$ac_ext >&5
7325 fi
7326 rm -rf conftest* conftst*
7327
7328 # Do not use the global_symbol_pipe unless it works.
7329 if test "$pipe_works" = yes; then
7330 break
7331 else
7332 lt_cv_sys_global_symbol_pipe=
7333 fi
7334 done
7335
7336 fi
7337
7338 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7339 lt_cv_sys_global_symbol_to_cdecl=
7340 fi
7341 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7343 $as_echo "failed" >&6; }
7344 else
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7346 $as_echo "ok" >&6; }
7347 fi
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370 # Check whether --enable-libtool-lock was given.
7371 if test "${enable_libtool_lock+set}" = set; then :
7372 enableval=$enable_libtool_lock;
7373 fi
7374
7375 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7376
7377 # Some flags need to be propagated to the compiler or linker for good
7378 # libtool support.
7379 case $host in
7380 ia64-*-hpux*)
7381 # Find out which ABI we are using.
7382 echo 'int i;' > conftest.$ac_ext
7383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7384 (eval $ac_compile) 2>&5
7385 ac_status=$?
7386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7387 test $ac_status = 0; }; then
7388 case `/usr/bin/file conftest.$ac_objext` in
7389 *ELF-32*)
7390 HPUX_IA64_MODE="32"
7391 ;;
7392 *ELF-64*)
7393 HPUX_IA64_MODE="64"
7394 ;;
7395 esac
7396 fi
7397 rm -rf conftest*
7398 ;;
7399 *-*-irix6*)
7400 # Find out which ABI we are using.
7401 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7402 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7403 (eval $ac_compile) 2>&5
7404 ac_status=$?
7405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7406 test $ac_status = 0; }; then
7407 if test "$lt_cv_prog_gnu_ld" = yes; then
7408 case `/usr/bin/file conftest.$ac_objext` in
7409 *32-bit*)
7410 LD="${LD-ld} -melf32bsmip"
7411 ;;
7412 *N32*)
7413 LD="${LD-ld} -melf32bmipn32"
7414 ;;
7415 *64-bit*)
7416 LD="${LD-ld} -melf64bmip"
7417 ;;
7418 esac
7419 else
7420 case `/usr/bin/file conftest.$ac_objext` in
7421 *32-bit*)
7422 LD="${LD-ld} -32"
7423 ;;
7424 *N32*)
7425 LD="${LD-ld} -n32"
7426 ;;
7427 *64-bit*)
7428 LD="${LD-ld} -64"
7429 ;;
7430 esac
7431 fi
7432 fi
7433 rm -rf conftest*
7434 ;;
7435
7436 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7437 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7438 # Find out which ABI we are using.
7439 echo 'int i;' > conftest.$ac_ext
7440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7441 (eval $ac_compile) 2>&5
7442 ac_status=$?
7443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7444 test $ac_status = 0; }; then
7445 case `/usr/bin/file conftest.o` in
7446 *32-bit*)
7447 case $host in
7448 x86_64-*kfreebsd*-gnu)
7449 LD="${LD-ld} -m elf_i386_fbsd"
7450 ;;
7451 x86_64-*linux*)
7452 case `/usr/bin/file conftest.o` in
7453 *x86-64*)
7454 LD="${LD-ld} -m elf32_x86_64"
7455 ;;
7456 *)
7457 LD="${LD-ld} -m elf_i386"
7458 ;;
7459 esac
7460 ;;
7461 powerpc64le-*linux*)
7462 LD="${LD-ld} -m elf32lppclinux"
7463 ;;
7464 powerpc64-*linux*)
7465 LD="${LD-ld} -m elf32ppclinux"
7466 ;;
7467 s390x-*linux*)
7468 LD="${LD-ld} -m elf_s390"
7469 ;;
7470 sparc64-*linux*)
7471 LD="${LD-ld} -m elf32_sparc"
7472 ;;
7473 esac
7474 ;;
7475 *64-bit*)
7476 case $host in
7477 x86_64-*kfreebsd*-gnu)
7478 LD="${LD-ld} -m elf_x86_64_fbsd"
7479 ;;
7480 x86_64-*linux*)
7481 LD="${LD-ld} -m elf_x86_64"
7482 ;;
7483 powerpcle-*linux*)
7484 LD="${LD-ld} -m elf64lppc"
7485 ;;
7486 powerpc-*linux*)
7487 LD="${LD-ld} -m elf64ppc"
7488 ;;
7489 s390*-*linux*|s390*-*tpf*)
7490 LD="${LD-ld} -m elf64_s390"
7491 ;;
7492 sparc*-*linux*)
7493 LD="${LD-ld} -m elf64_sparc"
7494 ;;
7495 esac
7496 ;;
7497 esac
7498 fi
7499 rm -rf conftest*
7500 ;;
7501
7502 *-*-sco3.2v5*)
7503 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7504 SAVE_CFLAGS="$CFLAGS"
7505 CFLAGS="$CFLAGS -belf"
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7507 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7508 if ${lt_cv_cc_needs_belf+:} false; then :
7509 $as_echo_n "(cached) " >&6
7510 else
7511 ac_ext=c
7512 ac_cpp='$CPP $CPPFLAGS'
7513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7516
7517 if test x$gcc_no_link = xyes; then
7518 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7519 fi
7520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7521 /* end confdefs.h. */
7522
7523 int
7524 main ()
7525 {
7526
7527 ;
7528 return 0;
7529 }
7530 _ACEOF
7531 if ac_fn_c_try_link "$LINENO"; then :
7532 lt_cv_cc_needs_belf=yes
7533 else
7534 lt_cv_cc_needs_belf=no
7535 fi
7536 rm -f core conftest.err conftest.$ac_objext \
7537 conftest$ac_exeext conftest.$ac_ext
7538 ac_ext=c
7539 ac_cpp='$CPP $CPPFLAGS'
7540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7543
7544 fi
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7546 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7547 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7548 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7549 CFLAGS="$SAVE_CFLAGS"
7550 fi
7551 ;;
7552 sparc*-*solaris*)
7553 # Find out which ABI we are using.
7554 echo 'int i;' > conftest.$ac_ext
7555 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7556 (eval $ac_compile) 2>&5
7557 ac_status=$?
7558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7559 test $ac_status = 0; }; then
7560 case `/usr/bin/file conftest.o` in
7561 *64-bit*)
7562 case $lt_cv_prog_gnu_ld in
7563 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7564 *)
7565 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7566 LD="${LD-ld} -64"
7567 fi
7568 ;;
7569 esac
7570 ;;
7571 esac
7572 fi
7573 rm -rf conftest*
7574 ;;
7575 esac
7576
7577 need_locks="$enable_libtool_lock"
7578
7579
7580 case $host_os in
7581 rhapsody* | darwin*)
7582 if test -n "$ac_tool_prefix"; then
7583 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7584 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7588 $as_echo_n "(cached) " >&6
7589 else
7590 if test -n "$DSYMUTIL"; then
7591 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7592 else
7593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7594 for as_dir in $PATH
7595 do
7596 IFS=$as_save_IFS
7597 test -z "$as_dir" && as_dir=.
7598 for ac_exec_ext in '' $ac_executable_extensions; do
7599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7600 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7602 break 2
7603 fi
7604 done
7605 done
7606 IFS=$as_save_IFS
7607
7608 fi
7609 fi
7610 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7611 if test -n "$DSYMUTIL"; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7613 $as_echo "$DSYMUTIL" >&6; }
7614 else
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7616 $as_echo "no" >&6; }
7617 fi
7618
7619
7620 fi
7621 if test -z "$ac_cv_prog_DSYMUTIL"; then
7622 ac_ct_DSYMUTIL=$DSYMUTIL
7623 # Extract the first word of "dsymutil", so it can be a program name with args.
7624 set dummy dsymutil; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7628 $as_echo_n "(cached) " >&6
7629 else
7630 if test -n "$ac_ct_DSYMUTIL"; then
7631 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7635 do
7636 IFS=$as_save_IFS
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7640 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 break 2
7643 fi
7644 done
7645 done
7646 IFS=$as_save_IFS
7647
7648 fi
7649 fi
7650 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7651 if test -n "$ac_ct_DSYMUTIL"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7653 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7654 else
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7657 fi
7658
7659 if test "x$ac_ct_DSYMUTIL" = x; then
7660 DSYMUTIL=":"
7661 else
7662 case $cross_compiling:$ac_tool_warned in
7663 yes:)
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7666 ac_tool_warned=yes ;;
7667 esac
7668 DSYMUTIL=$ac_ct_DSYMUTIL
7669 fi
7670 else
7671 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7672 fi
7673
7674 if test -n "$ac_tool_prefix"; then
7675 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7676 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7678 $as_echo_n "checking for $ac_word... " >&6; }
7679 if ${ac_cv_prog_NMEDIT+:} false; then :
7680 $as_echo_n "(cached) " >&6
7681 else
7682 if test -n "$NMEDIT"; then
7683 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7684 else
7685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7686 for as_dir in $PATH
7687 do
7688 IFS=$as_save_IFS
7689 test -z "$as_dir" && as_dir=.
7690 for ac_exec_ext in '' $ac_executable_extensions; do
7691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7692 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7694 break 2
7695 fi
7696 done
7697 done
7698 IFS=$as_save_IFS
7699
7700 fi
7701 fi
7702 NMEDIT=$ac_cv_prog_NMEDIT
7703 if test -n "$NMEDIT"; then
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7705 $as_echo "$NMEDIT" >&6; }
7706 else
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7708 $as_echo "no" >&6; }
7709 fi
7710
7711
7712 fi
7713 if test -z "$ac_cv_prog_NMEDIT"; then
7714 ac_ct_NMEDIT=$NMEDIT
7715 # Extract the first word of "nmedit", so it can be a program name with args.
7716 set dummy nmedit; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718 $as_echo_n "checking for $ac_word... " >&6; }
7719 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7720 $as_echo_n "(cached) " >&6
7721 else
7722 if test -n "$ac_ct_NMEDIT"; then
7723 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7724 else
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7726 for as_dir in $PATH
7727 do
7728 IFS=$as_save_IFS
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7732 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7734 break 2
7735 fi
7736 done
7737 done
7738 IFS=$as_save_IFS
7739
7740 fi
7741 fi
7742 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7743 if test -n "$ac_ct_NMEDIT"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7745 $as_echo "$ac_ct_NMEDIT" >&6; }
7746 else
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7749 fi
7750
7751 if test "x$ac_ct_NMEDIT" = x; then
7752 NMEDIT=":"
7753 else
7754 case $cross_compiling:$ac_tool_warned in
7755 yes:)
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7758 ac_tool_warned=yes ;;
7759 esac
7760 NMEDIT=$ac_ct_NMEDIT
7761 fi
7762 else
7763 NMEDIT="$ac_cv_prog_NMEDIT"
7764 fi
7765
7766 if test -n "$ac_tool_prefix"; then
7767 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7768 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7770 $as_echo_n "checking for $ac_word... " >&6; }
7771 if ${ac_cv_prog_LIPO+:} false; then :
7772 $as_echo_n "(cached) " >&6
7773 else
7774 if test -n "$LIPO"; then
7775 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7776 else
7777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7778 for as_dir in $PATH
7779 do
7780 IFS=$as_save_IFS
7781 test -z "$as_dir" && as_dir=.
7782 for ac_exec_ext in '' $ac_executable_extensions; do
7783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7784 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7786 break 2
7787 fi
7788 done
7789 done
7790 IFS=$as_save_IFS
7791
7792 fi
7793 fi
7794 LIPO=$ac_cv_prog_LIPO
7795 if test -n "$LIPO"; then
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7797 $as_echo "$LIPO" >&6; }
7798 else
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7800 $as_echo "no" >&6; }
7801 fi
7802
7803
7804 fi
7805 if test -z "$ac_cv_prog_LIPO"; then
7806 ac_ct_LIPO=$LIPO
7807 # Extract the first word of "lipo", so it can be a program name with args.
7808 set dummy lipo; ac_word=$2
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7810 $as_echo_n "checking for $ac_word... " >&6; }
7811 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7812 $as_echo_n "(cached) " >&6
7813 else
7814 if test -n "$ac_ct_LIPO"; then
7815 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7816 else
7817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7818 for as_dir in $PATH
7819 do
7820 IFS=$as_save_IFS
7821 test -z "$as_dir" && as_dir=.
7822 for ac_exec_ext in '' $ac_executable_extensions; do
7823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7824 ac_cv_prog_ac_ct_LIPO="lipo"
7825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7826 break 2
7827 fi
7828 done
7829 done
7830 IFS=$as_save_IFS
7831
7832 fi
7833 fi
7834 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7835 if test -n "$ac_ct_LIPO"; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7837 $as_echo "$ac_ct_LIPO" >&6; }
7838 else
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7840 $as_echo "no" >&6; }
7841 fi
7842
7843 if test "x$ac_ct_LIPO" = x; then
7844 LIPO=":"
7845 else
7846 case $cross_compiling:$ac_tool_warned in
7847 yes:)
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7850 ac_tool_warned=yes ;;
7851 esac
7852 LIPO=$ac_ct_LIPO
7853 fi
7854 else
7855 LIPO="$ac_cv_prog_LIPO"
7856 fi
7857
7858 if test -n "$ac_tool_prefix"; then
7859 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7860 set dummy ${ac_tool_prefix}otool; ac_word=$2
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7862 $as_echo_n "checking for $ac_word... " >&6; }
7863 if ${ac_cv_prog_OTOOL+:} false; then :
7864 $as_echo_n "(cached) " >&6
7865 else
7866 if test -n "$OTOOL"; then
7867 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7868 else
7869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7870 for as_dir in $PATH
7871 do
7872 IFS=$as_save_IFS
7873 test -z "$as_dir" && as_dir=.
7874 for ac_exec_ext in '' $ac_executable_extensions; do
7875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7876 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7878 break 2
7879 fi
7880 done
7881 done
7882 IFS=$as_save_IFS
7883
7884 fi
7885 fi
7886 OTOOL=$ac_cv_prog_OTOOL
7887 if test -n "$OTOOL"; then
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7889 $as_echo "$OTOOL" >&6; }
7890 else
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7892 $as_echo "no" >&6; }
7893 fi
7894
7895
7896 fi
7897 if test -z "$ac_cv_prog_OTOOL"; then
7898 ac_ct_OTOOL=$OTOOL
7899 # Extract the first word of "otool", so it can be a program name with args.
7900 set dummy otool; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7902 $as_echo_n "checking for $ac_word... " >&6; }
7903 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7904 $as_echo_n "(cached) " >&6
7905 else
7906 if test -n "$ac_ct_OTOOL"; then
7907 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7908 else
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7910 for as_dir in $PATH
7911 do
7912 IFS=$as_save_IFS
7913 test -z "$as_dir" && as_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7916 ac_cv_prog_ac_ct_OTOOL="otool"
7917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7918 break 2
7919 fi
7920 done
7921 done
7922 IFS=$as_save_IFS
7923
7924 fi
7925 fi
7926 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7927 if test -n "$ac_ct_OTOOL"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7929 $as_echo "$ac_ct_OTOOL" >&6; }
7930 else
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7932 $as_echo "no" >&6; }
7933 fi
7934
7935 if test "x$ac_ct_OTOOL" = x; then
7936 OTOOL=":"
7937 else
7938 case $cross_compiling:$ac_tool_warned in
7939 yes:)
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7942 ac_tool_warned=yes ;;
7943 esac
7944 OTOOL=$ac_ct_OTOOL
7945 fi
7946 else
7947 OTOOL="$ac_cv_prog_OTOOL"
7948 fi
7949
7950 if test -n "$ac_tool_prefix"; then
7951 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7952 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7954 $as_echo_n "checking for $ac_word... " >&6; }
7955 if ${ac_cv_prog_OTOOL64+:} false; then :
7956 $as_echo_n "(cached) " >&6
7957 else
7958 if test -n "$OTOOL64"; then
7959 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7960 else
7961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7962 for as_dir in $PATH
7963 do
7964 IFS=$as_save_IFS
7965 test -z "$as_dir" && as_dir=.
7966 for ac_exec_ext in '' $ac_executable_extensions; do
7967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7968 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7970 break 2
7971 fi
7972 done
7973 done
7974 IFS=$as_save_IFS
7975
7976 fi
7977 fi
7978 OTOOL64=$ac_cv_prog_OTOOL64
7979 if test -n "$OTOOL64"; then
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7981 $as_echo "$OTOOL64" >&6; }
7982 else
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7984 $as_echo "no" >&6; }
7985 fi
7986
7987
7988 fi
7989 if test -z "$ac_cv_prog_OTOOL64"; then
7990 ac_ct_OTOOL64=$OTOOL64
7991 # Extract the first word of "otool64", so it can be a program name with args.
7992 set dummy otool64; ac_word=$2
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7994 $as_echo_n "checking for $ac_word... " >&6; }
7995 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7996 $as_echo_n "(cached) " >&6
7997 else
7998 if test -n "$ac_ct_OTOOL64"; then
7999 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8000 else
8001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8002 for as_dir in $PATH
8003 do
8004 IFS=$as_save_IFS
8005 test -z "$as_dir" && as_dir=.
8006 for ac_exec_ext in '' $ac_executable_extensions; do
8007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8008 ac_cv_prog_ac_ct_OTOOL64="otool64"
8009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8010 break 2
8011 fi
8012 done
8013 done
8014 IFS=$as_save_IFS
8015
8016 fi
8017 fi
8018 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8019 if test -n "$ac_ct_OTOOL64"; then
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8021 $as_echo "$ac_ct_OTOOL64" >&6; }
8022 else
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8024 $as_echo "no" >&6; }
8025 fi
8026
8027 if test "x$ac_ct_OTOOL64" = x; then
8028 OTOOL64=":"
8029 else
8030 case $cross_compiling:$ac_tool_warned in
8031 yes:)
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8034 ac_tool_warned=yes ;;
8035 esac
8036 OTOOL64=$ac_ct_OTOOL64
8037 fi
8038 else
8039 OTOOL64="$ac_cv_prog_OTOOL64"
8040 fi
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8069 $as_echo_n "checking for -single_module linker flag... " >&6; }
8070 if ${lt_cv_apple_cc_single_mod+:} false; then :
8071 $as_echo_n "(cached) " >&6
8072 else
8073 lt_cv_apple_cc_single_mod=no
8074 if test -z "${LT_MULTI_MODULE}"; then
8075 # By default we will add the -single_module flag. You can override
8076 # by either setting the environment variable LT_MULTI_MODULE
8077 # non-empty at configure time, or by adding -multi_module to the
8078 # link flags.
8079 rm -rf libconftest.dylib*
8080 echo "int foo(void){return 1;}" > conftest.c
8081 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8082 -dynamiclib -Wl,-single_module conftest.c" >&5
8083 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8084 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8085 _lt_result=$?
8086 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8087 lt_cv_apple_cc_single_mod=yes
8088 else
8089 cat conftest.err >&5
8090 fi
8091 rm -rf libconftest.dylib*
8092 rm -f conftest.*
8093 fi
8094 fi
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8096 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8098 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8099 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8100 $as_echo_n "(cached) " >&6
8101 else
8102 lt_cv_ld_exported_symbols_list=no
8103 save_LDFLAGS=$LDFLAGS
8104 echo "_main" > conftest.sym
8105 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8106 if test x$gcc_no_link = xyes; then
8107 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8108 fi
8109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8110 /* end confdefs.h. */
8111
8112 int
8113 main ()
8114 {
8115
8116 ;
8117 return 0;
8118 }
8119 _ACEOF
8120 if ac_fn_c_try_link "$LINENO"; then :
8121 lt_cv_ld_exported_symbols_list=yes
8122 else
8123 lt_cv_ld_exported_symbols_list=no
8124 fi
8125 rm -f core conftest.err conftest.$ac_objext \
8126 conftest$ac_exeext conftest.$ac_ext
8127 LDFLAGS="$save_LDFLAGS"
8128
8129 fi
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8131 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8133 $as_echo_n "checking for -force_load linker flag... " >&6; }
8134 if ${lt_cv_ld_force_load+:} false; then :
8135 $as_echo_n "(cached) " >&6
8136 else
8137 lt_cv_ld_force_load=no
8138 cat > conftest.c << _LT_EOF
8139 int forced_loaded() { return 2;}
8140 _LT_EOF
8141 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8142 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8143 echo "$AR cru libconftest.a conftest.o" >&5
8144 $AR cru libconftest.a conftest.o 2>&5
8145 cat > conftest.c << _LT_EOF
8146 int main() { return 0;}
8147 _LT_EOF
8148 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8149 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8150 _lt_result=$?
8151 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8152 lt_cv_ld_force_load=yes
8153 else
8154 cat conftest.err >&5
8155 fi
8156 rm -f conftest.err libconftest.a conftest conftest.c
8157 rm -rf conftest.dSYM
8158
8159 fi
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8161 $as_echo "$lt_cv_ld_force_load" >&6; }
8162 case $host_os in
8163 rhapsody* | darwin1.[012])
8164 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8165 darwin1.*)
8166 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8167 darwin*) # darwin 5.x on
8168 # if running on 10.5 or later, the deployment target defaults
8169 # to the OS version, if on x86, and 10.4, the deployment
8170 # target defaults to 10.4. Don't you love it?
8171 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8172 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8173 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8174 10.[012][,.]*)
8175 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8176 10.*)
8177 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8178 esac
8179 ;;
8180 esac
8181 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8182 _lt_dar_single_mod='$single_module'
8183 fi
8184 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8185 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8186 else
8187 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8188 fi
8189 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8190 _lt_dsymutil='~$DSYMUTIL $lib || :'
8191 else
8192 _lt_dsymutil=
8193 fi
8194 ;;
8195 esac
8196
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8198 $as_echo_n "checking for ANSI C header files... " >&6; }
8199 if ${ac_cv_header_stdc+:} false; then :
8200 $as_echo_n "(cached) " >&6
8201 else
8202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8203 /* end confdefs.h. */
8204 #include <stdlib.h>
8205 #include <stdarg.h>
8206 #include <string.h>
8207 #include <float.h>
8208
8209 int
8210 main ()
8211 {
8212
8213 ;
8214 return 0;
8215 }
8216 _ACEOF
8217 if ac_fn_c_try_compile "$LINENO"; then :
8218 ac_cv_header_stdc=yes
8219 else
8220 ac_cv_header_stdc=no
8221 fi
8222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8223
8224 if test $ac_cv_header_stdc = yes; then
8225 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8227 /* end confdefs.h. */
8228 #include <string.h>
8229
8230 _ACEOF
8231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8232 $EGREP "memchr" >/dev/null 2>&1; then :
8233
8234 else
8235 ac_cv_header_stdc=no
8236 fi
8237 rm -f conftest*
8238
8239 fi
8240
8241 if test $ac_cv_header_stdc = yes; then
8242 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8244 /* end confdefs.h. */
8245 #include <stdlib.h>
8246
8247 _ACEOF
8248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8249 $EGREP "free" >/dev/null 2>&1; then :
8250
8251 else
8252 ac_cv_header_stdc=no
8253 fi
8254 rm -f conftest*
8255
8256 fi
8257
8258 if test $ac_cv_header_stdc = yes; then
8259 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8260 if test "$cross_compiling" = yes; then :
8261 :
8262 else
8263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8264 /* end confdefs.h. */
8265 #include <ctype.h>
8266 #include <stdlib.h>
8267 #if ((' ' & 0x0FF) == 0x020)
8268 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8269 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8270 #else
8271 # define ISLOWER(c) \
8272 (('a' <= (c) && (c) <= 'i') \
8273 || ('j' <= (c) && (c) <= 'r') \
8274 || ('s' <= (c) && (c) <= 'z'))
8275 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8276 #endif
8277
8278 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8279 int
8280 main ()
8281 {
8282 int i;
8283 for (i = 0; i < 256; i++)
8284 if (XOR (islower (i), ISLOWER (i))
8285 || toupper (i) != TOUPPER (i))
8286 return 2;
8287 return 0;
8288 }
8289 _ACEOF
8290 if ac_fn_c_try_run "$LINENO"; then :
8291
8292 else
8293 ac_cv_header_stdc=no
8294 fi
8295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8296 conftest.$ac_objext conftest.beam conftest.$ac_ext
8297 fi
8298
8299 fi
8300 fi
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8302 $as_echo "$ac_cv_header_stdc" >&6; }
8303 if test $ac_cv_header_stdc = yes; then
8304
8305 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8306
8307 fi
8308
8309 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8310 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8311 inttypes.h stdint.h unistd.h
8312 do :
8313 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8314 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8315 "
8316 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8317 cat >>confdefs.h <<_ACEOF
8318 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8319 _ACEOF
8320
8321 fi
8322
8323 done
8324
8325
8326 for ac_header in dlfcn.h
8327 do :
8328 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8329 "
8330 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8331 cat >>confdefs.h <<_ACEOF
8332 #define HAVE_DLFCN_H 1
8333 _ACEOF
8334
8335 fi
8336
8337 done
8338
8339
8340
8341
8342
8343
8344 # Set options
8345
8346
8347
8348
8349 enable_win32_dll=no
8350
8351
8352 # Check whether --enable-shared was given.
8353 if test "${enable_shared+set}" = set; then :
8354 enableval=$enable_shared; p=${PACKAGE-default}
8355 case $enableval in
8356 yes) enable_shared=yes ;;
8357 no) enable_shared=no ;;
8358 *)
8359 enable_shared=no
8360 # Look at the argument we got. We use all the common list separators.
8361 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8362 for pkg in $enableval; do
8363 IFS="$lt_save_ifs"
8364 if test "X$pkg" = "X$p"; then
8365 enable_shared=yes
8366 fi
8367 done
8368 IFS="$lt_save_ifs"
8369 ;;
8370 esac
8371 else
8372 enable_shared=yes
8373 fi
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383 # Check whether --enable-static was given.
8384 if test "${enable_static+set}" = set; then :
8385 enableval=$enable_static; p=${PACKAGE-default}
8386 case $enableval in
8387 yes) enable_static=yes ;;
8388 no) enable_static=no ;;
8389 *)
8390 enable_static=no
8391 # Look at the argument we got. We use all the common list separators.
8392 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8393 for pkg in $enableval; do
8394 IFS="$lt_save_ifs"
8395 if test "X$pkg" = "X$p"; then
8396 enable_static=yes
8397 fi
8398 done
8399 IFS="$lt_save_ifs"
8400 ;;
8401 esac
8402 else
8403 enable_static=yes
8404 fi
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415 # Check whether --with-pic was given.
8416 if test "${with_pic+set}" = set; then :
8417 withval=$with_pic; pic_mode="$withval"
8418 else
8419 pic_mode=default
8420 fi
8421
8422
8423 test -z "$pic_mode" && pic_mode=default
8424
8425
8426
8427
8428
8429
8430
8431 # Check whether --enable-fast-install was given.
8432 if test "${enable_fast_install+set}" = set; then :
8433 enableval=$enable_fast_install; p=${PACKAGE-default}
8434 case $enableval in
8435 yes) enable_fast_install=yes ;;
8436 no) enable_fast_install=no ;;
8437 *)
8438 enable_fast_install=no
8439 # Look at the argument we got. We use all the common list separators.
8440 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8441 for pkg in $enableval; do
8442 IFS="$lt_save_ifs"
8443 if test "X$pkg" = "X$p"; then
8444 enable_fast_install=yes
8445 fi
8446 done
8447 IFS="$lt_save_ifs"
8448 ;;
8449 esac
8450 else
8451 enable_fast_install=yes
8452 fi
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464 # This can be used to rebuild libtool when needed
8465 LIBTOOL_DEPS="$ltmain"
8466
8467 # Always use our own libtool.
8468 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495 test -z "$LN_S" && LN_S="ln -s"
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510 if test -n "${ZSH_VERSION+set}" ; then
8511 setopt NO_GLOB_SUBST
8512 fi
8513
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8515 $as_echo_n "checking for objdir... " >&6; }
8516 if ${lt_cv_objdir+:} false; then :
8517 $as_echo_n "(cached) " >&6
8518 else
8519 rm -f .libs 2>/dev/null
8520 mkdir .libs 2>/dev/null
8521 if test -d .libs; then
8522 lt_cv_objdir=.libs
8523 else
8524 # MS-DOS does not allow filenames that begin with a dot.
8525 lt_cv_objdir=_libs
8526 fi
8527 rmdir .libs 2>/dev/null
8528 fi
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8530 $as_echo "$lt_cv_objdir" >&6; }
8531 objdir=$lt_cv_objdir
8532
8533
8534
8535
8536
8537 cat >>confdefs.h <<_ACEOF
8538 #define LT_OBJDIR "$lt_cv_objdir/"
8539 _ACEOF
8540
8541
8542
8543
8544 case $host_os in
8545 aix3*)
8546 # AIX sometimes has problems with the GCC collect2 program. For some
8547 # reason, if we set the COLLECT_NAMES environment variable, the problems
8548 # vanish in a puff of smoke.
8549 if test "X${COLLECT_NAMES+set}" != Xset; then
8550 COLLECT_NAMES=
8551 export COLLECT_NAMES
8552 fi
8553 ;;
8554 esac
8555
8556 # Global variables:
8557 ofile=libtool
8558 can_build_shared=yes
8559
8560 # All known linkers require a `.a' archive for static linking (except MSVC,
8561 # which needs '.lib').
8562 libext=a
8563
8564 with_gnu_ld="$lt_cv_prog_gnu_ld"
8565
8566 old_CC="$CC"
8567 old_CFLAGS="$CFLAGS"
8568
8569 # Set sane defaults for various variables
8570 test -z "$CC" && CC=cc
8571 test -z "$LTCC" && LTCC=$CC
8572 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8573 test -z "$LD" && LD=ld
8574 test -z "$ac_objext" && ac_objext=o
8575
8576 for cc_temp in $compiler""; do
8577 case $cc_temp in
8578 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8579 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8580 \-*) ;;
8581 *) break;;
8582 esac
8583 done
8584 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8585
8586
8587 # Only perform the check for file, if the check method requires it
8588 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8589 case $deplibs_check_method in
8590 file_magic*)
8591 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8593 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8594 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8595 $as_echo_n "(cached) " >&6
8596 else
8597 case $MAGIC_CMD in
8598 [\\/*] | ?:[\\/]*)
8599 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8600 ;;
8601 *)
8602 lt_save_MAGIC_CMD="$MAGIC_CMD"
8603 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8604 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8605 for ac_dir in $ac_dummy; do
8606 IFS="$lt_save_ifs"
8607 test -z "$ac_dir" && ac_dir=.
8608 if test -f $ac_dir/${ac_tool_prefix}file; then
8609 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8610 if test -n "$file_magic_test_file"; then
8611 case $deplibs_check_method in
8612 "file_magic "*)
8613 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8614 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8615 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8616 $EGREP "$file_magic_regex" > /dev/null; then
8617 :
8618 else
8619 cat <<_LT_EOF 1>&2
8620
8621 *** Warning: the command libtool uses to detect shared libraries,
8622 *** $file_magic_cmd, produces output that libtool cannot recognize.
8623 *** The result is that libtool may fail to recognize shared libraries
8624 *** as such. This will affect the creation of libtool libraries that
8625 *** depend on shared libraries, but programs linked with such libtool
8626 *** libraries will work regardless of this problem. Nevertheless, you
8627 *** may want to report the problem to your system manager and/or to
8628 *** bug-libtool@gnu.org
8629
8630 _LT_EOF
8631 fi ;;
8632 esac
8633 fi
8634 break
8635 fi
8636 done
8637 IFS="$lt_save_ifs"
8638 MAGIC_CMD="$lt_save_MAGIC_CMD"
8639 ;;
8640 esac
8641 fi
8642
8643 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8644 if test -n "$MAGIC_CMD"; then
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8646 $as_echo "$MAGIC_CMD" >&6; }
8647 else
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8649 $as_echo "no" >&6; }
8650 fi
8651
8652
8653
8654
8655
8656 if test -z "$lt_cv_path_MAGIC_CMD"; then
8657 if test -n "$ac_tool_prefix"; then
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8659 $as_echo_n "checking for file... " >&6; }
8660 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8661 $as_echo_n "(cached) " >&6
8662 else
8663 case $MAGIC_CMD in
8664 [\\/*] | ?:[\\/]*)
8665 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8666 ;;
8667 *)
8668 lt_save_MAGIC_CMD="$MAGIC_CMD"
8669 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8670 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8671 for ac_dir in $ac_dummy; do
8672 IFS="$lt_save_ifs"
8673 test -z "$ac_dir" && ac_dir=.
8674 if test -f $ac_dir/file; then
8675 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8676 if test -n "$file_magic_test_file"; then
8677 case $deplibs_check_method in
8678 "file_magic "*)
8679 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8680 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8681 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8682 $EGREP "$file_magic_regex" > /dev/null; then
8683 :
8684 else
8685 cat <<_LT_EOF 1>&2
8686
8687 *** Warning: the command libtool uses to detect shared libraries,
8688 *** $file_magic_cmd, produces output that libtool cannot recognize.
8689 *** The result is that libtool may fail to recognize shared libraries
8690 *** as such. This will affect the creation of libtool libraries that
8691 *** depend on shared libraries, but programs linked with such libtool
8692 *** libraries will work regardless of this problem. Nevertheless, you
8693 *** may want to report the problem to your system manager and/or to
8694 *** bug-libtool@gnu.org
8695
8696 _LT_EOF
8697 fi ;;
8698 esac
8699 fi
8700 break
8701 fi
8702 done
8703 IFS="$lt_save_ifs"
8704 MAGIC_CMD="$lt_save_MAGIC_CMD"
8705 ;;
8706 esac
8707 fi
8708
8709 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8710 if test -n "$MAGIC_CMD"; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8712 $as_echo "$MAGIC_CMD" >&6; }
8713 else
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8715 $as_echo "no" >&6; }
8716 fi
8717
8718
8719 else
8720 MAGIC_CMD=:
8721 fi
8722 fi
8723
8724 fi
8725 ;;
8726 esac
8727
8728 # Use C for the default configuration in the libtool script
8729
8730 lt_save_CC="$CC"
8731 ac_ext=c
8732 ac_cpp='$CPP $CPPFLAGS'
8733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8736
8737
8738 # Source file extension for C test sources.
8739 ac_ext=c
8740
8741 # Object file extension for compiled C test sources.
8742 objext=o
8743 objext=$objext
8744
8745 # Code to be used in simple compile tests
8746 lt_simple_compile_test_code="int some_variable = 0;"
8747
8748 # Code to be used in simple link tests
8749 lt_simple_link_test_code='int main(){return(0);}'
8750
8751
8752
8753
8754
8755
8756
8757 # If no C compiler was specified, use CC.
8758 LTCC=${LTCC-"$CC"}
8759
8760 # If no C compiler flags were specified, use CFLAGS.
8761 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8762
8763 # Allow CC to be a program name with arguments.
8764 compiler=$CC
8765
8766 # Save the default compiler, since it gets overwritten when the other
8767 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8768 compiler_DEFAULT=$CC
8769
8770 # save warnings/boilerplate of simple test code
8771 ac_outfile=conftest.$ac_objext
8772 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8773 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8774 _lt_compiler_boilerplate=`cat conftest.err`
8775 $RM conftest*
8776
8777 ac_outfile=conftest.$ac_objext
8778 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8779 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8780 _lt_linker_boilerplate=`cat conftest.err`
8781 $RM -r conftest*
8782
8783
8784 ## CAVEAT EMPTOR:
8785 ## There is no encapsulation within the following macros, do not change
8786 ## the running order or otherwise move them around unless you know exactly
8787 ## what you are doing...
8788 if test -n "$compiler"; then
8789
8790 lt_prog_compiler_no_builtin_flag=
8791
8792 if test "$GCC" = yes; then
8793 case $cc_basename in
8794 nvcc*)
8795 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8796 *)
8797 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8798 esac
8799
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8801 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8802 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8803 $as_echo_n "(cached) " >&6
8804 else
8805 lt_cv_prog_compiler_rtti_exceptions=no
8806 ac_outfile=conftest.$ac_objext
8807 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8808 lt_compiler_flag="-fno-rtti -fno-exceptions"
8809 # Insert the option either (1) after the last *FLAGS variable, or
8810 # (2) before a word containing "conftest.", or (3) at the end.
8811 # Note that $ac_compile itself does not contain backslashes and begins
8812 # with a dollar sign (not a hyphen), so the echo should work correctly.
8813 # The option is referenced via a variable to avoid confusing sed.
8814 lt_compile=`echo "$ac_compile" | $SED \
8815 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8816 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8817 -e 's:$: $lt_compiler_flag:'`
8818 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8819 (eval "$lt_compile" 2>conftest.err)
8820 ac_status=$?
8821 cat conftest.err >&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 if (exit $ac_status) && test -s "$ac_outfile"; then
8824 # The compiler can only warn and ignore the option if not recognized
8825 # So say no if there are warnings other than the usual output.
8826 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8827 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8828 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8829 lt_cv_prog_compiler_rtti_exceptions=yes
8830 fi
8831 fi
8832 $RM conftest*
8833
8834 fi
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8836 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8837
8838 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8839 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8840 else
8841 :
8842 fi
8843
8844 fi
8845
8846
8847
8848
8849
8850
8851 lt_prog_compiler_wl=
8852 lt_prog_compiler_pic=
8853 lt_prog_compiler_static=
8854
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8856 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8857
8858 if test "$GCC" = yes; then
8859 lt_prog_compiler_wl='-Wl,'
8860 lt_prog_compiler_static='-static'
8861
8862 case $host_os in
8863 aix*)
8864 # All AIX code is PIC.
8865 if test "$host_cpu" = ia64; then
8866 # AIX 5 now supports IA64 processor
8867 lt_prog_compiler_static='-Bstatic'
8868 fi
8869 lt_prog_compiler_pic='-fPIC'
8870 ;;
8871
8872 amigaos*)
8873 case $host_cpu in
8874 powerpc)
8875 # see comment about AmigaOS4 .so support
8876 lt_prog_compiler_pic='-fPIC'
8877 ;;
8878 m68k)
8879 # FIXME: we need at least 68020 code to build shared libraries, but
8880 # adding the `-m68020' flag to GCC prevents building anything better,
8881 # like `-m68040'.
8882 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8883 ;;
8884 esac
8885 ;;
8886
8887 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8888 # PIC is the default for these OSes.
8889 ;;
8890
8891 mingw* | cygwin* | pw32* | os2* | cegcc*)
8892 # This hack is so that the source file can tell whether it is being
8893 # built for inclusion in a dll (and should export symbols for example).
8894 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8895 # (--disable-auto-import) libraries
8896 lt_prog_compiler_pic='-DDLL_EXPORT'
8897 ;;
8898
8899 darwin* | rhapsody*)
8900 # PIC is the default on this platform
8901 # Common symbols not allowed in MH_DYLIB files
8902 lt_prog_compiler_pic='-fno-common'
8903 ;;
8904
8905 haiku*)
8906 # PIC is the default for Haiku.
8907 # The "-static" flag exists, but is broken.
8908 lt_prog_compiler_static=
8909 ;;
8910
8911 hpux*)
8912 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8913 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8914 # sets the default TLS model and affects inlining.
8915 case $host_cpu in
8916 hppa*64*)
8917 # +Z the default
8918 ;;
8919 *)
8920 lt_prog_compiler_pic='-fPIC'
8921 ;;
8922 esac
8923 ;;
8924
8925 interix[3-9]*)
8926 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8927 # Instead, we relocate shared libraries at runtime.
8928 ;;
8929
8930 msdosdjgpp*)
8931 # Just because we use GCC doesn't mean we suddenly get shared libraries
8932 # on systems that don't support them.
8933 lt_prog_compiler_can_build_shared=no
8934 enable_shared=no
8935 ;;
8936
8937 *nto* | *qnx*)
8938 # QNX uses GNU C++, but need to define -shared option too, otherwise
8939 # it will coredump.
8940 lt_prog_compiler_pic='-fPIC -shared'
8941 ;;
8942
8943 sysv4*MP*)
8944 if test -d /usr/nec; then
8945 lt_prog_compiler_pic=-Kconform_pic
8946 fi
8947 ;;
8948
8949 *)
8950 lt_prog_compiler_pic='-fPIC'
8951 ;;
8952 esac
8953
8954 case $cc_basename in
8955 nvcc*) # Cuda Compiler Driver 2.2
8956 lt_prog_compiler_wl='-Xlinker '
8957 lt_prog_compiler_pic='-Xcompiler -fPIC'
8958 ;;
8959 esac
8960 else
8961 # PORTME Check for flag to pass linker flags through the system compiler.
8962 case $host_os in
8963 aix*)
8964 lt_prog_compiler_wl='-Wl,'
8965 if test "$host_cpu" = ia64; then
8966 # AIX 5 now supports IA64 processor
8967 lt_prog_compiler_static='-Bstatic'
8968 else
8969 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8970 fi
8971 ;;
8972
8973 mingw* | cygwin* | pw32* | os2* | cegcc*)
8974 # This hack is so that the source file can tell whether it is being
8975 # built for inclusion in a dll (and should export symbols for example).
8976 lt_prog_compiler_pic='-DDLL_EXPORT'
8977 ;;
8978
8979 hpux9* | hpux10* | hpux11*)
8980 lt_prog_compiler_wl='-Wl,'
8981 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8982 # not for PA HP-UX.
8983 case $host_cpu in
8984 hppa*64*|ia64*)
8985 # +Z the default
8986 ;;
8987 *)
8988 lt_prog_compiler_pic='+Z'
8989 ;;
8990 esac
8991 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8992 lt_prog_compiler_static='${wl}-a ${wl}archive'
8993 ;;
8994
8995 irix5* | irix6* | nonstopux*)
8996 lt_prog_compiler_wl='-Wl,'
8997 # PIC (with -KPIC) is the default.
8998 lt_prog_compiler_static='-non_shared'
8999 ;;
9000
9001 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9002 case $cc_basename in
9003 # old Intel for x86_64 which still supported -KPIC.
9004 ecc*)
9005 lt_prog_compiler_wl='-Wl,'
9006 lt_prog_compiler_pic='-KPIC'
9007 lt_prog_compiler_static='-static'
9008 ;;
9009 # icc used to be incompatible with GCC.
9010 # ICC 10 doesn't accept -KPIC any more.
9011 icc* | ifort*)
9012 lt_prog_compiler_wl='-Wl,'
9013 lt_prog_compiler_pic='-fPIC'
9014 lt_prog_compiler_static='-static'
9015 ;;
9016 # Lahey Fortran 8.1.
9017 lf95*)
9018 lt_prog_compiler_wl='-Wl,'
9019 lt_prog_compiler_pic='--shared'
9020 lt_prog_compiler_static='--static'
9021 ;;
9022 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9023 # Portland Group compilers (*not* the Pentium gcc compiler,
9024 # which looks to be a dead project)
9025 lt_prog_compiler_wl='-Wl,'
9026 lt_prog_compiler_pic='-fpic'
9027 lt_prog_compiler_static='-Bstatic'
9028 ;;
9029 ccc*)
9030 lt_prog_compiler_wl='-Wl,'
9031 # All Alpha code is PIC.
9032 lt_prog_compiler_static='-non_shared'
9033 ;;
9034 xl* | bgxl* | bgf* | mpixl*)
9035 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9036 lt_prog_compiler_wl='-Wl,'
9037 lt_prog_compiler_pic='-qpic'
9038 lt_prog_compiler_static='-qstaticlink'
9039 ;;
9040 *)
9041 case `$CC -V 2>&1 | sed 5q` in
9042 *Sun\ F* | *Sun*Fortran*)
9043 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9044 lt_prog_compiler_pic='-KPIC'
9045 lt_prog_compiler_static='-Bstatic'
9046 lt_prog_compiler_wl=''
9047 ;;
9048 *Sun\ C*)
9049 # Sun C 5.9
9050 lt_prog_compiler_pic='-KPIC'
9051 lt_prog_compiler_static='-Bstatic'
9052 lt_prog_compiler_wl='-Wl,'
9053 ;;
9054 esac
9055 ;;
9056 esac
9057 ;;
9058
9059 newsos6)
9060 lt_prog_compiler_pic='-KPIC'
9061 lt_prog_compiler_static='-Bstatic'
9062 ;;
9063
9064 *nto* | *qnx*)
9065 # QNX uses GNU C++, but need to define -shared option too, otherwise
9066 # it will coredump.
9067 lt_prog_compiler_pic='-fPIC -shared'
9068 ;;
9069
9070 osf3* | osf4* | osf5*)
9071 lt_prog_compiler_wl='-Wl,'
9072 # All OSF/1 code is PIC.
9073 lt_prog_compiler_static='-non_shared'
9074 ;;
9075
9076 rdos*)
9077 lt_prog_compiler_static='-non_shared'
9078 ;;
9079
9080 solaris*)
9081 lt_prog_compiler_pic='-KPIC'
9082 lt_prog_compiler_static='-Bstatic'
9083 case $cc_basename in
9084 f77* | f90* | f95*)
9085 lt_prog_compiler_wl='-Qoption ld ';;
9086 *)
9087 lt_prog_compiler_wl='-Wl,';;
9088 esac
9089 ;;
9090
9091 sunos4*)
9092 lt_prog_compiler_wl='-Qoption ld '
9093 lt_prog_compiler_pic='-PIC'
9094 lt_prog_compiler_static='-Bstatic'
9095 ;;
9096
9097 sysv4 | sysv4.2uw2* | sysv4.3*)
9098 lt_prog_compiler_wl='-Wl,'
9099 lt_prog_compiler_pic='-KPIC'
9100 lt_prog_compiler_static='-Bstatic'
9101 ;;
9102
9103 sysv4*MP*)
9104 if test -d /usr/nec ;then
9105 lt_prog_compiler_pic='-Kconform_pic'
9106 lt_prog_compiler_static='-Bstatic'
9107 fi
9108 ;;
9109
9110 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9111 lt_prog_compiler_wl='-Wl,'
9112 lt_prog_compiler_pic='-KPIC'
9113 lt_prog_compiler_static='-Bstatic'
9114 ;;
9115
9116 unicos*)
9117 lt_prog_compiler_wl='-Wl,'
9118 lt_prog_compiler_can_build_shared=no
9119 ;;
9120
9121 uts4*)
9122 lt_prog_compiler_pic='-pic'
9123 lt_prog_compiler_static='-Bstatic'
9124 ;;
9125
9126 *)
9127 lt_prog_compiler_can_build_shared=no
9128 ;;
9129 esac
9130 fi
9131
9132 case $host_os in
9133 # For platforms which do not support PIC, -DPIC is meaningless:
9134 *djgpp*)
9135 lt_prog_compiler_pic=
9136 ;;
9137 *)
9138 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9139 ;;
9140 esac
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9142 $as_echo "$lt_prog_compiler_pic" >&6; }
9143
9144
9145
9146
9147
9148
9149 #
9150 # Check to make sure the PIC flag actually works.
9151 #
9152 if test -n "$lt_prog_compiler_pic"; then
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9154 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9155 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9156 $as_echo_n "(cached) " >&6
9157 else
9158 lt_cv_prog_compiler_pic_works=no
9159 ac_outfile=conftest.$ac_objext
9160 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9161 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9162 # Insert the option either (1) after the last *FLAGS variable, or
9163 # (2) before a word containing "conftest.", or (3) at the end.
9164 # Note that $ac_compile itself does not contain backslashes and begins
9165 # with a dollar sign (not a hyphen), so the echo should work correctly.
9166 # The option is referenced via a variable to avoid confusing sed.
9167 lt_compile=`echo "$ac_compile" | $SED \
9168 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9169 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9170 -e 's:$: $lt_compiler_flag:'`
9171 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9172 (eval "$lt_compile" 2>conftest.err)
9173 ac_status=$?
9174 cat conftest.err >&5
9175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9176 if (exit $ac_status) && test -s "$ac_outfile"; then
9177 # The compiler can only warn and ignore the option if not recognized
9178 # So say no if there are warnings other than the usual output.
9179 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9180 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9181 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9182 lt_cv_prog_compiler_pic_works=yes
9183 fi
9184 fi
9185 $RM conftest*
9186
9187 fi
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9189 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9190
9191 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9192 case $lt_prog_compiler_pic in
9193 "" | " "*) ;;
9194 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9195 esac
9196 else
9197 lt_prog_compiler_pic=
9198 lt_prog_compiler_can_build_shared=no
9199 fi
9200
9201 fi
9202
9203
9204
9205
9206
9207
9208 #
9209 # Check to make sure the static flag actually works.
9210 #
9211 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9213 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9214 if ${lt_cv_prog_compiler_static_works+:} false; then :
9215 $as_echo_n "(cached) " >&6
9216 else
9217 lt_cv_prog_compiler_static_works=no
9218 save_LDFLAGS="$LDFLAGS"
9219 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9220 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9221 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9222 # The linker can only warn and ignore the option if not recognized
9223 # So say no if there are warnings
9224 if test -s conftest.err; then
9225 # Append any errors to the config.log.
9226 cat conftest.err 1>&5
9227 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9228 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9229 if diff conftest.exp conftest.er2 >/dev/null; then
9230 lt_cv_prog_compiler_static_works=yes
9231 fi
9232 else
9233 lt_cv_prog_compiler_static_works=yes
9234 fi
9235 fi
9236 $RM -r conftest*
9237 LDFLAGS="$save_LDFLAGS"
9238
9239 fi
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9241 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9242
9243 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9244 :
9245 else
9246 lt_prog_compiler_static=
9247 fi
9248
9249
9250
9251
9252
9253
9254
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9256 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9257 if ${lt_cv_prog_compiler_c_o+:} false; then :
9258 $as_echo_n "(cached) " >&6
9259 else
9260 lt_cv_prog_compiler_c_o=no
9261 $RM -r conftest 2>/dev/null
9262 mkdir conftest
9263 cd conftest
9264 mkdir out
9265 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9266
9267 lt_compiler_flag="-o out/conftest2.$ac_objext"
9268 # Insert the option either (1) after the last *FLAGS variable, or
9269 # (2) before a word containing "conftest.", or (3) at the end.
9270 # Note that $ac_compile itself does not contain backslashes and begins
9271 # with a dollar sign (not a hyphen), so the echo should work correctly.
9272 lt_compile=`echo "$ac_compile" | $SED \
9273 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9274 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9275 -e 's:$: $lt_compiler_flag:'`
9276 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9277 (eval "$lt_compile" 2>out/conftest.err)
9278 ac_status=$?
9279 cat out/conftest.err >&5
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9282 then
9283 # The compiler can only warn and ignore the option if not recognized
9284 # So say no if there are warnings
9285 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9286 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9287 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9288 lt_cv_prog_compiler_c_o=yes
9289 fi
9290 fi
9291 chmod u+w . 2>&5
9292 $RM conftest*
9293 # SGI C++ compiler will create directory out/ii_files/ for
9294 # template instantiation
9295 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9296 $RM out/* && rmdir out
9297 cd ..
9298 $RM -r conftest
9299 $RM conftest*
9300
9301 fi
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9303 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9304
9305
9306
9307
9308
9309
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9311 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9312 if ${lt_cv_prog_compiler_c_o+:} false; then :
9313 $as_echo_n "(cached) " >&6
9314 else
9315 lt_cv_prog_compiler_c_o=no
9316 $RM -r conftest 2>/dev/null
9317 mkdir conftest
9318 cd conftest
9319 mkdir out
9320 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9321
9322 lt_compiler_flag="-o out/conftest2.$ac_objext"
9323 # Insert the option either (1) after the last *FLAGS variable, or
9324 # (2) before a word containing "conftest.", or (3) at the end.
9325 # Note that $ac_compile itself does not contain backslashes and begins
9326 # with a dollar sign (not a hyphen), so the echo should work correctly.
9327 lt_compile=`echo "$ac_compile" | $SED \
9328 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9329 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9330 -e 's:$: $lt_compiler_flag:'`
9331 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9332 (eval "$lt_compile" 2>out/conftest.err)
9333 ac_status=$?
9334 cat out/conftest.err >&5
9335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9337 then
9338 # The compiler can only warn and ignore the option if not recognized
9339 # So say no if there are warnings
9340 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9341 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9342 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9343 lt_cv_prog_compiler_c_o=yes
9344 fi
9345 fi
9346 chmod u+w . 2>&5
9347 $RM conftest*
9348 # SGI C++ compiler will create directory out/ii_files/ for
9349 # template instantiation
9350 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9351 $RM out/* && rmdir out
9352 cd ..
9353 $RM -r conftest
9354 $RM conftest*
9355
9356 fi
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9358 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9359
9360
9361
9362
9363 hard_links="nottested"
9364 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9365 # do not overwrite the value of need_locks provided by the user
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9367 $as_echo_n "checking if we can lock with hard links... " >&6; }
9368 hard_links=yes
9369 $RM conftest*
9370 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9371 touch conftest.a
9372 ln conftest.a conftest.b 2>&5 || hard_links=no
9373 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9375 $as_echo "$hard_links" >&6; }
9376 if test "$hard_links" = no; then
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9378 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9379 need_locks=warn
9380 fi
9381 else
9382 need_locks=no
9383 fi
9384
9385
9386
9387
9388
9389
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9391 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9392
9393 runpath_var=
9394 allow_undefined_flag=
9395 always_export_symbols=no
9396 archive_cmds=
9397 archive_expsym_cmds=
9398 compiler_needs_object=no
9399 enable_shared_with_static_runtimes=no
9400 export_dynamic_flag_spec=
9401 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9402 hardcode_automatic=no
9403 hardcode_direct=no
9404 hardcode_direct_absolute=no
9405 hardcode_libdir_flag_spec=
9406 hardcode_libdir_flag_spec_ld=
9407 hardcode_libdir_separator=
9408 hardcode_minus_L=no
9409 hardcode_shlibpath_var=unsupported
9410 inherit_rpath=no
9411 link_all_deplibs=unknown
9412 module_cmds=
9413 module_expsym_cmds=
9414 old_archive_from_new_cmds=
9415 old_archive_from_expsyms_cmds=
9416 thread_safe_flag_spec=
9417 whole_archive_flag_spec=
9418 # include_expsyms should be a list of space-separated symbols to be *always*
9419 # included in the symbol list
9420 include_expsyms=
9421 # exclude_expsyms can be an extended regexp of symbols to exclude
9422 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9423 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9424 # as well as any symbol that contains `d'.
9425 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9426 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9427 # platforms (ab)use it in PIC code, but their linkers get confused if
9428 # the symbol is explicitly referenced. Since portable code cannot
9429 # rely on this symbol name, it's probably fine to never include it in
9430 # preloaded symbol tables.
9431 # Exclude shared library initialization/finalization symbols.
9432 extract_expsyms_cmds=
9433
9434 case $host_os in
9435 cygwin* | mingw* | pw32* | cegcc*)
9436 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9437 # When not using gcc, we currently assume that we are using
9438 # Microsoft Visual C++.
9439 if test "$GCC" != yes; then
9440 with_gnu_ld=no
9441 fi
9442 ;;
9443 interix*)
9444 # we just hope/assume this is gcc and not c89 (= MSVC++)
9445 with_gnu_ld=yes
9446 ;;
9447 openbsd*)
9448 with_gnu_ld=no
9449 ;;
9450 esac
9451
9452 ld_shlibs=yes
9453
9454 # On some targets, GNU ld is compatible enough with the native linker
9455 # that we're better off using the native interface for both.
9456 lt_use_gnu_ld_interface=no
9457 if test "$with_gnu_ld" = yes; then
9458 case $host_os in
9459 aix*)
9460 # The AIX port of GNU ld has always aspired to compatibility
9461 # with the native linker. However, as the warning in the GNU ld
9462 # block says, versions before 2.19.5* couldn't really create working
9463 # shared libraries, regardless of the interface used.
9464 case `$LD -v 2>&1` in
9465 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9466 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9467 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9468 *)
9469 lt_use_gnu_ld_interface=yes
9470 ;;
9471 esac
9472 ;;
9473 *)
9474 lt_use_gnu_ld_interface=yes
9475 ;;
9476 esac
9477 fi
9478
9479 if test "$lt_use_gnu_ld_interface" = yes; then
9480 # If archive_cmds runs LD, not CC, wlarc should be empty
9481 wlarc='${wl}'
9482
9483 # Set some defaults for GNU ld with shared library support. These
9484 # are reset later if shared libraries are not supported. Putting them
9485 # here allows them to be overridden if necessary.
9486 runpath_var=LD_RUN_PATH
9487 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9488 export_dynamic_flag_spec='${wl}--export-dynamic'
9489 # ancient GNU ld didn't support --whole-archive et. al.
9490 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9491 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9492 else
9493 whole_archive_flag_spec=
9494 fi
9495 supports_anon_versioning=no
9496 case `$LD -v 2>&1` in
9497 *GNU\ gold*) supports_anon_versioning=yes ;;
9498 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9499 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9500 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9501 *\ 2.11.*) ;; # other 2.11 versions
9502 *) supports_anon_versioning=yes ;;
9503 esac
9504
9505 # See if GNU ld supports shared libraries.
9506 case $host_os in
9507 aix[3-9]*)
9508 # On AIX/PPC, the GNU linker is very broken
9509 if test "$host_cpu" != ia64; then
9510 ld_shlibs=no
9511 cat <<_LT_EOF 1>&2
9512
9513 *** Warning: the GNU linker, at least up to release 2.19, is reported
9514 *** to be unable to reliably create shared libraries on AIX.
9515 *** Therefore, libtool is disabling shared libraries support. If you
9516 *** really care for shared libraries, you may want to install binutils
9517 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9518 *** You will then need to restart the configuration process.
9519
9520 _LT_EOF
9521 fi
9522 ;;
9523
9524 amigaos*)
9525 case $host_cpu in
9526 powerpc)
9527 # see comment about AmigaOS4 .so support
9528 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9529 archive_expsym_cmds=''
9530 ;;
9531 m68k)
9532 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)'
9533 hardcode_libdir_flag_spec='-L$libdir'
9534 hardcode_minus_L=yes
9535 ;;
9536 esac
9537 ;;
9538
9539 beos*)
9540 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9541 allow_undefined_flag=unsupported
9542 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9543 # support --undefined. This deserves some investigation. FIXME
9544 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9545 else
9546 ld_shlibs=no
9547 fi
9548 ;;
9549
9550 cygwin* | mingw* | pw32* | cegcc*)
9551 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9552 # as there is no search path for DLLs.
9553 hardcode_libdir_flag_spec='-L$libdir'
9554 export_dynamic_flag_spec='${wl}--export-all-symbols'
9555 allow_undefined_flag=unsupported
9556 always_export_symbols=no
9557 enable_shared_with_static_runtimes=yes
9558 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9559
9560 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9561 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9562 # If the export-symbols file already is a .def file (1st line
9563 # is EXPORTS), use it as is; otherwise, prepend...
9564 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9565 cp $export_symbols $output_objdir/$soname.def;
9566 else
9567 echo EXPORTS > $output_objdir/$soname.def;
9568 cat $export_symbols >> $output_objdir/$soname.def;
9569 fi~
9570 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9571 else
9572 ld_shlibs=no
9573 fi
9574 ;;
9575
9576 haiku*)
9577 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9578 link_all_deplibs=yes
9579 ;;
9580
9581 interix[3-9]*)
9582 hardcode_direct=no
9583 hardcode_shlibpath_var=no
9584 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9585 export_dynamic_flag_spec='${wl}-E'
9586 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9587 # Instead, shared libraries are loaded at an image base (0x10000000 by
9588 # default) and relocated if they conflict, which is a slow very memory
9589 # consuming and fragmenting process. To avoid this, we pick a random,
9590 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9591 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9592 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9593 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'
9594 ;;
9595
9596 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9597 tmp_diet=no
9598 if test "$host_os" = linux-dietlibc; then
9599 case $cc_basename in
9600 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9601 esac
9602 fi
9603 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9604 && test "$tmp_diet" = no
9605 then
9606 tmp_addflag=' $pic_flag'
9607 tmp_sharedflag='-shared'
9608 case $cc_basename,$host_cpu in
9609 pgcc*) # Portland Group C compiler
9610 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'
9611 tmp_addflag=' $pic_flag'
9612 ;;
9613 pgf77* | pgf90* | pgf95* | pgfortran*)
9614 # Portland Group f77 and f90 compilers
9615 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'
9616 tmp_addflag=' $pic_flag -Mnomain' ;;
9617 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9618 tmp_addflag=' -i_dynamic' ;;
9619 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9620 tmp_addflag=' -i_dynamic -nofor_main' ;;
9621 ifc* | ifort*) # Intel Fortran compiler
9622 tmp_addflag=' -nofor_main' ;;
9623 lf95*) # Lahey Fortran 8.1
9624 whole_archive_flag_spec=
9625 tmp_sharedflag='--shared' ;;
9626 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9627 tmp_sharedflag='-qmkshrobj'
9628 tmp_addflag= ;;
9629 nvcc*) # Cuda Compiler Driver 2.2
9630 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'
9631 compiler_needs_object=yes
9632 ;;
9633 esac
9634 case `$CC -V 2>&1 | sed 5q` in
9635 *Sun\ C*) # Sun C 5.9
9636 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'
9637 compiler_needs_object=yes
9638 tmp_sharedflag='-G' ;;
9639 *Sun\ F*) # Sun Fortran 8.3
9640 tmp_sharedflag='-G' ;;
9641 esac
9642 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9643
9644 if test "x$supports_anon_versioning" = xyes; then
9645 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9646 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9647 echo "local: *; };" >> $output_objdir/$libname.ver~
9648 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9649 fi
9650
9651 case $cc_basename in
9652 xlf* | bgf* | bgxlf* | mpixlf*)
9653 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9654 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9655 hardcode_libdir_flag_spec=
9656 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9657 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9658 if test "x$supports_anon_versioning" = xyes; then
9659 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9660 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9661 echo "local: *; };" >> $output_objdir/$libname.ver~
9662 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9663 fi
9664 ;;
9665 esac
9666 else
9667 ld_shlibs=no
9668 fi
9669 ;;
9670
9671 netbsd*)
9672 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9673 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9674 wlarc=
9675 else
9676 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9677 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9678 fi
9679 ;;
9680
9681 solaris*)
9682 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9683 ld_shlibs=no
9684 cat <<_LT_EOF 1>&2
9685
9686 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9687 *** create shared libraries on Solaris systems. Therefore, libtool
9688 *** is disabling shared libraries support. We urge you to upgrade GNU
9689 *** binutils to release 2.9.1 or newer. Another option is to modify
9690 *** your PATH or compiler configuration so that the native linker is
9691 *** used, and then restart.
9692
9693 _LT_EOF
9694 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9695 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9696 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9697 else
9698 ld_shlibs=no
9699 fi
9700 ;;
9701
9702 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9703 case `$LD -v 2>&1` in
9704 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9705 ld_shlibs=no
9706 cat <<_LT_EOF 1>&2
9707
9708 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9709 *** reliably create shared libraries on SCO systems. Therefore, libtool
9710 *** is disabling shared libraries support. We urge you to upgrade GNU
9711 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9712 *** your PATH or compiler configuration so that the native linker is
9713 *** used, and then restart.
9714
9715 _LT_EOF
9716 ;;
9717 *)
9718 # For security reasons, it is highly recommended that you always
9719 # use absolute paths for naming shared libraries, and exclude the
9720 # DT_RUNPATH tag from executables and libraries. But doing so
9721 # requires that you compile everything twice, which is a pain.
9722 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9723 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9724 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9725 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9726 else
9727 ld_shlibs=no
9728 fi
9729 ;;
9730 esac
9731 ;;
9732
9733 sunos4*)
9734 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9735 wlarc=
9736 hardcode_direct=yes
9737 hardcode_shlibpath_var=no
9738 ;;
9739
9740 *)
9741 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9742 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9743 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9744 else
9745 ld_shlibs=no
9746 fi
9747 ;;
9748 esac
9749
9750 if test "$ld_shlibs" = no; then
9751 runpath_var=
9752 hardcode_libdir_flag_spec=
9753 export_dynamic_flag_spec=
9754 whole_archive_flag_spec=
9755 fi
9756 else
9757 # PORTME fill in a description of your system's linker (not GNU ld)
9758 case $host_os in
9759 aix3*)
9760 allow_undefined_flag=unsupported
9761 always_export_symbols=yes
9762 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'
9763 # Note: this linker hardcodes the directories in LIBPATH if there
9764 # are no directories specified by -L.
9765 hardcode_minus_L=yes
9766 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9767 # Neither direct hardcoding nor static linking is supported with a
9768 # broken collect2.
9769 hardcode_direct=unsupported
9770 fi
9771 ;;
9772
9773 aix[4-9]*)
9774 if test "$host_cpu" = ia64; then
9775 # On IA64, the linker does run time linking by default, so we don't
9776 # have to do anything special.
9777 aix_use_runtimelinking=no
9778 exp_sym_flag='-Bexport'
9779 no_entry_flag=""
9780 else
9781 # If we're using GNU nm, then we don't want the "-C" option.
9782 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9783 # Also, AIX nm treats weak defined symbols like other global
9784 # defined symbols, whereas GNU nm marks them as "W".
9785 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9786 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'
9787 else
9788 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9789 fi
9790 aix_use_runtimelinking=no
9791
9792 # Test if we are trying to use run time linking or normal
9793 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9794 # need to do runtime linking.
9795 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9796 for ld_flag in $LDFLAGS; do
9797 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9798 aix_use_runtimelinking=yes
9799 break
9800 fi
9801 done
9802 ;;
9803 esac
9804
9805 exp_sym_flag='-bexport'
9806 no_entry_flag='-bnoentry'
9807 fi
9808
9809 # When large executables or shared objects are built, AIX ld can
9810 # have problems creating the table of contents. If linking a library
9811 # or program results in "error TOC overflow" add -mminimal-toc to
9812 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9813 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9814
9815 archive_cmds=''
9816 hardcode_direct=yes
9817 hardcode_direct_absolute=yes
9818 hardcode_libdir_separator=':'
9819 link_all_deplibs=yes
9820 file_list_spec='${wl}-f,'
9821
9822 if test "$GCC" = yes; then
9823 case $host_os in aix4.[012]|aix4.[012].*)
9824 # We only want to do this on AIX 4.2 and lower, the check
9825 # below for broken collect2 doesn't work under 4.3+
9826 collect2name=`${CC} -print-prog-name=collect2`
9827 if test -f "$collect2name" &&
9828 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9829 then
9830 # We have reworked collect2
9831 :
9832 else
9833 # We have old collect2
9834 hardcode_direct=unsupported
9835 # It fails to find uninstalled libraries when the uninstalled
9836 # path is not listed in the libpath. Setting hardcode_minus_L
9837 # to unsupported forces relinking
9838 hardcode_minus_L=yes
9839 hardcode_libdir_flag_spec='-L$libdir'
9840 hardcode_libdir_separator=
9841 fi
9842 ;;
9843 esac
9844 shared_flag='-shared'
9845 if test "$aix_use_runtimelinking" = yes; then
9846 shared_flag="$shared_flag "'${wl}-G'
9847 fi
9848 else
9849 # not using gcc
9850 if test "$host_cpu" = ia64; then
9851 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9852 # chokes on -Wl,-G. The following line is correct:
9853 shared_flag='-G'
9854 else
9855 if test "$aix_use_runtimelinking" = yes; then
9856 shared_flag='${wl}-G'
9857 else
9858 shared_flag='${wl}-bM:SRE'
9859 fi
9860 fi
9861 fi
9862
9863 export_dynamic_flag_spec='${wl}-bexpall'
9864 # It seems that -bexpall does not export symbols beginning with
9865 # underscore (_), so it is better to generate a list of symbols to export.
9866 always_export_symbols=yes
9867 if test "$aix_use_runtimelinking" = yes; then
9868 # Warning - without using the other runtime loading flags (-brtl),
9869 # -berok will link without error, but may produce a broken library.
9870 allow_undefined_flag='-berok'
9871 # Determine the default libpath from the value encoded in an
9872 # empty executable.
9873 if test x$gcc_no_link = xyes; then
9874 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9875 fi
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9878
9879 int
9880 main ()
9881 {
9882
9883 ;
9884 return 0;
9885 }
9886 _ACEOF
9887 if ac_fn_c_try_link "$LINENO"; then :
9888
9889 lt_aix_libpath_sed='
9890 /Import File Strings/,/^$/ {
9891 /^0/ {
9892 s/^0 *\(.*\)$/\1/
9893 p
9894 }
9895 }'
9896 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9897 # Check for a 64-bit object if we didn't find anything.
9898 if test -z "$aix_libpath"; then
9899 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9900 fi
9901 fi
9902 rm -f core conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9904 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9905
9906 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9907 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"
9908 else
9909 if test "$host_cpu" = ia64; then
9910 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9911 allow_undefined_flag="-z nodefs"
9912 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"
9913 else
9914 # Determine the default libpath from the value encoded in an
9915 # empty executable.
9916 if test x$gcc_no_link = xyes; then
9917 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9918 fi
9919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9921
9922 int
9923 main ()
9924 {
9925
9926 ;
9927 return 0;
9928 }
9929 _ACEOF
9930 if ac_fn_c_try_link "$LINENO"; then :
9931
9932 lt_aix_libpath_sed='
9933 /Import File Strings/,/^$/ {
9934 /^0/ {
9935 s/^0 *\(.*\)$/\1/
9936 p
9937 }
9938 }'
9939 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9940 # Check for a 64-bit object if we didn't find anything.
9941 if test -z "$aix_libpath"; then
9942 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9943 fi
9944 fi
9945 rm -f core conftest.err conftest.$ac_objext \
9946 conftest$ac_exeext conftest.$ac_ext
9947 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9948
9949 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9950 # Warning - without using the other run time loading flags,
9951 # -berok will link without error, but may produce a broken library.
9952 no_undefined_flag=' ${wl}-bernotok'
9953 allow_undefined_flag=' ${wl}-berok'
9954 if test "$with_gnu_ld" = yes; then
9955 # We only use this code for GNU lds that support --whole-archive.
9956 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9957 else
9958 # Exported symbols can be pulled into shared objects from archives
9959 whole_archive_flag_spec='$convenience'
9960 fi
9961 archive_cmds_need_lc=yes
9962 # This is similar to how AIX traditionally builds its shared libraries.
9963 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'
9964 fi
9965 fi
9966 ;;
9967
9968 amigaos*)
9969 case $host_cpu in
9970 powerpc)
9971 # see comment about AmigaOS4 .so support
9972 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9973 archive_expsym_cmds=''
9974 ;;
9975 m68k)
9976 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)'
9977 hardcode_libdir_flag_spec='-L$libdir'
9978 hardcode_minus_L=yes
9979 ;;
9980 esac
9981 ;;
9982
9983 bsdi[45]*)
9984 export_dynamic_flag_spec=-rdynamic
9985 ;;
9986
9987 cygwin* | mingw* | pw32* | cegcc*)
9988 # When not using gcc, we currently assume that we are using
9989 # Microsoft Visual C++.
9990 # hardcode_libdir_flag_spec is actually meaningless, as there is
9991 # no search path for DLLs.
9992 hardcode_libdir_flag_spec=' '
9993 allow_undefined_flag=unsupported
9994 # Tell ltmain to make .lib files, not .a files.
9995 libext=lib
9996 # Tell ltmain to make .dll files, not .so files.
9997 shrext_cmds=".dll"
9998 # FIXME: Setting linknames here is a bad hack.
9999 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10000 # The linker will automatically build a .lib file if we build a DLL.
10001 old_archive_from_new_cmds='true'
10002 # FIXME: Should let the user specify the lib program.
10003 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10004 fix_srcfile_path='`cygpath -w "$srcfile"`'
10005 enable_shared_with_static_runtimes=yes
10006 ;;
10007
10008 darwin* | rhapsody*)
10009
10010
10011 archive_cmds_need_lc=no
10012 hardcode_direct=no
10013 hardcode_automatic=yes
10014 hardcode_shlibpath_var=unsupported
10015 if test "$lt_cv_ld_force_load" = "yes"; then
10016 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\"`'
10017 else
10018 whole_archive_flag_spec=''
10019 fi
10020 link_all_deplibs=yes
10021 allow_undefined_flag="$_lt_dar_allow_undefined"
10022 case $cc_basename in
10023 ifort*) _lt_dar_can_shared=yes ;;
10024 *) _lt_dar_can_shared=$GCC ;;
10025 esac
10026 if test "$_lt_dar_can_shared" = "yes"; then
10027 output_verbose_link_cmd=func_echo_all
10028 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10029 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10030 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}"
10031 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}"
10032
10033 else
10034 ld_shlibs=no
10035 fi
10036
10037 ;;
10038
10039 dgux*)
10040 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10041 hardcode_libdir_flag_spec='-L$libdir'
10042 hardcode_shlibpath_var=no
10043 ;;
10044
10045 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10046 # support. Future versions do this automatically, but an explicit c++rt0.o
10047 # does not break anything, and helps significantly (at the cost of a little
10048 # extra space).
10049 freebsd2.2*)
10050 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10051 hardcode_libdir_flag_spec='-R$libdir'
10052 hardcode_direct=yes
10053 hardcode_shlibpath_var=no
10054 ;;
10055
10056 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10057 freebsd2.*)
10058 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_direct=yes
10060 hardcode_minus_L=yes
10061 hardcode_shlibpath_var=no
10062 ;;
10063
10064 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10065 freebsd* | dragonfly*)
10066 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10067 hardcode_libdir_flag_spec='-R$libdir'
10068 hardcode_direct=yes
10069 hardcode_shlibpath_var=no
10070 ;;
10071
10072 hpux9*)
10073 if test "$GCC" = yes; then
10074 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'
10075 else
10076 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'
10077 fi
10078 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10079 hardcode_libdir_separator=:
10080 hardcode_direct=yes
10081
10082 # hardcode_minus_L: Not really in the search PATH,
10083 # but as the default location of the library.
10084 hardcode_minus_L=yes
10085 export_dynamic_flag_spec='${wl}-E'
10086 ;;
10087
10088 hpux10*)
10089 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10090 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10091 else
10092 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10093 fi
10094 if test "$with_gnu_ld" = no; then
10095 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10096 hardcode_libdir_flag_spec_ld='+b $libdir'
10097 hardcode_libdir_separator=:
10098 hardcode_direct=yes
10099 hardcode_direct_absolute=yes
10100 export_dynamic_flag_spec='${wl}-E'
10101 # hardcode_minus_L: Not really in the search PATH,
10102 # but as the default location of the library.
10103 hardcode_minus_L=yes
10104 fi
10105 ;;
10106
10107 hpux11*)
10108 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10109 case $host_cpu in
10110 hppa*64*)
10111 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10112 ;;
10113 ia64*)
10114 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10115 ;;
10116 *)
10117 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10118 ;;
10119 esac
10120 else
10121 case $host_cpu in
10122 hppa*64*)
10123 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10124 ;;
10125 ia64*)
10126 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10127 ;;
10128 *)
10129
10130 # Older versions of the 11.00 compiler do not understand -b yet
10131 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10133 $as_echo_n "checking if $CC understands -b... " >&6; }
10134 if ${lt_cv_prog_compiler__b+:} false; then :
10135 $as_echo_n "(cached) " >&6
10136 else
10137 lt_cv_prog_compiler__b=no
10138 save_LDFLAGS="$LDFLAGS"
10139 LDFLAGS="$LDFLAGS -b"
10140 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10141 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10142 # The linker can only warn and ignore the option if not recognized
10143 # So say no if there are warnings
10144 if test -s conftest.err; then
10145 # Append any errors to the config.log.
10146 cat conftest.err 1>&5
10147 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10148 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10149 if diff conftest.exp conftest.er2 >/dev/null; then
10150 lt_cv_prog_compiler__b=yes
10151 fi
10152 else
10153 lt_cv_prog_compiler__b=yes
10154 fi
10155 fi
10156 $RM -r conftest*
10157 LDFLAGS="$save_LDFLAGS"
10158
10159 fi
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10161 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10162
10163 if test x"$lt_cv_prog_compiler__b" = xyes; then
10164 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10165 else
10166 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10167 fi
10168
10169 ;;
10170 esac
10171 fi
10172 if test "$with_gnu_ld" = no; then
10173 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10174 hardcode_libdir_separator=:
10175
10176 case $host_cpu in
10177 hppa*64*|ia64*)
10178 hardcode_direct=no
10179 hardcode_shlibpath_var=no
10180 ;;
10181 *)
10182 hardcode_direct=yes
10183 hardcode_direct_absolute=yes
10184 export_dynamic_flag_spec='${wl}-E'
10185
10186 # hardcode_minus_L: Not really in the search PATH,
10187 # but as the default location of the library.
10188 hardcode_minus_L=yes
10189 ;;
10190 esac
10191 fi
10192 ;;
10193
10194 irix5* | irix6* | nonstopux*)
10195 if test "$GCC" = yes; then
10196 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'
10197 # Try to use the -exported_symbol ld option, if it does not
10198 # work, assume that -exports_file does not work either and
10199 # implicitly export all symbols.
10200 save_LDFLAGS="$LDFLAGS"
10201 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10202 if test x$gcc_no_link = xyes; then
10203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10204 fi
10205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10206 /* end confdefs.h. */
10207 int foo(void) {}
10208 _ACEOF
10209 if ac_fn_c_try_link "$LINENO"; then :
10210 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'
10211
10212 fi
10213 rm -f core conftest.err conftest.$ac_objext \
10214 conftest$ac_exeext conftest.$ac_ext
10215 LDFLAGS="$save_LDFLAGS"
10216 else
10217 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'
10218 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'
10219 fi
10220 archive_cmds_need_lc='no'
10221 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10222 hardcode_libdir_separator=:
10223 inherit_rpath=yes
10224 link_all_deplibs=yes
10225 ;;
10226
10227 netbsd*)
10228 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10229 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10230 else
10231 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10232 fi
10233 hardcode_libdir_flag_spec='-R$libdir'
10234 hardcode_direct=yes
10235 hardcode_shlibpath_var=no
10236 ;;
10237
10238 newsos6)
10239 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10240 hardcode_direct=yes
10241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10242 hardcode_libdir_separator=:
10243 hardcode_shlibpath_var=no
10244 ;;
10245
10246 *nto* | *qnx*)
10247 ;;
10248
10249 openbsd*)
10250 if test -f /usr/libexec/ld.so; then
10251 hardcode_direct=yes
10252 hardcode_shlibpath_var=no
10253 hardcode_direct_absolute=yes
10254 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10255 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10256 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10257 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10258 export_dynamic_flag_spec='${wl}-E'
10259 else
10260 case $host_os in
10261 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10262 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10263 hardcode_libdir_flag_spec='-R$libdir'
10264 ;;
10265 *)
10266 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10267 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10268 ;;
10269 esac
10270 fi
10271 else
10272 ld_shlibs=no
10273 fi
10274 ;;
10275
10276 os2*)
10277 hardcode_libdir_flag_spec='-L$libdir'
10278 hardcode_minus_L=yes
10279 allow_undefined_flag=unsupported
10280 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'
10281 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10282 ;;
10283
10284 osf3*)
10285 if test "$GCC" = yes; then
10286 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10287 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'
10288 else
10289 allow_undefined_flag=' -expect_unresolved \*'
10290 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'
10291 fi
10292 archive_cmds_need_lc='no'
10293 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10294 hardcode_libdir_separator=:
10295 ;;
10296
10297 osf4* | osf5*) # as osf3* with the addition of -msym flag
10298 if test "$GCC" = yes; then
10299 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10300 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'
10301 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10302 else
10303 allow_undefined_flag=' -expect_unresolved \*'
10304 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'
10305 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~
10306 $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'
10307
10308 # Both c and cxx compiler support -rpath directly
10309 hardcode_libdir_flag_spec='-rpath $libdir'
10310 fi
10311 archive_cmds_need_lc='no'
10312 hardcode_libdir_separator=:
10313 ;;
10314
10315 solaris*)
10316 no_undefined_flag=' -z defs'
10317 if test "$GCC" = yes; then
10318 wlarc='${wl}'
10319 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10320 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10321 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10322 else
10323 case `$CC -V 2>&1` in
10324 *"Compilers 5.0"*)
10325 wlarc=''
10326 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10327 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10328 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10329 ;;
10330 *)
10331 wlarc='${wl}'
10332 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10333 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10334 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10335 ;;
10336 esac
10337 fi
10338 hardcode_libdir_flag_spec='-R$libdir'
10339 hardcode_shlibpath_var=no
10340 case $host_os in
10341 solaris2.[0-5] | solaris2.[0-5].*) ;;
10342 *)
10343 # The compiler driver will combine and reorder linker options,
10344 # but understands `-z linker_flag'. GCC discards it without `$wl',
10345 # but is careful enough not to reorder.
10346 # Supported since Solaris 2.6 (maybe 2.5.1?)
10347 if test "$GCC" = yes; then
10348 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10349 else
10350 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10351 fi
10352 ;;
10353 esac
10354 link_all_deplibs=yes
10355 ;;
10356
10357 sunos4*)
10358 if test "x$host_vendor" = xsequent; then
10359 # Use $CC to link under sequent, because it throws in some extra .o
10360 # files that make .init and .fini sections work.
10361 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10362 else
10363 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10364 fi
10365 hardcode_libdir_flag_spec='-L$libdir'
10366 hardcode_direct=yes
10367 hardcode_minus_L=yes
10368 hardcode_shlibpath_var=no
10369 ;;
10370
10371 sysv4)
10372 case $host_vendor in
10373 sni)
10374 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10375 hardcode_direct=yes # is this really true???
10376 ;;
10377 siemens)
10378 ## LD is ld it makes a PLAMLIB
10379 ## CC just makes a GrossModule.
10380 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10381 reload_cmds='$CC -r -o $output$reload_objs'
10382 hardcode_direct=no
10383 ;;
10384 motorola)
10385 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10386 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10387 ;;
10388 esac
10389 runpath_var='LD_RUN_PATH'
10390 hardcode_shlibpath_var=no
10391 ;;
10392
10393 sysv4.3*)
10394 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10395 hardcode_shlibpath_var=no
10396 export_dynamic_flag_spec='-Bexport'
10397 ;;
10398
10399 sysv4*MP*)
10400 if test -d /usr/nec; then
10401 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10402 hardcode_shlibpath_var=no
10403 runpath_var=LD_RUN_PATH
10404 hardcode_runpath_var=yes
10405 ld_shlibs=yes
10406 fi
10407 ;;
10408
10409 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10410 no_undefined_flag='${wl}-z,text'
10411 archive_cmds_need_lc=no
10412 hardcode_shlibpath_var=no
10413 runpath_var='LD_RUN_PATH'
10414
10415 if test "$GCC" = yes; then
10416 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10417 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10418 else
10419 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10420 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10421 fi
10422 ;;
10423
10424 sysv5* | sco3.2v5* | sco5v6*)
10425 # Note: We can NOT use -z defs as we might desire, because we do not
10426 # link with -lc, and that would cause any symbols used from libc to
10427 # always be unresolved, which means just about no library would
10428 # ever link correctly. If we're not using GNU ld we use -z text
10429 # though, which does catch some bad symbols but isn't as heavy-handed
10430 # as -z defs.
10431 no_undefined_flag='${wl}-z,text'
10432 allow_undefined_flag='${wl}-z,nodefs'
10433 archive_cmds_need_lc=no
10434 hardcode_shlibpath_var=no
10435 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10436 hardcode_libdir_separator=':'
10437 link_all_deplibs=yes
10438 export_dynamic_flag_spec='${wl}-Bexport'
10439 runpath_var='LD_RUN_PATH'
10440
10441 if test "$GCC" = yes; then
10442 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10443 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10444 else
10445 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10446 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10447 fi
10448 ;;
10449
10450 uts4*)
10451 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10452 hardcode_libdir_flag_spec='-L$libdir'
10453 hardcode_shlibpath_var=no
10454 ;;
10455
10456 *)
10457 ld_shlibs=no
10458 ;;
10459 esac
10460
10461 if test x$host_vendor = xsni; then
10462 case $host in
10463 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10464 export_dynamic_flag_spec='${wl}-Blargedynsym'
10465 ;;
10466 esac
10467 fi
10468 fi
10469
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10471 $as_echo "$ld_shlibs" >&6; }
10472 test "$ld_shlibs" = no && can_build_shared=no
10473
10474 with_gnu_ld=$with_gnu_ld
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490 #
10491 # Do we need to explicitly link libc?
10492 #
10493 case "x$archive_cmds_need_lc" in
10494 x|xyes)
10495 # Assume -lc should be added
10496 archive_cmds_need_lc=yes
10497
10498 if test "$enable_shared" = yes && test "$GCC" = yes; then
10499 case $archive_cmds in
10500 *'~'*)
10501 # FIXME: we may have to deal with multi-command sequences.
10502 ;;
10503 '$CC '*)
10504 # Test whether the compiler implicitly links with -lc since on some
10505 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10506 # to ld, don't add -lc before -lgcc.
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10508 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10509 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10510 $as_echo_n "(cached) " >&6
10511 else
10512 $RM conftest*
10513 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10514
10515 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10516 (eval $ac_compile) 2>&5
10517 ac_status=$?
10518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10519 test $ac_status = 0; } 2>conftest.err; then
10520 soname=conftest
10521 lib=conftest
10522 libobjs=conftest.$ac_objext
10523 deplibs=
10524 wl=$lt_prog_compiler_wl
10525 pic_flag=$lt_prog_compiler_pic
10526 compiler_flags=-v
10527 linker_flags=-v
10528 verstring=
10529 output_objdir=.
10530 libname=conftest
10531 lt_save_allow_undefined_flag=$allow_undefined_flag
10532 allow_undefined_flag=
10533 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10534 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10535 ac_status=$?
10536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10537 test $ac_status = 0; }
10538 then
10539 lt_cv_archive_cmds_need_lc=no
10540 else
10541 lt_cv_archive_cmds_need_lc=yes
10542 fi
10543 allow_undefined_flag=$lt_save_allow_undefined_flag
10544 else
10545 cat conftest.err 1>&5
10546 fi
10547 $RM conftest*
10548
10549 fi
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10551 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10552 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10553 ;;
10554 esac
10555 fi
10556 ;;
10557 esac
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10716 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10717
10718 if test "$GCC" = yes; then
10719 case $host_os in
10720 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10721 *) lt_awk_arg="/^libraries:/" ;;
10722 esac
10723 case $host_os in
10724 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10725 *) lt_sed_strip_eq="s,=/,/,g" ;;
10726 esac
10727 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10728 case $lt_search_path_spec in
10729 *\;*)
10730 # if the path contains ";" then we assume it to be the separator
10731 # otherwise default to the standard path separator (i.e. ":") - it is
10732 # assumed that no part of a normal pathname contains ";" but that should
10733 # okay in the real world where ";" in dirpaths is itself problematic.
10734 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10735 ;;
10736 *)
10737 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10738 ;;
10739 esac
10740 # Ok, now we have the path, separated by spaces, we can step through it
10741 # and add multilib dir if necessary.
10742 lt_tmp_lt_search_path_spec=
10743 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10744 for lt_sys_path in $lt_search_path_spec; do
10745 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10746 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10747 else
10748 test -d "$lt_sys_path" && \
10749 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10750 fi
10751 done
10752 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10753 BEGIN {RS=" "; FS="/|\n";} {
10754 lt_foo="";
10755 lt_count=0;
10756 for (lt_i = NF; lt_i > 0; lt_i--) {
10757 if ($lt_i != "" && $lt_i != ".") {
10758 if ($lt_i == "..") {
10759 lt_count++;
10760 } else {
10761 if (lt_count == 0) {
10762 lt_foo="/" $lt_i lt_foo;
10763 } else {
10764 lt_count--;
10765 }
10766 }
10767 }
10768 }
10769 if (lt_foo != "") { lt_freq[lt_foo]++; }
10770 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10771 }'`
10772 # AWK program above erroneously prepends '/' to C:/dos/paths
10773 # for these hosts.
10774 case $host_os in
10775 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10776 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10777 esac
10778 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10779 else
10780 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10781 fi
10782 library_names_spec=
10783 libname_spec='lib$name'
10784 soname_spec=
10785 shrext_cmds=".so"
10786 postinstall_cmds=
10787 postuninstall_cmds=
10788 finish_cmds=
10789 finish_eval=
10790 shlibpath_var=
10791 shlibpath_overrides_runpath=unknown
10792 version_type=none
10793 dynamic_linker="$host_os ld.so"
10794 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10795 need_lib_prefix=unknown
10796 hardcode_into_libs=no
10797
10798 # when you set need_version to no, make sure it does not cause -set_version
10799 # flags to be left without arguments
10800 need_version=unknown
10801
10802 case $host_os in
10803 aix3*)
10804 version_type=linux
10805 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10806 shlibpath_var=LIBPATH
10807
10808 # AIX 3 has no versioning support, so we append a major version to the name.
10809 soname_spec='${libname}${release}${shared_ext}$major'
10810 ;;
10811
10812 aix[4-9]*)
10813 version_type=linux
10814 need_lib_prefix=no
10815 need_version=no
10816 hardcode_into_libs=yes
10817 if test "$host_cpu" = ia64; then
10818 # AIX 5 supports IA64
10819 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10820 shlibpath_var=LD_LIBRARY_PATH
10821 else
10822 # With GCC up to 2.95.x, collect2 would create an import file
10823 # for dependence libraries. The import file would start with
10824 # the line `#! .'. This would cause the generated library to
10825 # depend on `.', always an invalid library. This was fixed in
10826 # development snapshots of GCC prior to 3.0.
10827 case $host_os in
10828 aix4 | aix4.[01] | aix4.[01].*)
10829 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10830 echo ' yes '
10831 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10832 :
10833 else
10834 can_build_shared=no
10835 fi
10836 ;;
10837 esac
10838 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10839 # soname into executable. Probably we can add versioning support to
10840 # collect2, so additional links can be useful in future.
10841 if test "$aix_use_runtimelinking" = yes; then
10842 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10843 # instead of lib<name>.a to let people know that these are not
10844 # typical AIX shared libraries.
10845 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10846 else
10847 # We preserve .a as extension for shared libraries through AIX4.2
10848 # and later when we are not doing run time linking.
10849 library_names_spec='${libname}${release}.a $libname.a'
10850 soname_spec='${libname}${release}${shared_ext}$major'
10851 fi
10852 shlibpath_var=LIBPATH
10853 fi
10854 ;;
10855
10856 amigaos*)
10857 case $host_cpu in
10858 powerpc)
10859 # Since July 2007 AmigaOS4 officially supports .so libraries.
10860 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10862 ;;
10863 m68k)
10864 library_names_spec='$libname.ixlibrary $libname.a'
10865 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10866 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'
10867 ;;
10868 esac
10869 ;;
10870
10871 beos*)
10872 library_names_spec='${libname}${shared_ext}'
10873 dynamic_linker="$host_os ld.so"
10874 shlibpath_var=LIBRARY_PATH
10875 ;;
10876
10877 bsdi[45]*)
10878 version_type=linux
10879 need_version=no
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881 soname_spec='${libname}${release}${shared_ext}$major'
10882 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10883 shlibpath_var=LD_LIBRARY_PATH
10884 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10885 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10886 # the default ld.so.conf also contains /usr/contrib/lib and
10887 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10888 # libtool to hard-code these into programs
10889 ;;
10890
10891 cygwin* | mingw* | pw32* | cegcc*)
10892 version_type=windows
10893 shrext_cmds=".dll"
10894 need_version=no
10895 need_lib_prefix=no
10896
10897 case $GCC,$host_os in
10898 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10899 library_names_spec='$libname.dll.a'
10900 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10901 postinstall_cmds='base_file=`basename \${file}`~
10902 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10903 dldir=$destdir/`dirname \$dlpath`~
10904 test -d \$dldir || mkdir -p \$dldir~
10905 $install_prog $dir/$dlname \$dldir/$dlname~
10906 chmod a+x \$dldir/$dlname~
10907 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10908 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10909 fi'
10910 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10911 dlpath=$dir/\$dldll~
10912 $RM \$dlpath'
10913 shlibpath_overrides_runpath=yes
10914
10915 case $host_os in
10916 cygwin*)
10917 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10918 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10919
10920 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10921 ;;
10922 mingw* | cegcc*)
10923 # MinGW DLLs use traditional 'lib' prefix
10924 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10925 ;;
10926 pw32*)
10927 # pw32 DLLs use 'pw' prefix rather than 'lib'
10928 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10929 ;;
10930 esac
10931 ;;
10932
10933 *)
10934 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10935 ;;
10936 esac
10937 dynamic_linker='Win32 ld.exe'
10938 # FIXME: first we should search . and the directory the executable is in
10939 shlibpath_var=PATH
10940 ;;
10941
10942 darwin* | rhapsody*)
10943 dynamic_linker="$host_os dyld"
10944 version_type=darwin
10945 need_lib_prefix=no
10946 need_version=no
10947 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10948 soname_spec='${libname}${release}${major}$shared_ext'
10949 shlibpath_overrides_runpath=yes
10950 shlibpath_var=DYLD_LIBRARY_PATH
10951 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10952
10953 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10954 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10955 ;;
10956
10957 dgux*)
10958 version_type=linux
10959 need_lib_prefix=no
10960 need_version=no
10961 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10962 soname_spec='${libname}${release}${shared_ext}$major'
10963 shlibpath_var=LD_LIBRARY_PATH
10964 ;;
10965
10966 freebsd* | dragonfly*)
10967 # DragonFly does not have aout. When/if they implement a new
10968 # versioning mechanism, adjust this.
10969 if test -x /usr/bin/objformat; then
10970 objformat=`/usr/bin/objformat`
10971 else
10972 case $host_os in
10973 freebsd[23].*) objformat=aout ;;
10974 *) objformat=elf ;;
10975 esac
10976 fi
10977 version_type=freebsd-$objformat
10978 case $version_type in
10979 freebsd-elf*)
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10981 need_version=no
10982 need_lib_prefix=no
10983 ;;
10984 freebsd-*)
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10986 need_version=yes
10987 ;;
10988 esac
10989 shlibpath_var=LD_LIBRARY_PATH
10990 case $host_os in
10991 freebsd2.*)
10992 shlibpath_overrides_runpath=yes
10993 ;;
10994 freebsd3.[01]* | freebsdelf3.[01]*)
10995 shlibpath_overrides_runpath=yes
10996 hardcode_into_libs=yes
10997 ;;
10998 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10999 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11000 shlibpath_overrides_runpath=no
11001 hardcode_into_libs=yes
11002 ;;
11003 *) # from 4.6 on, and DragonFly
11004 shlibpath_overrides_runpath=yes
11005 hardcode_into_libs=yes
11006 ;;
11007 esac
11008 ;;
11009
11010 gnu*)
11011 version_type=linux
11012 need_lib_prefix=no
11013 need_version=no
11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11015 soname_spec='${libname}${release}${shared_ext}$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 hardcode_into_libs=yes
11018 ;;
11019
11020 haiku*)
11021 version_type=linux
11022 need_lib_prefix=no
11023 need_version=no
11024 dynamic_linker="$host_os runtime_loader"
11025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11026 soname_spec='${libname}${release}${shared_ext}$major'
11027 shlibpath_var=LIBRARY_PATH
11028 shlibpath_overrides_runpath=yes
11029 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11030 hardcode_into_libs=yes
11031 ;;
11032
11033 hpux9* | hpux10* | hpux11*)
11034 # Give a soname corresponding to the major version so that dld.sl refuses to
11035 # link against other versions.
11036 version_type=sunos
11037 need_lib_prefix=no
11038 need_version=no
11039 case $host_cpu in
11040 ia64*)
11041 shrext_cmds='.so'
11042 hardcode_into_libs=yes
11043 dynamic_linker="$host_os dld.so"
11044 shlibpath_var=LD_LIBRARY_PATH
11045 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11047 soname_spec='${libname}${release}${shared_ext}$major'
11048 if test "X$HPUX_IA64_MODE" = X32; then
11049 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11050 else
11051 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11052 fi
11053 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11054 ;;
11055 hppa*64*)
11056 shrext_cmds='.sl'
11057 hardcode_into_libs=yes
11058 dynamic_linker="$host_os dld.sl"
11059 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11060 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062 soname_spec='${libname}${release}${shared_ext}$major'
11063 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11064 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11065 ;;
11066 *)
11067 shrext_cmds='.sl'
11068 dynamic_linker="$host_os dld.sl"
11069 shlibpath_var=SHLIB_PATH
11070 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072 soname_spec='${libname}${release}${shared_ext}$major'
11073 ;;
11074 esac
11075 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11076 postinstall_cmds='chmod 555 $lib'
11077 # or fails outright, so override atomically:
11078 install_override_mode=555
11079 ;;
11080
11081 interix[3-9]*)
11082 version_type=linux
11083 need_lib_prefix=no
11084 need_version=no
11085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11086 soname_spec='${libname}${release}${shared_ext}$major'
11087 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11088 shlibpath_var=LD_LIBRARY_PATH
11089 shlibpath_overrides_runpath=no
11090 hardcode_into_libs=yes
11091 ;;
11092
11093 irix5* | irix6* | nonstopux*)
11094 case $host_os in
11095 nonstopux*) version_type=nonstopux ;;
11096 *)
11097 if test "$lt_cv_prog_gnu_ld" = yes; then
11098 version_type=linux
11099 else
11100 version_type=irix
11101 fi ;;
11102 esac
11103 need_lib_prefix=no
11104 need_version=no
11105 soname_spec='${libname}${release}${shared_ext}$major'
11106 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11107 case $host_os in
11108 irix5* | nonstopux*)
11109 libsuff= shlibsuff=
11110 ;;
11111 *)
11112 case $LD in # libtool.m4 will add one of these switches to LD
11113 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11114 libsuff= shlibsuff= libmagic=32-bit;;
11115 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11116 libsuff=32 shlibsuff=N32 libmagic=N32;;
11117 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11118 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11119 *) libsuff= shlibsuff= libmagic=never-match;;
11120 esac
11121 ;;
11122 esac
11123 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11124 shlibpath_overrides_runpath=no
11125 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11126 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11127 hardcode_into_libs=yes
11128 ;;
11129
11130 # No shared lib support for Linux oldld, aout, or coff.
11131 linux*oldld* | linux*aout* | linux*coff*)
11132 dynamic_linker=no
11133 ;;
11134
11135 # This must be Linux ELF.
11136 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11137 version_type=linux
11138 need_lib_prefix=no
11139 need_version=no
11140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11141 soname_spec='${libname}${release}${shared_ext}$major'
11142 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11143 shlibpath_var=LD_LIBRARY_PATH
11144 shlibpath_overrides_runpath=no
11145
11146 # Some binutils ld are patched to set DT_RUNPATH
11147 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11148 $as_echo_n "(cached) " >&6
11149 else
11150 lt_cv_shlibpath_overrides_runpath=no
11151 save_LDFLAGS=$LDFLAGS
11152 save_libdir=$libdir
11153 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11154 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11155 if test x$gcc_no_link = xyes; then
11156 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11157 fi
11158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h. */
11160
11161 int
11162 main ()
11163 {
11164
11165 ;
11166 return 0;
11167 }
11168 _ACEOF
11169 if ac_fn_c_try_link "$LINENO"; then :
11170 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11171 lt_cv_shlibpath_overrides_runpath=yes
11172 fi
11173 fi
11174 rm -f core conftest.err conftest.$ac_objext \
11175 conftest$ac_exeext conftest.$ac_ext
11176 LDFLAGS=$save_LDFLAGS
11177 libdir=$save_libdir
11178
11179 fi
11180
11181 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11182
11183 # This implies no fast_install, which is unacceptable.
11184 # Some rework will be needed to allow for fast_install
11185 # before this can be enabled.
11186 hardcode_into_libs=yes
11187
11188 # Append ld.so.conf contents to the search path
11189 if test -f /etc/ld.so.conf; then
11190 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' ' '`
11191 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11192 fi
11193
11194 # We used to test for /lib/ld.so.1 and disable shared libraries on
11195 # powerpc, because MkLinux only supported shared libraries with the
11196 # GNU dynamic linker. Since this was broken with cross compilers,
11197 # most powerpc-linux boxes support dynamic linking these days and
11198 # people can always --disable-shared, the test was removed, and we
11199 # assume the GNU/Linux dynamic linker is in use.
11200 dynamic_linker='GNU/Linux ld.so'
11201 ;;
11202
11203 netbsd*)
11204 version_type=sunos
11205 need_lib_prefix=no
11206 need_version=no
11207 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11209 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11210 dynamic_linker='NetBSD (a.out) ld.so'
11211 else
11212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11213 soname_spec='${libname}${release}${shared_ext}$major'
11214 dynamic_linker='NetBSD ld.elf_so'
11215 fi
11216 shlibpath_var=LD_LIBRARY_PATH
11217 shlibpath_overrides_runpath=yes
11218 hardcode_into_libs=yes
11219 ;;
11220
11221 newsos6)
11222 version_type=linux
11223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11224 shlibpath_var=LD_LIBRARY_PATH
11225 shlibpath_overrides_runpath=yes
11226 ;;
11227
11228 *nto* | *qnx*)
11229 version_type=qnx
11230 need_lib_prefix=no
11231 need_version=no
11232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11233 soname_spec='${libname}${release}${shared_ext}$major'
11234 shlibpath_var=LD_LIBRARY_PATH
11235 shlibpath_overrides_runpath=no
11236 hardcode_into_libs=yes
11237 dynamic_linker='ldqnx.so'
11238 ;;
11239
11240 openbsd*)
11241 version_type=sunos
11242 sys_lib_dlsearch_path_spec="/usr/lib"
11243 need_lib_prefix=no
11244 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11245 case $host_os in
11246 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11247 *) need_version=no ;;
11248 esac
11249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11250 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11251 shlibpath_var=LD_LIBRARY_PATH
11252 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11253 case $host_os in
11254 openbsd2.[89] | openbsd2.[89].*)
11255 shlibpath_overrides_runpath=no
11256 ;;
11257 *)
11258 shlibpath_overrides_runpath=yes
11259 ;;
11260 esac
11261 else
11262 shlibpath_overrides_runpath=yes
11263 fi
11264 ;;
11265
11266 os2*)
11267 libname_spec='$name'
11268 shrext_cmds=".dll"
11269 need_lib_prefix=no
11270 library_names_spec='$libname${shared_ext} $libname.a'
11271 dynamic_linker='OS/2 ld.exe'
11272 shlibpath_var=LIBPATH
11273 ;;
11274
11275 osf3* | osf4* | osf5*)
11276 version_type=osf
11277 need_lib_prefix=no
11278 need_version=no
11279 soname_spec='${libname}${release}${shared_ext}$major'
11280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11281 shlibpath_var=LD_LIBRARY_PATH
11282 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11283 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11284 ;;
11285
11286 rdos*)
11287 dynamic_linker=no
11288 ;;
11289
11290 solaris*)
11291 version_type=linux
11292 need_lib_prefix=no
11293 need_version=no
11294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11295 soname_spec='${libname}${release}${shared_ext}$major'
11296 shlibpath_var=LD_LIBRARY_PATH
11297 shlibpath_overrides_runpath=yes
11298 hardcode_into_libs=yes
11299 # ldd complains unless libraries are executable
11300 postinstall_cmds='chmod +x $lib'
11301 ;;
11302
11303 sunos4*)
11304 version_type=sunos
11305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11306 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11307 shlibpath_var=LD_LIBRARY_PATH
11308 shlibpath_overrides_runpath=yes
11309 if test "$with_gnu_ld" = yes; then
11310 need_lib_prefix=no
11311 fi
11312 need_version=yes
11313 ;;
11314
11315 sysv4 | sysv4.3*)
11316 version_type=linux
11317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11318 soname_spec='${libname}${release}${shared_ext}$major'
11319 shlibpath_var=LD_LIBRARY_PATH
11320 case $host_vendor in
11321 sni)
11322 shlibpath_overrides_runpath=no
11323 need_lib_prefix=no
11324 runpath_var=LD_RUN_PATH
11325 ;;
11326 siemens)
11327 need_lib_prefix=no
11328 ;;
11329 motorola)
11330 need_lib_prefix=no
11331 need_version=no
11332 shlibpath_overrides_runpath=no
11333 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11334 ;;
11335 esac
11336 ;;
11337
11338 sysv4*MP*)
11339 if test -d /usr/nec ;then
11340 version_type=linux
11341 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11342 soname_spec='$libname${shared_ext}.$major'
11343 shlibpath_var=LD_LIBRARY_PATH
11344 fi
11345 ;;
11346
11347 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11348 version_type=freebsd-elf
11349 need_lib_prefix=no
11350 need_version=no
11351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11352 soname_spec='${libname}${release}${shared_ext}$major'
11353 shlibpath_var=LD_LIBRARY_PATH
11354 shlibpath_overrides_runpath=yes
11355 hardcode_into_libs=yes
11356 if test "$with_gnu_ld" = yes; then
11357 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11358 else
11359 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11360 case $host_os in
11361 sco3.2v5*)
11362 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11363 ;;
11364 esac
11365 fi
11366 sys_lib_dlsearch_path_spec='/usr/lib'
11367 ;;
11368
11369 tpf*)
11370 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11371 version_type=linux
11372 need_lib_prefix=no
11373 need_version=no
11374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11375 shlibpath_var=LD_LIBRARY_PATH
11376 shlibpath_overrides_runpath=no
11377 hardcode_into_libs=yes
11378 ;;
11379
11380 uts4*)
11381 version_type=linux
11382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11383 soname_spec='${libname}${release}${shared_ext}$major'
11384 shlibpath_var=LD_LIBRARY_PATH
11385 ;;
11386
11387 *)
11388 dynamic_linker=no
11389 ;;
11390 esac
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11392 $as_echo "$dynamic_linker" >&6; }
11393 test "$dynamic_linker" = no && can_build_shared=no
11394
11395 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11396 if test "$GCC" = yes; then
11397 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11398 fi
11399
11400 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11401 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11402 fi
11403 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11404 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11405 fi
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11499 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11500 hardcode_action=
11501 if test -n "$hardcode_libdir_flag_spec" ||
11502 test -n "$runpath_var" ||
11503 test "X$hardcode_automatic" = "Xyes" ; then
11504
11505 # We can hardcode non-existent directories.
11506 if test "$hardcode_direct" != no &&
11507 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11508 # have to relink, otherwise we might link with an installed library
11509 # when we should be linking with a yet-to-be-installed one
11510 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11511 test "$hardcode_minus_L" != no; then
11512 # Linking always hardcodes the temporary library directory.
11513 hardcode_action=relink
11514 else
11515 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11516 hardcode_action=immediate
11517 fi
11518 else
11519 # We cannot hardcode anything, or else we can only hardcode existing
11520 # directories.
11521 hardcode_action=unsupported
11522 fi
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11524 $as_echo "$hardcode_action" >&6; }
11525
11526 if test "$hardcode_action" = relink ||
11527 test "$inherit_rpath" = yes; then
11528 # Fast installation is not supported
11529 enable_fast_install=no
11530 elif test "$shlibpath_overrides_runpath" = yes ||
11531 test "$enable_shared" = no; then
11532 # Fast installation is not necessary
11533 enable_fast_install=needless
11534 fi
11535
11536
11537
11538
11539
11540
11541 if test "x$enable_dlopen" != xyes; then
11542 enable_dlopen=unknown
11543 enable_dlopen_self=unknown
11544 enable_dlopen_self_static=unknown
11545 else
11546 lt_cv_dlopen=no
11547 lt_cv_dlopen_libs=
11548
11549 case $host_os in
11550 beos*)
11551 lt_cv_dlopen="load_add_on"
11552 lt_cv_dlopen_libs=
11553 lt_cv_dlopen_self=yes
11554 ;;
11555
11556 mingw* | pw32* | cegcc*)
11557 lt_cv_dlopen="LoadLibrary"
11558 lt_cv_dlopen_libs=
11559 ;;
11560
11561 cygwin*)
11562 lt_cv_dlopen="dlopen"
11563 lt_cv_dlopen_libs=
11564 ;;
11565
11566 darwin*)
11567 # if libdl is installed we need to link against it
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11569 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11570 if ${ac_cv_lib_dl_dlopen+:} false; then :
11571 $as_echo_n "(cached) " >&6
11572 else
11573 ac_check_lib_save_LIBS=$LIBS
11574 LIBS="-ldl $LIBS"
11575 if test x$gcc_no_link = xyes; then
11576 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11577 fi
11578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11580
11581 /* Override any GCC internal prototype to avoid an error.
11582 Use char because int might match the return type of a GCC
11583 builtin and then its argument prototype would still apply. */
11584 #ifdef __cplusplus
11585 extern "C"
11586 #endif
11587 char dlopen ();
11588 int
11589 main ()
11590 {
11591 return dlopen ();
11592 ;
11593 return 0;
11594 }
11595 _ACEOF
11596 if ac_fn_c_try_link "$LINENO"; then :
11597 ac_cv_lib_dl_dlopen=yes
11598 else
11599 ac_cv_lib_dl_dlopen=no
11600 fi
11601 rm -f core conftest.err conftest.$ac_objext \
11602 conftest$ac_exeext conftest.$ac_ext
11603 LIBS=$ac_check_lib_save_LIBS
11604 fi
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11606 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11607 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11608 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11609 else
11610
11611 lt_cv_dlopen="dyld"
11612 lt_cv_dlopen_libs=
11613 lt_cv_dlopen_self=yes
11614
11615 fi
11616
11617 ;;
11618
11619 *)
11620 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11621 if test "x$ac_cv_func_shl_load" = xyes; then :
11622 lt_cv_dlopen="shl_load"
11623 else
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11625 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11626 if ${ac_cv_lib_dld_shl_load+:} false; then :
11627 $as_echo_n "(cached) " >&6
11628 else
11629 ac_check_lib_save_LIBS=$LIBS
11630 LIBS="-ldld $LIBS"
11631 if test x$gcc_no_link = xyes; then
11632 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11633 fi
11634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11635 /* end confdefs.h. */
11636
11637 /* Override any GCC internal prototype to avoid an error.
11638 Use char because int might match the return type of a GCC
11639 builtin and then its argument prototype would still apply. */
11640 #ifdef __cplusplus
11641 extern "C"
11642 #endif
11643 char shl_load ();
11644 int
11645 main ()
11646 {
11647 return shl_load ();
11648 ;
11649 return 0;
11650 }
11651 _ACEOF
11652 if ac_fn_c_try_link "$LINENO"; then :
11653 ac_cv_lib_dld_shl_load=yes
11654 else
11655 ac_cv_lib_dld_shl_load=no
11656 fi
11657 rm -f core conftest.err conftest.$ac_objext \
11658 conftest$ac_exeext conftest.$ac_ext
11659 LIBS=$ac_check_lib_save_LIBS
11660 fi
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11662 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11663 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11664 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11665 else
11666 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11667 if test "x$ac_cv_func_dlopen" = xyes; then :
11668 lt_cv_dlopen="dlopen"
11669 else
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11671 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11672 if ${ac_cv_lib_dl_dlopen+:} false; then :
11673 $as_echo_n "(cached) " >&6
11674 else
11675 ac_check_lib_save_LIBS=$LIBS
11676 LIBS="-ldl $LIBS"
11677 if test x$gcc_no_link = xyes; then
11678 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11679 fi
11680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11681 /* end confdefs.h. */
11682
11683 /* Override any GCC internal prototype to avoid an error.
11684 Use char because int might match the return type of a GCC
11685 builtin and then its argument prototype would still apply. */
11686 #ifdef __cplusplus
11687 extern "C"
11688 #endif
11689 char dlopen ();
11690 int
11691 main ()
11692 {
11693 return dlopen ();
11694 ;
11695 return 0;
11696 }
11697 _ACEOF
11698 if ac_fn_c_try_link "$LINENO"; then :
11699 ac_cv_lib_dl_dlopen=yes
11700 else
11701 ac_cv_lib_dl_dlopen=no
11702 fi
11703 rm -f core conftest.err conftest.$ac_objext \
11704 conftest$ac_exeext conftest.$ac_ext
11705 LIBS=$ac_check_lib_save_LIBS
11706 fi
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11708 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11709 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11710 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11711 else
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11713 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11714 if ${ac_cv_lib_svld_dlopen+:} false; then :
11715 $as_echo_n "(cached) " >&6
11716 else
11717 ac_check_lib_save_LIBS=$LIBS
11718 LIBS="-lsvld $LIBS"
11719 if test x$gcc_no_link = xyes; then
11720 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11721 fi
11722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11723 /* end confdefs.h. */
11724
11725 /* Override any GCC internal prototype to avoid an error.
11726 Use char because int might match the return type of a GCC
11727 builtin and then its argument prototype would still apply. */
11728 #ifdef __cplusplus
11729 extern "C"
11730 #endif
11731 char dlopen ();
11732 int
11733 main ()
11734 {
11735 return dlopen ();
11736 ;
11737 return 0;
11738 }
11739 _ACEOF
11740 if ac_fn_c_try_link "$LINENO"; then :
11741 ac_cv_lib_svld_dlopen=yes
11742 else
11743 ac_cv_lib_svld_dlopen=no
11744 fi
11745 rm -f core conftest.err conftest.$ac_objext \
11746 conftest$ac_exeext conftest.$ac_ext
11747 LIBS=$ac_check_lib_save_LIBS
11748 fi
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11750 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11751 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11752 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11753 else
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11755 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11756 if ${ac_cv_lib_dld_dld_link+:} false; then :
11757 $as_echo_n "(cached) " >&6
11758 else
11759 ac_check_lib_save_LIBS=$LIBS
11760 LIBS="-ldld $LIBS"
11761 if test x$gcc_no_link = xyes; then
11762 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11763 fi
11764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h. */
11766
11767 /* Override any GCC internal prototype to avoid an error.
11768 Use char because int might match the return type of a GCC
11769 builtin and then its argument prototype would still apply. */
11770 #ifdef __cplusplus
11771 extern "C"
11772 #endif
11773 char dld_link ();
11774 int
11775 main ()
11776 {
11777 return dld_link ();
11778 ;
11779 return 0;
11780 }
11781 _ACEOF
11782 if ac_fn_c_try_link "$LINENO"; then :
11783 ac_cv_lib_dld_dld_link=yes
11784 else
11785 ac_cv_lib_dld_dld_link=no
11786 fi
11787 rm -f core conftest.err conftest.$ac_objext \
11788 conftest$ac_exeext conftest.$ac_ext
11789 LIBS=$ac_check_lib_save_LIBS
11790 fi
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11792 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11793 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11794 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11795 fi
11796
11797
11798 fi
11799
11800
11801 fi
11802
11803
11804 fi
11805
11806
11807 fi
11808
11809
11810 fi
11811
11812 ;;
11813 esac
11814
11815 if test "x$lt_cv_dlopen" != xno; then
11816 enable_dlopen=yes
11817 else
11818 enable_dlopen=no
11819 fi
11820
11821 case $lt_cv_dlopen in
11822 dlopen)
11823 save_CPPFLAGS="$CPPFLAGS"
11824 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11825
11826 save_LDFLAGS="$LDFLAGS"
11827 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11828
11829 save_LIBS="$LIBS"
11830 LIBS="$lt_cv_dlopen_libs $LIBS"
11831
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11833 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11834 if ${lt_cv_dlopen_self+:} false; then :
11835 $as_echo_n "(cached) " >&6
11836 else
11837 if test "$cross_compiling" = yes; then :
11838 lt_cv_dlopen_self=cross
11839 else
11840 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11841 lt_status=$lt_dlunknown
11842 cat > conftest.$ac_ext <<_LT_EOF
11843 #line 11843 "configure"
11844 #include "confdefs.h"
11845
11846 #if HAVE_DLFCN_H
11847 #include <dlfcn.h>
11848 #endif
11849
11850 #include <stdio.h>
11851
11852 #ifdef RTLD_GLOBAL
11853 # define LT_DLGLOBAL RTLD_GLOBAL
11854 #else
11855 # ifdef DL_GLOBAL
11856 # define LT_DLGLOBAL DL_GLOBAL
11857 # else
11858 # define LT_DLGLOBAL 0
11859 # endif
11860 #endif
11861
11862 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11863 find out it does not work in some platform. */
11864 #ifndef LT_DLLAZY_OR_NOW
11865 # ifdef RTLD_LAZY
11866 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11867 # else
11868 # ifdef DL_LAZY
11869 # define LT_DLLAZY_OR_NOW DL_LAZY
11870 # else
11871 # ifdef RTLD_NOW
11872 # define LT_DLLAZY_OR_NOW RTLD_NOW
11873 # else
11874 # ifdef DL_NOW
11875 # define LT_DLLAZY_OR_NOW DL_NOW
11876 # else
11877 # define LT_DLLAZY_OR_NOW 0
11878 # endif
11879 # endif
11880 # endif
11881 # endif
11882 #endif
11883
11884 /* When -fvisbility=hidden is used, assume the code has been annotated
11885 correspondingly for the symbols needed. */
11886 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11887 void fnord () __attribute__((visibility("default")));
11888 #endif
11889
11890 void fnord () { int i=42; }
11891 int main ()
11892 {
11893 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11894 int status = $lt_dlunknown;
11895
11896 if (self)
11897 {
11898 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11899 else
11900 {
11901 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11902 else puts (dlerror ());
11903 }
11904 /* dlclose (self); */
11905 }
11906 else
11907 puts (dlerror ());
11908
11909 return status;
11910 }
11911 _LT_EOF
11912 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11913 (eval $ac_link) 2>&5
11914 ac_status=$?
11915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11916 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11917 (./conftest; exit; ) >&5 2>/dev/null
11918 lt_status=$?
11919 case x$lt_status in
11920 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11921 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11922 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11923 esac
11924 else :
11925 # compilation failed
11926 lt_cv_dlopen_self=no
11927 fi
11928 fi
11929 rm -fr conftest*
11930
11931
11932 fi
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11934 $as_echo "$lt_cv_dlopen_self" >&6; }
11935
11936 if test "x$lt_cv_dlopen_self" = xyes; then
11937 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11939 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11940 if ${lt_cv_dlopen_self_static+:} false; then :
11941 $as_echo_n "(cached) " >&6
11942 else
11943 if test "$cross_compiling" = yes; then :
11944 lt_cv_dlopen_self_static=cross
11945 else
11946 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11947 lt_status=$lt_dlunknown
11948 cat > conftest.$ac_ext <<_LT_EOF
11949 #line 11949 "configure"
11950 #include "confdefs.h"
11951
11952 #if HAVE_DLFCN_H
11953 #include <dlfcn.h>
11954 #endif
11955
11956 #include <stdio.h>
11957
11958 #ifdef RTLD_GLOBAL
11959 # define LT_DLGLOBAL RTLD_GLOBAL
11960 #else
11961 # ifdef DL_GLOBAL
11962 # define LT_DLGLOBAL DL_GLOBAL
11963 # else
11964 # define LT_DLGLOBAL 0
11965 # endif
11966 #endif
11967
11968 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11969 find out it does not work in some platform. */
11970 #ifndef LT_DLLAZY_OR_NOW
11971 # ifdef RTLD_LAZY
11972 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11973 # else
11974 # ifdef DL_LAZY
11975 # define LT_DLLAZY_OR_NOW DL_LAZY
11976 # else
11977 # ifdef RTLD_NOW
11978 # define LT_DLLAZY_OR_NOW RTLD_NOW
11979 # else
11980 # ifdef DL_NOW
11981 # define LT_DLLAZY_OR_NOW DL_NOW
11982 # else
11983 # define LT_DLLAZY_OR_NOW 0
11984 # endif
11985 # endif
11986 # endif
11987 # endif
11988 #endif
11989
11990 /* When -fvisbility=hidden is used, assume the code has been annotated
11991 correspondingly for the symbols needed. */
11992 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11993 void fnord () __attribute__((visibility("default")));
11994 #endif
11995
11996 void fnord () { int i=42; }
11997 int main ()
11998 {
11999 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12000 int status = $lt_dlunknown;
12001
12002 if (self)
12003 {
12004 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12005 else
12006 {
12007 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12008 else puts (dlerror ());
12009 }
12010 /* dlclose (self); */
12011 }
12012 else
12013 puts (dlerror ());
12014
12015 return status;
12016 }
12017 _LT_EOF
12018 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12019 (eval $ac_link) 2>&5
12020 ac_status=$?
12021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12022 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12023 (./conftest; exit; ) >&5 2>/dev/null
12024 lt_status=$?
12025 case x$lt_status in
12026 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12027 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12028 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12029 esac
12030 else :
12031 # compilation failed
12032 lt_cv_dlopen_self_static=no
12033 fi
12034 fi
12035 rm -fr conftest*
12036
12037
12038 fi
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12040 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12041 fi
12042
12043 CPPFLAGS="$save_CPPFLAGS"
12044 LDFLAGS="$save_LDFLAGS"
12045 LIBS="$save_LIBS"
12046 ;;
12047 esac
12048
12049 case $lt_cv_dlopen_self in
12050 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12051 *) enable_dlopen_self=unknown ;;
12052 esac
12053
12054 case $lt_cv_dlopen_self_static in
12055 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12056 *) enable_dlopen_self_static=unknown ;;
12057 esac
12058 fi
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076 striplib=
12077 old_striplib=
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12079 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12080 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12081 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12082 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12084 $as_echo "yes" >&6; }
12085 else
12086 # FIXME - insert some real tests, host_os isn't really good enough
12087 case $host_os in
12088 darwin*)
12089 if test -n "$STRIP" ; then
12090 striplib="$STRIP -x"
12091 old_striplib="$STRIP -S"
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12093 $as_echo "yes" >&6; }
12094 else
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12096 $as_echo "no" >&6; }
12097 fi
12098 ;;
12099 *)
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12101 $as_echo "no" >&6; }
12102 ;;
12103 esac
12104 fi
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117 # Report which library types will actually be built
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12119 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12121 $as_echo "$can_build_shared" >&6; }
12122
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12124 $as_echo_n "checking whether to build shared libraries... " >&6; }
12125 test "$can_build_shared" = "no" && enable_shared=no
12126
12127 # On AIX, shared libraries and static libraries use the same namespace, and
12128 # are all built from PIC.
12129 case $host_os in
12130 aix3*)
12131 test "$enable_shared" = yes && enable_static=no
12132 if test -n "$RANLIB"; then
12133 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12134 postinstall_cmds='$RANLIB $lib'
12135 fi
12136 ;;
12137
12138 aix[4-9]*)
12139 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12140 test "$enable_shared" = yes && enable_static=no
12141 fi
12142 ;;
12143 esac
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12145 $as_echo "$enable_shared" >&6; }
12146
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12148 $as_echo_n "checking whether to build static libraries... " >&6; }
12149 # Make sure either enable_shared or enable_static is yes.
12150 test "$enable_shared" = yes || enable_static=yes
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12152 $as_echo "$enable_static" >&6; }
12153
12154
12155
12156
12157 fi
12158 ac_ext=c
12159 ac_cpp='$CPP $CPPFLAGS'
12160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12163
12164 CC="$lt_save_CC"
12165
12166 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12167 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12168 (test "X$CXX" != "Xg++"))) ; then
12169 ac_ext=cpp
12170 ac_cpp='$CXXCPP $CPPFLAGS'
12171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12175 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12176 if test -z "$CXXCPP"; then
12177 if ${ac_cv_prog_CXXCPP+:} false; then :
12178 $as_echo_n "(cached) " >&6
12179 else
12180 # Double quotes because CXXCPP needs to be expanded
12181 for CXXCPP in "$CXX -E" "/lib/cpp"
12182 do
12183 ac_preproc_ok=false
12184 for ac_cxx_preproc_warn_flag in '' yes
12185 do
12186 # Use a header file that comes with gcc, so configuring glibc
12187 # with a fresh cross-compiler works.
12188 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12189 # <limits.h> exists even on freestanding compilers.
12190 # On the NeXT, cc -E runs the code through the compiler's parser,
12191 # not just through cpp. "Syntax error" is here to catch this case.
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12194 #ifdef __STDC__
12195 # include <limits.h>
12196 #else
12197 # include <assert.h>
12198 #endif
12199 Syntax error
12200 _ACEOF
12201 if ac_fn_cxx_try_cpp "$LINENO"; then :
12202
12203 else
12204 # Broken: fails on valid input.
12205 continue
12206 fi
12207 rm -f conftest.err conftest.i conftest.$ac_ext
12208
12209 # OK, works on sane cases. Now check whether nonexistent headers
12210 # can be detected and how.
12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12213 #include <ac_nonexistent.h>
12214 _ACEOF
12215 if ac_fn_cxx_try_cpp "$LINENO"; then :
12216 # Broken: success on invalid input.
12217 continue
12218 else
12219 # Passes both tests.
12220 ac_preproc_ok=:
12221 break
12222 fi
12223 rm -f conftest.err conftest.i conftest.$ac_ext
12224
12225 done
12226 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12227 rm -f conftest.i conftest.err conftest.$ac_ext
12228 if $ac_preproc_ok; then :
12229 break
12230 fi
12231
12232 done
12233 ac_cv_prog_CXXCPP=$CXXCPP
12234
12235 fi
12236 CXXCPP=$ac_cv_prog_CXXCPP
12237 else
12238 ac_cv_prog_CXXCPP=$CXXCPP
12239 fi
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12241 $as_echo "$CXXCPP" >&6; }
12242 ac_preproc_ok=false
12243 for ac_cxx_preproc_warn_flag in '' yes
12244 do
12245 # Use a header file that comes with gcc, so configuring glibc
12246 # with a fresh cross-compiler works.
12247 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12248 # <limits.h> exists even on freestanding compilers.
12249 # On the NeXT, cc -E runs the code through the compiler's parser,
12250 # not just through cpp. "Syntax error" is here to catch this case.
12251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12253 #ifdef __STDC__
12254 # include <limits.h>
12255 #else
12256 # include <assert.h>
12257 #endif
12258 Syntax error
12259 _ACEOF
12260 if ac_fn_cxx_try_cpp "$LINENO"; then :
12261
12262 else
12263 # Broken: fails on valid input.
12264 continue
12265 fi
12266 rm -f conftest.err conftest.i conftest.$ac_ext
12267
12268 # OK, works on sane cases. Now check whether nonexistent headers
12269 # can be detected and how.
12270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12272 #include <ac_nonexistent.h>
12273 _ACEOF
12274 if ac_fn_cxx_try_cpp "$LINENO"; then :
12275 # Broken: success on invalid input.
12276 continue
12277 else
12278 # Passes both tests.
12279 ac_preproc_ok=:
12280 break
12281 fi
12282 rm -f conftest.err conftest.i conftest.$ac_ext
12283
12284 done
12285 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12286 rm -f conftest.i conftest.err conftest.$ac_ext
12287 if $ac_preproc_ok; then :
12288
12289 else
12290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12292 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12293 See \`config.log' for more details" "$LINENO" 5; }
12294 fi
12295
12296 ac_ext=c
12297 ac_cpp='$CPP $CPPFLAGS'
12298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12301
12302 else
12303 _lt_caught_CXX_error=yes
12304 fi
12305
12306 ac_ext=cpp
12307 ac_cpp='$CXXCPP $CPPFLAGS'
12308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12311
12312 archive_cmds_need_lc_CXX=no
12313 allow_undefined_flag_CXX=
12314 always_export_symbols_CXX=no
12315 archive_expsym_cmds_CXX=
12316 compiler_needs_object_CXX=no
12317 export_dynamic_flag_spec_CXX=
12318 hardcode_direct_CXX=no
12319 hardcode_direct_absolute_CXX=no
12320 hardcode_libdir_flag_spec_CXX=
12321 hardcode_libdir_flag_spec_ld_CXX=
12322 hardcode_libdir_separator_CXX=
12323 hardcode_minus_L_CXX=no
12324 hardcode_shlibpath_var_CXX=unsupported
12325 hardcode_automatic_CXX=no
12326 inherit_rpath_CXX=no
12327 module_cmds_CXX=
12328 module_expsym_cmds_CXX=
12329 link_all_deplibs_CXX=unknown
12330 old_archive_cmds_CXX=$old_archive_cmds
12331 reload_flag_CXX=$reload_flag
12332 reload_cmds_CXX=$reload_cmds
12333 no_undefined_flag_CXX=
12334 whole_archive_flag_spec_CXX=
12335 enable_shared_with_static_runtimes_CXX=no
12336
12337 # Source file extension for C++ test sources.
12338 ac_ext=cpp
12339
12340 # Object file extension for compiled C++ test sources.
12341 objext=o
12342 objext_CXX=$objext
12343
12344 # No sense in running all these tests if we already determined that
12345 # the CXX compiler isn't working. Some variables (like enable_shared)
12346 # are currently assumed to apply to all compilers on this platform,
12347 # and will be corrupted by setting them based on a non-working compiler.
12348 if test "$_lt_caught_CXX_error" != yes; then
12349 # Code to be used in simple compile tests
12350 lt_simple_compile_test_code="int some_variable = 0;"
12351
12352 # Code to be used in simple link tests
12353 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12354
12355 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12356
12357
12358
12359
12360
12361
12362 # If no C compiler was specified, use CC.
12363 LTCC=${LTCC-"$CC"}
12364
12365 # If no C compiler flags were specified, use CFLAGS.
12366 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12367
12368 # Allow CC to be a program name with arguments.
12369 compiler=$CC
12370
12371
12372 # save warnings/boilerplate of simple test code
12373 ac_outfile=conftest.$ac_objext
12374 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12375 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12376 _lt_compiler_boilerplate=`cat conftest.err`
12377 $RM conftest*
12378
12379 ac_outfile=conftest.$ac_objext
12380 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12381 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12382 _lt_linker_boilerplate=`cat conftest.err`
12383 $RM -r conftest*
12384
12385
12386 # Allow CC to be a program name with arguments.
12387 lt_save_CC=$CC
12388 lt_save_LD=$LD
12389 lt_save_GCC=$GCC
12390 GCC=$GXX
12391 lt_save_with_gnu_ld=$with_gnu_ld
12392 lt_save_path_LD=$lt_cv_path_LD
12393 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12394 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12395 else
12396 $as_unset lt_cv_prog_gnu_ld
12397 fi
12398 if test -n "${lt_cv_path_LDCXX+set}"; then
12399 lt_cv_path_LD=$lt_cv_path_LDCXX
12400 else
12401 $as_unset lt_cv_path_LD
12402 fi
12403 test -z "${LDCXX+set}" || LD=$LDCXX
12404 CC=${CXX-"c++"}
12405 compiler=$CC
12406 compiler_CXX=$CC
12407 for cc_temp in $compiler""; do
12408 case $cc_temp in
12409 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12410 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12411 \-*) ;;
12412 *) break;;
12413 esac
12414 done
12415 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12416
12417
12418 if test -n "$compiler"; then
12419 # We don't want -fno-exception when compiling C++ code, so set the
12420 # no_builtin_flag separately
12421 if test "$GXX" = yes; then
12422 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12423 else
12424 lt_prog_compiler_no_builtin_flag_CXX=
12425 fi
12426
12427 if test "$GXX" = yes; then
12428 # Set up default GNU C++ configuration
12429
12430
12431
12432 # Check whether --with-gnu-ld was given.
12433 if test "${with_gnu_ld+set}" = set; then :
12434 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12435 else
12436 with_gnu_ld=no
12437 fi
12438
12439 ac_prog=ld
12440 if test "$GCC" = yes; then
12441 # Check if gcc -print-prog-name=ld gives a path.
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12443 $as_echo_n "checking for ld used by $CC... " >&6; }
12444 case $host in
12445 *-*-mingw*)
12446 # gcc leaves a trailing carriage return which upsets mingw
12447 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12448 *)
12449 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12450 esac
12451 case $ac_prog in
12452 # Accept absolute paths.
12453 [\\/]* | ?:[\\/]*)
12454 re_direlt='/[^/][^/]*/\.\./'
12455 # Canonicalize the pathname of ld
12456 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12457 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12458 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12459 done
12460 test -z "$LD" && LD="$ac_prog"
12461 ;;
12462 "")
12463 # If it fails, then pretend we aren't using GCC.
12464 ac_prog=ld
12465 ;;
12466 *)
12467 # If it is relative, then search for the first ld in PATH.
12468 with_gnu_ld=unknown
12469 ;;
12470 esac
12471 elif test "$with_gnu_ld" = yes; then
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12473 $as_echo_n "checking for GNU ld... " >&6; }
12474 else
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12476 $as_echo_n "checking for non-GNU ld... " >&6; }
12477 fi
12478 if ${lt_cv_path_LD+:} false; then :
12479 $as_echo_n "(cached) " >&6
12480 else
12481 if test -z "$LD"; then
12482 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12483 for ac_dir in $PATH; do
12484 IFS="$lt_save_ifs"
12485 test -z "$ac_dir" && ac_dir=.
12486 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12487 lt_cv_path_LD="$ac_dir/$ac_prog"
12488 # Check to see if the program is GNU ld. I'd rather use --version,
12489 # but apparently some variants of GNU ld only accept -v.
12490 # Break only if it was the GNU/non-GNU ld that we prefer.
12491 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12492 *GNU* | *'with BFD'*)
12493 test "$with_gnu_ld" != no && break
12494 ;;
12495 *)
12496 test "$with_gnu_ld" != yes && break
12497 ;;
12498 esac
12499 fi
12500 done
12501 IFS="$lt_save_ifs"
12502 else
12503 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12504 fi
12505 fi
12506
12507 LD="$lt_cv_path_LD"
12508 if test -n "$LD"; then
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12510 $as_echo "$LD" >&6; }
12511 else
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12513 $as_echo "no" >&6; }
12514 fi
12515 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12517 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12518 if ${lt_cv_prog_gnu_ld+:} false; then :
12519 $as_echo_n "(cached) " >&6
12520 else
12521 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12522 case `$LD -v 2>&1 </dev/null` in
12523 *GNU* | *'with BFD'*)
12524 lt_cv_prog_gnu_ld=yes
12525 ;;
12526 *)
12527 lt_cv_prog_gnu_ld=no
12528 ;;
12529 esac
12530 fi
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12532 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12533 with_gnu_ld=$lt_cv_prog_gnu_ld
12534
12535
12536
12537
12538
12539
12540
12541 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12542 # archiving commands below assume that GNU ld is being used.
12543 if test "$with_gnu_ld" = yes; then
12544 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12545 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12546
12547 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12548 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12549
12550 # If archive_cmds runs LD, not CC, wlarc should be empty
12551 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12552 # investigate it a little bit more. (MM)
12553 wlarc='${wl}'
12554
12555 # ancient GNU ld didn't support --whole-archive et. al.
12556 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12557 $GREP 'no-whole-archive' > /dev/null; then
12558 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12559 else
12560 whole_archive_flag_spec_CXX=
12561 fi
12562 else
12563 with_gnu_ld=no
12564 wlarc=
12565
12566 # A generic and very simple default shared library creation
12567 # command for GNU C++ for the case where it uses the native
12568 # linker, instead of GNU ld. If possible, this setting should
12569 # overridden to take advantage of the native linker features on
12570 # the platform it is being used on.
12571 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12572 fi
12573
12574 # Commands to make compiler produce verbose output that lists
12575 # what "hidden" libraries, object files and flags are used when
12576 # linking a shared library.
12577 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12578
12579 else
12580 GXX=no
12581 with_gnu_ld=no
12582 wlarc=
12583 fi
12584
12585 # PORTME: fill in a description of your system's C++ link characteristics
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12587 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12588 ld_shlibs_CXX=yes
12589 case $host_os in
12590 aix3*)
12591 # FIXME: insert proper C++ library support
12592 ld_shlibs_CXX=no
12593 ;;
12594 aix[4-9]*)
12595 if test "$host_cpu" = ia64; then
12596 # On IA64, the linker does run time linking by default, so we don't
12597 # have to do anything special.
12598 aix_use_runtimelinking=no
12599 exp_sym_flag='-Bexport'
12600 no_entry_flag=""
12601 else
12602 aix_use_runtimelinking=no
12603
12604 # Test if we are trying to use run time linking or normal
12605 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12606 # need to do runtime linking.
12607 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12608 for ld_flag in $LDFLAGS; do
12609 case $ld_flag in
12610 *-brtl*)
12611 aix_use_runtimelinking=yes
12612 break
12613 ;;
12614 esac
12615 done
12616 ;;
12617 esac
12618
12619 exp_sym_flag='-bexport'
12620 no_entry_flag='-bnoentry'
12621 fi
12622
12623 # When large executables or shared objects are built, AIX ld can
12624 # have problems creating the table of contents. If linking a library
12625 # or program results in "error TOC overflow" add -mminimal-toc to
12626 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12627 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12628
12629 archive_cmds_CXX=''
12630 hardcode_direct_CXX=yes
12631 hardcode_direct_absolute_CXX=yes
12632 hardcode_libdir_separator_CXX=':'
12633 link_all_deplibs_CXX=yes
12634 file_list_spec_CXX='${wl}-f,'
12635
12636 if test "$GXX" = yes; then
12637 case $host_os in aix4.[012]|aix4.[012].*)
12638 # We only want to do this on AIX 4.2 and lower, the check
12639 # below for broken collect2 doesn't work under 4.3+
12640 collect2name=`${CC} -print-prog-name=collect2`
12641 if test -f "$collect2name" &&
12642 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12643 then
12644 # We have reworked collect2
12645 :
12646 else
12647 # We have old collect2
12648 hardcode_direct_CXX=unsupported
12649 # It fails to find uninstalled libraries when the uninstalled
12650 # path is not listed in the libpath. Setting hardcode_minus_L
12651 # to unsupported forces relinking
12652 hardcode_minus_L_CXX=yes
12653 hardcode_libdir_flag_spec_CXX='-L$libdir'
12654 hardcode_libdir_separator_CXX=
12655 fi
12656 esac
12657 shared_flag='-shared'
12658 if test "$aix_use_runtimelinking" = yes; then
12659 shared_flag="$shared_flag "'${wl}-G'
12660 fi
12661 else
12662 # not using gcc
12663 if test "$host_cpu" = ia64; then
12664 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12665 # chokes on -Wl,-G. The following line is correct:
12666 shared_flag='-G'
12667 else
12668 if test "$aix_use_runtimelinking" = yes; then
12669 shared_flag='${wl}-G'
12670 else
12671 shared_flag='${wl}-bM:SRE'
12672 fi
12673 fi
12674 fi
12675
12676 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12677 # It seems that -bexpall does not export symbols beginning with
12678 # underscore (_), so it is better to generate a list of symbols to
12679 # export.
12680 always_export_symbols_CXX=yes
12681 if test "$aix_use_runtimelinking" = yes; then
12682 # Warning - without using the other runtime loading flags (-brtl),
12683 # -berok will link without error, but may produce a broken library.
12684 allow_undefined_flag_CXX='-berok'
12685 # Determine the default libpath from the value encoded in an empty
12686 # executable.
12687 if test x$gcc_no_link = xyes; then
12688 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12689 fi
12690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12691 /* end confdefs.h. */
12692
12693 int
12694 main ()
12695 {
12696
12697 ;
12698 return 0;
12699 }
12700 _ACEOF
12701 if ac_fn_cxx_try_link "$LINENO"; then :
12702
12703 lt_aix_libpath_sed='
12704 /Import File Strings/,/^$/ {
12705 /^0/ {
12706 s/^0 *\(.*\)$/\1/
12707 p
12708 }
12709 }'
12710 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12711 # Check for a 64-bit object if we didn't find anything.
12712 if test -z "$aix_libpath"; then
12713 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12714 fi
12715 fi
12716 rm -f core conftest.err conftest.$ac_objext \
12717 conftest$ac_exeext conftest.$ac_ext
12718 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12719
12720 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12721
12722 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"
12723 else
12724 if test "$host_cpu" = ia64; then
12725 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12726 allow_undefined_flag_CXX="-z nodefs"
12727 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"
12728 else
12729 # Determine the default libpath from the value encoded in an
12730 # empty executable.
12731 if test x$gcc_no_link = xyes; then
12732 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12733 fi
12734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12736
12737 int
12738 main ()
12739 {
12740
12741 ;
12742 return 0;
12743 }
12744 _ACEOF
12745 if ac_fn_cxx_try_link "$LINENO"; then :
12746
12747 lt_aix_libpath_sed='
12748 /Import File Strings/,/^$/ {
12749 /^0/ {
12750 s/^0 *\(.*\)$/\1/
12751 p
12752 }
12753 }'
12754 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12755 # Check for a 64-bit object if we didn't find anything.
12756 if test -z "$aix_libpath"; then
12757 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12758 fi
12759 fi
12760 rm -f core conftest.err conftest.$ac_objext \
12761 conftest$ac_exeext conftest.$ac_ext
12762 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12763
12764 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12765 # Warning - without using the other run time loading flags,
12766 # -berok will link without error, but may produce a broken library.
12767 no_undefined_flag_CXX=' ${wl}-bernotok'
12768 allow_undefined_flag_CXX=' ${wl}-berok'
12769 if test "$with_gnu_ld" = yes; then
12770 # We only use this code for GNU lds that support --whole-archive.
12771 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12772 else
12773 # Exported symbols can be pulled into shared objects from archives
12774 whole_archive_flag_spec_CXX='$convenience'
12775 fi
12776 archive_cmds_need_lc_CXX=yes
12777 # This is similar to how AIX traditionally builds its shared
12778 # libraries.
12779 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'
12780 fi
12781 fi
12782 ;;
12783
12784 beos*)
12785 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12786 allow_undefined_flag_CXX=unsupported
12787 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12788 # support --undefined. This deserves some investigation. FIXME
12789 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12790 else
12791 ld_shlibs_CXX=no
12792 fi
12793 ;;
12794
12795 chorus*)
12796 case $cc_basename in
12797 *)
12798 # FIXME: insert proper C++ library support
12799 ld_shlibs_CXX=no
12800 ;;
12801 esac
12802 ;;
12803
12804 cygwin* | mingw* | pw32* | cegcc*)
12805 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12806 # as there is no search path for DLLs.
12807 hardcode_libdir_flag_spec_CXX='-L$libdir'
12808 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12809 allow_undefined_flag_CXX=unsupported
12810 always_export_symbols_CXX=no
12811 enable_shared_with_static_runtimes_CXX=yes
12812
12813 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12814 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'
12815 # If the export-symbols file already is a .def file (1st line
12816 # is EXPORTS), use it as is; otherwise, prepend...
12817 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12818 cp $export_symbols $output_objdir/$soname.def;
12819 else
12820 echo EXPORTS > $output_objdir/$soname.def;
12821 cat $export_symbols >> $output_objdir/$soname.def;
12822 fi~
12823 $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'
12824 else
12825 ld_shlibs_CXX=no
12826 fi
12827 ;;
12828 darwin* | rhapsody*)
12829
12830
12831 archive_cmds_need_lc_CXX=no
12832 hardcode_direct_CXX=no
12833 hardcode_automatic_CXX=yes
12834 hardcode_shlibpath_var_CXX=unsupported
12835 if test "$lt_cv_ld_force_load" = "yes"; then
12836 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\"`'
12837 else
12838 whole_archive_flag_spec_CXX=''
12839 fi
12840 link_all_deplibs_CXX=yes
12841 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12842 case $cc_basename in
12843 ifort*) _lt_dar_can_shared=yes ;;
12844 *) _lt_dar_can_shared=$GCC ;;
12845 esac
12846 if test "$_lt_dar_can_shared" = "yes"; then
12847 output_verbose_link_cmd=func_echo_all
12848 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}"
12849 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12850 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}"
12851 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}"
12852 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12853 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}"
12854 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}"
12855 fi
12856
12857 else
12858 ld_shlibs_CXX=no
12859 fi
12860
12861 ;;
12862
12863 dgux*)
12864 case $cc_basename in
12865 ec++*)
12866 # FIXME: insert proper C++ library support
12867 ld_shlibs_CXX=no
12868 ;;
12869 ghcx*)
12870 # Green Hills C++ Compiler
12871 # FIXME: insert proper C++ library support
12872 ld_shlibs_CXX=no
12873 ;;
12874 *)
12875 # FIXME: insert proper C++ library support
12876 ld_shlibs_CXX=no
12877 ;;
12878 esac
12879 ;;
12880
12881 freebsd2.*)
12882 # C++ shared libraries reported to be fairly broken before
12883 # switch to ELF
12884 ld_shlibs_CXX=no
12885 ;;
12886
12887 freebsd-elf*)
12888 archive_cmds_need_lc_CXX=no
12889 ;;
12890
12891 freebsd* | dragonfly*)
12892 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12893 # conventions
12894 ld_shlibs_CXX=yes
12895 ;;
12896
12897 gnu*)
12898 ;;
12899
12900 haiku*)
12901 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12902 link_all_deplibs_CXX=yes
12903 ;;
12904
12905 hpux9*)
12906 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12907 hardcode_libdir_separator_CXX=:
12908 export_dynamic_flag_spec_CXX='${wl}-E'
12909 hardcode_direct_CXX=yes
12910 hardcode_minus_L_CXX=yes # Not in the search PATH,
12911 # but as the default
12912 # location of the library.
12913
12914 case $cc_basename in
12915 CC*)
12916 # FIXME: insert proper C++ library support
12917 ld_shlibs_CXX=no
12918 ;;
12919 aCC*)
12920 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'
12921 # Commands to make compiler produce verbose output that lists
12922 # what "hidden" libraries, object files and flags are used when
12923 # linking a shared library.
12924 #
12925 # There doesn't appear to be a way to prevent this compiler from
12926 # explicitly linking system object files so we need to strip them
12927 # from the output so that they don't get included in the library
12928 # dependencies.
12929 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"'
12930 ;;
12931 *)
12932 if test "$GXX" = yes; then
12933 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'
12934 else
12935 # FIXME: insert proper C++ library support
12936 ld_shlibs_CXX=no
12937 fi
12938 ;;
12939 esac
12940 ;;
12941
12942 hpux10*|hpux11*)
12943 if test $with_gnu_ld = no; then
12944 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12945 hardcode_libdir_separator_CXX=:
12946
12947 case $host_cpu in
12948 hppa*64*|ia64*)
12949 ;;
12950 *)
12951 export_dynamic_flag_spec_CXX='${wl}-E'
12952 ;;
12953 esac
12954 fi
12955 case $host_cpu in
12956 hppa*64*|ia64*)
12957 hardcode_direct_CXX=no
12958 hardcode_shlibpath_var_CXX=no
12959 ;;
12960 *)
12961 hardcode_direct_CXX=yes
12962 hardcode_direct_absolute_CXX=yes
12963 hardcode_minus_L_CXX=yes # Not in the search PATH,
12964 # but as the default
12965 # location of the library.
12966 ;;
12967 esac
12968
12969 case $cc_basename in
12970 CC*)
12971 # FIXME: insert proper C++ library support
12972 ld_shlibs_CXX=no
12973 ;;
12974 aCC*)
12975 case $host_cpu in
12976 hppa*64*)
12977 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12978 ;;
12979 ia64*)
12980 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12981 ;;
12982 *)
12983 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12984 ;;
12985 esac
12986 # Commands to make compiler produce verbose output that lists
12987 # what "hidden" libraries, object files and flags are used when
12988 # linking a shared library.
12989 #
12990 # There doesn't appear to be a way to prevent this compiler from
12991 # explicitly linking system object files so we need to strip them
12992 # from the output so that they don't get included in the library
12993 # dependencies.
12994 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"'
12995 ;;
12996 *)
12997 if test "$GXX" = yes; then
12998 if test $with_gnu_ld = no; then
12999 case $host_cpu in
13000 hppa*64*)
13001 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13002 ;;
13003 ia64*)
13004 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13005 ;;
13006 *)
13007 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'
13008 ;;
13009 esac
13010 fi
13011 else
13012 # FIXME: insert proper C++ library support
13013 ld_shlibs_CXX=no
13014 fi
13015 ;;
13016 esac
13017 ;;
13018
13019 interix[3-9]*)
13020 hardcode_direct_CXX=no
13021 hardcode_shlibpath_var_CXX=no
13022 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13023 export_dynamic_flag_spec_CXX='${wl}-E'
13024 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13025 # Instead, shared libraries are loaded at an image base (0x10000000 by
13026 # default) and relocated if they conflict, which is a slow very memory
13027 # consuming and fragmenting process. To avoid this, we pick a random,
13028 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13029 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13030 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'
13031 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'
13032 ;;
13033 irix5* | irix6*)
13034 case $cc_basename in
13035 CC*)
13036 # SGI C++
13037 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'
13038
13039 # Archives containing C++ object files must be created using
13040 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13041 # necessary to make sure instantiated templates are included
13042 # in the archive.
13043 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13044 ;;
13045 *)
13046 if test "$GXX" = yes; then
13047 if test "$with_gnu_ld" = no; then
13048 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'
13049 else
13050 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'
13051 fi
13052 fi
13053 link_all_deplibs_CXX=yes
13054 ;;
13055 esac
13056 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13057 hardcode_libdir_separator_CXX=:
13058 inherit_rpath_CXX=yes
13059 ;;
13060
13061 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13062 case $cc_basename in
13063 KCC*)
13064 # Kuck and Associates, Inc. (KAI) C++ Compiler
13065
13066 # KCC will only create a shared library if the output file
13067 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13068 # to its proper name (with version) after linking.
13069 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'
13070 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'
13071 # Commands to make compiler produce verbose output that lists
13072 # what "hidden" libraries, object files and flags are used when
13073 # linking a shared library.
13074 #
13075 # There doesn't appear to be a way to prevent this compiler from
13076 # explicitly linking system object files so we need to strip them
13077 # from the output so that they don't get included in the library
13078 # dependencies.
13079 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"'
13080
13081 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13082 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13083
13084 # Archives containing C++ object files must be created using
13085 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13086 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13087 ;;
13088 icpc* | ecpc* )
13089 # Intel C++
13090 with_gnu_ld=yes
13091 # version 8.0 and above of icpc choke on multiply defined symbols
13092 # if we add $predep_objects and $postdep_objects, however 7.1 and
13093 # earlier do not add the objects themselves.
13094 case `$CC -V 2>&1` in
13095 *"Version 7."*)
13096 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13097 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'
13098 ;;
13099 *) # Version 8.0 or newer
13100 tmp_idyn=
13101 case $host_cpu in
13102 ia64*) tmp_idyn=' -i_dynamic';;
13103 esac
13104 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13105 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'
13106 ;;
13107 esac
13108 archive_cmds_need_lc_CXX=no
13109 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13110 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13111 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13112 ;;
13113 pgCC* | pgcpp*)
13114 # Portland Group C++ compiler
13115 case `$CC -V` in
13116 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13117 prelink_cmds_CXX='tpldir=Template.dir~
13118 rm -rf $tpldir~
13119 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13120 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13121 old_archive_cmds_CXX='tpldir=Template.dir~
13122 rm -rf $tpldir~
13123 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13124 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13125 $RANLIB $oldlib'
13126 archive_cmds_CXX='tpldir=Template.dir~
13127 rm -rf $tpldir~
13128 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13129 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13130 archive_expsym_cmds_CXX='tpldir=Template.dir~
13131 rm -rf $tpldir~
13132 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13133 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13134 ;;
13135 *) # Version 6 and above use weak symbols
13136 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13137 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'
13138 ;;
13139 esac
13140
13141 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13142 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13143 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'
13144 ;;
13145 cxx*)
13146 # Compaq C++
13147 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13148 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'
13149
13150 runpath_var=LD_RUN_PATH
13151 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13152 hardcode_libdir_separator_CXX=:
13153
13154 # Commands to make compiler produce verbose output that lists
13155 # what "hidden" libraries, object files and flags are used when
13156 # linking a shared library.
13157 #
13158 # There doesn't appear to be a way to prevent this compiler from
13159 # explicitly linking system object files so we need to strip them
13160 # from the output so that they don't get included in the library
13161 # dependencies.
13162 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'
13163 ;;
13164 xl* | mpixl* | bgxl*)
13165 # IBM XL 8.0 on PPC, with GNU ld
13166 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13167 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13168 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13169 if test "x$supports_anon_versioning" = xyes; then
13170 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13171 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13172 echo "local: *; };" >> $output_objdir/$libname.ver~
13173 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13174 fi
13175 ;;
13176 *)
13177 case `$CC -V 2>&1 | sed 5q` in
13178 *Sun\ C*)
13179 # Sun C++ 5.9
13180 no_undefined_flag_CXX=' -zdefs'
13181 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13182 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'
13183 hardcode_libdir_flag_spec_CXX='-R$libdir'
13184 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'
13185 compiler_needs_object_CXX=yes
13186
13187 # Not sure whether something based on
13188 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13189 # would be better.
13190 output_verbose_link_cmd='func_echo_all'
13191
13192 # Archives containing C++ object files must be created using
13193 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13194 # necessary to make sure instantiated templates are included
13195 # in the archive.
13196 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13197 ;;
13198 esac
13199 ;;
13200 esac
13201 ;;
13202
13203 lynxos*)
13204 # FIXME: insert proper C++ library support
13205 ld_shlibs_CXX=no
13206 ;;
13207
13208 m88k*)
13209 # FIXME: insert proper C++ library support
13210 ld_shlibs_CXX=no
13211 ;;
13212
13213 mvs*)
13214 case $cc_basename in
13215 cxx*)
13216 # FIXME: insert proper C++ library support
13217 ld_shlibs_CXX=no
13218 ;;
13219 *)
13220 # FIXME: insert proper C++ library support
13221 ld_shlibs_CXX=no
13222 ;;
13223 esac
13224 ;;
13225
13226 netbsd*)
13227 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13228 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13229 wlarc=
13230 hardcode_libdir_flag_spec_CXX='-R$libdir'
13231 hardcode_direct_CXX=yes
13232 hardcode_shlibpath_var_CXX=no
13233 fi
13234 # Workaround some broken pre-1.5 toolchains
13235 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13236 ;;
13237
13238 *nto* | *qnx*)
13239 ld_shlibs_CXX=yes
13240 ;;
13241
13242 openbsd2*)
13243 # C++ shared libraries are fairly broken
13244 ld_shlibs_CXX=no
13245 ;;
13246
13247 openbsd*)
13248 if test -f /usr/libexec/ld.so; then
13249 hardcode_direct_CXX=yes
13250 hardcode_shlibpath_var_CXX=no
13251 hardcode_direct_absolute_CXX=yes
13252 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13253 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13254 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13255 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13256 export_dynamic_flag_spec_CXX='${wl}-E'
13257 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13258 fi
13259 output_verbose_link_cmd=func_echo_all
13260 else
13261 ld_shlibs_CXX=no
13262 fi
13263 ;;
13264
13265 osf3* | osf4* | osf5*)
13266 case $cc_basename in
13267 KCC*)
13268 # Kuck and Associates, Inc. (KAI) C++ Compiler
13269
13270 # KCC will only create a shared library if the output file
13271 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13272 # to its proper name (with version) after linking.
13273 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'
13274
13275 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13276 hardcode_libdir_separator_CXX=:
13277
13278 # Archives containing C++ object files must be created using
13279 # the KAI C++ compiler.
13280 case $host in
13281 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13282 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13283 esac
13284 ;;
13285 RCC*)
13286 # Rational C++ 2.4.1
13287 # FIXME: insert proper C++ library support
13288 ld_shlibs_CXX=no
13289 ;;
13290 cxx*)
13291 case $host in
13292 osf3*)
13293 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13294 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'
13295 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13296 ;;
13297 *)
13298 allow_undefined_flag_CXX=' -expect_unresolved \*'
13299 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'
13300 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13301 echo "-hidden">> $lib.exp~
13302 $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~
13303 $RM $lib.exp'
13304 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13305 ;;
13306 esac
13307
13308 hardcode_libdir_separator_CXX=:
13309
13310 # Commands to make compiler produce verbose output that lists
13311 # what "hidden" libraries, object files and flags are used when
13312 # linking a shared library.
13313 #
13314 # There doesn't appear to be a way to prevent this compiler from
13315 # explicitly linking system object files so we need to strip them
13316 # from the output so that they don't get included in the library
13317 # dependencies.
13318 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"'
13319 ;;
13320 *)
13321 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13322 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13323 case $host in
13324 osf3*)
13325 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'
13326 ;;
13327 *)
13328 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'
13329 ;;
13330 esac
13331
13332 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13333 hardcode_libdir_separator_CXX=:
13334
13335 # Commands to make compiler produce verbose output that lists
13336 # what "hidden" libraries, object files and flags are used when
13337 # linking a shared library.
13338 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13339
13340 else
13341 # FIXME: insert proper C++ library support
13342 ld_shlibs_CXX=no
13343 fi
13344 ;;
13345 esac
13346 ;;
13347
13348 psos*)
13349 # FIXME: insert proper C++ library support
13350 ld_shlibs_CXX=no
13351 ;;
13352
13353 sunos4*)
13354 case $cc_basename in
13355 CC*)
13356 # Sun C++ 4.x
13357 # FIXME: insert proper C++ library support
13358 ld_shlibs_CXX=no
13359 ;;
13360 lcc*)
13361 # Lucid
13362 # FIXME: insert proper C++ library support
13363 ld_shlibs_CXX=no
13364 ;;
13365 *)
13366 # FIXME: insert proper C++ library support
13367 ld_shlibs_CXX=no
13368 ;;
13369 esac
13370 ;;
13371
13372 solaris*)
13373 case $cc_basename in
13374 CC*)
13375 # Sun C++ 4.2, 5.x and Centerline C++
13376 archive_cmds_need_lc_CXX=yes
13377 no_undefined_flag_CXX=' -zdefs'
13378 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13379 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13380 $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'
13381
13382 hardcode_libdir_flag_spec_CXX='-R$libdir'
13383 hardcode_shlibpath_var_CXX=no
13384 case $host_os in
13385 solaris2.[0-5] | solaris2.[0-5].*) ;;
13386 *)
13387 # The compiler driver will combine and reorder linker options,
13388 # but understands `-z linker_flag'.
13389 # Supported since Solaris 2.6 (maybe 2.5.1?)
13390 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13391 ;;
13392 esac
13393 link_all_deplibs_CXX=yes
13394
13395 output_verbose_link_cmd='func_echo_all'
13396
13397 # Archives containing C++ object files must be created using
13398 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13399 # necessary to make sure instantiated templates are included
13400 # in the archive.
13401 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13402 ;;
13403 gcx*)
13404 # Green Hills C++ Compiler
13405 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13406
13407 # The C++ compiler must be used to create the archive.
13408 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13409 ;;
13410 *)
13411 # GNU C++ compiler with Solaris linker
13412 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13413 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13414 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13415 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13416 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13417 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13418
13419 # Commands to make compiler produce verbose output that lists
13420 # what "hidden" libraries, object files and flags are used when
13421 # linking a shared library.
13422 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13423 else
13424 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13425 # platform.
13426 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13427 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13428 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13429
13430 # Commands to make compiler produce verbose output that lists
13431 # what "hidden" libraries, object files and flags are used when
13432 # linking a shared library.
13433 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13434 fi
13435
13436 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13437 case $host_os in
13438 solaris2.[0-5] | solaris2.[0-5].*) ;;
13439 *)
13440 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13441 ;;
13442 esac
13443 fi
13444 ;;
13445 esac
13446 ;;
13447
13448 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13449 no_undefined_flag_CXX='${wl}-z,text'
13450 archive_cmds_need_lc_CXX=no
13451 hardcode_shlibpath_var_CXX=no
13452 runpath_var='LD_RUN_PATH'
13453
13454 case $cc_basename in
13455 CC*)
13456 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13457 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13458 ;;
13459 *)
13460 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13461 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13462 ;;
13463 esac
13464 ;;
13465
13466 sysv5* | sco3.2v5* | sco5v6*)
13467 # Note: We can NOT use -z defs as we might desire, because we do not
13468 # link with -lc, and that would cause any symbols used from libc to
13469 # always be unresolved, which means just about no library would
13470 # ever link correctly. If we're not using GNU ld we use -z text
13471 # though, which does catch some bad symbols but isn't as heavy-handed
13472 # as -z defs.
13473 no_undefined_flag_CXX='${wl}-z,text'
13474 allow_undefined_flag_CXX='${wl}-z,nodefs'
13475 archive_cmds_need_lc_CXX=no
13476 hardcode_shlibpath_var_CXX=no
13477 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13478 hardcode_libdir_separator_CXX=':'
13479 link_all_deplibs_CXX=yes
13480 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13481 runpath_var='LD_RUN_PATH'
13482
13483 case $cc_basename in
13484 CC*)
13485 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13486 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13487 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13488 '"$old_archive_cmds_CXX"
13489 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13490 '"$reload_cmds_CXX"
13491 ;;
13492 *)
13493 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13494 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13495 ;;
13496 esac
13497 ;;
13498
13499 tandem*)
13500 case $cc_basename in
13501 NCC*)
13502 # NonStop-UX NCC 3.20
13503 # FIXME: insert proper C++ library support
13504 ld_shlibs_CXX=no
13505 ;;
13506 *)
13507 # FIXME: insert proper C++ library support
13508 ld_shlibs_CXX=no
13509 ;;
13510 esac
13511 ;;
13512
13513 vxworks*)
13514 # FIXME: insert proper C++ library support
13515 ld_shlibs_CXX=no
13516 ;;
13517
13518 *)
13519 # FIXME: insert proper C++ library support
13520 ld_shlibs_CXX=no
13521 ;;
13522 esac
13523
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13525 $as_echo "$ld_shlibs_CXX" >&6; }
13526 test "$ld_shlibs_CXX" = no && can_build_shared=no
13527
13528 GCC_CXX="$GXX"
13529 LD_CXX="$LD"
13530
13531 ## CAVEAT EMPTOR:
13532 ## There is no encapsulation within the following macros, do not change
13533 ## the running order or otherwise move them around unless you know exactly
13534 ## what you are doing...
13535 # Dependencies to place before and after the object being linked:
13536 predep_objects_CXX=
13537 postdep_objects_CXX=
13538 predeps_CXX=
13539 postdeps_CXX=
13540 compiler_lib_search_path_CXX=
13541
13542 cat > conftest.$ac_ext <<_LT_EOF
13543 class Foo
13544 {
13545 public:
13546 Foo (void) { a = 0; }
13547 private:
13548 int a;
13549 };
13550 _LT_EOF
13551
13552 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13553 (eval $ac_compile) 2>&5
13554 ac_status=$?
13555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13556 test $ac_status = 0; }; then
13557 # Parse the compiler output and extract the necessary
13558 # objects, libraries and library flags.
13559
13560 # Sentinel used to keep track of whether or not we are before
13561 # the conftest object file.
13562 pre_test_object_deps_done=no
13563
13564 for p in `eval "$output_verbose_link_cmd"`; do
13565 case $p in
13566
13567 -L* | -R* | -l*)
13568 # Some compilers place space between "-{L,R}" and the path.
13569 # Remove the space.
13570 if test $p = "-L" ||
13571 test $p = "-R"; then
13572 prev=$p
13573 continue
13574 else
13575 prev=
13576 fi
13577
13578 if test "$pre_test_object_deps_done" = no; then
13579 case $p in
13580 -L* | -R*)
13581 # Internal compiler library paths should come after those
13582 # provided the user. The postdeps already come after the
13583 # user supplied libs so there is no need to process them.
13584 if test -z "$compiler_lib_search_path_CXX"; then
13585 compiler_lib_search_path_CXX="${prev}${p}"
13586 else
13587 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13588 fi
13589 ;;
13590 # The "-l" case would never come before the object being
13591 # linked, so don't bother handling this case.
13592 esac
13593 else
13594 if test -z "$postdeps_CXX"; then
13595 postdeps_CXX="${prev}${p}"
13596 else
13597 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13598 fi
13599 fi
13600 ;;
13601
13602 *.$objext)
13603 # This assumes that the test object file only shows up
13604 # once in the compiler output.
13605 if test "$p" = "conftest.$objext"; then
13606 pre_test_object_deps_done=yes
13607 continue
13608 fi
13609
13610 if test "$pre_test_object_deps_done" = no; then
13611 if test -z "$predep_objects_CXX"; then
13612 predep_objects_CXX="$p"
13613 else
13614 predep_objects_CXX="$predep_objects_CXX $p"
13615 fi
13616 else
13617 if test -z "$postdep_objects_CXX"; then
13618 postdep_objects_CXX="$p"
13619 else
13620 postdep_objects_CXX="$postdep_objects_CXX $p"
13621 fi
13622 fi
13623 ;;
13624
13625 *) ;; # Ignore the rest.
13626
13627 esac
13628 done
13629
13630 # Clean up.
13631 rm -f a.out a.exe
13632 else
13633 echo "libtool.m4: error: problem compiling CXX test program"
13634 fi
13635
13636 $RM -f confest.$objext
13637
13638 # PORTME: override above test on systems where it is broken
13639 case $host_os in
13640 interix[3-9]*)
13641 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13642 # hack all around it, let's just trust "g++" to DTRT.
13643 predep_objects_CXX=
13644 postdep_objects_CXX=
13645 postdeps_CXX=
13646 ;;
13647
13648 linux*)
13649 case `$CC -V 2>&1 | sed 5q` in
13650 *Sun\ C*)
13651 # Sun C++ 5.9
13652
13653 # The more standards-conforming stlport4 library is
13654 # incompatible with the Cstd library. Avoid specifying
13655 # it if it's in CXXFLAGS. Ignore libCrun as
13656 # -library=stlport4 depends on it.
13657 case " $CXX $CXXFLAGS " in
13658 *" -library=stlport4 "*)
13659 solaris_use_stlport4=yes
13660 ;;
13661 esac
13662
13663 if test "$solaris_use_stlport4" != yes; then
13664 postdeps_CXX='-library=Cstd -library=Crun'
13665 fi
13666 ;;
13667 esac
13668 ;;
13669
13670 solaris*)
13671 case $cc_basename in
13672 CC*)
13673 # The more standards-conforming stlport4 library is
13674 # incompatible with the Cstd library. Avoid specifying
13675 # it if it's in CXXFLAGS. Ignore libCrun as
13676 # -library=stlport4 depends on it.
13677 case " $CXX $CXXFLAGS " in
13678 *" -library=stlport4 "*)
13679 solaris_use_stlport4=yes
13680 ;;
13681 esac
13682
13683 # Adding this requires a known-good setup of shared libraries for
13684 # Sun compiler versions before 5.6, else PIC objects from an old
13685 # archive will be linked into the output, leading to subtle bugs.
13686 if test "$solaris_use_stlport4" != yes; then
13687 postdeps_CXX='-library=Cstd -library=Crun'
13688 fi
13689 ;;
13690 esac
13691 ;;
13692 esac
13693
13694
13695 case " $postdeps_CXX " in
13696 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13697 esac
13698 compiler_lib_search_dirs_CXX=
13699 if test -n "${compiler_lib_search_path_CXX}"; then
13700 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13701 fi
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733 lt_prog_compiler_wl_CXX=
13734 lt_prog_compiler_pic_CXX=
13735 lt_prog_compiler_static_CXX=
13736
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13738 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13739
13740 # C++ specific cases for pic, static, wl, etc.
13741 if test "$GXX" = yes; then
13742 lt_prog_compiler_wl_CXX='-Wl,'
13743 lt_prog_compiler_static_CXX='-static'
13744
13745 case $host_os in
13746 aix*)
13747 # All AIX code is PIC.
13748 if test "$host_cpu" = ia64; then
13749 # AIX 5 now supports IA64 processor
13750 lt_prog_compiler_static_CXX='-Bstatic'
13751 fi
13752 lt_prog_compiler_pic_CXX='-fPIC'
13753 ;;
13754
13755 amigaos*)
13756 case $host_cpu in
13757 powerpc)
13758 # see comment about AmigaOS4 .so support
13759 lt_prog_compiler_pic_CXX='-fPIC'
13760 ;;
13761 m68k)
13762 # FIXME: we need at least 68020 code to build shared libraries, but
13763 # adding the `-m68020' flag to GCC prevents building anything better,
13764 # like `-m68040'.
13765 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13766 ;;
13767 esac
13768 ;;
13769
13770 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13771 # PIC is the default for these OSes.
13772 ;;
13773 mingw* | cygwin* | os2* | pw32* | cegcc*)
13774 # This hack is so that the source file can tell whether it is being
13775 # built for inclusion in a dll (and should export symbols for example).
13776 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13777 # (--disable-auto-import) libraries
13778 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13779 ;;
13780 darwin* | rhapsody*)
13781 # PIC is the default on this platform
13782 # Common symbols not allowed in MH_DYLIB files
13783 lt_prog_compiler_pic_CXX='-fno-common'
13784 ;;
13785 *djgpp*)
13786 # DJGPP does not support shared libraries at all
13787 lt_prog_compiler_pic_CXX=
13788 ;;
13789 haiku*)
13790 # PIC is the default for Haiku.
13791 # The "-static" flag exists, but is broken.
13792 lt_prog_compiler_static_CXX=
13793 ;;
13794 interix[3-9]*)
13795 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13796 # Instead, we relocate shared libraries at runtime.
13797 ;;
13798 sysv4*MP*)
13799 if test -d /usr/nec; then
13800 lt_prog_compiler_pic_CXX=-Kconform_pic
13801 fi
13802 ;;
13803 hpux*)
13804 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13805 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13806 # sets the default TLS model and affects inlining.
13807 case $host_cpu in
13808 hppa*64*)
13809 ;;
13810 *)
13811 lt_prog_compiler_pic_CXX='-fPIC'
13812 ;;
13813 esac
13814 ;;
13815 *qnx* | *nto*)
13816 # QNX uses GNU C++, but need to define -shared option too, otherwise
13817 # it will coredump.
13818 lt_prog_compiler_pic_CXX='-fPIC -shared'
13819 ;;
13820 *)
13821 lt_prog_compiler_pic_CXX='-fPIC'
13822 ;;
13823 esac
13824 else
13825 case $host_os in
13826 aix[4-9]*)
13827 # All AIX code is PIC.
13828 if test "$host_cpu" = ia64; then
13829 # AIX 5 now supports IA64 processor
13830 lt_prog_compiler_static_CXX='-Bstatic'
13831 else
13832 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13833 fi
13834 ;;
13835 chorus*)
13836 case $cc_basename in
13837 cxch68*)
13838 # Green Hills C++ Compiler
13839 # _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"
13840 ;;
13841 esac
13842 ;;
13843 dgux*)
13844 case $cc_basename in
13845 ec++*)
13846 lt_prog_compiler_pic_CXX='-KPIC'
13847 ;;
13848 ghcx*)
13849 # Green Hills C++ Compiler
13850 lt_prog_compiler_pic_CXX='-pic'
13851 ;;
13852 *)
13853 ;;
13854 esac
13855 ;;
13856 freebsd* | dragonfly*)
13857 # FreeBSD uses GNU C++
13858 ;;
13859 hpux9* | hpux10* | hpux11*)
13860 case $cc_basename in
13861 CC*)
13862 lt_prog_compiler_wl_CXX='-Wl,'
13863 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13864 if test "$host_cpu" != ia64; then
13865 lt_prog_compiler_pic_CXX='+Z'
13866 fi
13867 ;;
13868 aCC*)
13869 lt_prog_compiler_wl_CXX='-Wl,'
13870 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13871 case $host_cpu in
13872 hppa*64*|ia64*)
13873 # +Z the default
13874 ;;
13875 *)
13876 lt_prog_compiler_pic_CXX='+Z'
13877 ;;
13878 esac
13879 ;;
13880 *)
13881 ;;
13882 esac
13883 ;;
13884 interix*)
13885 # This is c89, which is MS Visual C++ (no shared libs)
13886 # Anyone wants to do a port?
13887 ;;
13888 irix5* | irix6* | nonstopux*)
13889 case $cc_basename in
13890 CC*)
13891 lt_prog_compiler_wl_CXX='-Wl,'
13892 lt_prog_compiler_static_CXX='-non_shared'
13893 # CC pic flag -KPIC is the default.
13894 ;;
13895 *)
13896 ;;
13897 esac
13898 ;;
13899 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13900 case $cc_basename in
13901 KCC*)
13902 # KAI C++ Compiler
13903 lt_prog_compiler_wl_CXX='--backend -Wl,'
13904 lt_prog_compiler_pic_CXX='-fPIC'
13905 ;;
13906 ecpc* )
13907 # old Intel C++ for x86_64 which still supported -KPIC.
13908 lt_prog_compiler_wl_CXX='-Wl,'
13909 lt_prog_compiler_pic_CXX='-KPIC'
13910 lt_prog_compiler_static_CXX='-static'
13911 ;;
13912 icpc* )
13913 # Intel C++, used to be incompatible with GCC.
13914 # ICC 10 doesn't accept -KPIC any more.
13915 lt_prog_compiler_wl_CXX='-Wl,'
13916 lt_prog_compiler_pic_CXX='-fPIC'
13917 lt_prog_compiler_static_CXX='-static'
13918 ;;
13919 pgCC* | pgcpp*)
13920 # Portland Group C++ compiler
13921 lt_prog_compiler_wl_CXX='-Wl,'
13922 lt_prog_compiler_pic_CXX='-fpic'
13923 lt_prog_compiler_static_CXX='-Bstatic'
13924 ;;
13925 cxx*)
13926 # Compaq C++
13927 # Make sure the PIC flag is empty. It appears that all Alpha
13928 # Linux and Compaq Tru64 Unix objects are PIC.
13929 lt_prog_compiler_pic_CXX=
13930 lt_prog_compiler_static_CXX='-non_shared'
13931 ;;
13932 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13933 # IBM XL 8.0, 9.0 on PPC and BlueGene
13934 lt_prog_compiler_wl_CXX='-Wl,'
13935 lt_prog_compiler_pic_CXX='-qpic'
13936 lt_prog_compiler_static_CXX='-qstaticlink'
13937 ;;
13938 *)
13939 case `$CC -V 2>&1 | sed 5q` in
13940 *Sun\ C*)
13941 # Sun C++ 5.9
13942 lt_prog_compiler_pic_CXX='-KPIC'
13943 lt_prog_compiler_static_CXX='-Bstatic'
13944 lt_prog_compiler_wl_CXX='-Qoption ld '
13945 ;;
13946 esac
13947 ;;
13948 esac
13949 ;;
13950 lynxos*)
13951 ;;
13952 m88k*)
13953 ;;
13954 mvs*)
13955 case $cc_basename in
13956 cxx*)
13957 lt_prog_compiler_pic_CXX='-W c,exportall'
13958 ;;
13959 *)
13960 ;;
13961 esac
13962 ;;
13963 netbsd*)
13964 ;;
13965 *qnx* | *nto*)
13966 # QNX uses GNU C++, but need to define -shared option too, otherwise
13967 # it will coredump.
13968 lt_prog_compiler_pic_CXX='-fPIC -shared'
13969 ;;
13970 osf3* | osf4* | osf5*)
13971 case $cc_basename in
13972 KCC*)
13973 lt_prog_compiler_wl_CXX='--backend -Wl,'
13974 ;;
13975 RCC*)
13976 # Rational C++ 2.4.1
13977 lt_prog_compiler_pic_CXX='-pic'
13978 ;;
13979 cxx*)
13980 # Digital/Compaq C++
13981 lt_prog_compiler_wl_CXX='-Wl,'
13982 # Make sure the PIC flag is empty. It appears that all Alpha
13983 # Linux and Compaq Tru64 Unix objects are PIC.
13984 lt_prog_compiler_pic_CXX=
13985 lt_prog_compiler_static_CXX='-non_shared'
13986 ;;
13987 *)
13988 ;;
13989 esac
13990 ;;
13991 psos*)
13992 ;;
13993 solaris*)
13994 case $cc_basename in
13995 CC*)
13996 # Sun C++ 4.2, 5.x and Centerline C++
13997 lt_prog_compiler_pic_CXX='-KPIC'
13998 lt_prog_compiler_static_CXX='-Bstatic'
13999 lt_prog_compiler_wl_CXX='-Qoption ld '
14000 ;;
14001 gcx*)
14002 # Green Hills C++ Compiler
14003 lt_prog_compiler_pic_CXX='-PIC'
14004 ;;
14005 *)
14006 ;;
14007 esac
14008 ;;
14009 sunos4*)
14010 case $cc_basename in
14011 CC*)
14012 # Sun C++ 4.x
14013 lt_prog_compiler_pic_CXX='-pic'
14014 lt_prog_compiler_static_CXX='-Bstatic'
14015 ;;
14016 lcc*)
14017 # Lucid
14018 lt_prog_compiler_pic_CXX='-pic'
14019 ;;
14020 *)
14021 ;;
14022 esac
14023 ;;
14024 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14025 case $cc_basename in
14026 CC*)
14027 lt_prog_compiler_wl_CXX='-Wl,'
14028 lt_prog_compiler_pic_CXX='-KPIC'
14029 lt_prog_compiler_static_CXX='-Bstatic'
14030 ;;
14031 esac
14032 ;;
14033 tandem*)
14034 case $cc_basename in
14035 NCC*)
14036 # NonStop-UX NCC 3.20
14037 lt_prog_compiler_pic_CXX='-KPIC'
14038 ;;
14039 *)
14040 ;;
14041 esac
14042 ;;
14043 vxworks*)
14044 ;;
14045 *)
14046 lt_prog_compiler_can_build_shared_CXX=no
14047 ;;
14048 esac
14049 fi
14050
14051 case $host_os in
14052 # For platforms which do not support PIC, -DPIC is meaningless:
14053 *djgpp*)
14054 lt_prog_compiler_pic_CXX=
14055 ;;
14056 *)
14057 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14058 ;;
14059 esac
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14061 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14062
14063
14064
14065 #
14066 # Check to make sure the PIC flag actually works.
14067 #
14068 if test -n "$lt_prog_compiler_pic_CXX"; then
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14070 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14071 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14072 $as_echo_n "(cached) " >&6
14073 else
14074 lt_cv_prog_compiler_pic_works_CXX=no
14075 ac_outfile=conftest.$ac_objext
14076 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14077 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14078 # Insert the option either (1) after the last *FLAGS variable, or
14079 # (2) before a word containing "conftest.", or (3) at the end.
14080 # Note that $ac_compile itself does not contain backslashes and begins
14081 # with a dollar sign (not a hyphen), so the echo should work correctly.
14082 # The option is referenced via a variable to avoid confusing sed.
14083 lt_compile=`echo "$ac_compile" | $SED \
14084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14086 -e 's:$: $lt_compiler_flag:'`
14087 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14088 (eval "$lt_compile" 2>conftest.err)
14089 ac_status=$?
14090 cat conftest.err >&5
14091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14092 if (exit $ac_status) && test -s "$ac_outfile"; then
14093 # The compiler can only warn and ignore the option if not recognized
14094 # So say no if there are warnings other than the usual output.
14095 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14096 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14097 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14098 lt_cv_prog_compiler_pic_works_CXX=yes
14099 fi
14100 fi
14101 $RM conftest*
14102
14103 fi
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14105 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14106
14107 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14108 case $lt_prog_compiler_pic_CXX in
14109 "" | " "*) ;;
14110 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14111 esac
14112 else
14113 lt_prog_compiler_pic_CXX=
14114 lt_prog_compiler_can_build_shared_CXX=no
14115 fi
14116
14117 fi
14118
14119
14120
14121 #
14122 # Check to make sure the static flag actually works.
14123 #
14124 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14126 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14127 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14128 $as_echo_n "(cached) " >&6
14129 else
14130 lt_cv_prog_compiler_static_works_CXX=no
14131 save_LDFLAGS="$LDFLAGS"
14132 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14133 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14134 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14135 # The linker can only warn and ignore the option if not recognized
14136 # So say no if there are warnings
14137 if test -s conftest.err; then
14138 # Append any errors to the config.log.
14139 cat conftest.err 1>&5
14140 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14141 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14142 if diff conftest.exp conftest.er2 >/dev/null; then
14143 lt_cv_prog_compiler_static_works_CXX=yes
14144 fi
14145 else
14146 lt_cv_prog_compiler_static_works_CXX=yes
14147 fi
14148 fi
14149 $RM -r conftest*
14150 LDFLAGS="$save_LDFLAGS"
14151
14152 fi
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14154 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14155
14156 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14157 :
14158 else
14159 lt_prog_compiler_static_CXX=
14160 fi
14161
14162
14163
14164
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14166 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14167 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14168 $as_echo_n "(cached) " >&6
14169 else
14170 lt_cv_prog_compiler_c_o_CXX=no
14171 $RM -r conftest 2>/dev/null
14172 mkdir conftest
14173 cd conftest
14174 mkdir out
14175 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14176
14177 lt_compiler_flag="-o out/conftest2.$ac_objext"
14178 # Insert the option either (1) after the last *FLAGS variable, or
14179 # (2) before a word containing "conftest.", or (3) at the end.
14180 # Note that $ac_compile itself does not contain backslashes and begins
14181 # with a dollar sign (not a hyphen), so the echo should work correctly.
14182 lt_compile=`echo "$ac_compile" | $SED \
14183 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14184 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14185 -e 's:$: $lt_compiler_flag:'`
14186 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14187 (eval "$lt_compile" 2>out/conftest.err)
14188 ac_status=$?
14189 cat out/conftest.err >&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14192 then
14193 # The compiler can only warn and ignore the option if not recognized
14194 # So say no if there are warnings
14195 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14196 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14197 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14198 lt_cv_prog_compiler_c_o_CXX=yes
14199 fi
14200 fi
14201 chmod u+w . 2>&5
14202 $RM conftest*
14203 # SGI C++ compiler will create directory out/ii_files/ for
14204 # template instantiation
14205 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14206 $RM out/* && rmdir out
14207 cd ..
14208 $RM -r conftest
14209 $RM conftest*
14210
14211 fi
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14213 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14214
14215
14216
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14218 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14219 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14220 $as_echo_n "(cached) " >&6
14221 else
14222 lt_cv_prog_compiler_c_o_CXX=no
14223 $RM -r conftest 2>/dev/null
14224 mkdir conftest
14225 cd conftest
14226 mkdir out
14227 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14228
14229 lt_compiler_flag="-o out/conftest2.$ac_objext"
14230 # Insert the option either (1) after the last *FLAGS variable, or
14231 # (2) before a word containing "conftest.", or (3) at the end.
14232 # Note that $ac_compile itself does not contain backslashes and begins
14233 # with a dollar sign (not a hyphen), so the echo should work correctly.
14234 lt_compile=`echo "$ac_compile" | $SED \
14235 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14236 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14237 -e 's:$: $lt_compiler_flag:'`
14238 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14239 (eval "$lt_compile" 2>out/conftest.err)
14240 ac_status=$?
14241 cat out/conftest.err >&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14244 then
14245 # The compiler can only warn and ignore the option if not recognized
14246 # So say no if there are warnings
14247 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14248 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14249 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14250 lt_cv_prog_compiler_c_o_CXX=yes
14251 fi
14252 fi
14253 chmod u+w . 2>&5
14254 $RM conftest*
14255 # SGI C++ compiler will create directory out/ii_files/ for
14256 # template instantiation
14257 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14258 $RM out/* && rmdir out
14259 cd ..
14260 $RM -r conftest
14261 $RM conftest*
14262
14263 fi
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14265 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14266
14267
14268
14269
14270 hard_links="nottested"
14271 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14272 # do not overwrite the value of need_locks provided by the user
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14274 $as_echo_n "checking if we can lock with hard links... " >&6; }
14275 hard_links=yes
14276 $RM conftest*
14277 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14278 touch conftest.a
14279 ln conftest.a conftest.b 2>&5 || hard_links=no
14280 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14282 $as_echo "$hard_links" >&6; }
14283 if test "$hard_links" = no; then
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14285 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14286 need_locks=warn
14287 fi
14288 else
14289 need_locks=no
14290 fi
14291
14292
14293
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14295 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14296
14297 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14298 case $host_os in
14299 aix[4-9]*)
14300 # If we're using GNU nm, then we don't want the "-C" option.
14301 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14302 # Also, AIX nm treats weak defined symbols like other global defined
14303 # symbols, whereas GNU nm marks them as "W".
14304 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14305 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'
14306 else
14307 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14308 fi
14309 ;;
14310 pw32*)
14311 export_symbols_cmds_CXX="$ltdll_cmds"
14312 ;;
14313 cygwin* | mingw* | cegcc*)
14314 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'
14315 ;;
14316 *)
14317 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14318 ;;
14319 esac
14320 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14321
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14323 $as_echo "$ld_shlibs_CXX" >&6; }
14324 test "$ld_shlibs_CXX" = no && can_build_shared=no
14325
14326 with_gnu_ld_CXX=$with_gnu_ld
14327
14328
14329
14330
14331
14332
14333 #
14334 # Do we need to explicitly link libc?
14335 #
14336 case "x$archive_cmds_need_lc_CXX" in
14337 x|xyes)
14338 # Assume -lc should be added
14339 archive_cmds_need_lc_CXX=yes
14340
14341 if test "$enable_shared" = yes && test "$GCC" = yes; then
14342 case $archive_cmds_CXX in
14343 *'~'*)
14344 # FIXME: we may have to deal with multi-command sequences.
14345 ;;
14346 '$CC '*)
14347 # Test whether the compiler implicitly links with -lc since on some
14348 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14349 # to ld, don't add -lc before -lgcc.
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14351 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14352 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14353 $as_echo_n "(cached) " >&6
14354 else
14355 $RM conftest*
14356 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14357
14358 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14359 (eval $ac_compile) 2>&5
14360 ac_status=$?
14361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14362 test $ac_status = 0; } 2>conftest.err; then
14363 soname=conftest
14364 lib=conftest
14365 libobjs=conftest.$ac_objext
14366 deplibs=
14367 wl=$lt_prog_compiler_wl_CXX
14368 pic_flag=$lt_prog_compiler_pic_CXX
14369 compiler_flags=-v
14370 linker_flags=-v
14371 verstring=
14372 output_objdir=.
14373 libname=conftest
14374 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14375 allow_undefined_flag_CXX=
14376 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14377 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14378 ac_status=$?
14379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14380 test $ac_status = 0; }
14381 then
14382 lt_cv_archive_cmds_need_lc_CXX=no
14383 else
14384 lt_cv_archive_cmds_need_lc_CXX=yes
14385 fi
14386 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14387 else
14388 cat conftest.err 1>&5
14389 fi
14390 $RM conftest*
14391
14392 fi
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14394 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14395 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14396 ;;
14397 esac
14398 fi
14399 ;;
14400 esac
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14466 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14467
14468 library_names_spec=
14469 libname_spec='lib$name'
14470 soname_spec=
14471 shrext_cmds=".so"
14472 postinstall_cmds=
14473 postuninstall_cmds=
14474 finish_cmds=
14475 finish_eval=
14476 shlibpath_var=
14477 shlibpath_overrides_runpath=unknown
14478 version_type=none
14479 dynamic_linker="$host_os ld.so"
14480 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14481 need_lib_prefix=unknown
14482 hardcode_into_libs=no
14483
14484 # when you set need_version to no, make sure it does not cause -set_version
14485 # flags to be left without arguments
14486 need_version=unknown
14487
14488 case $host_os in
14489 aix3*)
14490 version_type=linux
14491 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14492 shlibpath_var=LIBPATH
14493
14494 # AIX 3 has no versioning support, so we append a major version to the name.
14495 soname_spec='${libname}${release}${shared_ext}$major'
14496 ;;
14497
14498 aix[4-9]*)
14499 version_type=linux
14500 need_lib_prefix=no
14501 need_version=no
14502 hardcode_into_libs=yes
14503 if test "$host_cpu" = ia64; then
14504 # AIX 5 supports IA64
14505 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14506 shlibpath_var=LD_LIBRARY_PATH
14507 else
14508 # With GCC up to 2.95.x, collect2 would create an import file
14509 # for dependence libraries. The import file would start with
14510 # the line `#! .'. This would cause the generated library to
14511 # depend on `.', always an invalid library. This was fixed in
14512 # development snapshots of GCC prior to 3.0.
14513 case $host_os in
14514 aix4 | aix4.[01] | aix4.[01].*)
14515 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14516 echo ' yes '
14517 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14518 :
14519 else
14520 can_build_shared=no
14521 fi
14522 ;;
14523 esac
14524 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14525 # soname into executable. Probably we can add versioning support to
14526 # collect2, so additional links can be useful in future.
14527 if test "$aix_use_runtimelinking" = yes; then
14528 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14529 # instead of lib<name>.a to let people know that these are not
14530 # typical AIX shared libraries.
14531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14532 else
14533 # We preserve .a as extension for shared libraries through AIX4.2
14534 # and later when we are not doing run time linking.
14535 library_names_spec='${libname}${release}.a $libname.a'
14536 soname_spec='${libname}${release}${shared_ext}$major'
14537 fi
14538 shlibpath_var=LIBPATH
14539 fi
14540 ;;
14541
14542 amigaos*)
14543 case $host_cpu in
14544 powerpc)
14545 # Since July 2007 AmigaOS4 officially supports .so libraries.
14546 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14548 ;;
14549 m68k)
14550 library_names_spec='$libname.ixlibrary $libname.a'
14551 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14552 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'
14553 ;;
14554 esac
14555 ;;
14556
14557 beos*)
14558 library_names_spec='${libname}${shared_ext}'
14559 dynamic_linker="$host_os ld.so"
14560 shlibpath_var=LIBRARY_PATH
14561 ;;
14562
14563 bsdi[45]*)
14564 version_type=linux
14565 need_version=no
14566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14567 soname_spec='${libname}${release}${shared_ext}$major'
14568 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14569 shlibpath_var=LD_LIBRARY_PATH
14570 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14571 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14572 # the default ld.so.conf also contains /usr/contrib/lib and
14573 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14574 # libtool to hard-code these into programs
14575 ;;
14576
14577 cygwin* | mingw* | pw32* | cegcc*)
14578 version_type=windows
14579 shrext_cmds=".dll"
14580 need_version=no
14581 need_lib_prefix=no
14582
14583 case $GCC,$host_os in
14584 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14585 library_names_spec='$libname.dll.a'
14586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14587 postinstall_cmds='base_file=`basename \${file}`~
14588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14589 dldir=$destdir/`dirname \$dlpath`~
14590 test -d \$dldir || mkdir -p \$dldir~
14591 $install_prog $dir/$dlname \$dldir/$dlname~
14592 chmod a+x \$dldir/$dlname~
14593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14594 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14595 fi'
14596 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14597 dlpath=$dir/\$dldll~
14598 $RM \$dlpath'
14599 shlibpath_overrides_runpath=yes
14600
14601 case $host_os in
14602 cygwin*)
14603 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14604 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14605
14606 ;;
14607 mingw* | cegcc*)
14608 # MinGW DLLs use traditional 'lib' prefix
14609 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14610 ;;
14611 pw32*)
14612 # pw32 DLLs use 'pw' prefix rather than 'lib'
14613 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14614 ;;
14615 esac
14616 ;;
14617
14618 *)
14619 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14620 ;;
14621 esac
14622 dynamic_linker='Win32 ld.exe'
14623 # FIXME: first we should search . and the directory the executable is in
14624 shlibpath_var=PATH
14625 ;;
14626
14627 darwin* | rhapsody*)
14628 dynamic_linker="$host_os dyld"
14629 version_type=darwin
14630 need_lib_prefix=no
14631 need_version=no
14632 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14633 soname_spec='${libname}${release}${major}$shared_ext'
14634 shlibpath_overrides_runpath=yes
14635 shlibpath_var=DYLD_LIBRARY_PATH
14636 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14637
14638 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14639 ;;
14640
14641 dgux*)
14642 version_type=linux
14643 need_lib_prefix=no
14644 need_version=no
14645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14646 soname_spec='${libname}${release}${shared_ext}$major'
14647 shlibpath_var=LD_LIBRARY_PATH
14648 ;;
14649
14650 freebsd* | dragonfly*)
14651 # DragonFly does not have aout. When/if they implement a new
14652 # versioning mechanism, adjust this.
14653 if test -x /usr/bin/objformat; then
14654 objformat=`/usr/bin/objformat`
14655 else
14656 case $host_os in
14657 freebsd[23].*) objformat=aout ;;
14658 *) objformat=elf ;;
14659 esac
14660 fi
14661 version_type=freebsd-$objformat
14662 case $version_type in
14663 freebsd-elf*)
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14665 need_version=no
14666 need_lib_prefix=no
14667 ;;
14668 freebsd-*)
14669 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14670 need_version=yes
14671 ;;
14672 esac
14673 shlibpath_var=LD_LIBRARY_PATH
14674 case $host_os in
14675 freebsd2.*)
14676 shlibpath_overrides_runpath=yes
14677 ;;
14678 freebsd3.[01]* | freebsdelf3.[01]*)
14679 shlibpath_overrides_runpath=yes
14680 hardcode_into_libs=yes
14681 ;;
14682 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14683 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14684 shlibpath_overrides_runpath=no
14685 hardcode_into_libs=yes
14686 ;;
14687 *) # from 4.6 on, and DragonFly
14688 shlibpath_overrides_runpath=yes
14689 hardcode_into_libs=yes
14690 ;;
14691 esac
14692 ;;
14693
14694 gnu*)
14695 version_type=linux
14696 need_lib_prefix=no
14697 need_version=no
14698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14699 soname_spec='${libname}${release}${shared_ext}$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14701 hardcode_into_libs=yes
14702 ;;
14703
14704 haiku*)
14705 version_type=linux
14706 need_lib_prefix=no
14707 need_version=no
14708 dynamic_linker="$host_os runtime_loader"
14709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14710 soname_spec='${libname}${release}${shared_ext}$major'
14711 shlibpath_var=LIBRARY_PATH
14712 shlibpath_overrides_runpath=yes
14713 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14714 hardcode_into_libs=yes
14715 ;;
14716
14717 hpux9* | hpux10* | hpux11*)
14718 # Give a soname corresponding to the major version so that dld.sl refuses to
14719 # link against other versions.
14720 version_type=sunos
14721 need_lib_prefix=no
14722 need_version=no
14723 case $host_cpu in
14724 ia64*)
14725 shrext_cmds='.so'
14726 hardcode_into_libs=yes
14727 dynamic_linker="$host_os dld.so"
14728 shlibpath_var=LD_LIBRARY_PATH
14729 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14731 soname_spec='${libname}${release}${shared_ext}$major'
14732 if test "X$HPUX_IA64_MODE" = X32; then
14733 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14734 else
14735 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14736 fi
14737 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14738 ;;
14739 hppa*64*)
14740 shrext_cmds='.sl'
14741 hardcode_into_libs=yes
14742 dynamic_linker="$host_os dld.sl"
14743 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14744 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14746 soname_spec='${libname}${release}${shared_ext}$major'
14747 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14748 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14749 ;;
14750 *)
14751 shrext_cmds='.sl'
14752 dynamic_linker="$host_os dld.sl"
14753 shlibpath_var=SHLIB_PATH
14754 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756 soname_spec='${libname}${release}${shared_ext}$major'
14757 ;;
14758 esac
14759 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14760 postinstall_cmds='chmod 555 $lib'
14761 # or fails outright, so override atomically:
14762 install_override_mode=555
14763 ;;
14764
14765 interix[3-9]*)
14766 version_type=linux
14767 need_lib_prefix=no
14768 need_version=no
14769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14770 soname_spec='${libname}${release}${shared_ext}$major'
14771 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14772 shlibpath_var=LD_LIBRARY_PATH
14773 shlibpath_overrides_runpath=no
14774 hardcode_into_libs=yes
14775 ;;
14776
14777 irix5* | irix6* | nonstopux*)
14778 case $host_os in
14779 nonstopux*) version_type=nonstopux ;;
14780 *)
14781 if test "$lt_cv_prog_gnu_ld" = yes; then
14782 version_type=linux
14783 else
14784 version_type=irix
14785 fi ;;
14786 esac
14787 need_lib_prefix=no
14788 need_version=no
14789 soname_spec='${libname}${release}${shared_ext}$major'
14790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14791 case $host_os in
14792 irix5* | nonstopux*)
14793 libsuff= shlibsuff=
14794 ;;
14795 *)
14796 case $LD in # libtool.m4 will add one of these switches to LD
14797 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14798 libsuff= shlibsuff= libmagic=32-bit;;
14799 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14800 libsuff=32 shlibsuff=N32 libmagic=N32;;
14801 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14802 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14803 *) libsuff= shlibsuff= libmagic=never-match;;
14804 esac
14805 ;;
14806 esac
14807 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14808 shlibpath_overrides_runpath=no
14809 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14810 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14811 hardcode_into_libs=yes
14812 ;;
14813
14814 # No shared lib support for Linux oldld, aout, or coff.
14815 linux*oldld* | linux*aout* | linux*coff*)
14816 dynamic_linker=no
14817 ;;
14818
14819 # This must be Linux ELF.
14820 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14821 version_type=linux
14822 need_lib_prefix=no
14823 need_version=no
14824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14825 soname_spec='${libname}${release}${shared_ext}$major'
14826 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14827 shlibpath_var=LD_LIBRARY_PATH
14828 shlibpath_overrides_runpath=no
14829
14830 # Some binutils ld are patched to set DT_RUNPATH
14831 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14832 $as_echo_n "(cached) " >&6
14833 else
14834 lt_cv_shlibpath_overrides_runpath=no
14835 save_LDFLAGS=$LDFLAGS
14836 save_libdir=$libdir
14837 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14838 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14839 if test x$gcc_no_link = xyes; then
14840 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14841 fi
14842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14843 /* end confdefs.h. */
14844
14845 int
14846 main ()
14847 {
14848
14849 ;
14850 return 0;
14851 }
14852 _ACEOF
14853 if ac_fn_cxx_try_link "$LINENO"; then :
14854 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14855 lt_cv_shlibpath_overrides_runpath=yes
14856 fi
14857 fi
14858 rm -f core conftest.err conftest.$ac_objext \
14859 conftest$ac_exeext conftest.$ac_ext
14860 LDFLAGS=$save_LDFLAGS
14861 libdir=$save_libdir
14862
14863 fi
14864
14865 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14866
14867 # This implies no fast_install, which is unacceptable.
14868 # Some rework will be needed to allow for fast_install
14869 # before this can be enabled.
14870 hardcode_into_libs=yes
14871
14872 # Append ld.so.conf contents to the search path
14873 if test -f /etc/ld.so.conf; then
14874 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' ' '`
14875 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14876 fi
14877
14878 # We used to test for /lib/ld.so.1 and disable shared libraries on
14879 # powerpc, because MkLinux only supported shared libraries with the
14880 # GNU dynamic linker. Since this was broken with cross compilers,
14881 # most powerpc-linux boxes support dynamic linking these days and
14882 # people can always --disable-shared, the test was removed, and we
14883 # assume the GNU/Linux dynamic linker is in use.
14884 dynamic_linker='GNU/Linux ld.so'
14885 ;;
14886
14887 netbsd*)
14888 version_type=sunos
14889 need_lib_prefix=no
14890 need_version=no
14891 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14893 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14894 dynamic_linker='NetBSD (a.out) ld.so'
14895 else
14896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14897 soname_spec='${libname}${release}${shared_ext}$major'
14898 dynamic_linker='NetBSD ld.elf_so'
14899 fi
14900 shlibpath_var=LD_LIBRARY_PATH
14901 shlibpath_overrides_runpath=yes
14902 hardcode_into_libs=yes
14903 ;;
14904
14905 newsos6)
14906 version_type=linux
14907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14908 shlibpath_var=LD_LIBRARY_PATH
14909 shlibpath_overrides_runpath=yes
14910 ;;
14911
14912 *nto* | *qnx*)
14913 version_type=qnx
14914 need_lib_prefix=no
14915 need_version=no
14916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14917 soname_spec='${libname}${release}${shared_ext}$major'
14918 shlibpath_var=LD_LIBRARY_PATH
14919 shlibpath_overrides_runpath=no
14920 hardcode_into_libs=yes
14921 dynamic_linker='ldqnx.so'
14922 ;;
14923
14924 openbsd*)
14925 version_type=sunos
14926 sys_lib_dlsearch_path_spec="/usr/lib"
14927 need_lib_prefix=no
14928 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14929 case $host_os in
14930 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14931 *) need_version=no ;;
14932 esac
14933 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14934 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14935 shlibpath_var=LD_LIBRARY_PATH
14936 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14937 case $host_os in
14938 openbsd2.[89] | openbsd2.[89].*)
14939 shlibpath_overrides_runpath=no
14940 ;;
14941 *)
14942 shlibpath_overrides_runpath=yes
14943 ;;
14944 esac
14945 else
14946 shlibpath_overrides_runpath=yes
14947 fi
14948 ;;
14949
14950 os2*)
14951 libname_spec='$name'
14952 shrext_cmds=".dll"
14953 need_lib_prefix=no
14954 library_names_spec='$libname${shared_ext} $libname.a'
14955 dynamic_linker='OS/2 ld.exe'
14956 shlibpath_var=LIBPATH
14957 ;;
14958
14959 osf3* | osf4* | osf5*)
14960 version_type=osf
14961 need_lib_prefix=no
14962 need_version=no
14963 soname_spec='${libname}${release}${shared_ext}$major'
14964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14965 shlibpath_var=LD_LIBRARY_PATH
14966 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14967 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14968 ;;
14969
14970 rdos*)
14971 dynamic_linker=no
14972 ;;
14973
14974 solaris*)
14975 version_type=linux
14976 need_lib_prefix=no
14977 need_version=no
14978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14979 soname_spec='${libname}${release}${shared_ext}$major'
14980 shlibpath_var=LD_LIBRARY_PATH
14981 shlibpath_overrides_runpath=yes
14982 hardcode_into_libs=yes
14983 # ldd complains unless libraries are executable
14984 postinstall_cmds='chmod +x $lib'
14985 ;;
14986
14987 sunos4*)
14988 version_type=sunos
14989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14990 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14991 shlibpath_var=LD_LIBRARY_PATH
14992 shlibpath_overrides_runpath=yes
14993 if test "$with_gnu_ld" = yes; then
14994 need_lib_prefix=no
14995 fi
14996 need_version=yes
14997 ;;
14998
14999 sysv4 | sysv4.3*)
15000 version_type=linux
15001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15002 soname_spec='${libname}${release}${shared_ext}$major'
15003 shlibpath_var=LD_LIBRARY_PATH
15004 case $host_vendor in
15005 sni)
15006 shlibpath_overrides_runpath=no
15007 need_lib_prefix=no
15008 runpath_var=LD_RUN_PATH
15009 ;;
15010 siemens)
15011 need_lib_prefix=no
15012 ;;
15013 motorola)
15014 need_lib_prefix=no
15015 need_version=no
15016 shlibpath_overrides_runpath=no
15017 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15018 ;;
15019 esac
15020 ;;
15021
15022 sysv4*MP*)
15023 if test -d /usr/nec ;then
15024 version_type=linux
15025 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15026 soname_spec='$libname${shared_ext}.$major'
15027 shlibpath_var=LD_LIBRARY_PATH
15028 fi
15029 ;;
15030
15031 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15032 version_type=freebsd-elf
15033 need_lib_prefix=no
15034 need_version=no
15035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15036 soname_spec='${libname}${release}${shared_ext}$major'
15037 shlibpath_var=LD_LIBRARY_PATH
15038 shlibpath_overrides_runpath=yes
15039 hardcode_into_libs=yes
15040 if test "$with_gnu_ld" = yes; then
15041 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15042 else
15043 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15044 case $host_os in
15045 sco3.2v5*)
15046 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15047 ;;
15048 esac
15049 fi
15050 sys_lib_dlsearch_path_spec='/usr/lib'
15051 ;;
15052
15053 tpf*)
15054 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15055 version_type=linux
15056 need_lib_prefix=no
15057 need_version=no
15058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15059 shlibpath_var=LD_LIBRARY_PATH
15060 shlibpath_overrides_runpath=no
15061 hardcode_into_libs=yes
15062 ;;
15063
15064 uts4*)
15065 version_type=linux
15066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15067 soname_spec='${libname}${release}${shared_ext}$major'
15068 shlibpath_var=LD_LIBRARY_PATH
15069 ;;
15070
15071 *)
15072 dynamic_linker=no
15073 ;;
15074 esac
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15076 $as_echo "$dynamic_linker" >&6; }
15077 test "$dynamic_linker" = no && can_build_shared=no
15078
15079 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15080 if test "$GCC" = yes; then
15081 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15082 fi
15083
15084 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15085 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15086 fi
15087 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15088 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15089 fi
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15129 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15130 hardcode_action_CXX=
15131 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15132 test -n "$runpath_var_CXX" ||
15133 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15134
15135 # We can hardcode non-existent directories.
15136 if test "$hardcode_direct_CXX" != no &&
15137 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15138 # have to relink, otherwise we might link with an installed library
15139 # when we should be linking with a yet-to-be-installed one
15140 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15141 test "$hardcode_minus_L_CXX" != no; then
15142 # Linking always hardcodes the temporary library directory.
15143 hardcode_action_CXX=relink
15144 else
15145 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15146 hardcode_action_CXX=immediate
15147 fi
15148 else
15149 # We cannot hardcode anything, or else we can only hardcode existing
15150 # directories.
15151 hardcode_action_CXX=unsupported
15152 fi
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15154 $as_echo "$hardcode_action_CXX" >&6; }
15155
15156 if test "$hardcode_action_CXX" = relink ||
15157 test "$inherit_rpath_CXX" = yes; then
15158 # Fast installation is not supported
15159 enable_fast_install=no
15160 elif test "$shlibpath_overrides_runpath" = yes ||
15161 test "$enable_shared" = no; then
15162 # Fast installation is not necessary
15163 enable_fast_install=needless
15164 fi
15165
15166
15167
15168
15169
15170
15171
15172 fi # test -n "$compiler"
15173
15174 CC=$lt_save_CC
15175 LDCXX=$LD
15176 LD=$lt_save_LD
15177 GCC=$lt_save_GCC
15178 with_gnu_ld=$lt_save_with_gnu_ld
15179 lt_cv_path_LDCXX=$lt_cv_path_LD
15180 lt_cv_path_LD=$lt_save_path_LD
15181 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15182 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15183 fi # test "$_lt_caught_CXX_error" != yes
15184
15185 ac_ext=c
15186 ac_cpp='$CPP $CPPFLAGS'
15187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203 ac_config_commands="$ac_config_commands libtool"
15204
15205
15206
15207
15208 # Only expand once:
15209
15210
15211
15212
15213
15214 case $host in
15215 *-cygwin* | *-mingw*)
15216 # 'host' will be top-level target in the case of a target lib,
15217 # we must compare to with_cross_host to decide if this is a native
15218 # or cross-compiler and select where to install dlls appropriately.
15219 if test -n "$with_cross_host" &&
15220 test x"$with_cross_host" != x"no"; then
15221 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15222 else
15223 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15224 fi
15225 ;;
15226 *)
15227 lt_host_flags=
15228 ;;
15229 esac
15230
15231
15232
15233
15234
15235
15236 if test "$enable_vtable_verify" = yes; then
15237 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15238 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15239 fi
15240
15241
15242 # libtool variables for C++ shared and position-independent compiles.
15243 #
15244 # Use glibcxx_lt_pic_flag to designate the automake variable
15245 # used to encapsulate the default libtool approach to creating objects
15246 # with position-independent code. Default: -prefer-pic.
15247 #
15248 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15249 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15250 #
15251 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15252 # creating position-independent objects. This varies with the target
15253 # hardware and operating system, but is often: -DPIC -fPIC.
15254 if test "$enable_shared" = yes; then
15255 glibcxx_lt_pic_flag="-prefer-pic"
15256 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15257 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15258
15259 else
15260 glibcxx_lt_pic_flag=
15261 glibcxx_compiler_pic_flag=
15262 glibcxx_compiler_shared_flag=
15263 fi
15264
15265
15266
15267
15268 # Override the libtool's pic_flag and pic_mode.
15269 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15270 # NB: this impacts --with-pic and --without-pic.
15271 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15272 pic_mode='default'
15273
15274 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15275 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15276
15277 # Possibly disable most of the library.
15278 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15279 ## than just ignoring the results. Faster /and/ more correct, win win.
15280
15281 # Check whether --enable-hosted-libstdcxx was given.
15282 if test "${enable_hosted_libstdcxx+set}" = set; then :
15283 enableval=$enable_hosted_libstdcxx;
15284 else
15285 case "$host" in
15286 arm*-*-symbianelf*)
15287 enable_hosted_libstdcxx=no
15288 ;;
15289 *)
15290 enable_hosted_libstdcxx=yes
15291 ;;
15292 esac
15293 fi
15294
15295 if test "$enable_hosted_libstdcxx" = no; then
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15297 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15298 is_hosted=no
15299 hosted_define=0
15300 enable_abi_check=no
15301 enable_libstdcxx_pch=no
15302 else
15303 is_hosted=yes
15304 hosted_define=1
15305 fi
15306
15307
15308 cat >>confdefs.h <<_ACEOF
15309 #define _GLIBCXX_HOSTED $hosted_define
15310 _ACEOF
15311
15312
15313
15314 # Enable descriptive messages to standard output on termination.
15315
15316 # Check whether --enable-libstdcxx-verbose was given.
15317 if test "${enable_libstdcxx_verbose+set}" = set; then :
15318 enableval=$enable_libstdcxx_verbose;
15319 else
15320 enable_libstdcxx_verbose=yes
15321 fi
15322
15323 if test x"$enable_libstdcxx_verbose" = xyes; then
15324 verbose_define=1
15325 else
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15327 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15328 verbose_define=0
15329 fi
15330
15331 cat >>confdefs.h <<_ACEOF
15332 #define _GLIBCXX_VERBOSE $verbose_define
15333 _ACEOF
15334
15335
15336
15337 # Enable compiler support that doesn't require linking.
15338
15339 # Check whether --enable-libstdcxx-pch was given.
15340 if test "${enable_libstdcxx_pch+set}" = set; then :
15341 enableval=$enable_libstdcxx_pch;
15342 case "$enableval" in
15343 yes|no) ;;
15344 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15345 esac
15346
15347 else
15348 enable_libstdcxx_pch=$is_hosted
15349 fi
15350
15351
15352 if test $enable_libstdcxx_pch = yes; then
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15354 $as_echo_n "checking for compiler with PCH support... " >&6; }
15355 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15356 $as_echo_n "(cached) " >&6
15357 else
15358 ac_save_CXXFLAGS="$CXXFLAGS"
15359 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15360
15361 ac_ext=cpp
15362 ac_cpp='$CXXCPP $CPPFLAGS'
15363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15366
15367 echo '#include <math.h>' > conftest.h
15368 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15369 -o conftest.h.gch 1>&5 2>&1 &&
15370 echo '#error "pch failed"' > conftest.h &&
15371 echo '#include "conftest.h"' > conftest.cc &&
15372 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15373 then
15374 glibcxx_cv_prog_CXX_pch=yes
15375 else
15376 glibcxx_cv_prog_CXX_pch=no
15377 fi
15378 rm -f conftest*
15379 CXXFLAGS=$ac_save_CXXFLAGS
15380 ac_ext=c
15381 ac_cpp='$CPP $CPPFLAGS'
15382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15385
15386
15387 fi
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15389 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15390 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15391 fi
15392
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15394 $as_echo_n "checking for enabled PCH... " >&6; }
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15396 $as_echo "$enable_libstdcxx_pch" >&6; }
15397
15398
15399 if test $enable_libstdcxx_pch = yes; then
15400 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15401 else
15402 glibcxx_PCHFLAGS=""
15403 fi
15404
15405
15406
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15408 $as_echo_n "checking for thread model used by GCC... " >&6; }
15409 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15411 $as_echo "$target_thread_file" >&6; }
15412
15413 case $target_thread_file in
15414 aix) thread_header=config/rs6000/gthr-aix.h ;;
15415 dce) thread_header=config/pa/gthr-dce.h ;;
15416 lynx) thread_header=config/gthr-lynx.h ;;
15417 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15418 posix) thread_header=gthr-posix.h ;;
15419 rtems) thread_header=config/gthr-rtems.h ;;
15420 single) thread_header=gthr-single.h ;;
15421 tpf) thread_header=config/s390/gthr-tpf.h ;;
15422 vxworks) thread_header=config/gthr-vxworks.h ;;
15423 win32) thread_header=config/i386/gthr-win32.h ;;
15424 esac
15425
15426
15427
15428
15429
15430 ac_ext=cpp
15431 ac_cpp='$CXXCPP $CPPFLAGS'
15432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15435
15436 old_CXXFLAGS="$CXXFLAGS"
15437
15438 # Do link tests if possible, instead asm tests, limited to some platforms
15439 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15440 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15441 atomic_builtins_link_tests=no
15442 if test x$gcc_no_link != xyes; then
15443 # Can do link tests. Limit to some tested platforms
15444 case "$host" in
15445 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15446 atomic_builtins_link_tests=yes
15447 ;;
15448 esac
15449 fi
15450
15451 if test x$atomic_builtins_link_tests = xyes; then
15452
15453 # Do link tests.
15454
15455 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15456
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15458 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15459 if ${glibcxx_cv_atomic_bool+:} false; then :
15460 $as_echo_n "(cached) " >&6
15461 else
15462
15463 if test x$gcc_no_link = xyes; then
15464 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15465 fi
15466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15467 /* end confdefs.h. */
15468
15469 int
15470 main ()
15471 {
15472 typedef bool atomic_type;
15473 atomic_type c1;
15474 atomic_type c2;
15475 atomic_type c3(0);
15476 // N.B. __atomic_fetch_add is not supported for bool.
15477 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15478 __ATOMIC_RELAXED);
15479 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15480 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15481
15482 ;
15483 return 0;
15484 }
15485 _ACEOF
15486 if ac_fn_cxx_try_link "$LINENO"; then :
15487 glibcxx_cv_atomic_bool=yes
15488 else
15489 glibcxx_cv_atomic_bool=no
15490 fi
15491 rm -f core conftest.err conftest.$ac_objext \
15492 conftest$ac_exeext conftest.$ac_ext
15493
15494 fi
15495
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15497 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15498
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15500 $as_echo_n "checking for atomic builtins for short... " >&6; }
15501 if ${glibcxx_cv_atomic_short+:} false; then :
15502 $as_echo_n "(cached) " >&6
15503 else
15504
15505 if test x$gcc_no_link = xyes; then
15506 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15507 fi
15508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15509 /* end confdefs.h. */
15510
15511 int
15512 main ()
15513 {
15514 typedef short atomic_type;
15515 atomic_type c1;
15516 atomic_type c2;
15517 atomic_type c3(0);
15518 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15519 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15520 __ATOMIC_RELAXED);
15521 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15522 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15523
15524 ;
15525 return 0;
15526 }
15527 _ACEOF
15528 if ac_fn_cxx_try_link "$LINENO"; then :
15529 glibcxx_cv_atomic_short=yes
15530 else
15531 glibcxx_cv_atomic_short=no
15532 fi
15533 rm -f core conftest.err conftest.$ac_objext \
15534 conftest$ac_exeext conftest.$ac_ext
15535
15536 fi
15537
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15539 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15540
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15542 $as_echo_n "checking for atomic builtins for int... " >&6; }
15543 if ${glibcxx_cv_atomic_int+:} false; then :
15544 $as_echo_n "(cached) " >&6
15545 else
15546
15547 if test x$gcc_no_link = xyes; then
15548 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15549 fi
15550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15551 /* end confdefs.h. */
15552
15553 int
15554 main ()
15555 {
15556 typedef int atomic_type;
15557 atomic_type c1;
15558 atomic_type c2;
15559 atomic_type c3(0);
15560 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15561 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15562 __ATOMIC_RELAXED);
15563 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15564 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15565
15566 ;
15567 return 0;
15568 }
15569 _ACEOF
15570 if ac_fn_cxx_try_link "$LINENO"; then :
15571 glibcxx_cv_atomic_int=yes
15572 else
15573 glibcxx_cv_atomic_int=no
15574 fi
15575 rm -f core conftest.err conftest.$ac_objext \
15576 conftest$ac_exeext conftest.$ac_ext
15577
15578 fi
15579
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15581 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15582
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15584 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15585 if ${glibcxx_cv_atomic_long_long+:} false; then :
15586 $as_echo_n "(cached) " >&6
15587 else
15588
15589 if test x$gcc_no_link = xyes; then
15590 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15591 fi
15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15594
15595 int
15596 main ()
15597 {
15598 typedef long long atomic_type;
15599 atomic_type c1;
15600 atomic_type c2;
15601 atomic_type c3(0);
15602 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15603 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15604 __ATOMIC_RELAXED);
15605 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15606 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15607
15608 ;
15609 return 0;
15610 }
15611 _ACEOF
15612 if ac_fn_cxx_try_link "$LINENO"; then :
15613 glibcxx_cv_atomic_long_long=yes
15614 else
15615 glibcxx_cv_atomic_long_long=no
15616 fi
15617 rm -f core conftest.err conftest.$ac_objext \
15618 conftest$ac_exeext conftest.$ac_ext
15619
15620 fi
15621
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15623 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15624
15625 else
15626
15627 # Do asm tests.
15628
15629 # Compile unoptimized.
15630 CXXFLAGS='-O0 -S'
15631
15632 # Fake what AC_TRY_COMPILE does.
15633
15634 cat > conftest.$ac_ext << EOF
15635 #line 15635 "configure"
15636 int main()
15637 {
15638 typedef bool atomic_type;
15639 atomic_type c1;
15640 atomic_type c2;
15641 atomic_type c3(0);
15642 // N.B. __atomic_fetch_add is not supported for bool.
15643 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15644 __ATOMIC_RELAXED);
15645 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15646 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15647
15648 return 0;
15649 }
15650 EOF
15651
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15653 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15654 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15655 (eval $ac_compile) 2>&5
15656 ac_status=$?
15657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15658 test $ac_status = 0; }; then
15659 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15660 glibcxx_cv_atomic_bool=no
15661 else
15662 glibcxx_cv_atomic_bool=yes
15663 fi
15664 fi
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15666 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15667 rm -f conftest*
15668
15669 cat > conftest.$ac_ext << EOF
15670 #line 15670 "configure"
15671 int main()
15672 {
15673 typedef short atomic_type;
15674 atomic_type c1;
15675 atomic_type c2;
15676 atomic_type c3(0);
15677 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15678 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15679 __ATOMIC_RELAXED);
15680 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15681 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15682
15683 return 0;
15684 }
15685 EOF
15686
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15688 $as_echo_n "checking for atomic builtins for short... " >&6; }
15689 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15690 (eval $ac_compile) 2>&5
15691 ac_status=$?
15692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15693 test $ac_status = 0; }; then
15694 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15695 glibcxx_cv_atomic_short=no
15696 else
15697 glibcxx_cv_atomic_short=yes
15698 fi
15699 fi
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15701 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15702 rm -f conftest*
15703
15704 cat > conftest.$ac_ext << EOF
15705 #line 15705 "configure"
15706 int main()
15707 {
15708 // NB: _Atomic_word not necessarily int.
15709 typedef int atomic_type;
15710 atomic_type c1;
15711 atomic_type c2;
15712 atomic_type c3(0);
15713 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15714 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15715 __ATOMIC_RELAXED);
15716 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15717 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15718
15719 return 0;
15720 }
15721 EOF
15722
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15724 $as_echo_n "checking for atomic builtins for int... " >&6; }
15725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15726 (eval $ac_compile) 2>&5
15727 ac_status=$?
15728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15729 test $ac_status = 0; }; then
15730 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15731 glibcxx_cv_atomic_int=no
15732 else
15733 glibcxx_cv_atomic_int=yes
15734 fi
15735 fi
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15737 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15738 rm -f conftest*
15739
15740 cat > conftest.$ac_ext << EOF
15741 #line 15741 "configure"
15742 int main()
15743 {
15744 typedef long long atomic_type;
15745 atomic_type c1;
15746 atomic_type c2;
15747 atomic_type c3(0);
15748 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15749 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15750 __ATOMIC_RELAXED);
15751 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15752 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15753
15754 return 0;
15755 }
15756 EOF
15757
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15759 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15760 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15761 (eval $ac_compile) 2>&5
15762 ac_status=$?
15763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15764 test $ac_status = 0; }; then
15765 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15766 glibcxx_cv_atomic_long_long=no
15767 else
15768 glibcxx_cv_atomic_long_long=yes
15769 fi
15770 fi
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15772 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15773 rm -f conftest*
15774
15775 fi
15776
15777 CXXFLAGS="$old_CXXFLAGS"
15778 ac_ext=c
15779 ac_cpp='$CPP $CPPFLAGS'
15780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15783
15784
15785 # Set atomicity_dir to builtins if all but the long long test above passes,
15786 # or if the builtins were already chosen (e.g. by configure.host).
15787 if { test "$glibcxx_cv_atomic_bool" = yes \
15788 && test "$glibcxx_cv_atomic_short" = yes \
15789 && test "$glibcxx_cv_atomic_int" = yes; } \
15790 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15791
15792 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15793
15794 atomicity_dir=cpu/generic/atomicity_builtins
15795 fi
15796
15797 # If still generic, set to mutex.
15798 if test $atomicity_dir = "cpu/generic" ; then
15799 atomicity_dir=cpu/generic/atomicity_mutex
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15801 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15802 if test "x$target_thread_file" = xsingle; then
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15804 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15806 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15807 else
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15809 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15811 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15812 fi
15813 fi
15814
15815
15816
15817
15818 # Fake what AC_TRY_COMPILE does, without linking as this is
15819 # unnecessary for this test.
15820
15821 cat > conftest.$ac_ext << EOF
15822 #line 15822 "configure"
15823 int main()
15824 {
15825 _Decimal32 d1;
15826 _Decimal64 d2;
15827 _Decimal128 d3;
15828 return 0;
15829 }
15830 EOF
15831
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15833 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15834 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15835 (eval $ac_compile) 2>&5
15836 ac_status=$?
15837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15838 test $ac_status = 0; }; then
15839
15840 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15841
15842 enable_dfp=yes
15843 else
15844 enable_dfp=no
15845 fi
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15847 $as_echo "$enable_dfp" >&6; }
15848 rm -f conftest*
15849
15850
15851
15852
15853 ac_ext=cpp
15854 ac_cpp='$CXXCPP $CPPFLAGS'
15855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15858
15859
15860 # Fake what AC_TRY_COMPILE does, without linking as this is
15861 # unnecessary for this test.
15862
15863 cat > conftest.$ac_ext << EOF
15864 #line 15864 "configure"
15865 template<typename T1, typename T2>
15866 struct same
15867 { typedef T2 type; };
15868
15869 template<typename T>
15870 struct same<T, T>;
15871
15872 int main()
15873 {
15874 typename same<long, __int128>::type i1;
15875 typename same<long long, __int128>::type i2;
15876 }
15877 EOF
15878
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15880 $as_echo_n "checking for __int128... " >&6; }
15881 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15882 (eval $ac_compile) 2>&5
15883 ac_status=$?
15884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15885 test $ac_status = 0; }; then
15886
15887 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15888
15889 enable_int128=yes
15890 else
15891 enable_int128=no
15892 fi
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15894 $as_echo "$enable_int128" >&6; }
15895 rm -f conftest*
15896
15897 cat > conftest.$ac_ext << EOF
15898 #line 15898 "configure"
15899 template<typename T1, typename T2>
15900 struct same
15901 { typedef T2 type; };
15902
15903 template<typename T>
15904 struct same<T, T>;
15905
15906 int main()
15907 {
15908 typename same<double, __float128>::type f1;
15909 typename same<long double, __float128>::type f2;
15910 }
15911 EOF
15912
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15914 $as_echo_n "checking for __float128... " >&6; }
15915 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15916 (eval $ac_compile) 2>&5
15917 ac_status=$?
15918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15919 test $ac_status = 0; }; then
15920 enable_float128=yes
15921 else
15922 enable_float128=no
15923 fi
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15925 $as_echo "$enable_float128" >&6; }
15926
15927 rm -f conftest*
15928
15929 ac_ext=c
15930 ac_cpp='$CPP $CPPFLAGS'
15931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15934
15935
15936 if test "$enable_float128" = yes; then
15937 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15938 fi
15939
15940 # Checks for compiler support that doesn't require linking.
15941
15942 # All these tests are for C++; save the language and the compiler flags.
15943 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15944 # found in GLIBCXX_CONFIGURE.
15945
15946 ac_ext=cpp
15947 ac_cpp='$CXXCPP $CPPFLAGS'
15948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15951
15952 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15953 ac_save_CXXFLAGS="$CXXFLAGS"
15954
15955 # Check for -ffunction-sections -fdata-sections
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15957 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15958 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15960 /* end confdefs.h. */
15961 int foo; void bar() { };
15962 int
15963 main ()
15964 {
15965
15966 ;
15967 return 0;
15968 }
15969 _ACEOF
15970 if ac_fn_cxx_try_compile "$LINENO"; then :
15971 ac_fdsections=yes
15972 else
15973 ac_fdsections=no
15974 fi
15975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15976 if test "$ac_test_CXXFLAGS" = set; then
15977 CXXFLAGS="$ac_save_CXXFLAGS"
15978 else
15979 # this is the suspicious part
15980 CXXFLAGS=''
15981 fi
15982 if test x"$ac_fdsections" = x"yes"; then
15983 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15984 fi
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15986 $as_echo "$ac_fdsections" >&6; }
15987
15988 ac_ext=c
15989 ac_cpp='$CPP $CPPFLAGS'
15990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15993
15994
15995
15996
15997 # Enable all the variable C++ runtime options that don't require linking.
15998
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16000 $as_echo_n "checking for underlying I/O to use... " >&6; }
16001 # Check whether --enable-cstdio was given.
16002 if test "${enable_cstdio+set}" = set; then :
16003 enableval=$enable_cstdio;
16004 case "$enableval" in
16005 stdio) ;;
16006 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16007 esac
16008
16009 else
16010 enable_cstdio=stdio
16011 fi
16012
16013
16014
16015 # Now that libio has been removed, you can have any color you want as long
16016 # as it's black. This is one big no-op until other packages are added, but
16017 # showing the framework never hurts.
16018 case ${enable_cstdio} in
16019 stdio)
16020 CSTDIO_H=config/io/c_io_stdio.h
16021 BASIC_FILE_H=config/io/basic_file_stdio.h
16022 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16024 $as_echo "stdio" >&6; }
16025 ;;
16026 esac
16027
16028
16029
16030
16031
16032
16033 # Check whether --enable-clocale was given.
16034 if test "${enable_clocale+set}" = set; then :
16035 enableval=$enable_clocale;
16036 case "$enableval" in
16037 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16038 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16039 esac
16040
16041 else
16042 enable_clocale=auto
16043 fi
16044
16045
16046
16047 # Deal with gettext issues. Default to not using it (=no) until we detect
16048 # support for it later. Let the user turn it off via --e/d, but let that
16049 # default to on for easier handling.
16050 USE_NLS=no
16051 # Check whether --enable-nls was given.
16052 if test "${enable_nls+set}" = set; then :
16053 enableval=$enable_nls;
16054 else
16055 enable_nls=yes
16056 fi
16057
16058
16059 # Either a known package, or "auto"
16060 if test $enable_clocale = no || test $enable_clocale = yes; then
16061 enable_clocale=auto
16062 fi
16063 enable_clocale_flag=$enable_clocale
16064
16065 # Probe for locale model to use if none specified.
16066 # Default to "generic".
16067 if test $enable_clocale_flag = auto; then
16068 case ${target_os} in
16069 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16070 enable_clocale_flag=gnu
16071 ;;
16072 darwin*)
16073 enable_clocale_flag=darwin
16074 ;;
16075 dragonfly* | freebsd*)
16076 enable_clocale_flag=dragonfly
16077 ;;
16078 openbsd*)
16079 enable_clocale_flag=newlib
16080 ;;
16081 *)
16082 if test x"$with_newlib" = x"yes"; then
16083 enable_clocale_flag=newlib
16084 else
16085 enable_clocale_flag=generic
16086 fi
16087 ;;
16088 esac
16089 fi
16090
16091 # Sanity check model, and test for special functionality.
16092 if test $enable_clocale_flag = gnu; then
16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16095
16096 #include <features.h>
16097 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16098 _GLIBCXX_ok
16099 #endif
16100
16101 _ACEOF
16102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16103 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16104 enable_clocale_flag=gnu
16105 else
16106 enable_clocale_flag=generic
16107 fi
16108 rm -f conftest*
16109
16110
16111 # Set it to scream when it hurts.
16112 ac_save_CFLAGS="$CFLAGS"
16113 CFLAGS="-Wimplicit-function-declaration -Werror"
16114
16115 # Use strxfrm_l if available.
16116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16117 /* end confdefs.h. */
16118 #define _GNU_SOURCE 1
16119 #include <string.h>
16120 #include <locale.h>
16121 int
16122 main ()
16123 {
16124 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16125 ;
16126 return 0;
16127 }
16128 _ACEOF
16129 if ac_fn_c_try_compile "$LINENO"; then :
16130
16131 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16132
16133 fi
16134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16135
16136 # Use strerror_l if available.
16137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16138 /* end confdefs.h. */
16139 #define _GNU_SOURCE 1
16140 #include <string.h>
16141 #include <locale.h>
16142 int
16143 main ()
16144 {
16145 __locale_t loc; strerror_l(5, loc);
16146 ;
16147 return 0;
16148 }
16149 _ACEOF
16150 if ac_fn_c_try_compile "$LINENO"; then :
16151
16152 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16153
16154 fi
16155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16156
16157 CFLAGS="$ac_save_CFLAGS"
16158 fi
16159
16160 # Perhaps use strerror_r if available, and strerror_l isn't.
16161 ac_save_CFLAGS="$CFLAGS"
16162 CFLAGS="-Wimplicit-function-declaration -Werror"
16163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16164 /* end confdefs.h. */
16165 #define _GNU_SOURCE 1
16166 #include <string.h>
16167 #include <locale.h>
16168 int
16169 main ()
16170 {
16171 char s[128]; strerror_r(5, s, 128);
16172 ;
16173 return 0;
16174 }
16175 _ACEOF
16176 if ac_fn_c_try_compile "$LINENO"; then :
16177
16178 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16179
16180 fi
16181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16182 CFLAGS="$ac_save_CFLAGS"
16183
16184 # Set configure bits for specified locale package
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16186 $as_echo_n "checking for C locale to use... " >&6; }
16187 case ${enable_clocale_flag} in
16188 generic)
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16190 $as_echo "generic" >&6; }
16191
16192 CLOCALE_H=config/locale/generic/c_locale.h
16193 CLOCALE_CC=config/locale/generic/c_locale.cc
16194 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16195 CCOLLATE_CC=config/locale/generic/collate_members.cc
16196 CCTYPE_CC=config/locale/generic/ctype_members.cc
16197 CMESSAGES_H=config/locale/generic/messages_members.h
16198 CMESSAGES_CC=config/locale/generic/messages_members.cc
16199 CMONEY_CC=config/locale/generic/monetary_members.cc
16200 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16201 CTIME_H=config/locale/generic/time_members.h
16202 CTIME_CC=config/locale/generic/time_members.cc
16203 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16204 ;;
16205 darwin)
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16207 $as_echo "darwin" >&6; }
16208
16209 CLOCALE_H=config/locale/generic/c_locale.h
16210 CLOCALE_CC=config/locale/generic/c_locale.cc
16211 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16212 CCOLLATE_CC=config/locale/generic/collate_members.cc
16213 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16214 CMESSAGES_H=config/locale/generic/messages_members.h
16215 CMESSAGES_CC=config/locale/generic/messages_members.cc
16216 CMONEY_CC=config/locale/generic/monetary_members.cc
16217 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16218 CTIME_H=config/locale/generic/time_members.h
16219 CTIME_CC=config/locale/generic/time_members.cc
16220 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16221 ;;
16222
16223 dragonfly)
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16225 $as_echo "dragonfly or freebsd" >&6; }
16226
16227 CLOCALE_H=config/locale/dragonfly/c_locale.h
16228 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16229 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16230 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16231 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16232 CMESSAGES_H=config/locale/generic/messages_members.h
16233 CMESSAGES_CC=config/locale/generic/messages_members.cc
16234 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16235 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16236 CTIME_H=config/locale/dragonfly/time_members.h
16237 CTIME_CC=config/locale/dragonfly/time_members.cc
16238 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16239 ;;
16240
16241 gnu)
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16243 $as_echo "gnu" >&6; }
16244
16245 # Declare intention to use gettext, and add support for specific
16246 # languages.
16247 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16248 ALL_LINGUAS="de fr"
16249
16250 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16251 # Extract the first word of "msgfmt", so it can be a program name with args.
16252 set dummy msgfmt; ac_word=$2
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16254 $as_echo_n "checking for $ac_word... " >&6; }
16255 if ${ac_cv_prog_check_msgfmt+:} false; then :
16256 $as_echo_n "(cached) " >&6
16257 else
16258 if test -n "$check_msgfmt"; then
16259 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16260 else
16261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16262 for as_dir in $PATH
16263 do
16264 IFS=$as_save_IFS
16265 test -z "$as_dir" && as_dir=.
16266 for ac_exec_ext in '' $ac_executable_extensions; do
16267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16268 ac_cv_prog_check_msgfmt="yes"
16269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16270 break 2
16271 fi
16272 done
16273 done
16274 IFS=$as_save_IFS
16275
16276 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16277 fi
16278 fi
16279 check_msgfmt=$ac_cv_prog_check_msgfmt
16280 if test -n "$check_msgfmt"; then
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16282 $as_echo "$check_msgfmt" >&6; }
16283 else
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16285 $as_echo "no" >&6; }
16286 fi
16287
16288
16289 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16290 USE_NLS=yes
16291 fi
16292 # Export the build objects.
16293 for ling in $ALL_LINGUAS; do \
16294 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16295 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16296 done
16297
16298
16299
16300 CLOCALE_H=config/locale/gnu/c_locale.h
16301 CLOCALE_CC=config/locale/gnu/c_locale.cc
16302 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16303 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16304 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16305 CMESSAGES_H=config/locale/gnu/messages_members.h
16306 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16307 CMONEY_CC=config/locale/gnu/monetary_members.cc
16308 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16309 CTIME_H=config/locale/gnu/time_members.h
16310 CTIME_CC=config/locale/gnu/time_members.cc
16311 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16312 ;;
16313 ieee_1003.1-2001)
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16315 $as_echo "IEEE 1003.1" >&6; }
16316
16317 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16318 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16319 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16320 CCOLLATE_CC=config/locale/generic/collate_members.cc
16321 CCTYPE_CC=config/locale/generic/ctype_members.cc
16322 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16323 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16324 CMONEY_CC=config/locale/generic/monetary_members.cc
16325 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16326 CTIME_H=config/locale/generic/time_members.h
16327 CTIME_CC=config/locale/generic/time_members.cc
16328 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16329 ;;
16330 newlib)
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16332 $as_echo "newlib" >&6; }
16333
16334 CLOCALE_H=config/locale/generic/c_locale.h
16335 CLOCALE_CC=config/locale/generic/c_locale.cc
16336 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16337 CCOLLATE_CC=config/locale/generic/collate_members.cc
16338 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16339 CMESSAGES_H=config/locale/generic/messages_members.h
16340 CMESSAGES_CC=config/locale/generic/messages_members.cc
16341 CMONEY_CC=config/locale/generic/monetary_members.cc
16342 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16343 CTIME_H=config/locale/generic/time_members.h
16344 CTIME_CC=config/locale/generic/time_members.cc
16345 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16346 ;;
16347 esac
16348
16349 # This is where the testsuite looks for locale catalogs, using the
16350 # -DLOCALEDIR define during testsuite compilation.
16351 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16352
16353
16354 # A standalone libintl (e.g., GNU libintl) may be in use.
16355 if test $USE_NLS = yes; then
16356 for ac_header in libintl.h
16357 do :
16358 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16359 if test "x$ac_cv_header_libintl_h" = xyes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_LIBINTL_H 1
16362 _ACEOF
16363
16364 else
16365 USE_NLS=no
16366 fi
16367
16368 done
16369
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16371 $as_echo_n "checking for library containing gettext... " >&6; }
16372 if ${ac_cv_search_gettext+:} false; then :
16373 $as_echo_n "(cached) " >&6
16374 else
16375 ac_func_search_save_LIBS=$LIBS
16376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16377 /* end confdefs.h. */
16378
16379 /* Override any GCC internal prototype to avoid an error.
16380 Use char because int might match the return type of a GCC
16381 builtin and then its argument prototype would still apply. */
16382 #ifdef __cplusplus
16383 extern "C"
16384 #endif
16385 char gettext ();
16386 int
16387 main ()
16388 {
16389 return gettext ();
16390 ;
16391 return 0;
16392 }
16393 _ACEOF
16394 for ac_lib in '' intl; do
16395 if test -z "$ac_lib"; then
16396 ac_res="none required"
16397 else
16398 ac_res=-l$ac_lib
16399 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16400 fi
16401 if test x$gcc_no_link = xyes; then
16402 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16403 fi
16404 if ac_fn_c_try_link "$LINENO"; then :
16405 ac_cv_search_gettext=$ac_res
16406 fi
16407 rm -f core conftest.err conftest.$ac_objext \
16408 conftest$ac_exeext
16409 if ${ac_cv_search_gettext+:} false; then :
16410 break
16411 fi
16412 done
16413 if ${ac_cv_search_gettext+:} false; then :
16414
16415 else
16416 ac_cv_search_gettext=no
16417 fi
16418 rm conftest.$ac_ext
16419 LIBS=$ac_func_search_save_LIBS
16420 fi
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16422 $as_echo "$ac_cv_search_gettext" >&6; }
16423 ac_res=$ac_cv_search_gettext
16424 if test "$ac_res" != no; then :
16425 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16426
16427 else
16428 USE_NLS=no
16429 fi
16430
16431 fi
16432 if test $USE_NLS = yes; then
16433
16434 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16435
16436 fi
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16454 $as_echo_n "checking for std::allocator base class... " >&6; }
16455 # Check whether --enable-libstdcxx-allocator was given.
16456 if test "${enable_libstdcxx_allocator+set}" = set; then :
16457 enableval=$enable_libstdcxx_allocator;
16458 case "$enableval" in
16459 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16460 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16461 esac
16462
16463 else
16464 enable_libstdcxx_allocator=auto
16465 fi
16466
16467
16468
16469 # If they didn't use this option switch, or if they specified --enable
16470 # with no specific model, we'll have to look for one. If they
16471 # specified --disable (???), do likewise.
16472 if test $enable_libstdcxx_allocator = no ||
16473 test $enable_libstdcxx_allocator = yes;
16474 then
16475 enable_libstdcxx_allocator=auto
16476 fi
16477
16478 # Either a known package, or "auto". Auto implies the default choice
16479 # for a particular platform.
16480 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16481
16482 # Probe for host-specific support if no specific model is specified.
16483 # Default to "new".
16484 if test $enable_libstdcxx_allocator_flag = auto; then
16485 case ${target_os} in
16486 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16487 enable_libstdcxx_allocator_flag=new
16488 ;;
16489 *)
16490 enable_libstdcxx_allocator_flag=new
16491 ;;
16492 esac
16493 fi
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16495 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16496
16497
16498 # Set configure bits for specified locale package
16499 case ${enable_libstdcxx_allocator_flag} in
16500 bitmap)
16501 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16502 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16503 ;;
16504 malloc)
16505 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16506 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16507 ;;
16508 mt)
16509 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16510 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16511 ;;
16512 new)
16513 ALLOCATOR_H=config/allocator/new_allocator_base.h
16514 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16515 ;;
16516 pool)
16517 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16518 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16519 ;;
16520 esac
16521
16522
16523
16524
16525
16526
16527 # Check whether --enable-cheaders was given.
16528 if test "${enable_cheaders+set}" = set; then :
16529 enableval=$enable_cheaders;
16530 case "$enableval" in
16531 c|c_std|c_global) ;;
16532 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16533 esac
16534
16535 else
16536 enable_cheaders=$c_model
16537 fi
16538
16539
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16541 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16542
16543 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16544
16545 # Allow overrides to configure.host here.
16546 if test $enable_cheaders = c_global; then
16547 c_compatibility=yes
16548 fi
16549
16550
16551
16552
16553
16554
16555
16556 # Check whether --enable-long-long was given.
16557 if test "${enable_long_long+set}" = set; then :
16558 enableval=$enable_long_long;
16559 case "$enableval" in
16560 yes|no) ;;
16561 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16562 esac
16563
16564 else
16565 enable_long_long=yes
16566 fi
16567
16568
16569 if test $enable_long_long = yes; then
16570
16571 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16572
16573 fi
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16575 $as_echo_n "checking for enabled long long specializations... " >&6; }
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16577 $as_echo "$enable_long_long" >&6; }
16578
16579
16580 # Check whether --enable-wchar_t was given.
16581 if test "${enable_wchar_t+set}" = set; then :
16582 enableval=$enable_wchar_t;
16583 case "$enableval" in
16584 yes|no) ;;
16585 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16586 esac
16587
16588 else
16589 enable_wchar_t=yes
16590 fi
16591
16592
16593
16594 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16595 for ac_header in wchar.h
16596 do :
16597 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16598 if test "x$ac_cv_header_wchar_h" = xyes; then :
16599 cat >>confdefs.h <<_ACEOF
16600 #define HAVE_WCHAR_H 1
16601 _ACEOF
16602 ac_has_wchar_h=yes
16603 else
16604 ac_has_wchar_h=no
16605 fi
16606
16607 done
16608
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16610 $as_echo_n "checking for mbstate_t... " >&6; }
16611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16612 /* end confdefs.h. */
16613 #include <wchar.h>
16614 int
16615 main ()
16616 {
16617 mbstate_t teststate;
16618 ;
16619 return 0;
16620 }
16621 _ACEOF
16622 if ac_fn_c_try_compile "$LINENO"; then :
16623 have_mbstate_t=yes
16624 else
16625 have_mbstate_t=no
16626 fi
16627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16629 $as_echo "$have_mbstate_t" >&6; }
16630 if test x"$have_mbstate_t" = xyes; then
16631
16632 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16633
16634 fi
16635
16636 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16637 # ac_has_wchar_h.
16638 for ac_header in wctype.h
16639 do :
16640 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16641 if test "x$ac_cv_header_wctype_h" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_WCTYPE_H 1
16644 _ACEOF
16645 ac_has_wctype_h=yes
16646 else
16647 ac_has_wctype_h=no
16648 fi
16649
16650 done
16651
16652
16653 if test x"$enable_wchar_t" = x"yes"; then
16654
16655
16656 ac_ext=cpp
16657 ac_cpp='$CXXCPP $CPPFLAGS'
16658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16661
16662
16663 if test x"$ac_has_wchar_h" = xyes &&
16664 test x"$ac_has_wctype_h" = xyes; then
16665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h. */
16667 #include <wchar.h>
16668 #include <stddef.h>
16669 wint_t i;
16670 long l = WEOF;
16671 long j = WCHAR_MIN;
16672 long k = WCHAR_MAX;
16673 namespace test
16674 {
16675 using ::btowc;
16676 using ::fgetwc;
16677 using ::fgetws;
16678 using ::fputwc;
16679 using ::fputws;
16680 using ::fwide;
16681 using ::fwprintf;
16682 using ::fwscanf;
16683 using ::getwc;
16684 using ::getwchar;
16685 using ::mbrlen;
16686 using ::mbrtowc;
16687 using ::mbsinit;
16688 using ::mbsrtowcs;
16689 using ::putwc;
16690 using ::putwchar;
16691 using ::swprintf;
16692 using ::swscanf;
16693 using ::ungetwc;
16694 using ::vfwprintf;
16695 using ::vswprintf;
16696 using ::vwprintf;
16697 using ::wcrtomb;
16698 using ::wcscat;
16699 using ::wcschr;
16700 using ::wcscmp;
16701 using ::wcscoll;
16702 using ::wcscpy;
16703 using ::wcscspn;
16704 using ::wcsftime;
16705 using ::wcslen;
16706 using ::wcsncat;
16707 using ::wcsncmp;
16708 using ::wcsncpy;
16709 using ::wcspbrk;
16710 using ::wcsrchr;
16711 using ::wcsrtombs;
16712 using ::wcsspn;
16713 using ::wcsstr;
16714 using ::wcstod;
16715 using ::wcstok;
16716 using ::wcstol;
16717 using ::wcstoul;
16718 using ::wcsxfrm;
16719 using ::wctob;
16720 using ::wmemchr;
16721 using ::wmemcmp;
16722 using ::wmemcpy;
16723 using ::wmemmove;
16724 using ::wmemset;
16725 using ::wprintf;
16726 using ::wscanf;
16727 }
16728
16729 int
16730 main ()
16731 {
16732
16733 ;
16734 return 0;
16735 }
16736 _ACEOF
16737 if ac_fn_cxx_try_compile "$LINENO"; then :
16738
16739 else
16740 enable_wchar_t=no
16741 fi
16742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16743 else
16744 enable_wchar_t=no
16745 fi
16746
16747 ac_ext=c
16748 ac_cpp='$CPP $CPPFLAGS'
16749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16752
16753 fi
16754
16755 if test x"$enable_wchar_t" = x"yes"; then
16756
16757 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16758
16759 fi
16760
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16762 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16764 $as_echo "$enable_wchar_t" >&6; }
16765
16766
16767
16768 # Check whether --enable-c99 was given.
16769 if test "${enable_c99+set}" = set; then :
16770 enableval=$enable_c99;
16771 case "$enableval" in
16772 yes|no) ;;
16773 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16774 esac
16775
16776 else
16777 enable_c99=yes
16778 fi
16779
16780
16781
16782 if test x"$enable_c99" = x"yes"; then
16783
16784 ac_ext=cpp
16785 ac_cpp='$CXXCPP $CPPFLAGS'
16786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16789
16790
16791 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16792 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16793 # to be spuriously enabled.
16794 ac_save_CXXFLAGS="$CXXFLAGS"
16795 CXXFLAGS="$CXXFLAGS -std=c++98"
16796 ac_save_LIBS="$LIBS"
16797 ac_save_gcc_no_link="$gcc_no_link"
16798
16799 if test x$gcc_no_link != xyes; then
16800 # Use -fno-exceptions to that the C driver can link these tests without
16801 # hitting undefined references to personality routines.
16802 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16804 $as_echo_n "checking for sin in -lm... " >&6; }
16805 if ${ac_cv_lib_m_sin+:} false; then :
16806 $as_echo_n "(cached) " >&6
16807 else
16808 ac_check_lib_save_LIBS=$LIBS
16809 LIBS="-lm $LIBS"
16810 if test x$gcc_no_link = xyes; then
16811 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16812 fi
16813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16814 /* end confdefs.h. */
16815
16816 /* Override any GCC internal prototype to avoid an error.
16817 Use char because int might match the return type of a GCC
16818 builtin and then its argument prototype would still apply. */
16819 #ifdef __cplusplus
16820 extern "C"
16821 #endif
16822 char sin ();
16823 int
16824 main ()
16825 {
16826 return sin ();
16827 ;
16828 return 0;
16829 }
16830 _ACEOF
16831 if ac_fn_cxx_try_link "$LINENO"; then :
16832 ac_cv_lib_m_sin=yes
16833 else
16834 ac_cv_lib_m_sin=no
16835 fi
16836 rm -f core conftest.err conftest.$ac_objext \
16837 conftest$ac_exeext conftest.$ac_ext
16838 LIBS=$ac_check_lib_save_LIBS
16839 fi
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16841 $as_echo "$ac_cv_lib_m_sin" >&6; }
16842 if test "x$ac_cv_lib_m_sin" = xyes; then :
16843 LIBS="$LIBS -lm"
16844 else
16845
16846 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16847 gcc_no_link=yes
16848
16849 fi
16850
16851 fi
16852
16853 # Check for the existence of <math.h> functions used if C99 is enabled.
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16855 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16856 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
16857 $as_echo_n "(cached) " >&6
16858 else
16859
16860 if test x$gcc_no_link = xyes; then
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h. */
16863 #include <math.h>
16864 volatile double d1, d2;
16865 volatile int i;
16866 int
16867 main ()
16868 {
16869 i = fpclassify(d1);
16870 i = isfinite(d1);
16871 i = isinf(d1);
16872 i = isnan(d1);
16873 i = isnormal(d1);
16874 i = signbit(d1);
16875 i = isgreater(d1, d2);
16876 i = isgreaterequal(d1, d2);
16877 i = isless(d1, d2);
16878 i = islessequal(d1, d2);
16879 i = islessgreater(d1, d2);
16880 i = islessgreater(d1, d2);
16881 i = isunordered(d1, d2);
16882
16883 ;
16884 return 0;
16885 }
16886 _ACEOF
16887 if ac_fn_cxx_try_compile "$LINENO"; then :
16888 glibcxx_cv_c99_math_cxx98=yes
16889 else
16890 glibcxx_cv_c99_math_cxx98=no
16891 fi
16892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16893 else
16894 if test x$gcc_no_link = xyes; then
16895 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16896 fi
16897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16898 /* end confdefs.h. */
16899 #include <math.h>
16900 volatile double d1, d2;
16901 volatile int i;
16902 int
16903 main ()
16904 {
16905 i = fpclassify(d1);
16906 i = isfinite(d1);
16907 i = isinf(d1);
16908 i = isnan(d1);
16909 i = isnormal(d1);
16910 i = signbit(d1);
16911 i = isgreater(d1, d2);
16912 i = isgreaterequal(d1, d2);
16913 i = isless(d1, d2);
16914 i = islessequal(d1, d2);
16915 i = islessgreater(d1, d2);
16916 i = islessgreater(d1, d2);
16917 i = isunordered(d1, d2);
16918
16919 ;
16920 return 0;
16921 }
16922 _ACEOF
16923 if ac_fn_cxx_try_link "$LINENO"; then :
16924 glibcxx_cv_c99_math_cxx98=yes
16925 else
16926 glibcxx_cv_c99_math_cxx98=no
16927 fi
16928 rm -f core conftest.err conftest.$ac_objext \
16929 conftest$ac_exeext conftest.$ac_ext
16930 fi
16931
16932 fi
16933
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16935 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16936 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16937
16938 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16939
16940 fi
16941
16942 # Check for the existence of <complex.h> complex math functions.
16943 # This is necessary even though libstdc++ uses the builtin versions
16944 # of these functions, because if the builtin cannot be used, a reference
16945 # to the library function is emitted.
16946 for ac_header in tgmath.h
16947 do :
16948 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16949 if test "x$ac_cv_header_tgmath_h" = xyes; then :
16950 cat >>confdefs.h <<_ACEOF
16951 #define HAVE_TGMATH_H 1
16952 _ACEOF
16953 ac_has_tgmath_h=yes
16954 else
16955 ac_has_tgmath_h=no
16956 fi
16957
16958 done
16959
16960 for ac_header in complex.h
16961 do :
16962 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16963 if test "x$ac_cv_header_complex_h" = xyes; then :
16964 cat >>confdefs.h <<_ACEOF
16965 #define HAVE_COMPLEX_H 1
16966 _ACEOF
16967 ac_has_complex_h=yes
16968 else
16969 ac_has_complex_h=no
16970 fi
16971
16972 done
16973
16974 if test x"$ac_has_complex_h" = x"yes"; then
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16976 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16977 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
16978 $as_echo_n "(cached) " >&6
16979 else
16980
16981 if test x$gcc_no_link = xyes; then
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16984 #include <complex.h>
16985 typedef __complex__ float float_type;
16986 typedef __complex__ double double_type;
16987 typedef __complex__ long double ld_type;
16988 volatile float_type tmpf;
16989 volatile double_type tmpd;
16990 volatile ld_type tmpld;
16991 volatile float f;
16992 volatile double d;
16993 volatile long double ld;
16994 int
16995 main ()
16996 {
16997 f = cabsf(tmpf);
16998 f = cargf(tmpf);
16999 tmpf = ccosf(tmpf);
17000 tmpf = ccoshf(tmpf);
17001 tmpf = cexpf(tmpf);
17002 tmpf = clogf(tmpf);
17003 tmpf = csinf(tmpf);
17004 tmpf = csinhf(tmpf);
17005 tmpf = csqrtf(tmpf);
17006 tmpf = ctanf(tmpf);
17007 tmpf = ctanhf(tmpf);
17008 tmpf = cpowf(tmpf, tmpf);
17009 tmpf = cprojf(tmpf);
17010 d = cabs(tmpd);
17011 d = carg(tmpd);
17012 tmpd = ccos(tmpd);
17013 tmpd = ccosh(tmpd);
17014 tmpd = cexp(tmpd);
17015 tmpd = clog(tmpd);
17016 tmpd = csin(tmpd);
17017 tmpd = csinh(tmpd);
17018 tmpd = csqrt(tmpd);
17019 tmpd = ctan(tmpd);
17020 tmpd = ctanh(tmpd);
17021 tmpd = cpow(tmpd, tmpd);
17022 tmpd = cproj(tmpd);
17023 ld = cabsl(tmpld);
17024 ld = cargl(tmpld);
17025 tmpld = ccosl(tmpld);
17026 tmpld = ccoshl(tmpld);
17027 tmpld = cexpl(tmpld);
17028 tmpld = clogl(tmpld);
17029 tmpld = csinl(tmpld);
17030 tmpld = csinhl(tmpld);
17031 tmpld = csqrtl(tmpld);
17032 tmpld = ctanl(tmpld);
17033 tmpld = ctanhl(tmpld);
17034 tmpld = cpowl(tmpld, tmpld);
17035 tmpld = cprojl(tmpld);
17036
17037 ;
17038 return 0;
17039 }
17040 _ACEOF
17041 if ac_fn_cxx_try_compile "$LINENO"; then :
17042 glibcxx_cv_c99_complex_cxx98=yes
17043 else
17044 glibcxx_cv_c99_complex_cxx98=no
17045 fi
17046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17047 else
17048 if test x$gcc_no_link = xyes; then
17049 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17050 fi
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 #include <complex.h>
17054 typedef __complex__ float float_type;
17055 typedef __complex__ double double_type;
17056 typedef __complex__ long double ld_type;
17057 volatile float_type tmpf;
17058 volatile double_type tmpd;
17059 volatile ld_type tmpld;
17060 volatile float f;
17061 volatile double d;
17062 volatile long double ld;
17063 int
17064 main ()
17065 {
17066 f = cabsf(tmpf);
17067 f = cargf(tmpf);
17068 tmpf = ccosf(tmpf);
17069 tmpf = ccoshf(tmpf);
17070 tmpf = cexpf(tmpf);
17071 tmpf = clogf(tmpf);
17072 tmpf = csinf(tmpf);
17073 tmpf = csinhf(tmpf);
17074 tmpf = csqrtf(tmpf);
17075 tmpf = ctanf(tmpf);
17076 tmpf = ctanhf(tmpf);
17077 tmpf = cpowf(tmpf, tmpf);
17078 tmpf = cprojf(tmpf);
17079 d = cabs(tmpd);
17080 d = carg(tmpd);
17081 tmpd = ccos(tmpd);
17082 tmpd = ccosh(tmpd);
17083 tmpd = cexp(tmpd);
17084 tmpd = clog(tmpd);
17085 tmpd = csin(tmpd);
17086 tmpd = csinh(tmpd);
17087 tmpd = csqrt(tmpd);
17088 tmpd = ctan(tmpd);
17089 tmpd = ctanh(tmpd);
17090 tmpd = cpow(tmpd, tmpd);
17091 tmpd = cproj(tmpd);
17092 ld = cabsl(tmpld);
17093 ld = cargl(tmpld);
17094 tmpld = ccosl(tmpld);
17095 tmpld = ccoshl(tmpld);
17096 tmpld = cexpl(tmpld);
17097 tmpld = clogl(tmpld);
17098 tmpld = csinl(tmpld);
17099 tmpld = csinhl(tmpld);
17100 tmpld = csqrtl(tmpld);
17101 tmpld = ctanl(tmpld);
17102 tmpld = ctanhl(tmpld);
17103 tmpld = cpowl(tmpld, tmpld);
17104 tmpld = cprojl(tmpld);
17105
17106 ;
17107 return 0;
17108 }
17109 _ACEOF
17110 if ac_fn_cxx_try_link "$LINENO"; then :
17111 glibcxx_cv_c99_complex_cxx98=yes
17112 else
17113 glibcxx_cv_c99_complex_cxx98=no
17114 fi
17115 rm -f core conftest.err conftest.$ac_objext \
17116 conftest$ac_exeext conftest.$ac_ext
17117 fi
17118
17119 fi
17120
17121 fi
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17123 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17124 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17125
17126 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17127
17128 fi
17129
17130 # Check for the existence in <stdio.h> of vscanf, et. al.
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17132 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17133 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17134 $as_echo_n "(cached) " >&6
17135 else
17136
17137 if test x$gcc_no_link = xyes; then
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17140 #include <stdio.h>
17141 #include <stdarg.h>
17142 void foo(char* fmt, ...)
17143 {
17144 va_list args; va_start(args, fmt);
17145 vfscanf(stderr, "%i", args);
17146 vscanf("%i", args);
17147 vsnprintf(fmt, 0, "%i", args);
17148 vsscanf(fmt, "%i", args);
17149 snprintf(fmt, 0, "%i");
17150 }
17151 int
17152 main ()
17153 {
17154
17155 ;
17156 return 0;
17157 }
17158 _ACEOF
17159 if ac_fn_cxx_try_compile "$LINENO"; then :
17160 glibcxx_cv_c99_stdio_cxx98=yes
17161 else
17162 glibcxx_cv_c99_stdio_cxx98=no
17163 fi
17164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17165 else
17166 if test x$gcc_no_link = xyes; then
17167 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17168 fi
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17171 #include <stdio.h>
17172 #include <stdarg.h>
17173 void foo(char* fmt, ...)
17174 {
17175 va_list args; va_start(args, fmt);
17176 vfscanf(stderr, "%i", args);
17177 vscanf("%i", args);
17178 vsnprintf(fmt, 0, "%i", args);
17179 vsscanf(fmt, "%i", args);
17180 snprintf(fmt, 0, "%i");
17181 }
17182 int
17183 main ()
17184 {
17185
17186 ;
17187 return 0;
17188 }
17189 _ACEOF
17190 if ac_fn_cxx_try_link "$LINENO"; then :
17191 glibcxx_cv_c99_stdio_cxx98=yes
17192 else
17193 glibcxx_cv_c99_stdio_cxx98=no
17194 fi
17195 rm -f core conftest.err conftest.$ac_objext \
17196 conftest$ac_exeext conftest.$ac_ext
17197 fi
17198
17199 fi
17200
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17202 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17203 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17204
17205 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17206
17207 fi
17208
17209 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17211 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17212 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17213 $as_echo_n "(cached) " >&6
17214 else
17215
17216 if test x$gcc_no_link = xyes; then
17217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17218 /* end confdefs.h. */
17219 #include <stdlib.h>
17220 volatile float f;
17221 volatile long double ld;
17222 volatile unsigned long long ll;
17223 lldiv_t mydivt;
17224 int
17225 main ()
17226 {
17227 char* tmp;
17228 f = strtof("gnu", &tmp);
17229 ld = strtold("gnu", &tmp);
17230 ll = strtoll("gnu", &tmp, 10);
17231 ll = strtoull("gnu", &tmp, 10);
17232 ll = llabs(10);
17233 mydivt = lldiv(10,1);
17234 ll = mydivt.quot;
17235 ll = mydivt.rem;
17236 ll = atoll("10");
17237 _Exit(0);
17238
17239 ;
17240 return 0;
17241 }
17242 _ACEOF
17243 if ac_fn_cxx_try_compile "$LINENO"; then :
17244 glibcxx_cv_c99_stdlib_cxx98=yes
17245 else
17246 glibcxx_cv_c99_stdlib_cxx98=no
17247 fi
17248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17249 else
17250 if test x$gcc_no_link = xyes; then
17251 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17252 fi
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 #include <stdlib.h>
17256 volatile float f;
17257 volatile long double ld;
17258 volatile unsigned long long ll;
17259 lldiv_t mydivt;
17260 int
17261 main ()
17262 {
17263 char* tmp;
17264 f = strtof("gnu", &tmp);
17265 ld = strtold("gnu", &tmp);
17266 ll = strtoll("gnu", &tmp, 10);
17267 ll = strtoull("gnu", &tmp, 10);
17268 ll = llabs(10);
17269 mydivt = lldiv(10,1);
17270 ll = mydivt.quot;
17271 ll = mydivt.rem;
17272 ll = atoll("10");
17273 _Exit(0);
17274
17275 ;
17276 return 0;
17277 }
17278 _ACEOF
17279 if ac_fn_cxx_try_link "$LINENO"; then :
17280 glibcxx_cv_c99_stdlib_cxx98=yes
17281 else
17282 glibcxx_cv_c99_stdlib_cxx98=no
17283 fi
17284 rm -f core conftest.err conftest.$ac_objext \
17285 conftest$ac_exeext conftest.$ac_ext
17286 fi
17287
17288 fi
17289
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17291 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17292 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17293
17294 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17295
17296 fi
17297
17298 # Check for the existence in <wchar.h> of wcstold, etc.
17299 if test x"$ac_has_wchar_h" = xyes &&
17300 test x"$ac_has_wctype_h" = xyes; then
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17302 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17303 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17304 $as_echo_n "(cached) " >&6
17305 else
17306
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 #include <wchar.h>
17310 namespace test
17311 {
17312 using ::wcstold;
17313 using ::wcstoll;
17314 using ::wcstoull;
17315 }
17316
17317 int
17318 main ()
17319 {
17320
17321 ;
17322 return 0;
17323 }
17324 _ACEOF
17325 if ac_fn_cxx_try_compile "$LINENO"; then :
17326 glibcxx_cv_c99_wchar_cxx98=yes
17327 else
17328 glibcxx_cv_c99_wchar_cxx98=no
17329 fi
17330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17331
17332 fi
17333
17334
17335 # Checks for wide character functions that may not be present.
17336 # Injection of these is wrapped with guard macros.
17337 # NB: only put functions here, instead of immediately above, if
17338 # absolutely necessary.
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341 #include <wchar.h>
17342 namespace test { using ::vfwscanf; }
17343 int
17344 main ()
17345 {
17346
17347 ;
17348 return 0;
17349 }
17350 _ACEOF
17351 if ac_fn_cxx_try_compile "$LINENO"; then :
17352
17353 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17354
17355 fi
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17357
17358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17360 #include <wchar.h>
17361 namespace test { using ::vswscanf; }
17362 int
17363 main ()
17364 {
17365
17366 ;
17367 return 0;
17368 }
17369 _ACEOF
17370 if ac_fn_cxx_try_compile "$LINENO"; then :
17371
17372 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17373
17374 fi
17375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17376
17377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17379 #include <wchar.h>
17380 namespace test { using ::vwscanf; }
17381 int
17382 main ()
17383 {
17384
17385 ;
17386 return 0;
17387 }
17388 _ACEOF
17389 if ac_fn_cxx_try_compile "$LINENO"; then :
17390
17391 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17392
17393 fi
17394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17395
17396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h. */
17398 #include <wchar.h>
17399 namespace test { using ::wcstof; }
17400 int
17401 main ()
17402 {
17403
17404 ;
17405 return 0;
17406 }
17407 _ACEOF
17408 if ac_fn_cxx_try_compile "$LINENO"; then :
17409
17410 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17411
17412 fi
17413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17414
17415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17417 #include <wctype.h>
17418 int
17419 main ()
17420 {
17421 wint_t t; int i = iswblank(t);
17422 ;
17423 return 0;
17424 }
17425 _ACEOF
17426 if ac_fn_cxx_try_compile "$LINENO"; then :
17427
17428 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17429
17430 fi
17431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17432
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17434 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17435 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17436
17437 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17438
17439 fi
17440 fi
17441
17442 # Option parsed, now set things appropriately.
17443 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17444 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17445 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17446 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17447 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17448 enable_c99=no;
17449 else
17450
17451 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17452
17453 fi
17454
17455 gcc_no_link="$ac_save_gcc_no_link"
17456 LIBS="$ac_save_LIBS"
17457 CXXFLAGS="$ac_save_CXXFLAGS"
17458 ac_ext=c
17459 ac_cpp='$CPP $CPPFLAGS'
17460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17463
17464
17465
17466 ac_ext=cpp
17467 ac_cpp='$CXXCPP $CPPFLAGS'
17468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17471
17472
17473 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17474 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17475 ac_save_CXXFLAGS="$CXXFLAGS"
17476 CXXFLAGS="$CXXFLAGS -std=c++11"
17477 ac_save_LIBS="$LIBS"
17478 ac_save_gcc_no_link="$gcc_no_link"
17479
17480 if test x$gcc_no_link != xyes; then
17481 # Use -fno-exceptions to that the C driver can link these tests without
17482 # hitting undefined references to personality routines.
17483 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17485 $as_echo_n "checking for sin in -lm... " >&6; }
17486 if ${ac_cv_lib_m_sin+:} false; then :
17487 $as_echo_n "(cached) " >&6
17488 else
17489 ac_check_lib_save_LIBS=$LIBS
17490 LIBS="-lm $LIBS"
17491 if test x$gcc_no_link = xyes; then
17492 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17493 fi
17494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17496
17497 /* Override any GCC internal prototype to avoid an error.
17498 Use char because int might match the return type of a GCC
17499 builtin and then its argument prototype would still apply. */
17500 #ifdef __cplusplus
17501 extern "C"
17502 #endif
17503 char sin ();
17504 int
17505 main ()
17506 {
17507 return sin ();
17508 ;
17509 return 0;
17510 }
17511 _ACEOF
17512 if ac_fn_cxx_try_link "$LINENO"; then :
17513 ac_cv_lib_m_sin=yes
17514 else
17515 ac_cv_lib_m_sin=no
17516 fi
17517 rm -f core conftest.err conftest.$ac_objext \
17518 conftest$ac_exeext conftest.$ac_ext
17519 LIBS=$ac_check_lib_save_LIBS
17520 fi
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17522 $as_echo "$ac_cv_lib_m_sin" >&6; }
17523 if test "x$ac_cv_lib_m_sin" = xyes; then :
17524 LIBS="$LIBS -lm"
17525 else
17526
17527 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17528 gcc_no_link=yes
17529
17530 fi
17531
17532 fi
17533
17534 # Check for the existence of <math.h> functions used if C99 is enabled.
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17536 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17537 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17538 $as_echo_n "(cached) " >&6
17539 else
17540
17541 if test x$gcc_no_link = xyes; then
17542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17543 /* end confdefs.h. */
17544 #include <math.h>
17545 volatile double d1, d2;
17546 volatile int i;
17547 int
17548 main ()
17549 {
17550 i = fpclassify(d1);
17551 i = isfinite(d1);
17552 i = isinf(d1);
17553 i = isnan(d1);
17554 i = isnormal(d1);
17555 i = signbit(d1);
17556 i = isgreater(d1, d2);
17557 i = isgreaterequal(d1, d2);
17558 i = isless(d1, d2);
17559 i = islessequal(d1, d2);
17560 i = islessgreater(d1, d2);
17561 i = islessgreater(d1, d2);
17562 i = isunordered(d1, d2);
17563
17564 ;
17565 return 0;
17566 }
17567 _ACEOF
17568 if ac_fn_cxx_try_compile "$LINENO"; then :
17569 glibcxx_cv_c99_math_cxx11=yes
17570 else
17571 glibcxx_cv_c99_math_cxx11=no
17572 fi
17573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17574 else
17575 if test x$gcc_no_link = xyes; then
17576 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17577 fi
17578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17579 /* end confdefs.h. */
17580 #include <math.h>
17581 volatile double d1, d2;
17582 volatile int i;
17583 int
17584 main ()
17585 {
17586 i = fpclassify(d1);
17587 i = isfinite(d1);
17588 i = isinf(d1);
17589 i = isnan(d1);
17590 i = isnormal(d1);
17591 i = signbit(d1);
17592 i = isgreater(d1, d2);
17593 i = isgreaterequal(d1, d2);
17594 i = isless(d1, d2);
17595 i = islessequal(d1, d2);
17596 i = islessgreater(d1, d2);
17597 i = islessgreater(d1, d2);
17598 i = isunordered(d1, d2);
17599
17600 ;
17601 return 0;
17602 }
17603 _ACEOF
17604 if ac_fn_cxx_try_link "$LINENO"; then :
17605 glibcxx_cv_c99_math_cxx11=yes
17606 else
17607 glibcxx_cv_c99_math_cxx11=no
17608 fi
17609 rm -f core conftest.err conftest.$ac_objext \
17610 conftest$ac_exeext conftest.$ac_ext
17611 fi
17612
17613 fi
17614
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17616 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17617 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17618
17619 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17620
17621 fi
17622
17623 # Check for the existence of <complex.h> complex math functions.
17624 # This is necessary even though libstdc++ uses the builtin versions
17625 # of these functions, because if the builtin cannot be used, a reference
17626 # to the library function is emitted.
17627 for ac_header in tgmath.h
17628 do :
17629 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17630 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17631 cat >>confdefs.h <<_ACEOF
17632 #define HAVE_TGMATH_H 1
17633 _ACEOF
17634 ac_has_tgmath_h=yes
17635 else
17636 ac_has_tgmath_h=no
17637 fi
17638
17639 done
17640
17641 for ac_header in complex.h
17642 do :
17643 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17644 if test "x$ac_cv_header_complex_h" = xyes; then :
17645 cat >>confdefs.h <<_ACEOF
17646 #define HAVE_COMPLEX_H 1
17647 _ACEOF
17648 ac_has_complex_h=yes
17649 else
17650 ac_has_complex_h=no
17651 fi
17652
17653 done
17654
17655 if test x"$ac_has_complex_h" = x"yes"; then
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17657 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17658 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
17659 $as_echo_n "(cached) " >&6
17660 else
17661
17662 if test x$gcc_no_link = xyes; then
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665 #include <complex.h>
17666 typedef __complex__ float float_type;
17667 typedef __complex__ double double_type;
17668 typedef __complex__ long double ld_type;
17669 volatile float_type tmpf;
17670 volatile double_type tmpd;
17671 volatile ld_type tmpld;
17672 volatile float f;
17673 volatile double d;
17674 volatile long double ld;
17675 int
17676 main ()
17677 {
17678 f = cabsf(tmpf);
17679 f = cargf(tmpf);
17680 tmpf = ccosf(tmpf);
17681 tmpf = ccoshf(tmpf);
17682 tmpf = cexpf(tmpf);
17683 tmpf = clogf(tmpf);
17684 tmpf = csinf(tmpf);
17685 tmpf = csinhf(tmpf);
17686 tmpf = csqrtf(tmpf);
17687 tmpf = ctanf(tmpf);
17688 tmpf = ctanhf(tmpf);
17689 tmpf = cpowf(tmpf, tmpf);
17690 tmpf = cprojf(tmpf);
17691 d = cabs(tmpd);
17692 d = carg(tmpd);
17693 tmpd = ccos(tmpd);
17694 tmpd = ccosh(tmpd);
17695 tmpd = cexp(tmpd);
17696 tmpd = clog(tmpd);
17697 tmpd = csin(tmpd);
17698 tmpd = csinh(tmpd);
17699 tmpd = csqrt(tmpd);
17700 tmpd = ctan(tmpd);
17701 tmpd = ctanh(tmpd);
17702 tmpd = cpow(tmpd, tmpd);
17703 tmpd = cproj(tmpd);
17704 ld = cabsl(tmpld);
17705 ld = cargl(tmpld);
17706 tmpld = ccosl(tmpld);
17707 tmpld = ccoshl(tmpld);
17708 tmpld = cexpl(tmpld);
17709 tmpld = clogl(tmpld);
17710 tmpld = csinl(tmpld);
17711 tmpld = csinhl(tmpld);
17712 tmpld = csqrtl(tmpld);
17713 tmpld = ctanl(tmpld);
17714 tmpld = ctanhl(tmpld);
17715 tmpld = cpowl(tmpld, tmpld);
17716 tmpld = cprojl(tmpld);
17717
17718 ;
17719 return 0;
17720 }
17721 _ACEOF
17722 if ac_fn_cxx_try_compile "$LINENO"; then :
17723 glibcxx_cv_c99_complex_cxx11=yes
17724 else
17725 glibcxx_cv_c99_complex_cxx11=no
17726 fi
17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17728 else
17729 if test x$gcc_no_link = xyes; then
17730 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17731 fi
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17734 #include <complex.h>
17735 typedef __complex__ float float_type;
17736 typedef __complex__ double double_type;
17737 typedef __complex__ long double ld_type;
17738 volatile float_type tmpf;
17739 volatile double_type tmpd;
17740 volatile ld_type tmpld;
17741 volatile float f;
17742 volatile double d;
17743 volatile long double ld;
17744 int
17745 main ()
17746 {
17747 f = cabsf(tmpf);
17748 f = cargf(tmpf);
17749 tmpf = ccosf(tmpf);
17750 tmpf = ccoshf(tmpf);
17751 tmpf = cexpf(tmpf);
17752 tmpf = clogf(tmpf);
17753 tmpf = csinf(tmpf);
17754 tmpf = csinhf(tmpf);
17755 tmpf = csqrtf(tmpf);
17756 tmpf = ctanf(tmpf);
17757 tmpf = ctanhf(tmpf);
17758 tmpf = cpowf(tmpf, tmpf);
17759 tmpf = cprojf(tmpf);
17760 d = cabs(tmpd);
17761 d = carg(tmpd);
17762 tmpd = ccos(tmpd);
17763 tmpd = ccosh(tmpd);
17764 tmpd = cexp(tmpd);
17765 tmpd = clog(tmpd);
17766 tmpd = csin(tmpd);
17767 tmpd = csinh(tmpd);
17768 tmpd = csqrt(tmpd);
17769 tmpd = ctan(tmpd);
17770 tmpd = ctanh(tmpd);
17771 tmpd = cpow(tmpd, tmpd);
17772 tmpd = cproj(tmpd);
17773 ld = cabsl(tmpld);
17774 ld = cargl(tmpld);
17775 tmpld = ccosl(tmpld);
17776 tmpld = ccoshl(tmpld);
17777 tmpld = cexpl(tmpld);
17778 tmpld = clogl(tmpld);
17779 tmpld = csinl(tmpld);
17780 tmpld = csinhl(tmpld);
17781 tmpld = csqrtl(tmpld);
17782 tmpld = ctanl(tmpld);
17783 tmpld = ctanhl(tmpld);
17784 tmpld = cpowl(tmpld, tmpld);
17785 tmpld = cprojl(tmpld);
17786
17787 ;
17788 return 0;
17789 }
17790 _ACEOF
17791 if ac_fn_cxx_try_link "$LINENO"; then :
17792 glibcxx_cv_c99_complex_cxx11=yes
17793 else
17794 glibcxx_cv_c99_complex_cxx11=no
17795 fi
17796 rm -f core conftest.err conftest.$ac_objext \
17797 conftest$ac_exeext conftest.$ac_ext
17798 fi
17799
17800 fi
17801
17802 fi
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17804 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17805 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17806
17807 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17808
17809 fi
17810
17811 # Check for the existence in <stdio.h> of vscanf, et. al.
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17813 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17814 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
17815 $as_echo_n "(cached) " >&6
17816 else
17817
17818 if test x$gcc_no_link = xyes; then
17819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17820 /* end confdefs.h. */
17821 #include <stdio.h>
17822 #include <stdarg.h>
17823 void foo(char* fmt, ...)
17824 {
17825 va_list args; va_start(args, fmt);
17826 vfscanf(stderr, "%i", args);
17827 vscanf("%i", args);
17828 vsnprintf(fmt, 0, "%i", args);
17829 vsscanf(fmt, "%i", args);
17830 snprintf(fmt, 0, "%i");
17831 }
17832 int
17833 main ()
17834 {
17835
17836 ;
17837 return 0;
17838 }
17839 _ACEOF
17840 if ac_fn_cxx_try_compile "$LINENO"; then :
17841 glibcxx_cv_c99_stdio_cxx11=yes
17842 else
17843 glibcxx_cv_c99_stdio_cxx11=no
17844 fi
17845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17846 else
17847 if test x$gcc_no_link = xyes; then
17848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17849 fi
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17852 #include <stdio.h>
17853 #include <stdarg.h>
17854 void foo(char* fmt, ...)
17855 {
17856 va_list args; va_start(args, fmt);
17857 vfscanf(stderr, "%i", args);
17858 vscanf("%i", args);
17859 vsnprintf(fmt, 0, "%i", args);
17860 vsscanf(fmt, "%i", args);
17861 snprintf(fmt, 0, "%i");
17862 }
17863 int
17864 main ()
17865 {
17866
17867 ;
17868 return 0;
17869 }
17870 _ACEOF
17871 if ac_fn_cxx_try_link "$LINENO"; then :
17872 glibcxx_cv_c99_stdio_cxx11=yes
17873 else
17874 glibcxx_cv_c99_stdio_cxx11=no
17875 fi
17876 rm -f core conftest.err conftest.$ac_objext \
17877 conftest$ac_exeext conftest.$ac_ext
17878 fi
17879
17880 fi
17881
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17883 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17884 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17885
17886 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17887
17888 fi
17889
17890 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17892 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17893 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
17894 $as_echo_n "(cached) " >&6
17895 else
17896
17897 if test x$gcc_no_link = xyes; then
17898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17899 /* end confdefs.h. */
17900 #include <stdlib.h>
17901 volatile float f;
17902 volatile long double ld;
17903 volatile unsigned long long ll;
17904 lldiv_t mydivt;
17905 int
17906 main ()
17907 {
17908 char* tmp;
17909 f = strtof("gnu", &tmp);
17910 ld = strtold("gnu", &tmp);
17911 ll = strtoll("gnu", &tmp, 10);
17912 ll = strtoull("gnu", &tmp, 10);
17913 ll = llabs(10);
17914 mydivt = lldiv(10,1);
17915 ll = mydivt.quot;
17916 ll = mydivt.rem;
17917 ll = atoll("10");
17918 _Exit(0);
17919
17920 ;
17921 return 0;
17922 }
17923 _ACEOF
17924 if ac_fn_cxx_try_compile "$LINENO"; then :
17925 glibcxx_cv_c99_stdlib_cxx11=yes
17926 else
17927 glibcxx_cv_c99_stdlib_cxx11=no
17928 fi
17929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17930 else
17931 if test x$gcc_no_link = xyes; then
17932 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17933 fi
17934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17935 /* end confdefs.h. */
17936 #include <stdlib.h>
17937 volatile float f;
17938 volatile long double ld;
17939 volatile unsigned long long ll;
17940 lldiv_t mydivt;
17941 int
17942 main ()
17943 {
17944 char* tmp;
17945 f = strtof("gnu", &tmp);
17946 ld = strtold("gnu", &tmp);
17947 ll = strtoll("gnu", &tmp, 10);
17948 ll = strtoull("gnu", &tmp, 10);
17949 ll = llabs(10);
17950 mydivt = lldiv(10,1);
17951 ll = mydivt.quot;
17952 ll = mydivt.rem;
17953 ll = atoll("10");
17954 _Exit(0);
17955
17956 ;
17957 return 0;
17958 }
17959 _ACEOF
17960 if ac_fn_cxx_try_link "$LINENO"; then :
17961 glibcxx_cv_c99_stdlib_cxx11=yes
17962 else
17963 glibcxx_cv_c99_stdlib_cxx11=no
17964 fi
17965 rm -f core conftest.err conftest.$ac_objext \
17966 conftest$ac_exeext conftest.$ac_ext
17967 fi
17968
17969 fi
17970
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17972 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17973 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17974
17975 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17976
17977 fi
17978
17979 # Check for the existence in <wchar.h> of wcstold, etc.
17980 if test x"$ac_has_wchar_h" = xyes &&
17981 test x"$ac_has_wctype_h" = xyes; then
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17983 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17984 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
17985 $as_echo_n "(cached) " >&6
17986 else
17987
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17990 #include <wchar.h>
17991 namespace test
17992 {
17993 using ::wcstold;
17994 using ::wcstoll;
17995 using ::wcstoull;
17996 }
17997
17998 int
17999 main ()
18000 {
18001
18002 ;
18003 return 0;
18004 }
18005 _ACEOF
18006 if ac_fn_cxx_try_compile "$LINENO"; then :
18007 glibcxx_cv_c99_wchar_cxx11=yes
18008 else
18009 glibcxx_cv_c99_wchar_cxx11=no
18010 fi
18011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18012
18013 fi
18014
18015
18016 # Checks for wide character functions that may not be present.
18017 # Injection of these is wrapped with guard macros.
18018 # NB: only put functions here, instead of immediately above, if
18019 # absolutely necessary.
18020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18022 #include <wchar.h>
18023 namespace test { using ::vfwscanf; }
18024 int
18025 main ()
18026 {
18027
18028 ;
18029 return 0;
18030 }
18031 _ACEOF
18032 if ac_fn_cxx_try_compile "$LINENO"; then :
18033
18034 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18035
18036 fi
18037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18038
18039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h. */
18041 #include <wchar.h>
18042 namespace test { using ::vswscanf; }
18043 int
18044 main ()
18045 {
18046
18047 ;
18048 return 0;
18049 }
18050 _ACEOF
18051 if ac_fn_cxx_try_compile "$LINENO"; then :
18052
18053 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18054
18055 fi
18056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18057
18058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18059 /* end confdefs.h. */
18060 #include <wchar.h>
18061 namespace test { using ::vwscanf; }
18062 int
18063 main ()
18064 {
18065
18066 ;
18067 return 0;
18068 }
18069 _ACEOF
18070 if ac_fn_cxx_try_compile "$LINENO"; then :
18071
18072 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18073
18074 fi
18075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18076
18077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18078 /* end confdefs.h. */
18079 #include <wchar.h>
18080 namespace test { using ::wcstof; }
18081 int
18082 main ()
18083 {
18084
18085 ;
18086 return 0;
18087 }
18088 _ACEOF
18089 if ac_fn_cxx_try_compile "$LINENO"; then :
18090
18091 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18092
18093 fi
18094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18095
18096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18097 /* end confdefs.h. */
18098 #include <wctype.h>
18099 int
18100 main ()
18101 {
18102 wint_t t; int i = iswblank(t);
18103 ;
18104 return 0;
18105 }
18106 _ACEOF
18107 if ac_fn_cxx_try_compile "$LINENO"; then :
18108
18109 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18110
18111 fi
18112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18113
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18115 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18116 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18117
18118 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18119
18120 fi
18121 fi
18122
18123 gcc_no_link="$ac_save_gcc_no_link"
18124 LIBS="$ac_save_LIBS"
18125 CXXFLAGS="$ac_save_CXXFLAGS"
18126 ac_ext=c
18127 ac_cpp='$CPP $CPPFLAGS'
18128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18131
18132 fi
18133
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18135 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18137 $as_echo "$enable_c99" >&6; }
18138
18139
18140 # Check whether --enable-concept-checks was given.
18141 if test "${enable_concept_checks+set}" = set; then :
18142 enableval=$enable_concept_checks;
18143 case "$enableval" in
18144 yes|no) ;;
18145 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18146 esac
18147
18148 else
18149 enable_concept_checks=no
18150 fi
18151
18152
18153 if test $enable_concept_checks = yes; then
18154
18155 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18156
18157 fi
18158
18159
18160 # Check whether --enable-libstdcxx-debug-flags was given.
18161 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18162 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18163 xno | x) enable_libstdcxx_debug_flags= ;;
18164 x-*) ;;
18165 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18166 esac
18167 else
18168 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18169 fi
18170
18171
18172
18173 # Option parsed, now set things appropriately
18174 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18175
18176
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18178 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18179
18180
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18182 $as_echo_n "checking for additional debug build... " >&6; }
18183 # Check whether --enable-libstdcxx-debug was given.
18184 if test "${enable_libstdcxx_debug+set}" = set; then :
18185 enableval=$enable_libstdcxx_debug;
18186 case "$enableval" in
18187 yes|no) ;;
18188 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18189 esac
18190
18191 else
18192 enable_libstdcxx_debug=no
18193 fi
18194
18195
18196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
18197 $as_echo "$enable_libstdcxx_debug" >&6; }
18198
18199
18200
18201
18202 enable_parallel=no;
18203
18204 # See if configured libgomp/omp.h exists. (libgomp may be in
18205 # noconfigdirs but not explicitly disabled.)
18206 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18207 enable_parallel=yes;
18208 else
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18210 $as_echo "$as_me: target-libgomp not built" >&6;}
18211 fi
18212
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18214 $as_echo_n "checking for parallel mode support... " >&6; }
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18216 $as_echo "$enable_parallel" >&6; }
18217
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18219 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18220 # Check whether --enable-cxx-flags was given.
18221 if test "${enable_cxx_flags+set}" = set; then :
18222 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18223 xno | x) enable_cxx_flags= ;;
18224 x-*) ;;
18225 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18226 esac
18227 else
18228 enable_cxx_flags=
18229 fi
18230
18231
18232
18233 # Run through flags (either default or command-line) and set anything
18234 # extra (e.g., #defines) that must accompany particular g++ options.
18235 if test -n "$enable_cxx_flags"; then
18236 for f in $enable_cxx_flags; do
18237 case "$f" in
18238 -fhonor-std) ;;
18239 -*) ;;
18240 *) # and we're trying to pass /what/ exactly?
18241 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18242 esac
18243 done
18244 fi
18245
18246 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18248 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18249
18250
18251
18252 # Check whether --enable-fully-dynamic-string was given.
18253 if test "${enable_fully_dynamic_string+set}" = set; then :
18254 enableval=$enable_fully_dynamic_string;
18255 case "$enableval" in
18256 yes|no) ;;
18257 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18258 esac
18259
18260 else
18261 enable_fully_dynamic_string=no
18262 fi
18263
18264
18265 if test $enable_fully_dynamic_string = yes; then
18266 enable_fully_dynamic_string_def=1
18267 else
18268 enable_fully_dynamic_string_def=0
18269 fi
18270
18271 cat >>confdefs.h <<_ACEOF
18272 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18273 _ACEOF
18274
18275
18276
18277
18278 # Check whether --enable-extern-template was given.
18279 if test "${enable_extern_template+set}" = set; then :
18280 enableval=$enable_extern_template;
18281 case "$enableval" in
18282 yes|no) ;;
18283 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18284 esac
18285
18286 else
18287 enable_extern_template=yes
18288 fi
18289
18290
18291
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18293 $as_echo_n "checking for extern template support... " >&6; }
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18295 $as_echo "$enable_extern_template" >&6; }
18296
18297
18298
18299
18300
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18302 $as_echo_n "checking for custom python install directory... " >&6; }
18303
18304 # Check whether --with-python-dir was given.
18305 if test "${with_python_dir+set}" = set; then :
18306 withval=$with_python_dir; with_python_dir=$withval
18307 else
18308 with_python_dir="no"
18309 fi
18310
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18312 $as_echo "${with_python_dir}" >&6; }
18313
18314 # Needed for installing Python modules during make install.
18315 python_mod_dir="${with_python_dir}"
18316
18317
18318
18319
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18321 $as_echo_n "checking for -Werror... " >&6; }
18322 # Check whether --enable-werror was given.
18323 if test "${enable_werror+set}" = set; then :
18324 enableval=$enable_werror;
18325 case "$enableval" in
18326 yes|no) ;;
18327 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18328 esac
18329
18330 else
18331 enable_werror=no
18332 fi
18333
18334
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18336 $as_echo "$enable_werror" >&6; }
18337
18338
18339
18340
18341 # Check whether --enable-vtable-verify was given.
18342 if test "${enable_vtable_verify+set}" = set; then :
18343 enableval=$enable_vtable_verify;
18344 case "$enableval" in
18345 yes|no) ;;
18346 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18347 esac
18348
18349 else
18350 enable_vtable_verify=no
18351 fi
18352
18353
18354
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18356 $as_echo_n "checking for vtable verify support... " >&6; }
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18358 $as_echo "$enable_vtable_verify" >&6; }
18359
18360 vtv_cygmin=no
18361 if test $enable_vtable_verify = yes; then
18362 case ${target_os} in
18363 cygwin*|mingw32*)
18364 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18365 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18366 vtv_cygmin=yes
18367 ;;
18368 darwin*)
18369 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18370 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18371 ;;
18372 solaris2*)
18373 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18374 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18375 ;;
18376 *)
18377 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18378 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18379 ;;
18380 esac
18381 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18382 else
18383 VTV_CXXFLAGS=
18384 VTV_PCH_CXXFLAGS=
18385 VTV_CXXLINKFLAGS=
18386 fi
18387
18388
18389
18390
18391 if test x$vtv_cygmin = xyes; then
18392 VTV_CYGMIN_TRUE=
18393 VTV_CYGMIN_FALSE='#'
18394 else
18395 VTV_CYGMIN_TRUE='#'
18396 VTV_CYGMIN_FALSE=
18397 fi
18398
18399
18400
18401
18402 # Checks for operating systems support that doesn't require linking.
18403
18404
18405
18406 ac_ext=cpp
18407 ac_cpp='$CXXCPP $CPPFLAGS'
18408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18411
18412 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18413 # and we don't need a declaration for C++14 anyway.
18414 ac_save_CXXFLAGS="$CXXFLAGS"
18415 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18416
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18418 $as_echo_n "checking for gets declaration... " >&6; }
18419 if ${glibcxx_cv_gets+:} false; then :
18420 $as_echo_n "(cached) " >&6
18421 else
18422
18423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18424 /* end confdefs.h. */
18425 #include <stdio.h>
18426 namespace test
18427 {
18428 using ::gets;
18429 }
18430
18431 _ACEOF
18432 if ac_fn_cxx_try_compile "$LINENO"; then :
18433 glibcxx_cv_gets=yes
18434 else
18435 glibcxx_cv_gets=no
18436
18437 fi
18438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18439 fi
18440
18441
18442 if test $glibcxx_cv_gets = yes; then
18443
18444 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18445
18446 fi
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18448 $as_echo "$glibcxx_cv_gets" >&6; }
18449
18450 CXXFLAGS="$ac_save_CXXFLAGS"
18451 ac_ext=c
18452 ac_cpp='$CPP $CPPFLAGS'
18453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18456
18457
18458
18459
18460
18461 ac_ext=cpp
18462 ac_cpp='$CXXCPP $CPPFLAGS'
18463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18466
18467 ac_save_CXXFLAGS="$CXXFLAGS"
18468 CXXFLAGS="$CXXFLAGS -std=c++11"
18469
18470 case "$host" in
18471 *-*-solaris2.*)
18472 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18473 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18475 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18476 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18477 $as_echo_n "(cached) " >&6
18478 else
18479
18480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18481 /* end confdefs.h. */
18482 #include <math.h>
18483 #undef isfinite
18484 namespace std {
18485 inline bool isfinite(float __x)
18486 { return __builtin_isfinite(__x); }
18487 }
18488
18489 _ACEOF
18490 if ac_fn_cxx_try_compile "$LINENO"; then :
18491 glibcxx_cv_math11_fp_overload=no
18492 else
18493 glibcxx_cv_math11_fp_overload=yes
18494
18495 fi
18496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18497 fi
18498
18499
18500 # autoheader cannot handle indented templates.
18501
18502
18503 if test $glibcxx_cv_math11_fp_overload = yes; then
18504 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18505
18506 fi
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18508 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18509
18510 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18511 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18513 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18514 if ${glibcxx_cv_math11_int_overload+:} false; then :
18515 $as_echo_n "(cached) " >&6
18516 else
18517
18518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18520 #include <math.h>
18521 namespace std {
18522 template<typename _Tp>
18523 struct __is_integer;
18524 template<>
18525 struct __is_integer<int>
18526 {
18527 enum { __value = 1 };
18528 };
18529 }
18530 namespace __gnu_cxx {
18531 template<bool, typename>
18532 struct __enable_if;
18533 template<typename _Tp>
18534 struct __enable_if<true, _Tp>
18535 { typedef _Tp __type; };
18536 }
18537 namespace std {
18538 template<typename _Tp>
18539 constexpr typename __gnu_cxx::__enable_if
18540 <__is_integer<_Tp>::__value, double>::__type
18541 log2(_Tp __x)
18542 { return __builtin_log2(__x); }
18543 }
18544 int
18545 main (void)
18546 {
18547 int i = 1000;
18548 return std::log2(i);
18549 }
18550
18551 _ACEOF
18552 if ac_fn_cxx_try_compile "$LINENO"; then :
18553 glibcxx_cv_math11_int_overload=no
18554 else
18555 glibcxx_cv_math11_int_overload=yes
18556
18557 fi
18558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559 fi
18560
18561
18562 # autoheader cannot handle indented templates.
18563
18564
18565 if test $glibcxx_cv_math11_int_overload = yes; then
18566 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18567
18568 fi
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18570 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18571 ;;
18572 *)
18573 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18574 # functions (instead of or as well as the C99 generic macros) then we
18575 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18576 # and must use the ones from <math.h> instead.
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18578 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18579 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18580 $as_echo_n "(cached) " >&6
18581 else
18582
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18585 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18586 #include <math.h>
18587 #undef isinf
18588 namespace std {
18589 using ::isinf;
18590 bool isinf(float);
18591 bool isinf(long double);
18592 }
18593 using std::isinf;
18594 bool b = isinf(0.0);
18595
18596 _ACEOF
18597 if ac_fn_cxx_try_compile "$LINENO"; then :
18598 glibcxx_cv_obsolete_isinf=yes
18599 else
18600 glibcxx_cv_obsolete_isinf=no
18601
18602 fi
18603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18604 fi
18605
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18607 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18608 if test $glibcxx_cv_obsolete_isinf = yes; then
18609
18610 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18611
18612 fi
18613
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18615 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18616 if ${glibcxx_cv_obsolete_isnan+:} false; then :
18617 $as_echo_n "(cached) " >&6
18618 else
18619
18620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18621 /* end confdefs.h. */
18622 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18623 #include <math.h>
18624 #undef isnan
18625 namespace std {
18626 using ::isnan;
18627 bool isnan(float);
18628 bool isnan(long double);
18629 }
18630 using std::isnan;
18631 bool b = isnan(0.0);
18632
18633 _ACEOF
18634 if ac_fn_cxx_try_compile "$LINENO"; then :
18635 glibcxx_cv_obsolete_isnan=yes
18636 else
18637 glibcxx_cv_obsolete_isnan=no
18638
18639 fi
18640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18641 fi
18642
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18644 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18645 if test $glibcxx_cv_obsolete_isnan = yes; then
18646
18647 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18648
18649 fi
18650 ;;
18651 esac
18652
18653 CXXFLAGS="$ac_save_CXXFLAGS"
18654 ac_ext=c
18655 ac_cpp='$CPP $CPPFLAGS'
18656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18659
18660
18661
18662
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18664 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18665 if ${glibcxx_cv_system_error1+:} false; then :
18666 $as_echo_n "(cached) " >&6
18667 else
18668
18669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18670 /* end confdefs.h. */
18671 #include <errno.h>
18672 int
18673 main ()
18674 {
18675 int i = EOWNERDEAD;
18676 ;
18677 return 0;
18678 }
18679 _ACEOF
18680 if ac_fn_c_try_compile "$LINENO"; then :
18681 glibcxx_cv_system_error1=yes
18682 else
18683 glibcxx_cv_system_error1=no
18684 fi
18685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18686
18687 fi
18688
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18690 $as_echo "$glibcxx_cv_system_error1" >&6; }
18691 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18692
18693 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18694
18695 fi
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18697 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18698 if ${glibcxx_cv_system_error2+:} false; then :
18699 $as_echo_n "(cached) " >&6
18700 else
18701
18702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18703 /* end confdefs.h. */
18704 #include <errno.h>
18705 int
18706 main ()
18707 {
18708 int i = ENOTRECOVERABLE;
18709 ;
18710 return 0;
18711 }
18712 _ACEOF
18713 if ac_fn_c_try_compile "$LINENO"; then :
18714 glibcxx_cv_system_error2=yes
18715 else
18716 glibcxx_cv_system_error2=no
18717 fi
18718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18719
18720 fi
18721
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18723 $as_echo "$glibcxx_cv_system_error2" >&6; }
18724 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18725
18726 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18727
18728 fi
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18730 $as_echo_n "checking for ENOLINK... " >&6; }
18731 if ${glibcxx_cv_system_error3+:} false; then :
18732 $as_echo_n "(cached) " >&6
18733 else
18734
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18737 #include <errno.h>
18738 int
18739 main ()
18740 {
18741 int i = ENOLINK;
18742 ;
18743 return 0;
18744 }
18745 _ACEOF
18746 if ac_fn_c_try_compile "$LINENO"; then :
18747 glibcxx_cv_system_error3=yes
18748 else
18749 glibcxx_cv_system_error3=no
18750 fi
18751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18752
18753 fi
18754
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18756 $as_echo "$glibcxx_cv_system_error3" >&6; }
18757 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18758
18759 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18760
18761 fi
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18763 $as_echo_n "checking for EPROTO... " >&6; }
18764 if ${glibcxx_cv_system_error4+:} false; then :
18765 $as_echo_n "(cached) " >&6
18766 else
18767
18768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18769 /* end confdefs.h. */
18770 #include <errno.h>
18771 int
18772 main ()
18773 {
18774 int i = EPROTO;
18775 ;
18776 return 0;
18777 }
18778 _ACEOF
18779 if ac_fn_c_try_compile "$LINENO"; then :
18780 glibcxx_cv_system_error4=yes
18781 else
18782 glibcxx_cv_system_error4=no
18783 fi
18784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18785
18786 fi
18787
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18789 $as_echo "$glibcxx_cv_system_error4" >&6; }
18790 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18791
18792 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18793
18794 fi
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18796 $as_echo_n "checking for ENODATA... " >&6; }
18797 if ${glibcxx_cv_system_error5+:} false; then :
18798 $as_echo_n "(cached) " >&6
18799 else
18800
18801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18802 /* end confdefs.h. */
18803 #include <errno.h>
18804 int
18805 main ()
18806 {
18807 int i = ENODATA;
18808 ;
18809 return 0;
18810 }
18811 _ACEOF
18812 if ac_fn_c_try_compile "$LINENO"; then :
18813 glibcxx_cv_system_error5=yes
18814 else
18815 glibcxx_cv_system_error5=no
18816 fi
18817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18818
18819 fi
18820
18821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18822 $as_echo "$glibcxx_cv_system_error5" >&6; }
18823 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18824
18825 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18826
18827 fi
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18829 $as_echo_n "checking for ENOSR... " >&6; }
18830 if ${glibcxx_cv_system_error6+:} false; then :
18831 $as_echo_n "(cached) " >&6
18832 else
18833
18834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18835 /* end confdefs.h. */
18836 #include <errno.h>
18837 int
18838 main ()
18839 {
18840 int i = ENOSR;
18841 ;
18842 return 0;
18843 }
18844 _ACEOF
18845 if ac_fn_c_try_compile "$LINENO"; then :
18846 glibcxx_cv_system_error6=yes
18847 else
18848 glibcxx_cv_system_error6=no
18849 fi
18850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18851
18852 fi
18853
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18855 $as_echo "$glibcxx_cv_system_error6" >&6; }
18856 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18857
18858 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18859
18860 fi
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18862 $as_echo_n "checking for ENOSTR... " >&6; }
18863 if ${glibcxx_cv_system_error7+:} false; then :
18864 $as_echo_n "(cached) " >&6
18865 else
18866
18867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18868 /* end confdefs.h. */
18869 #include <errno.h>
18870 int
18871 main ()
18872 {
18873 int i = ENOSTR;
18874 ;
18875 return 0;
18876 }
18877 _ACEOF
18878 if ac_fn_c_try_compile "$LINENO"; then :
18879 glibcxx_cv_system_error7=yes
18880 else
18881 glibcxx_cv_system_error7=no
18882 fi
18883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18884
18885 fi
18886
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18888 $as_echo "$glibcxx_cv_system_error7" >&6; }
18889 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18890
18891 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18892
18893 fi
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18895 $as_echo_n "checking for ETIME... " >&6; }
18896 if ${glibcxx_cv_system_error8+:} false; then :
18897 $as_echo_n "(cached) " >&6
18898 else
18899
18900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18901 /* end confdefs.h. */
18902 #include <errno.h>
18903 int
18904 main ()
18905 {
18906 int i = ETIME;
18907 ;
18908 return 0;
18909 }
18910 _ACEOF
18911 if ac_fn_c_try_compile "$LINENO"; then :
18912 glibcxx_cv_system_error8=yes
18913 else
18914 glibcxx_cv_system_error8=no
18915 fi
18916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18917
18918 fi
18919
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18921 $as_echo "$glibcxx_cv_system_error8" >&6; }
18922 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18923
18924 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18925
18926 fi
18927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18928 $as_echo_n "checking for EBADMSG... " >&6; }
18929 if ${glibcxx_cv_system_error9+:} false; then :
18930 $as_echo_n "(cached) " >&6
18931 else
18932
18933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18934 /* end confdefs.h. */
18935 #include <errno.h>
18936 int
18937 main ()
18938 {
18939 int i = EBADMSG;
18940 ;
18941 return 0;
18942 }
18943 _ACEOF
18944 if ac_fn_c_try_compile "$LINENO"; then :
18945 glibcxx_cv_system_error9=yes
18946 else
18947 glibcxx_cv_system_error9=no
18948 fi
18949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18950
18951 fi
18952
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18954 $as_echo "$glibcxx_cv_system_error9" >&6; }
18955 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18956
18957 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18958
18959 fi
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18961 $as_echo_n "checking for ECANCELED... " >&6; }
18962 if ${glibcxx_cv_system_error10+:} false; then :
18963 $as_echo_n "(cached) " >&6
18964 else
18965
18966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18967 /* end confdefs.h. */
18968 #include <errno.h>
18969 int
18970 main ()
18971 {
18972 int i = ECANCELED;
18973 ;
18974 return 0;
18975 }
18976 _ACEOF
18977 if ac_fn_c_try_compile "$LINENO"; then :
18978 glibcxx_cv_system_error10=yes
18979 else
18980 glibcxx_cv_system_error10=no
18981 fi
18982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18983
18984 fi
18985
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18987 $as_echo "$glibcxx_cv_system_error10" >&6; }
18988 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18989
18990 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18991
18992 fi
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18994 $as_echo_n "checking for EOVERFLOW... " >&6; }
18995 if ${glibcxx_cv_system_error11+:} false; then :
18996 $as_echo_n "(cached) " >&6
18997 else
18998
18999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19000 /* end confdefs.h. */
19001 #include <errno.h>
19002 int
19003 main ()
19004 {
19005 int i = EOVERFLOW;
19006 ;
19007 return 0;
19008 }
19009 _ACEOF
19010 if ac_fn_c_try_compile "$LINENO"; then :
19011 glibcxx_cv_system_error11=yes
19012 else
19013 glibcxx_cv_system_error11=no
19014 fi
19015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19016
19017 fi
19018
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
19020 $as_echo "$glibcxx_cv_system_error11" >&6; }
19021 if test x"$glibcxx_cv_system_error11" = x"yes"; then
19022
19023 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
19024
19025 fi
19026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
19027 $as_echo_n "checking for ENOTSUP... " >&6; }
19028 if ${glibcxx_cv_system_error12+:} false; then :
19029 $as_echo_n "(cached) " >&6
19030 else
19031
19032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19033 /* end confdefs.h. */
19034 #include <errno.h>
19035 int
19036 main ()
19037 {
19038 int i = ENOTSUP;
19039 ;
19040 return 0;
19041 }
19042 _ACEOF
19043 if ac_fn_c_try_compile "$LINENO"; then :
19044 glibcxx_cv_system_error12=yes
19045 else
19046 glibcxx_cv_system_error12=no
19047 fi
19048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19049
19050 fi
19051
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
19053 $as_echo "$glibcxx_cv_system_error12" >&6; }
19054 if test x"$glibcxx_cv_system_error12" = x"yes"; then
19055
19056 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
19057
19058 fi
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
19060 $as_echo_n "checking for EIDRM... " >&6; }
19061 if ${glibcxx_cv_system_error13+:} false; then :
19062 $as_echo_n "(cached) " >&6
19063 else
19064
19065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19066 /* end confdefs.h. */
19067 #include <errno.h>
19068 int
19069 main ()
19070 {
19071 int i = EIDRM;
19072 ;
19073 return 0;
19074 }
19075 _ACEOF
19076 if ac_fn_c_try_compile "$LINENO"; then :
19077 glibcxx_cv_system_error13=yes
19078 else
19079 glibcxx_cv_system_error13=no
19080 fi
19081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19082
19083 fi
19084
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
19086 $as_echo "$glibcxx_cv_system_error13" >&6; }
19087 if test x"$glibcxx_cv_system_error13" = x"yes"; then
19088
19089 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
19090
19091 fi
19092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
19093 $as_echo_n "checking for ETXTBSY... " >&6; }
19094 if ${glibcxx_cv_system_error14+:} false; then :
19095 $as_echo_n "(cached) " >&6
19096 else
19097
19098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19099 /* end confdefs.h. */
19100 #include <errno.h>
19101 int
19102 main ()
19103 {
19104 int i = ETXTBSY;
19105 ;
19106 return 0;
19107 }
19108 _ACEOF
19109 if ac_fn_c_try_compile "$LINENO"; then :
19110 glibcxx_cv_system_error14=yes
19111 else
19112 glibcxx_cv_system_error14=no
19113 fi
19114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19115
19116 fi
19117
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
19119 $as_echo "$glibcxx_cv_system_error14" >&6; }
19120 if test x"$glibcxx_cv_system_error14" = x"yes"; then
19121
19122 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
19123
19124 fi
19125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
19126 $as_echo_n "checking for ECHILD... " >&6; }
19127 if ${glibcxx_cv_system_error15+:} false; then :
19128 $as_echo_n "(cached) " >&6
19129 else
19130
19131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19132 /* end confdefs.h. */
19133 #include <errno.h>
19134 int
19135 main ()
19136 {
19137 int i = ECHILD;
19138 ;
19139 return 0;
19140 }
19141 _ACEOF
19142 if ac_fn_c_try_compile "$LINENO"; then :
19143 glibcxx_cv_system_error15=yes
19144 else
19145 glibcxx_cv_system_error15=no
19146 fi
19147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19148
19149 fi
19150
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
19152 $as_echo "$glibcxx_cv_system_error15" >&6; }
19153 if test x"$glibcxx_cv_system_error15" = x"yes"; then
19154
19155 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
19156
19157 fi
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
19159 $as_echo_n "checking for ENOSPC... " >&6; }
19160 if ${glibcxx_cv_system_error16+:} false; then :
19161 $as_echo_n "(cached) " >&6
19162 else
19163
19164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19165 /* end confdefs.h. */
19166 #include <errno.h>
19167 int
19168 main ()
19169 {
19170 int i = ENOSPC;
19171 ;
19172 return 0;
19173 }
19174 _ACEOF
19175 if ac_fn_c_try_compile "$LINENO"; then :
19176 glibcxx_cv_system_error16=yes
19177 else
19178 glibcxx_cv_system_error16=no
19179 fi
19180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19181
19182 fi
19183
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
19185 $as_echo "$glibcxx_cv_system_error16" >&6; }
19186 if test x"$glibcxx_cv_system_error16" = x"yes"; then
19187
19188 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
19189
19190 fi
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
19192 $as_echo_n "checking for EPERM... " >&6; }
19193 if ${glibcxx_cv_system_error17+:} false; then :
19194 $as_echo_n "(cached) " >&6
19195 else
19196
19197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19198 /* end confdefs.h. */
19199 #include <errno.h>
19200 int
19201 main ()
19202 {
19203 int i = EPERM;
19204 ;
19205 return 0;
19206 }
19207 _ACEOF
19208 if ac_fn_c_try_compile "$LINENO"; then :
19209 glibcxx_cv_system_error17=yes
19210 else
19211 glibcxx_cv_system_error17=no
19212 fi
19213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19214
19215 fi
19216
19217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
19218 $as_echo "$glibcxx_cv_system_error17" >&6; }
19219 if test x"$glibcxx_cv_system_error17" = x"yes"; then
19220
19221 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19222
19223 fi
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19225 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19226 if ${glibcxx_cv_system_error18+:} false; then :
19227 $as_echo_n "(cached) " >&6
19228 else
19229
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 #include <errno.h>
19233 int
19234 main ()
19235 {
19236 int i = ETIMEDOUT;
19237 ;
19238 return 0;
19239 }
19240 _ACEOF
19241 if ac_fn_c_try_compile "$LINENO"; then :
19242 glibcxx_cv_system_error18=yes
19243 else
19244 glibcxx_cv_system_error18=no
19245 fi
19246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19247
19248 fi
19249
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19251 $as_echo "$glibcxx_cv_system_error18" >&6; }
19252 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19253
19254 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19255
19256 fi
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19258 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19259 if ${glibcxx_cv_system_error19+:} false; then :
19260 $as_echo_n "(cached) " >&6
19261 else
19262
19263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19265 #include <errno.h>
19266 int
19267 main ()
19268 {
19269 int i = EWOULDBLOCK;
19270 ;
19271 return 0;
19272 }
19273 _ACEOF
19274 if ac_fn_c_try_compile "$LINENO"; then :
19275 glibcxx_cv_system_error19=yes
19276 else
19277 glibcxx_cv_system_error19=no
19278 fi
19279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19280
19281 fi
19282
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19284 $as_echo "$glibcxx_cv_system_error19" >&6; }
19285 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19286
19287 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19288
19289 fi
19290
19291
19292
19293
19294 # Test uchar.h.
19295 for ac_header in uchar.h
19296 do :
19297 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19298 if test "x$ac_cv_header_uchar_h" = xyes; then :
19299 cat >>confdefs.h <<_ACEOF
19300 #define HAVE_UCHAR_H 1
19301 _ACEOF
19302 ac_has_uchar_h=yes
19303 else
19304 ac_has_uchar_h=no
19305 fi
19306
19307 done
19308
19309
19310
19311 ac_ext=cpp
19312 ac_cpp='$CXXCPP $CPPFLAGS'
19313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19316
19317 ac_save_CXXFLAGS="$CXXFLAGS"
19318 CXXFLAGS="$CXXFLAGS -std=c++11"
19319
19320 if test x"$ac_has_uchar_h" = x"yes"; then
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19322 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19324 /* end confdefs.h. */
19325 #include <uchar.h>
19326 #ifdef __STDC_UTF_16__
19327 long i = __STDC_UTF_16__;
19328 #endif
19329 #ifdef __STDC_UTF_32__
19330 long j = __STDC_UTF_32__;
19331 #endif
19332 namespace test
19333 {
19334 using ::c16rtomb;
19335 using ::c32rtomb;
19336 using ::mbrtoc16;
19337 using ::mbrtoc32;
19338 }
19339
19340 int
19341 main ()
19342 {
19343
19344 ;
19345 return 0;
19346 }
19347 _ACEOF
19348 if ac_fn_cxx_try_compile "$LINENO"; then :
19349 ac_c11_uchar_cxx11=yes
19350 else
19351 ac_c11_uchar_cxx11=no
19352 fi
19353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19354 else
19355 ac_c11_uchar_cxx11=no
19356 fi
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19358 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19359 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19360
19361 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19362
19363 fi
19364
19365 CXXFLAGS="$ac_save_CXXFLAGS"
19366 ac_ext=c
19367 ac_cpp='$CPP $CPPFLAGS'
19368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19371
19372
19373
19374 # For the streamoff typedef.
19375
19376
19377
19378 ac_ext=cpp
19379 ac_cpp='$CXXCPP $CPPFLAGS'
19380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19383
19384
19385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19386 $as_echo_n "checking for int64_t... " >&6; }
19387 if ${glibcxx_cv_INT64_T+:} false; then :
19388 $as_echo_n "(cached) " >&6
19389 else
19390
19391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19392 /* end confdefs.h. */
19393 #include <stdint.h>
19394 int
19395 main ()
19396 {
19397 int64_t var;
19398 ;
19399 return 0;
19400 }
19401 _ACEOF
19402 if ac_fn_cxx_try_compile "$LINENO"; then :
19403 glibcxx_cv_INT64_T=yes
19404 else
19405 glibcxx_cv_INT64_T=no
19406 fi
19407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19408
19409 fi
19410
19411
19412 if test $glibcxx_cv_INT64_T = yes; then
19413
19414 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19415
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19417 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19418
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19420 $as_echo_n "checking for int64_t as long... " >&6; }
19421 if ${glibcxx_cv_int64_t_long+:} false; then :
19422 $as_echo_n "(cached) " >&6
19423 else
19424
19425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19426 /* end confdefs.h. */
19427 #include <stdint.h>
19428 template<typename, typename> struct same { enum { value = -1 }; };
19429 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19430 int array[same<int64_t, long>::value];
19431 int
19432 main ()
19433 {
19434
19435 ;
19436 return 0;
19437 }
19438 _ACEOF
19439 if ac_fn_cxx_try_compile "$LINENO"; then :
19440 glibcxx_cv_int64_t_long=yes
19441 else
19442 glibcxx_cv_int64_t_long=no
19443 fi
19444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19445
19446 fi
19447
19448
19449 if test $glibcxx_cv_int64_t_long = yes; then
19450
19451 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19452
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19454 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19455 fi
19456
19457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19458 $as_echo_n "checking for int64_t as long long... " >&6; }
19459 if ${glibcxx_cv_int64_t_long_long+:} false; then :
19460 $as_echo_n "(cached) " >&6
19461 else
19462
19463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19464 /* end confdefs.h. */
19465 #include <stdint.h>
19466 template<typename, typename> struct same { enum { value = -1 }; };
19467 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19468 int array[same<int64_t, long long>::value];
19469 int
19470 main ()
19471 {
19472
19473 ;
19474 return 0;
19475 }
19476 _ACEOF
19477 if ac_fn_cxx_try_compile "$LINENO"; then :
19478 glibcxx_cv_int64_t_long_long=yes
19479 else
19480 glibcxx_cv_int64_t_long_long=no
19481 fi
19482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19483
19484 fi
19485
19486
19487 if test $glibcxx_cv_int64_t_long_long = yes; then
19488
19489 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19490
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19492 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19493 fi
19494 fi
19495
19496 ac_ext=c
19497 ac_cpp='$CPP $CPPFLAGS'
19498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19501
19502
19503
19504 # For LFS support.
19505
19506
19507 ac_ext=cpp
19508 ac_cpp='$CXXCPP $CPPFLAGS'
19509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19512
19513 ac_save_CXXFLAGS="$CXXFLAGS"
19514 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19516 $as_echo_n "checking for LFS support... " >&6; }
19517 if ${glibcxx_cv_LFS+:} false; then :
19518 $as_echo_n "(cached) " >&6
19519 else
19520
19521 if test x$gcc_no_link = xyes; then
19522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19523 /* end confdefs.h. */
19524 #include <unistd.h>
19525 #include <stdio.h>
19526 #include <sys/stat.h>
19527
19528 int
19529 main ()
19530 {
19531 FILE* fp;
19532 fopen64("t", "w");
19533 fseeko64(fp, 0, SEEK_CUR);
19534 ftello64(fp);
19535 lseek64(1, 0, SEEK_CUR);
19536 struct stat64 buf;
19537 fstat64(1, &buf);
19538 ;
19539 return 0;
19540 }
19541 _ACEOF
19542 if ac_fn_cxx_try_compile "$LINENO"; then :
19543 glibcxx_cv_LFS=yes
19544 else
19545 glibcxx_cv_LFS=no
19546 fi
19547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19548 else
19549 if test x$gcc_no_link = xyes; then
19550 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19551 fi
19552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19554 #include <unistd.h>
19555 #include <stdio.h>
19556 #include <sys/stat.h>
19557
19558 int
19559 main ()
19560 {
19561 FILE* fp;
19562 fopen64("t", "w");
19563 fseeko64(fp, 0, SEEK_CUR);
19564 ftello64(fp);
19565 lseek64(1, 0, SEEK_CUR);
19566 struct stat64 buf;
19567 fstat64(1, &buf);
19568 ;
19569 return 0;
19570 }
19571 _ACEOF
19572 if ac_fn_cxx_try_link "$LINENO"; then :
19573 glibcxx_cv_LFS=yes
19574 else
19575 glibcxx_cv_LFS=no
19576 fi
19577 rm -f core conftest.err conftest.$ac_objext \
19578 conftest$ac_exeext conftest.$ac_ext
19579 fi
19580
19581 fi
19582
19583 if test $glibcxx_cv_LFS = yes; then
19584
19585 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19586
19587 fi
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19589 $as_echo "$glibcxx_cv_LFS" >&6; }
19590 CXXFLAGS="$ac_save_CXXFLAGS"
19591 ac_ext=c
19592 ac_cpp='$CPP $CPPFLAGS'
19593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19596
19597
19598
19599 # For showmanyc_helper().
19600 for ac_header in sys/ioctl.h sys/filio.h
19601 do :
19602 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19603 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19604 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19605 cat >>confdefs.h <<_ACEOF
19606 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19607 _ACEOF
19608
19609 fi
19610
19611 done
19612
19613
19614
19615
19616 ac_ext=cpp
19617 ac_cpp='$CXXCPP $CPPFLAGS'
19618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19621
19622 ac_save_CXXFLAGS="$CXXFLAGS"
19623 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19624
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19626 $as_echo_n "checking for poll... " >&6; }
19627 if ${glibcxx_cv_POLL+:} false; then :
19628 $as_echo_n "(cached) " >&6
19629 else
19630
19631 if test x$gcc_no_link = xyes; then
19632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19633 /* end confdefs.h. */
19634 #include <poll.h>
19635 int
19636 main ()
19637 {
19638 struct pollfd pfd[1];
19639 pfd[0].events = POLLIN;
19640 poll(pfd, 1, 0);
19641 ;
19642 return 0;
19643 }
19644 _ACEOF
19645 if ac_fn_cxx_try_compile "$LINENO"; then :
19646 glibcxx_cv_POLL=yes
19647 else
19648 glibcxx_cv_POLL=no
19649 fi
19650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19651 else
19652 if test x$gcc_no_link = xyes; then
19653 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19654 fi
19655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19656 /* end confdefs.h. */
19657 #include <poll.h>
19658 int
19659 main ()
19660 {
19661 struct pollfd pfd[1];
19662 pfd[0].events = POLLIN;
19663 poll(pfd, 1, 0);
19664 ;
19665 return 0;
19666 }
19667 _ACEOF
19668 if ac_fn_cxx_try_link "$LINENO"; then :
19669 glibcxx_cv_POLL=yes
19670 else
19671 glibcxx_cv_POLL=no
19672 fi
19673 rm -f core conftest.err conftest.$ac_objext \
19674 conftest$ac_exeext conftest.$ac_ext
19675 fi
19676
19677 fi
19678
19679 if test $glibcxx_cv_POLL = yes; then
19680
19681 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19682
19683 fi
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19685 $as_echo "$glibcxx_cv_POLL" >&6; }
19686
19687 CXXFLAGS="$ac_save_CXXFLAGS"
19688 ac_ext=c
19689 ac_cpp='$CPP $CPPFLAGS'
19690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19693
19694
19695
19696
19697
19698 ac_ext=cpp
19699 ac_cpp='$CXXCPP $CPPFLAGS'
19700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19703
19704 ac_save_CXXFLAGS="$CXXFLAGS"
19705 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19706
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19708 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19709 if ${glibcxx_cv_S_ISREG+:} false; then :
19710 $as_echo_n "(cached) " >&6
19711 else
19712
19713 if test x$gcc_no_link = xyes; then
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19716 #include <sys/stat.h>
19717 int
19718 main ()
19719 {
19720 struct stat buffer;
19721 fstat(0, &buffer);
19722 S_ISREG(buffer.st_mode);
19723 ;
19724 return 0;
19725 }
19726 _ACEOF
19727 if ac_fn_cxx_try_compile "$LINENO"; then :
19728 glibcxx_cv_S_ISREG=yes
19729 else
19730 glibcxx_cv_S_ISREG=no
19731 fi
19732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19733 else
19734 if test x$gcc_no_link = xyes; then
19735 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19736 fi
19737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19738 /* end confdefs.h. */
19739 #include <sys/stat.h>
19740 int
19741 main ()
19742 {
19743 struct stat buffer;
19744 fstat(0, &buffer);
19745 S_ISREG(buffer.st_mode);
19746 ;
19747 return 0;
19748 }
19749 _ACEOF
19750 if ac_fn_cxx_try_link "$LINENO"; then :
19751 glibcxx_cv_S_ISREG=yes
19752 else
19753 glibcxx_cv_S_ISREG=no
19754 fi
19755 rm -f core conftest.err conftest.$ac_objext \
19756 conftest$ac_exeext conftest.$ac_ext
19757 fi
19758
19759 fi
19760
19761 if ${glibcxx_cv_S_IFREG+:} false; then :
19762 $as_echo_n "(cached) " >&6
19763 else
19764
19765 if test x$gcc_no_link = xyes; then
19766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19767 /* end confdefs.h. */
19768 #include <sys/stat.h>
19769 int
19770 main ()
19771 {
19772 struct stat buffer;
19773 fstat(0, &buffer);
19774 S_IFREG & buffer.st_mode;
19775 ;
19776 return 0;
19777 }
19778 _ACEOF
19779 if ac_fn_cxx_try_compile "$LINENO"; then :
19780 glibcxx_cv_S_IFREG=yes
19781 else
19782 glibcxx_cv_S_IFREG=no
19783 fi
19784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19785 else
19786 if test x$gcc_no_link = xyes; then
19787 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19788 fi
19789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19790 /* end confdefs.h. */
19791 #include <sys/stat.h>
19792 int
19793 main ()
19794 {
19795 struct stat buffer;
19796 fstat(0, &buffer);
19797 S_IFREG & buffer.st_mode;
19798 ;
19799 return 0;
19800 }
19801 _ACEOF
19802 if ac_fn_cxx_try_link "$LINENO"; then :
19803 glibcxx_cv_S_IFREG=yes
19804 else
19805 glibcxx_cv_S_IFREG=no
19806 fi
19807 rm -f core conftest.err conftest.$ac_objext \
19808 conftest$ac_exeext conftest.$ac_ext
19809 fi
19810
19811 fi
19812
19813 res=no
19814 if test $glibcxx_cv_S_ISREG = yes; then
19815
19816 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19817
19818 res=S_ISREG
19819 elif test $glibcxx_cv_S_IFREG = yes; then
19820
19821 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19822
19823 res=S_IFREG
19824 fi
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19826 $as_echo "$res" >&6; }
19827
19828 CXXFLAGS="$ac_save_CXXFLAGS"
19829 ac_ext=c
19830 ac_cpp='$CPP $CPPFLAGS'
19831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19834
19835
19836
19837 # For xsputn_2().
19838 for ac_header in sys/uio.h
19839 do :
19840 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19841 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19842 cat >>confdefs.h <<_ACEOF
19843 #define HAVE_SYS_UIO_H 1
19844 _ACEOF
19845
19846 fi
19847
19848 done
19849
19850
19851
19852
19853 ac_ext=cpp
19854 ac_cpp='$CXXCPP $CPPFLAGS'
19855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19858
19859 ac_save_CXXFLAGS="$CXXFLAGS"
19860 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19861
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19863 $as_echo_n "checking for writev... " >&6; }
19864 if ${glibcxx_cv_WRITEV+:} false; then :
19865 $as_echo_n "(cached) " >&6
19866 else
19867
19868 if test x$gcc_no_link = xyes; then
19869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19870 /* end confdefs.h. */
19871 #include <sys/uio.h>
19872 int
19873 main ()
19874 {
19875 struct iovec iov[2];
19876 writev(0, iov, 0);
19877 ;
19878 return 0;
19879 }
19880 _ACEOF
19881 if ac_fn_cxx_try_compile "$LINENO"; then :
19882 glibcxx_cv_WRITEV=yes
19883 else
19884 glibcxx_cv_WRITEV=no
19885 fi
19886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19887 else
19888 if test x$gcc_no_link = xyes; then
19889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19890 fi
19891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19892 /* end confdefs.h. */
19893 #include <sys/uio.h>
19894 int
19895 main ()
19896 {
19897 struct iovec iov[2];
19898 writev(0, iov, 0);
19899 ;
19900 return 0;
19901 }
19902 _ACEOF
19903 if ac_fn_cxx_try_link "$LINENO"; then :
19904 glibcxx_cv_WRITEV=yes
19905 else
19906 glibcxx_cv_WRITEV=no
19907 fi
19908 rm -f core conftest.err conftest.$ac_objext \
19909 conftest$ac_exeext conftest.$ac_ext
19910 fi
19911
19912 fi
19913
19914 if test $glibcxx_cv_WRITEV = yes; then
19915
19916 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19917
19918 fi
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19920 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19921
19922 CXXFLAGS="$ac_save_CXXFLAGS"
19923 ac_ext=c
19924 ac_cpp='$CPP $CPPFLAGS'
19925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19928
19929
19930
19931 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19932 # so that the check is done with the C compiler (not C++).
19933 # Checking with C++ can break a canadian cross build if either
19934 # file does not exist in C but does in C++.
19935 for ac_header in fenv.h complex.h
19936 do :
19937 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19938 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19939 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19940 cat >>confdefs.h <<_ACEOF
19941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19942 _ACEOF
19943
19944 fi
19945
19946 done
19947
19948
19949 # For C99 support to TR1.
19950
19951
19952
19953 ac_ext=cpp
19954 ac_cpp='$CXXCPP $CPPFLAGS'
19955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19958
19959
19960 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19961 # undefined and fake C99 facilities may be spuriously enabled.
19962 ac_save_CXXFLAGS="$CXXFLAGS"
19963 CXXFLAGS="$CXXFLAGS -std=c++98"
19964
19965 # Check for the existence of <complex.h> complex math functions used
19966 # by tr1/complex.
19967 for ac_header in complex.h
19968 do :
19969 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19970 if test "x$ac_cv_header_complex_h" = xyes; then :
19971 cat >>confdefs.h <<_ACEOF
19972 #define HAVE_COMPLEX_H 1
19973 _ACEOF
19974 ac_has_complex_h=yes
19975 else
19976 ac_has_complex_h=no
19977 fi
19978
19979 done
19980
19981 ac_c99_complex_tr1=no;
19982 if test x"$ac_has_complex_h" = x"yes"; then
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19984 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19986 /* end confdefs.h. */
19987 #include <complex.h>
19988 int
19989 main ()
19990 {
19991 typedef __complex__ float float_type; float_type tmpf;
19992 cacosf(tmpf);
19993 casinf(tmpf);
19994 catanf(tmpf);
19995 cacoshf(tmpf);
19996 casinhf(tmpf);
19997 catanhf(tmpf);
19998 typedef __complex__ double double_type; double_type tmpd;
19999 cacos(tmpd);
20000 casin(tmpd);
20001 catan(tmpd);
20002 cacosh(tmpd);
20003 casinh(tmpd);
20004 catanh(tmpd);
20005 typedef __complex__ long double ld_type; ld_type tmpld;
20006 cacosl(tmpld);
20007 casinl(tmpld);
20008 catanl(tmpld);
20009 cacoshl(tmpld);
20010 casinhl(tmpld);
20011 catanhl(tmpld);
20012
20013 ;
20014 return 0;
20015 }
20016 _ACEOF
20017 if ac_fn_cxx_try_compile "$LINENO"; then :
20018 ac_c99_complex_tr1=yes
20019 else
20020 ac_c99_complex_tr1=no
20021 fi
20022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20023 fi
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20025 $as_echo "$ac_c99_complex_tr1" >&6; }
20026 if test x"$ac_c99_complex_tr1" = x"yes"; then
20027
20028 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20029
20030 fi
20031
20032 # Check for the existence of <ctype.h> functions.
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20034 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20035 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20036 $as_echo_n "(cached) " >&6
20037 else
20038
20039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20040 /* end confdefs.h. */
20041 #include <ctype.h>
20042 int
20043 main ()
20044 {
20045 int ch;
20046 int ret;
20047 ret = isblank(ch);
20048
20049 ;
20050 return 0;
20051 }
20052 _ACEOF
20053 if ac_fn_cxx_try_compile "$LINENO"; then :
20054 glibcxx_cv_c99_ctype_tr1=yes
20055 else
20056 glibcxx_cv_c99_ctype_tr1=no
20057 fi
20058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20059
20060 fi
20061
20062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20063 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20064 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20065
20066 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20067
20068 fi
20069
20070 # Check for the existence of <fenv.h> functions.
20071 for ac_header in fenv.h
20072 do :
20073 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20074 if test "x$ac_cv_header_fenv_h" = xyes; then :
20075 cat >>confdefs.h <<_ACEOF
20076 #define HAVE_FENV_H 1
20077 _ACEOF
20078 ac_has_fenv_h=yes
20079 else
20080 ac_has_fenv_h=no
20081 fi
20082
20083 done
20084
20085 ac_c99_fenv_tr1=no;
20086 if test x"$ac_has_fenv_h" = x"yes"; then
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20088 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20090 /* end confdefs.h. */
20091 #include <fenv.h>
20092 int
20093 main ()
20094 {
20095 int except, mode;
20096 fexcept_t* pflag;
20097 fenv_t* penv;
20098 int ret;
20099 ret = feclearexcept(except);
20100 ret = fegetexceptflag(pflag, except);
20101 ret = feraiseexcept(except);
20102 ret = fesetexceptflag(pflag, except);
20103 ret = fetestexcept(except);
20104 ret = fegetround();
20105 ret = fesetround(mode);
20106 ret = fegetenv(penv);
20107 ret = feholdexcept(penv);
20108 ret = fesetenv(penv);
20109 ret = feupdateenv(penv);
20110
20111 ;
20112 return 0;
20113 }
20114 _ACEOF
20115 if ac_fn_cxx_try_compile "$LINENO"; then :
20116 ac_c99_fenv_tr1=yes
20117 else
20118 ac_c99_fenv_tr1=no
20119 fi
20120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20121 fi
20122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20123 $as_echo "$ac_c99_fenv_tr1" >&6; }
20124 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20125
20126 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20127
20128 fi
20129
20130 # Check for the existence of <stdint.h> types.
20131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20132 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20133 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20134 $as_echo_n "(cached) " >&6
20135 else
20136
20137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20138 /* end confdefs.h. */
20139 #define __STDC_LIMIT_MACROS
20140 #define __STDC_CONSTANT_MACROS
20141 #include <stdint.h>
20142 int
20143 main ()
20144 {
20145 typedef int8_t my_int8_t;
20146 my_int8_t i8 = INT8_MIN;
20147 i8 = INT8_MAX;
20148 typedef int16_t my_int16_t;
20149 my_int16_t i16 = INT16_MIN;
20150 i16 = INT16_MAX;
20151 typedef int32_t my_int32_t;
20152 my_int32_t i32 = INT32_MIN;
20153 i32 = INT32_MAX;
20154 typedef int64_t my_int64_t;
20155 my_int64_t i64 = INT64_MIN;
20156 i64 = INT64_MAX;
20157 typedef int_fast8_t my_int_fast8_t;
20158 my_int_fast8_t if8 = INT_FAST8_MIN;
20159 if8 = INT_FAST8_MAX;
20160 typedef int_fast16_t my_int_fast16_t;
20161 my_int_fast16_t if16 = INT_FAST16_MIN;
20162 if16 = INT_FAST16_MAX;
20163 typedef int_fast32_t my_int_fast32_t;
20164 my_int_fast32_t if32 = INT_FAST32_MIN;
20165 if32 = INT_FAST32_MAX;
20166 typedef int_fast64_t my_int_fast64_t;
20167 my_int_fast64_t if64 = INT_FAST64_MIN;
20168 if64 = INT_FAST64_MAX;
20169 typedef int_least8_t my_int_least8_t;
20170 my_int_least8_t il8 = INT_LEAST8_MIN;
20171 il8 = INT_LEAST8_MAX;
20172 typedef int_least16_t my_int_least16_t;
20173 my_int_least16_t il16 = INT_LEAST16_MIN;
20174 il16 = INT_LEAST16_MAX;
20175 typedef int_least32_t my_int_least32_t;
20176 my_int_least32_t il32 = INT_LEAST32_MIN;
20177 il32 = INT_LEAST32_MAX;
20178 typedef int_least64_t my_int_least64_t;
20179 my_int_least64_t il64 = INT_LEAST64_MIN;
20180 il64 = INT_LEAST64_MAX;
20181 typedef intmax_t my_intmax_t;
20182 my_intmax_t im = INTMAX_MAX;
20183 im = INTMAX_MIN;
20184 typedef intptr_t my_intptr_t;
20185 my_intptr_t ip = INTPTR_MAX;
20186 ip = INTPTR_MIN;
20187 typedef uint8_t my_uint8_t;
20188 my_uint8_t ui8 = UINT8_MAX;
20189 ui8 = UINT8_MAX;
20190 typedef uint16_t my_uint16_t;
20191 my_uint16_t ui16 = UINT16_MAX;
20192 ui16 = UINT16_MAX;
20193 typedef uint32_t my_uint32_t;
20194 my_uint32_t ui32 = UINT32_MAX;
20195 ui32 = UINT32_MAX;
20196 typedef uint64_t my_uint64_t;
20197 my_uint64_t ui64 = UINT64_MAX;
20198 ui64 = UINT64_MAX;
20199 typedef uint_fast8_t my_uint_fast8_t;
20200 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20201 uif8 = UINT_FAST8_MAX;
20202 typedef uint_fast16_t my_uint_fast16_t;
20203 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20204 uif16 = UINT_FAST16_MAX;
20205 typedef uint_fast32_t my_uint_fast32_t;
20206 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20207 uif32 = UINT_FAST32_MAX;
20208 typedef uint_fast64_t my_uint_fast64_t;
20209 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20210 uif64 = UINT_FAST64_MAX;
20211 typedef uint_least8_t my_uint_least8_t;
20212 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20213 uil8 = UINT_LEAST8_MAX;
20214 typedef uint_least16_t my_uint_least16_t;
20215 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20216 uil16 = UINT_LEAST16_MAX;
20217 typedef uint_least32_t my_uint_least32_t;
20218 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20219 uil32 = UINT_LEAST32_MAX;
20220 typedef uint_least64_t my_uint_least64_t;
20221 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20222 uil64 = UINT_LEAST64_MAX;
20223 typedef uintmax_t my_uintmax_t;
20224 my_uintmax_t uim = UINTMAX_MAX;
20225 uim = UINTMAX_MAX;
20226 typedef uintptr_t my_uintptr_t;
20227 my_uintptr_t uip = UINTPTR_MAX;
20228 uip = UINTPTR_MAX;
20229
20230 ;
20231 return 0;
20232 }
20233 _ACEOF
20234 if ac_fn_cxx_try_compile "$LINENO"; then :
20235 glibcxx_cv_c99_stdint_tr1=yes
20236 else
20237 glibcxx_cv_c99_stdint_tr1=no
20238 fi
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20240
20241 fi
20242
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20244 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20245 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20246
20247 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20248
20249 fi
20250
20251 # Check for the existence of <math.h> functions.
20252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20253 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20254 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20255 $as_echo_n "(cached) " >&6
20256 else
20257
20258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20259 /* end confdefs.h. */
20260 #include <math.h>
20261 int
20262 main ()
20263 {
20264 typedef double_t my_double_t;
20265 typedef float_t my_float_t;
20266 acosh(0.0);
20267 acoshf(0.0f);
20268 acoshl(0.0l);
20269 asinh(0.0);
20270 asinhf(0.0f);
20271 asinhl(0.0l);
20272 atanh(0.0);
20273 atanhf(0.0f);
20274 atanhl(0.0l);
20275 cbrt(0.0);
20276 cbrtf(0.0f);
20277 cbrtl(0.0l);
20278 copysign(0.0, 0.0);
20279 copysignf(0.0f, 0.0f);
20280 copysignl(0.0l, 0.0l);
20281 erf(0.0);
20282 erff(0.0f);
20283 erfl(0.0l);
20284 erfc(0.0);
20285 erfcf(0.0f);
20286 erfcl(0.0l);
20287 exp2(0.0);
20288 exp2f(0.0f);
20289 exp2l(0.0l);
20290 expm1(0.0);
20291 expm1f(0.0f);
20292 expm1l(0.0l);
20293 fdim(0.0, 0.0);
20294 fdimf(0.0f, 0.0f);
20295 fdiml(0.0l, 0.0l);
20296 fma(0.0, 0.0, 0.0);
20297 fmaf(0.0f, 0.0f, 0.0f);
20298 fmal(0.0l, 0.0l, 0.0l);
20299 fmax(0.0, 0.0);
20300 fmaxf(0.0f, 0.0f);
20301 fmaxl(0.0l, 0.0l);
20302 fmin(0.0, 0.0);
20303 fminf(0.0f, 0.0f);
20304 fminl(0.0l, 0.0l);
20305 hypot(0.0, 0.0);
20306 hypotf(0.0f, 0.0f);
20307 hypotl(0.0l, 0.0l);
20308 ilogb(0.0);
20309 ilogbf(0.0f);
20310 ilogbl(0.0l);
20311 lgamma(0.0);
20312 lgammaf(0.0f);
20313 lgammal(0.0l);
20314 #ifndef __APPLE__ /* see below */
20315 llrint(0.0);
20316 llrintf(0.0f);
20317 llrintl(0.0l);
20318 llround(0.0);
20319 llroundf(0.0f);
20320 llroundl(0.0l);
20321 #endif
20322 log1p(0.0);
20323 log1pf(0.0f);
20324 log1pl(0.0l);
20325 log2(0.0);
20326 log2f(0.0f);
20327 log2l(0.0l);
20328 logb(0.0);
20329 logbf(0.0f);
20330 logbl(0.0l);
20331 lrint(0.0);
20332 lrintf(0.0f);
20333 lrintl(0.0l);
20334 lround(0.0);
20335 lroundf(0.0f);
20336 lroundl(0.0l);
20337 nan(0);
20338 nanf(0);
20339 nanl(0);
20340 nearbyint(0.0);
20341 nearbyintf(0.0f);
20342 nearbyintl(0.0l);
20343 nextafter(0.0, 0.0);
20344 nextafterf(0.0f, 0.0f);
20345 nextafterl(0.0l, 0.0l);
20346 nexttoward(0.0, 0.0);
20347 nexttowardf(0.0f, 0.0f);
20348 nexttowardl(0.0l, 0.0l);
20349 remainder(0.0, 0.0);
20350 remainderf(0.0f, 0.0f);
20351 remainderl(0.0l, 0.0l);
20352 remquo(0.0, 0.0, 0);
20353 remquof(0.0f, 0.0f, 0);
20354 remquol(0.0l, 0.0l, 0);
20355 rint(0.0);
20356 rintf(0.0f);
20357 rintl(0.0l);
20358 round(0.0);
20359 roundf(0.0f);
20360 roundl(0.0l);
20361 scalbln(0.0, 0l);
20362 scalblnf(0.0f, 0l);
20363 scalblnl(0.0l, 0l);
20364 scalbn(0.0, 0);
20365 scalbnf(0.0f, 0);
20366 scalbnl(0.0l, 0);
20367 tgamma(0.0);
20368 tgammaf(0.0f);
20369 tgammal(0.0l);
20370 trunc(0.0);
20371 truncf(0.0f);
20372 truncl(0.0l);
20373
20374 ;
20375 return 0;
20376 }
20377 _ACEOF
20378 if ac_fn_cxx_try_compile "$LINENO"; then :
20379 glibcxx_cv_c99_math_tr1=yes
20380 else
20381 glibcxx_cv_c99_math_tr1=no
20382 fi
20383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20384
20385 fi
20386
20387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20388 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20389 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20390
20391 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20392
20393
20394 case "${target_os}" in
20395 darwin*)
20396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20397 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20398 if ${glibcxx_cv_c99_math_llround+:} false; then :
20399 $as_echo_n "(cached) " >&6
20400 else
20401
20402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20403 /* end confdefs.h. */
20404 #include <math.h>
20405 int
20406 main ()
20407 {
20408 llrint(0.0);
20409 llrintf(0.0f);
20410 llrintl(0.0l);
20411 llround(0.0);
20412 llroundf(0.0f);
20413 llroundl(0.0l);
20414
20415 ;
20416 return 0;
20417 }
20418 _ACEOF
20419 if ac_fn_cxx_try_compile "$LINENO"; then :
20420 glibcxx_cv_c99_math_llround=yes
20421 else
20422 glibcxx_cv_c99_math_llround=no
20423 fi
20424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20425
20426 fi
20427
20428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20429 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20430 ;;
20431 esac
20432 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20433
20434 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20435
20436 fi
20437 fi
20438
20439 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20440 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20441 ac_c99_inttypes_tr1=no;
20442 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20444 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20446 /* end confdefs.h. */
20447 #include <inttypes.h>
20448 int
20449 main ()
20450 {
20451 intmax_t i, numer, denom, base;
20452 const char* s;
20453 char** endptr;
20454 intmax_t ret = imaxabs(i);
20455 imaxdiv_t dret = imaxdiv(numer, denom);
20456 ret = strtoimax(s, endptr, base);
20457 uintmax_t uret = strtoumax(s, endptr, base);
20458
20459 ;
20460 return 0;
20461 }
20462 _ACEOF
20463 if ac_fn_cxx_try_compile "$LINENO"; then :
20464 ac_c99_inttypes_tr1=yes
20465 else
20466 ac_c99_inttypes_tr1=no
20467 fi
20468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20469 fi
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20471 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20472 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20473
20474 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20475
20476 fi
20477
20478 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20479 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20480 ac_c99_inttypes_wchar_t_tr1=no;
20481 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20483 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20485 /* end confdefs.h. */
20486 #include <inttypes.h>
20487 int
20488 main ()
20489 {
20490 intmax_t base;
20491 const wchar_t* s;
20492 wchar_t** endptr;
20493 intmax_t ret = wcstoimax(s, endptr, base);
20494 uintmax_t uret = wcstoumax(s, endptr, base);
20495
20496 ;
20497 return 0;
20498 }
20499 _ACEOF
20500 if ac_fn_cxx_try_compile "$LINENO"; then :
20501 ac_c99_inttypes_wchar_t_tr1=yes
20502 else
20503 ac_c99_inttypes_wchar_t_tr1=no
20504 fi
20505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20506 fi
20507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20508 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20509 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20510
20511 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20512
20513 fi
20514
20515 # Check for the existence of the <stdbool.h> header.
20516 for ac_header in stdbool.h
20517 do :
20518 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20519 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20520 cat >>confdefs.h <<_ACEOF
20521 #define HAVE_STDBOOL_H 1
20522 _ACEOF
20523
20524 fi
20525
20526 done
20527
20528
20529 # Check for the existence of the <stdalign.h> header.
20530 for ac_header in stdalign.h
20531 do :
20532 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20533 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20534 cat >>confdefs.h <<_ACEOF
20535 #define HAVE_STDALIGN_H 1
20536 _ACEOF
20537
20538 fi
20539
20540 done
20541
20542
20543 CXXFLAGS="$ac_save_CXXFLAGS"
20544 ac_ext=c
20545 ac_cpp='$CPP $CPPFLAGS'
20546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20549
20550
20551
20552 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20553
20554
20555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20556 $as_echo_n "checking for the value of EOF... " >&6; }
20557 if ${glibcxx_cv_stdio_eof+:} false; then :
20558 $as_echo_n "(cached) " >&6
20559 else
20560
20561 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20562
20563 else
20564 as_fn_error $? "computing EOF failed" "$LINENO" 5
20565 fi
20566
20567
20568 fi
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20570 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20571
20572 cat >>confdefs.h <<_ACEOF
20573 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20574 _ACEOF
20575
20576
20577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20578 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20579 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20580 $as_echo_n "(cached) " >&6
20581 else
20582
20583 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20584
20585 else
20586 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20587 fi
20588
20589
20590 fi
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20592 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20593
20594 cat >>confdefs.h <<_ACEOF
20595 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20596 _ACEOF
20597
20598
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20600 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20601 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20602 $as_echo_n "(cached) " >&6
20603 else
20604
20605 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20606
20607 else
20608 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20609 fi
20610
20611
20612 fi
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20614 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20615
20616 cat >>confdefs.h <<_ACEOF
20617 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20618 _ACEOF
20619
20620
20621
20622 # For gettimeofday support.
20623
20624
20625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20626 $as_echo_n "checking for gettimeofday... " >&6; }
20627
20628
20629 ac_ext=cpp
20630 ac_cpp='$CXXCPP $CPPFLAGS'
20631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20634
20635 ac_save_CXXFLAGS="$CXXFLAGS"
20636 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20637
20638 ac_has_gettimeofday=no;
20639 for ac_header in sys/time.h
20640 do :
20641 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20642 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20643 cat >>confdefs.h <<_ACEOF
20644 #define HAVE_SYS_TIME_H 1
20645 _ACEOF
20646 ac_has_sys_time_h=yes
20647 else
20648 ac_has_sys_time_h=no
20649 fi
20650
20651 done
20652
20653 if test x"$ac_has_sys_time_h" = x"yes"; then
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20655 $as_echo_n "checking for gettimeofday... " >&6; }
20656 if test x$gcc_no_link = xyes; then
20657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20658 /* end confdefs.h. */
20659 #include <sys/time.h>
20660 int
20661 main ()
20662 {
20663 timeval tv; gettimeofday(&tv, 0);
20664 ;
20665 return 0;
20666 }
20667 _ACEOF
20668 if ac_fn_cxx_try_compile "$LINENO"; then :
20669 ac_has_gettimeofday=yes
20670 else
20671 ac_has_gettimeofday=no
20672 fi
20673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20674 else
20675 if test x$gcc_no_link = xyes; then
20676 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20677 fi
20678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20679 /* end confdefs.h. */
20680 #include <sys/time.h>
20681 int
20682 main ()
20683 {
20684 timeval tv; gettimeofday(&tv, 0);
20685 ;
20686 return 0;
20687 }
20688 _ACEOF
20689 if ac_fn_cxx_try_link "$LINENO"; then :
20690 ac_has_gettimeofday=yes
20691 else
20692 ac_has_gettimeofday=no
20693 fi
20694 rm -f core conftest.err conftest.$ac_objext \
20695 conftest$ac_exeext conftest.$ac_ext
20696 fi
20697
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20699 $as_echo "$ac_has_gettimeofday" >&6; }
20700 fi
20701
20702 if test x"$ac_has_gettimeofday" = x"yes"; then
20703
20704 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20705
20706 fi
20707
20708 CXXFLAGS="$ac_save_CXXFLAGS"
20709 ac_ext=c
20710 ac_cpp='$CPP $CPPFLAGS'
20711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20714
20715
20716
20717 # For clock_gettime, nanosleep and sched_yield support.
20718
20719
20720 # Check whether --enable-libstdcxx-time was given.
20721 if test "${enable_libstdcxx_time+set}" = set; then :
20722 enableval=$enable_libstdcxx_time;
20723 case "$enableval" in
20724 yes|no|rt) ;;
20725 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20726 esac
20727
20728 else
20729 enable_libstdcxx_time=auto
20730 fi
20731
20732
20733
20734
20735 ac_ext=cpp
20736 ac_cpp='$CXXCPP $CPPFLAGS'
20737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20740
20741 ac_save_CXXFLAGS="$CXXFLAGS"
20742 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20743 ac_save_LIBS="$LIBS"
20744
20745 ac_has_clock_monotonic=no
20746 ac_has_clock_realtime=no
20747 ac_has_nanosleep=no
20748 ac_has_sched_yield=no
20749
20750 if test x"$enable_libstdcxx_time" = x"auto"; then
20751
20752 case "${target_os}" in
20753 cygwin*)
20754 ac_has_nanosleep=yes
20755 ;;
20756 darwin*)
20757 ac_has_nanosleep=yes
20758 ac_has_sched_yield=yes
20759 ;;
20760 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20762 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20764 /* end confdefs.h. */
20765 #include <features.h>
20766 int
20767 main ()
20768 {
20769
20770 #if ! __GLIBC_PREREQ(2, 17)
20771 #error
20772 #endif
20773
20774 ;
20775 return 0;
20776 }
20777 _ACEOF
20778 if ac_fn_cxx_try_compile "$LINENO"; then :
20779 glibcxx_glibc217=yes
20780 else
20781 glibcxx_glibc217=no
20782 fi
20783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20785 $as_echo "$glibcxx_glibc217" >&6; }
20786
20787 if test x"$glibcxx_glibc217" = x"yes"; then
20788 ac_has_clock_monotonic=yes
20789 ac_has_clock_realtime=yes
20790 fi
20791 ac_has_nanosleep=yes
20792 ac_has_sched_yield=yes
20793 ;;
20794 freebsd*|netbsd*|dragonfly*|rtems*)
20795 ac_has_clock_monotonic=yes
20796 ac_has_clock_realtime=yes
20797 ac_has_nanosleep=yes
20798 ac_has_sched_yield=yes
20799 ;;
20800 openbsd*)
20801 ac_has_clock_monotonic=yes
20802 ac_has_clock_realtime=yes
20803 ac_has_nanosleep=yes
20804 ;;
20805 solaris*)
20806 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20807 ac_has_clock_monotonic=yes
20808 ac_has_clock_realtime=yes
20809 ac_has_nanosleep=yes
20810 ac_has_sched_yield=yes
20811 ;;
20812 esac
20813
20814 elif test x"$enable_libstdcxx_time" != x"no"; then
20815
20816 if test x"$enable_libstdcxx_time" = x"rt"; then
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20818 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20819 if ${ac_cv_search_clock_gettime+:} false; then :
20820 $as_echo_n "(cached) " >&6
20821 else
20822 ac_func_search_save_LIBS=$LIBS
20823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20824 /* end confdefs.h. */
20825
20826 /* Override any GCC internal prototype to avoid an error.
20827 Use char because int might match the return type of a GCC
20828 builtin and then its argument prototype would still apply. */
20829 #ifdef __cplusplus
20830 extern "C"
20831 #endif
20832 char clock_gettime ();
20833 int
20834 main ()
20835 {
20836 return clock_gettime ();
20837 ;
20838 return 0;
20839 }
20840 _ACEOF
20841 for ac_lib in '' rt posix4; do
20842 if test -z "$ac_lib"; then
20843 ac_res="none required"
20844 else
20845 ac_res=-l$ac_lib
20846 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20847 fi
20848 if test x$gcc_no_link = xyes; then
20849 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20850 fi
20851 if ac_fn_cxx_try_link "$LINENO"; then :
20852 ac_cv_search_clock_gettime=$ac_res
20853 fi
20854 rm -f core conftest.err conftest.$ac_objext \
20855 conftest$ac_exeext
20856 if ${ac_cv_search_clock_gettime+:} false; then :
20857 break
20858 fi
20859 done
20860 if ${ac_cv_search_clock_gettime+:} false; then :
20861
20862 else
20863 ac_cv_search_clock_gettime=no
20864 fi
20865 rm conftest.$ac_ext
20866 LIBS=$ac_func_search_save_LIBS
20867 fi
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20869 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20870 ac_res=$ac_cv_search_clock_gettime
20871 if test "$ac_res" != no; then :
20872 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20873
20874 fi
20875
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20877 $as_echo_n "checking for library containing nanosleep... " >&6; }
20878 if ${ac_cv_search_nanosleep+:} false; then :
20879 $as_echo_n "(cached) " >&6
20880 else
20881 ac_func_search_save_LIBS=$LIBS
20882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20883 /* end confdefs.h. */
20884
20885 /* Override any GCC internal prototype to avoid an error.
20886 Use char because int might match the return type of a GCC
20887 builtin and then its argument prototype would still apply. */
20888 #ifdef __cplusplus
20889 extern "C"
20890 #endif
20891 char nanosleep ();
20892 int
20893 main ()
20894 {
20895 return nanosleep ();
20896 ;
20897 return 0;
20898 }
20899 _ACEOF
20900 for ac_lib in '' rt posix4; do
20901 if test -z "$ac_lib"; then
20902 ac_res="none required"
20903 else
20904 ac_res=-l$ac_lib
20905 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20906 fi
20907 if test x$gcc_no_link = xyes; then
20908 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20909 fi
20910 if ac_fn_cxx_try_link "$LINENO"; then :
20911 ac_cv_search_nanosleep=$ac_res
20912 fi
20913 rm -f core conftest.err conftest.$ac_objext \
20914 conftest$ac_exeext
20915 if ${ac_cv_search_nanosleep+:} false; then :
20916 break
20917 fi
20918 done
20919 if ${ac_cv_search_nanosleep+:} false; then :
20920
20921 else
20922 ac_cv_search_nanosleep=no
20923 fi
20924 rm conftest.$ac_ext
20925 LIBS=$ac_func_search_save_LIBS
20926 fi
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20928 $as_echo "$ac_cv_search_nanosleep" >&6; }
20929 ac_res=$ac_cv_search_nanosleep
20930 if test "$ac_res" != no; then :
20931 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20932
20933 fi
20934
20935 else
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20937 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20938 if ${ac_cv_search_clock_gettime+:} false; then :
20939 $as_echo_n "(cached) " >&6
20940 else
20941 ac_func_search_save_LIBS=$LIBS
20942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20943 /* end confdefs.h. */
20944
20945 /* Override any GCC internal prototype to avoid an error.
20946 Use char because int might match the return type of a GCC
20947 builtin and then its argument prototype would still apply. */
20948 #ifdef __cplusplus
20949 extern "C"
20950 #endif
20951 char clock_gettime ();
20952 int
20953 main ()
20954 {
20955 return clock_gettime ();
20956 ;
20957 return 0;
20958 }
20959 _ACEOF
20960 for ac_lib in '' posix4; do
20961 if test -z "$ac_lib"; then
20962 ac_res="none required"
20963 else
20964 ac_res=-l$ac_lib
20965 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20966 fi
20967 if test x$gcc_no_link = xyes; then
20968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20969 fi
20970 if ac_fn_cxx_try_link "$LINENO"; then :
20971 ac_cv_search_clock_gettime=$ac_res
20972 fi
20973 rm -f core conftest.err conftest.$ac_objext \
20974 conftest$ac_exeext
20975 if ${ac_cv_search_clock_gettime+:} false; then :
20976 break
20977 fi
20978 done
20979 if ${ac_cv_search_clock_gettime+:} false; then :
20980
20981 else
20982 ac_cv_search_clock_gettime=no
20983 fi
20984 rm conftest.$ac_ext
20985 LIBS=$ac_func_search_save_LIBS
20986 fi
20987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20988 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20989 ac_res=$ac_cv_search_clock_gettime
20990 if test "$ac_res" != no; then :
20991 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20992
20993 fi
20994
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20996 $as_echo_n "checking for library containing nanosleep... " >&6; }
20997 if ${ac_cv_search_nanosleep+:} false; then :
20998 $as_echo_n "(cached) " >&6
20999 else
21000 ac_func_search_save_LIBS=$LIBS
21001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21002 /* end confdefs.h. */
21003
21004 /* Override any GCC internal prototype to avoid an error.
21005 Use char because int might match the return type of a GCC
21006 builtin and then its argument prototype would still apply. */
21007 #ifdef __cplusplus
21008 extern "C"
21009 #endif
21010 char nanosleep ();
21011 int
21012 main ()
21013 {
21014 return nanosleep ();
21015 ;
21016 return 0;
21017 }
21018 _ACEOF
21019 for ac_lib in '' posix4; do
21020 if test -z "$ac_lib"; then
21021 ac_res="none required"
21022 else
21023 ac_res=-l$ac_lib
21024 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21025 fi
21026 if test x$gcc_no_link = xyes; then
21027 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21028 fi
21029 if ac_fn_cxx_try_link "$LINENO"; then :
21030 ac_cv_search_nanosleep=$ac_res
21031 fi
21032 rm -f core conftest.err conftest.$ac_objext \
21033 conftest$ac_exeext
21034 if ${ac_cv_search_nanosleep+:} false; then :
21035 break
21036 fi
21037 done
21038 if ${ac_cv_search_nanosleep+:} false; then :
21039
21040 else
21041 ac_cv_search_nanosleep=no
21042 fi
21043 rm conftest.$ac_ext
21044 LIBS=$ac_func_search_save_LIBS
21045 fi
21046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21047 $as_echo "$ac_cv_search_nanosleep" >&6; }
21048 ac_res=$ac_cv_search_nanosleep
21049 if test "$ac_res" != no; then :
21050 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21051
21052 fi
21053
21054 fi
21055
21056 case "$ac_cv_search_clock_gettime" in
21057 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21058 ;;
21059 esac
21060 case "$ac_cv_search_nanosleep" in
21061 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21062 ;;
21063 esac
21064
21065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21066 $as_echo_n "checking for library containing sched_yield... " >&6; }
21067 if ${ac_cv_search_sched_yield+:} false; then :
21068 $as_echo_n "(cached) " >&6
21069 else
21070 ac_func_search_save_LIBS=$LIBS
21071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21072 /* end confdefs.h. */
21073
21074 /* Override any GCC internal prototype to avoid an error.
21075 Use char because int might match the return type of a GCC
21076 builtin and then its argument prototype would still apply. */
21077 #ifdef __cplusplus
21078 extern "C"
21079 #endif
21080 char sched_yield ();
21081 int
21082 main ()
21083 {
21084 return sched_yield ();
21085 ;
21086 return 0;
21087 }
21088 _ACEOF
21089 for ac_lib in '' rt posix4; do
21090 if test -z "$ac_lib"; then
21091 ac_res="none required"
21092 else
21093 ac_res=-l$ac_lib
21094 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21095 fi
21096 if test x$gcc_no_link = xyes; then
21097 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21098 fi
21099 if ac_fn_cxx_try_link "$LINENO"; then :
21100 ac_cv_search_sched_yield=$ac_res
21101 fi
21102 rm -f core conftest.err conftest.$ac_objext \
21103 conftest$ac_exeext
21104 if ${ac_cv_search_sched_yield+:} false; then :
21105 break
21106 fi
21107 done
21108 if ${ac_cv_search_sched_yield+:} false; then :
21109
21110 else
21111 ac_cv_search_sched_yield=no
21112 fi
21113 rm conftest.$ac_ext
21114 LIBS=$ac_func_search_save_LIBS
21115 fi
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21117 $as_echo "$ac_cv_search_sched_yield" >&6; }
21118 ac_res=$ac_cv_search_sched_yield
21119 if test "$ac_res" != no; then :
21120 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21121
21122 fi
21123
21124
21125 case "$ac_cv_search_sched_yield" in
21126 -lposix4*)
21127 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21128 ac_has_sched_yield=yes
21129 ;;
21130 -lrt*)
21131 if test x"$enable_libstdcxx_time" = x"rt"; then
21132 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21133 ac_has_sched_yield=yes
21134 fi
21135 ;;
21136 *)
21137 ac_has_sched_yield=yes
21138 ;;
21139 esac
21140
21141 for ac_header in unistd.h
21142 do :
21143 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21144 if test "x$ac_cv_header_unistd_h" = xyes; then :
21145 cat >>confdefs.h <<_ACEOF
21146 #define HAVE_UNISTD_H 1
21147 _ACEOF
21148 ac_has_unistd_h=yes
21149 else
21150 ac_has_unistd_h=no
21151 fi
21152
21153 done
21154
21155
21156 if test x"$ac_has_unistd_h" = x"yes"; then
21157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21158 $as_echo_n "checking for monotonic clock... " >&6; }
21159 if test x$gcc_no_link = xyes; then
21160 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21161 fi
21162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21163 /* end confdefs.h. */
21164 #include <unistd.h>
21165 #include <time.h>
21166
21167 int
21168 main ()
21169 {
21170 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21171 timespec tp;
21172 #endif
21173 clock_gettime(CLOCK_MONOTONIC, &tp);
21174
21175 ;
21176 return 0;
21177 }
21178 _ACEOF
21179 if ac_fn_cxx_try_link "$LINENO"; then :
21180 ac_has_clock_monotonic=yes
21181 else
21182 ac_has_clock_monotonic=no
21183 fi
21184 rm -f core conftest.err conftest.$ac_objext \
21185 conftest$ac_exeext conftest.$ac_ext
21186
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21188 $as_echo "$ac_has_clock_monotonic" >&6; }
21189
21190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21191 $as_echo_n "checking for realtime clock... " >&6; }
21192 if test x$gcc_no_link = xyes; then
21193 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21194 fi
21195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21196 /* end confdefs.h. */
21197 #include <unistd.h>
21198 #include <time.h>
21199
21200 int
21201 main ()
21202 {
21203 #if _POSIX_TIMERS > 0
21204 timespec tp;
21205 #endif
21206 clock_gettime(CLOCK_REALTIME, &tp);
21207
21208 ;
21209 return 0;
21210 }
21211 _ACEOF
21212 if ac_fn_cxx_try_link "$LINENO"; then :
21213 ac_has_clock_realtime=yes
21214 else
21215 ac_has_clock_realtime=no
21216 fi
21217 rm -f core conftest.err conftest.$ac_objext \
21218 conftest$ac_exeext conftest.$ac_ext
21219
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21221 $as_echo "$ac_has_clock_realtime" >&6; }
21222
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21224 $as_echo_n "checking for nanosleep... " >&6; }
21225 if test x$gcc_no_link = xyes; then
21226 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21227 fi
21228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21229 /* end confdefs.h. */
21230 #include <unistd.h>
21231 #include <time.h>
21232
21233 int
21234 main ()
21235 {
21236 #if _POSIX_TIMERS > 0
21237 timespec tp;
21238 #endif
21239 nanosleep(&tp, 0);
21240
21241 ;
21242 return 0;
21243 }
21244 _ACEOF
21245 if ac_fn_cxx_try_link "$LINENO"; then :
21246 ac_has_nanosleep=yes
21247 else
21248 ac_has_nanosleep=no
21249 fi
21250 rm -f core conftest.err conftest.$ac_objext \
21251 conftest$ac_exeext conftest.$ac_ext
21252
21253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21254 $as_echo "$ac_has_nanosleep" >&6; }
21255 fi
21256 fi
21257
21258 if test x"$ac_has_clock_monotonic" != x"yes"; then
21259 case ${target_os} in
21260 linux*)
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21262 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21264 /* end confdefs.h. */
21265 #include <unistd.h>
21266 #include <time.h>
21267 #include <sys/syscall.h>
21268
21269 int
21270 main ()
21271 {
21272 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21273 timespec tp;
21274 #endif
21275 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21276 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21277
21278 ;
21279 return 0;
21280 }
21281 _ACEOF
21282 if ac_fn_cxx_try_compile "$LINENO"; then :
21283 ac_has_clock_monotonic_syscall=yes
21284 else
21285 ac_has_clock_monotonic_syscall=no
21286 fi
21287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21289 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21290 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21291
21292 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21293
21294 ac_has_clock_monotonic=yes
21295 ac_has_clock_realtime=yes
21296 fi;;
21297 esac
21298 fi
21299
21300 if test x"$ac_has_clock_monotonic" = x"yes"; then
21301
21302 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21303
21304 fi
21305
21306 if test x"$ac_has_clock_realtime" = x"yes"; then
21307
21308 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21309
21310 fi
21311
21312 if test x"$ac_has_sched_yield" = x"yes"; then
21313
21314 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21315
21316 fi
21317
21318 if test x"$ac_has_nanosleep" = x"yes"; then
21319
21320 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21321
21322 else
21323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21324 $as_echo_n "checking for sleep... " >&6; }
21325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21326 /* end confdefs.h. */
21327 #include <unistd.h>
21328 int
21329 main ()
21330 {
21331 sleep(1)
21332 ;
21333 return 0;
21334 }
21335 _ACEOF
21336 if ac_fn_cxx_try_compile "$LINENO"; then :
21337 ac_has_sleep=yes
21338 else
21339 ac_has_sleep=no
21340 fi
21341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21342 if test x"$ac_has_sleep" = x"yes"; then
21343
21344 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21345
21346 fi
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21348 $as_echo "$ac_has_sleep" >&6; }
21349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21350 $as_echo_n "checking for usleep... " >&6; }
21351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21352 /* end confdefs.h. */
21353 #include <unistd.h>
21354 int
21355 main ()
21356 {
21357 sleep(1);
21358 usleep(100);
21359 ;
21360 return 0;
21361 }
21362 _ACEOF
21363 if ac_fn_cxx_try_compile "$LINENO"; then :
21364 ac_has_usleep=yes
21365 else
21366 ac_has_usleep=no
21367 fi
21368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21369 if test x"$ac_has_usleep" = x"yes"; then
21370
21371 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21372
21373 fi
21374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21375 $as_echo "$ac_has_usleep" >&6; }
21376 fi
21377
21378 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21380 $as_echo_n "checking for Sleep... " >&6; }
21381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21382 /* end confdefs.h. */
21383 #include <windows.h>
21384 int
21385 main ()
21386 {
21387 Sleep(1)
21388 ;
21389 return 0;
21390 }
21391 _ACEOF
21392 if ac_fn_cxx_try_compile "$LINENO"; then :
21393 ac_has_win32_sleep=yes
21394 else
21395 ac_has_win32_sleep=no
21396 fi
21397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21398 if test x"$ac_has_win32_sleep" = x"yes"; then
21399
21400 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21401
21402 fi
21403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21404 $as_echo "$ac_has_win32_sleep" >&6; }
21405 fi
21406
21407
21408
21409 CXXFLAGS="$ac_save_CXXFLAGS"
21410 LIBS="$ac_save_LIBS"
21411 ac_ext=c
21412 ac_cpp='$CPP $CPPFLAGS'
21413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21416
21417
21418
21419 # Check for tmpnam which is obsolescent in POSIX.1-2008
21420
21421 ac_ext=cpp
21422 ac_cpp='$CXXCPP $CPPFLAGS'
21423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21426
21427 ac_save_CXXFLAGS="$CXXFLAGS"
21428 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21430 $as_echo_n "checking for tmpnam... " >&6; }
21431 if ${glibcxx_cv_TMPNAM+:} false; then :
21432 $as_echo_n "(cached) " >&6
21433 else
21434 if test x$gcc_no_link = xyes; then
21435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21436 /* end confdefs.h. */
21437 #include <stdio.h>
21438 int
21439 main ()
21440 {
21441 char *tmp = tmpnam(NULL);
21442 ;
21443 return 0;
21444 }
21445 _ACEOF
21446 if ac_fn_cxx_try_compile "$LINENO"; then :
21447 glibcxx_cv_TMPNAM=yes
21448 else
21449 glibcxx_cv_TMPNAM=no
21450 fi
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21452 else
21453 if test x$gcc_no_link = xyes; then
21454 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21455 fi
21456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21457 /* end confdefs.h. */
21458 #include <stdio.h>
21459 int
21460 main ()
21461 {
21462 char *tmp = tmpnam(NULL);
21463 ;
21464 return 0;
21465 }
21466 _ACEOF
21467 if ac_fn_cxx_try_link "$LINENO"; then :
21468 glibcxx_cv_TMPNAM=yes
21469 else
21470 glibcxx_cv_TMPNAM=no
21471 fi
21472 rm -f core conftest.err conftest.$ac_objext \
21473 conftest$ac_exeext conftest.$ac_ext
21474 fi
21475
21476 fi
21477
21478 if test $glibcxx_cv_TMPNAM = yes; then
21479
21480 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21481
21482 fi
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21484 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21485 CXXFLAGS="$ac_save_CXXFLAGS"
21486 ac_ext=c
21487 ac_cpp='$CPP $CPPFLAGS'
21488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21491
21492
21493
21494
21495 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21496 if test "x$ac_cv_header_locale_h" = xyes; then :
21497
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21499 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21500 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21501 $as_echo_n "(cached) " >&6
21502 else
21503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21504 /* end confdefs.h. */
21505 #include <locale.h>
21506 int
21507 main ()
21508 {
21509 return LC_MESSAGES
21510 ;
21511 return 0;
21512 }
21513 _ACEOF
21514 if ac_fn_c_try_compile "$LINENO"; then :
21515 ac_cv_val_LC_MESSAGES=yes
21516 else
21517 ac_cv_val_LC_MESSAGES=no
21518 fi
21519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21520 fi
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21522 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21523 if test $ac_cv_val_LC_MESSAGES = yes; then
21524
21525 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21526
21527 fi
21528
21529 fi
21530
21531
21532
21533
21534 # For hardware_concurrency
21535 for ac_header in sys/sysinfo.h
21536 do :
21537 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21538 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21539 cat >>confdefs.h <<_ACEOF
21540 #define HAVE_SYS_SYSINFO_H 1
21541 _ACEOF
21542
21543 fi
21544
21545 done
21546
21547
21548
21549
21550 ac_ext=cpp
21551 ac_cpp='$CXXCPP $CPPFLAGS'
21552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21555
21556 ac_save_CXXFLAGS="$CXXFLAGS"
21557 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21558
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21560 $as_echo_n "checking for get_nprocs... " >&6; }
21561 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21562 $as_echo_n "(cached) " >&6
21563 else
21564
21565 if test x$gcc_no_link = xyes; then
21566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21567 /* end confdefs.h. */
21568 #include <sys/sysinfo.h>
21569 int
21570 main ()
21571 {
21572 int n = get_nprocs();
21573 ;
21574 return 0;
21575 }
21576 _ACEOF
21577 if ac_fn_cxx_try_compile "$LINENO"; then :
21578 glibcxx_cv_GET_NPROCS=yes
21579 else
21580 glibcxx_cv_GET_NPROCS=no
21581 fi
21582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21583 else
21584 if test x$gcc_no_link = xyes; then
21585 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21586 fi
21587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21588 /* end confdefs.h. */
21589 #include <sys/sysinfo.h>
21590 int
21591 main ()
21592 {
21593 int n = get_nprocs();
21594 ;
21595 return 0;
21596 }
21597 _ACEOF
21598 if ac_fn_cxx_try_link "$LINENO"; then :
21599 glibcxx_cv_GET_NPROCS=yes
21600 else
21601 glibcxx_cv_GET_NPROCS=no
21602 fi
21603 rm -f core conftest.err conftest.$ac_objext \
21604 conftest$ac_exeext conftest.$ac_ext
21605 fi
21606
21607 fi
21608
21609 if test $glibcxx_cv_GET_NPROCS = yes; then
21610
21611 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21612
21613 fi
21614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21615 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21616
21617 CXXFLAGS="$ac_save_CXXFLAGS"
21618 ac_ext=c
21619 ac_cpp='$CPP $CPPFLAGS'
21620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21623
21624
21625 for ac_header in unistd.h
21626 do :
21627 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21628 if test "x$ac_cv_header_unistd_h" = xyes; then :
21629 cat >>confdefs.h <<_ACEOF
21630 #define HAVE_UNISTD_H 1
21631 _ACEOF
21632
21633 fi
21634
21635 done
21636
21637
21638
21639
21640 ac_ext=cpp
21641 ac_cpp='$CXXCPP $CPPFLAGS'
21642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21645
21646 ac_save_CXXFLAGS="$CXXFLAGS"
21647 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21648
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21650 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21651 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21652 $as_echo_n "(cached) " >&6
21653 else
21654
21655 if test x$gcc_no_link = xyes; then
21656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21657 /* end confdefs.h. */
21658 #include <unistd.h>
21659 int
21660 main ()
21661 {
21662 int n = sysconf(_SC_NPROCESSORS_ONLN);
21663 ;
21664 return 0;
21665 }
21666 _ACEOF
21667 if ac_fn_cxx_try_compile "$LINENO"; then :
21668 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21669 else
21670 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21671 fi
21672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21673 else
21674 if test x$gcc_no_link = xyes; then
21675 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21676 fi
21677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21678 /* end confdefs.h. */
21679 #include <unistd.h>
21680 int
21681 main ()
21682 {
21683 int n = sysconf(_SC_NPROCESSORS_ONLN);
21684 ;
21685 return 0;
21686 }
21687 _ACEOF
21688 if ac_fn_cxx_try_link "$LINENO"; then :
21689 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21690 else
21691 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21692 fi
21693 rm -f core conftest.err conftest.$ac_objext \
21694 conftest$ac_exeext conftest.$ac_ext
21695 fi
21696
21697 fi
21698
21699 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21700
21701 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21702
21703 fi
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21705 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21706
21707 CXXFLAGS="$ac_save_CXXFLAGS"
21708 ac_ext=c
21709 ac_cpp='$CPP $CPPFLAGS'
21710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21713
21714
21715
21716
21717
21718 ac_ext=cpp
21719 ac_cpp='$CXXCPP $CPPFLAGS'
21720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21723
21724 ac_save_CXXFLAGS="$CXXFLAGS"
21725 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21726
21727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21728 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21729 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21730 $as_echo_n "(cached) " >&6
21731 else
21732
21733 if test x$gcc_no_link = xyes; then
21734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h. */
21736 #include <unistd.h>
21737 int
21738 main ()
21739 {
21740 int n = sysconf(_SC_NPROC_ONLN);
21741 ;
21742 return 0;
21743 }
21744 _ACEOF
21745 if ac_fn_cxx_try_compile "$LINENO"; then :
21746 glibcxx_cv_SC_NPROC_ONLN=yes
21747 else
21748 glibcxx_cv_SC_NPROC_ONLN=no
21749 fi
21750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21751 else
21752 if test x$gcc_no_link = xyes; then
21753 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21754 fi
21755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21756 /* end confdefs.h. */
21757 #include <unistd.h>
21758 int
21759 main ()
21760 {
21761 int n = sysconf(_SC_NPROC_ONLN);
21762 ;
21763 return 0;
21764 }
21765 _ACEOF
21766 if ac_fn_cxx_try_link "$LINENO"; then :
21767 glibcxx_cv_SC_NPROC_ONLN=yes
21768 else
21769 glibcxx_cv_SC_NPROC_ONLN=no
21770 fi
21771 rm -f core conftest.err conftest.$ac_objext \
21772 conftest$ac_exeext conftest.$ac_ext
21773 fi
21774
21775 fi
21776
21777 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21778
21779 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21780
21781 fi
21782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21783 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21784
21785 CXXFLAGS="$ac_save_CXXFLAGS"
21786 ac_ext=c
21787 ac_cpp='$CPP $CPPFLAGS'
21788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21791
21792
21793
21794
21795
21796 ac_ext=cpp
21797 ac_cpp='$CXXCPP $CPPFLAGS'
21798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21801
21802 ac_save_CXXFLAGS="$CXXFLAGS"
21803 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21804
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21806 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21807 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21808 $as_echo_n "(cached) " >&6
21809 else
21810
21811 if test x$gcc_no_link = xyes; then
21812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21813 /* end confdefs.h. */
21814 #include <pthread.h>
21815 int
21816 main ()
21817 {
21818 int n = pthread_num_processors_np();
21819 ;
21820 return 0;
21821 }
21822 _ACEOF
21823 if ac_fn_cxx_try_compile "$LINENO"; then :
21824 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21825 else
21826 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21827 fi
21828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21829 else
21830 if test x$gcc_no_link = xyes; then
21831 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21832 fi
21833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21834 /* end confdefs.h. */
21835 #include <pthread.h>
21836 int
21837 main ()
21838 {
21839 int n = pthread_num_processors_np();
21840 ;
21841 return 0;
21842 }
21843 _ACEOF
21844 if ac_fn_cxx_try_link "$LINENO"; then :
21845 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21846 else
21847 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21848 fi
21849 rm -f core conftest.err conftest.$ac_objext \
21850 conftest$ac_exeext conftest.$ac_ext
21851 fi
21852
21853 fi
21854
21855 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21856
21857 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21858
21859 fi
21860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21861 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21862
21863 CXXFLAGS="$ac_save_CXXFLAGS"
21864 ac_ext=c
21865 ac_cpp='$CPP $CPPFLAGS'
21866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21869
21870
21871
21872
21873
21874 ac_ext=cpp
21875 ac_cpp='$CXXCPP $CPPFLAGS'
21876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21879
21880 ac_save_CXXFLAGS="$CXXFLAGS"
21881 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21882
21883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21884 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21885 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21886 $as_echo_n "(cached) " >&6
21887 else
21888
21889 if test x$gcc_no_link = xyes; then
21890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21891 /* end confdefs.h. */
21892
21893 #include <stddef.h>
21894 #include <sys/sysctl.h>
21895
21896 int
21897 main ()
21898 {
21899
21900 int count;
21901 size_t size = sizeof(count);
21902 int mib[] = { CTL_HW, HW_NCPU };
21903 sysctl(mib, 2, &count, &size, NULL, 0);
21904
21905 ;
21906 return 0;
21907 }
21908 _ACEOF
21909 if ac_fn_cxx_try_compile "$LINENO"; then :
21910 glibcxx_cv_SYSCTL_HW_NCPU=yes
21911 else
21912 glibcxx_cv_SYSCTL_HW_NCPU=no
21913 fi
21914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21915 else
21916 if test x$gcc_no_link = xyes; then
21917 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21918 fi
21919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21920 /* end confdefs.h. */
21921
21922 #include <stddef.h>
21923 #include <sys/sysctl.h>
21924
21925 int
21926 main ()
21927 {
21928
21929 int count;
21930 size_t size = sizeof(count);
21931 int mib[] = { CTL_HW, HW_NCPU };
21932 sysctl(mib, 2, &count, &size, NULL, 0);
21933
21934 ;
21935 return 0;
21936 }
21937 _ACEOF
21938 if ac_fn_cxx_try_link "$LINENO"; then :
21939 glibcxx_cv_SYSCTL_HW_NCPU=yes
21940 else
21941 glibcxx_cv_SYSCTL_HW_NCPU=no
21942 fi
21943 rm -f core conftest.err conftest.$ac_objext \
21944 conftest$ac_exeext conftest.$ac_ext
21945 fi
21946
21947 fi
21948
21949 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21950
21951 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21952
21953 fi
21954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21955 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21956
21957 CXXFLAGS="$ac_save_CXXFLAGS"
21958 ac_ext=c
21959 ac_cpp='$CPP $CPPFLAGS'
21960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21963
21964
21965
21966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21967 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21968 # Note that this test has to be run with the C language.
21969 # Otherwise, sdt.h will try to include some headers from
21970 # libstdc++ itself.
21971
21972 ac_ext=c
21973 ac_cpp='$CPP $CPPFLAGS'
21974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21977
21978 if ${glibcxx_cv_sys_sdt_h+:} false; then :
21979 $as_echo_n "(cached) " >&6
21980 else
21981
21982 # Because we have to run the test in C, we use grep rather
21983 # than the compiler to check for the bug. The bug is that
21984 # were strings without trailing whitespace, causing g++
21985 # to look for operator"". The pattern searches for the fixed
21986 # output.
21987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21988 /* end confdefs.h. */
21989
21990 #include <sys/sdt.h>
21991 int f() { STAP_PROBE(hi, bob); }
21992
21993 _ACEOF
21994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21995 $EGREP " \",\" " >/dev/null 2>&1; then :
21996 glibcxx_cv_sys_sdt_h=yes
21997 else
21998 glibcxx_cv_sys_sdt_h=no
21999 fi
22000 rm -f conftest*
22001
22002
22003 fi
22004
22005 ac_ext=c
22006 ac_cpp='$CPP $CPPFLAGS'
22007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22010
22011 if test $glibcxx_cv_sys_sdt_h = yes; then
22012
22013 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22014
22015 fi
22016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22017 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22018
22019
22020 # Check for available headers.
22021 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22022 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22023 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22024 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22025 wchar.h wctype.h linux/types.h
22026 do :
22027 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22028 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22029 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22030 cat >>confdefs.h <<_ACEOF
22031 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22032 _ACEOF
22033
22034 fi
22035
22036 done
22037
22038
22039 for ac_header in linux/random.h
22040 do :
22041 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22042 # include <linux/types.h>
22043 #endif
22044
22045 "
22046 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22047 cat >>confdefs.h <<_ACEOF
22048 #define HAVE_LINUX_RANDOM_H 1
22049 _ACEOF
22050
22051 fi
22052
22053 done
22054
22055
22056 # Only do link tests if native. Else, hardcode.
22057 if $GLIBCXX_IS_NATIVE; then
22058
22059 # We can do more elaborate tests that assume a working linker.
22060 CANADIAN=no
22061
22062
22063
22064 # Check whether --with-gnu-ld was given.
22065 if test "${with_gnu_ld+set}" = set; then :
22066 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22067 else
22068 with_gnu_ld=no
22069 fi
22070
22071 ac_prog=ld
22072 if test "$GCC" = yes; then
22073 # Check if gcc -print-prog-name=ld gives a path.
22074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22075 $as_echo_n "checking for ld used by $CC... " >&6; }
22076 case $host in
22077 *-*-mingw*)
22078 # gcc leaves a trailing carriage return which upsets mingw
22079 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22080 *)
22081 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22082 esac
22083 case $ac_prog in
22084 # Accept absolute paths.
22085 [\\/]* | ?:[\\/]*)
22086 re_direlt='/[^/][^/]*/\.\./'
22087 # Canonicalize the pathname of ld
22088 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22089 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22090 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22091 done
22092 test -z "$LD" && LD="$ac_prog"
22093 ;;
22094 "")
22095 # If it fails, then pretend we aren't using GCC.
22096 ac_prog=ld
22097 ;;
22098 *)
22099 # If it is relative, then search for the first ld in PATH.
22100 with_gnu_ld=unknown
22101 ;;
22102 esac
22103 elif test "$with_gnu_ld" = yes; then
22104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22105 $as_echo_n "checking for GNU ld... " >&6; }
22106 else
22107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22108 $as_echo_n "checking for non-GNU ld... " >&6; }
22109 fi
22110 if ${lt_cv_path_LD+:} false; then :
22111 $as_echo_n "(cached) " >&6
22112 else
22113 if test -z "$LD"; then
22114 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22115 for ac_dir in $PATH; do
22116 IFS="$lt_save_ifs"
22117 test -z "$ac_dir" && ac_dir=.
22118 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22119 lt_cv_path_LD="$ac_dir/$ac_prog"
22120 # Check to see if the program is GNU ld. I'd rather use --version,
22121 # but apparently some variants of GNU ld only accept -v.
22122 # Break only if it was the GNU/non-GNU ld that we prefer.
22123 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22124 *GNU* | *'with BFD'*)
22125 test "$with_gnu_ld" != no && break
22126 ;;
22127 *)
22128 test "$with_gnu_ld" != yes && break
22129 ;;
22130 esac
22131 fi
22132 done
22133 IFS="$lt_save_ifs"
22134 else
22135 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22136 fi
22137 fi
22138
22139 LD="$lt_cv_path_LD"
22140 if test -n "$LD"; then
22141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22142 $as_echo "$LD" >&6; }
22143 else
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22145 $as_echo "no" >&6; }
22146 fi
22147 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22149 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22150 if ${lt_cv_prog_gnu_ld+:} false; then :
22151 $as_echo_n "(cached) " >&6
22152 else
22153 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22154 case `$LD -v 2>&1 </dev/null` in
22155 *GNU* | *'with BFD'*)
22156 lt_cv_prog_gnu_ld=yes
22157 ;;
22158 *)
22159 lt_cv_prog_gnu_ld=no
22160 ;;
22161 esac
22162 fi
22163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22164 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22165 with_gnu_ld=$lt_cv_prog_gnu_ld
22166
22167
22168
22169
22170
22171
22172
22173 # If we're not using GNU ld, then there's no point in even trying these
22174 # tests. Check for that first. We should have already tested for gld
22175 # by now (in libtool), but require it now just to be safe...
22176 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22177 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22178
22179
22180
22181 # The name set by libtool depends on the version of libtool. Shame on us
22182 # for depending on an impl detail, but c'est la vie. Older versions used
22183 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22184 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22185 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22186 # set (hence we're using an older libtool), then set it.
22187 if test x${with_gnu_ld+set} != xset; then
22188 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22189 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22190 with_gnu_ld=no
22191 else
22192 with_gnu_ld=$ac_cv_prog_gnu_ld
22193 fi
22194 fi
22195
22196 # Start by getting the version number. I think the libtool test already
22197 # does some of this, but throws away the result.
22198 glibcxx_ld_is_gold=no
22199 if test x"$with_gnu_ld" = x"yes"; then
22200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22201 $as_echo_n "checking for ld version... " >&6; }
22202
22203 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22204 glibcxx_ld_is_gold=yes
22205 fi
22206 ldver=`$LD --version 2>/dev/null |
22207 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'`
22208
22209 glibcxx_gnu_ld_version=`echo $ldver | \
22210 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22212 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22213 fi
22214
22215 # Set --gc-sections.
22216 glibcxx_have_gc_sections=no
22217 if test "$glibcxx_ld_is_gold" = "yes"; then
22218 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22219 glibcxx_have_gc_sections=yes
22220 fi
22221 else
22222 glibcxx_gcsections_min_ld=21602
22223 if test x"$with_gnu_ld" = x"yes" &&
22224 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22225 glibcxx_have_gc_sections=yes
22226 fi
22227 fi
22228 if test "$glibcxx_have_gc_sections" = "yes"; then
22229 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22230 # NB: This flag only works reliably after 2.16.1. Configure tests
22231 # for this are difficult, so hard wire a value that should work.
22232
22233 ac_test_CFLAGS="${CFLAGS+set}"
22234 ac_save_CFLAGS="$CFLAGS"
22235 CFLAGS='-Wl,--gc-sections'
22236
22237 # Check for -Wl,--gc-sections
22238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22239 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22240 if test x$gcc_no_link = xyes; then
22241 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22242 fi
22243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22244 /* end confdefs.h. */
22245 int one(void) { return 1; }
22246 int two(void) { return 2; }
22247
22248 int
22249 main ()
22250 {
22251 two();
22252 ;
22253 return 0;
22254 }
22255 _ACEOF
22256 if ac_fn_c_try_link "$LINENO"; then :
22257 ac_gcsections=yes
22258 else
22259 ac_gcsections=no
22260 fi
22261 rm -f core conftest.err conftest.$ac_objext \
22262 conftest$ac_exeext conftest.$ac_ext
22263 if test "$ac_gcsections" = "yes"; then
22264 rm -f conftest.c
22265 touch conftest.c
22266 if $CC -c conftest.c; then
22267 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22268 grep "Warning: gc-sections option ignored" > /dev/null; then
22269 ac_gcsections=no
22270 fi
22271 fi
22272 rm -f conftest.c conftest.o conftest
22273 fi
22274 if test "$ac_gcsections" = "yes"; then
22275 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22276 fi
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22278 $as_echo "$ac_gcsections" >&6; }
22279
22280 if test "$ac_test_CFLAGS" = set; then
22281 CFLAGS="$ac_save_CFLAGS"
22282 else
22283 # this is the suspicious part
22284 CFLAGS=''
22285 fi
22286 fi
22287
22288 # Set -z,relro.
22289 # Note this is only for shared objects.
22290 ac_ld_relro=no
22291 if test x"$with_gnu_ld" = x"yes"; then
22292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22293 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22294 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22295 if test -n "$cxx_z_relo"; then
22296 OPT_LDFLAGS="-Wl,-z,relro"
22297 ac_ld_relro=yes
22298 fi
22299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22300 $as_echo "$ac_ld_relro" >&6; }
22301 fi
22302
22303 # Set linker optimization flags.
22304 if test x"$with_gnu_ld" = x"yes"; then
22305 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22306 fi
22307
22308
22309
22310
22311
22312 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22313 ac_save_CXXFLAGS="$CXXFLAGS"
22314 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22315
22316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22317 $as_echo_n "checking for sin in -lm... " >&6; }
22318 if ${ac_cv_lib_m_sin+:} false; then :
22319 $as_echo_n "(cached) " >&6
22320 else
22321 ac_check_lib_save_LIBS=$LIBS
22322 LIBS="-lm $LIBS"
22323 if test x$gcc_no_link = xyes; then
22324 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22325 fi
22326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22327 /* end confdefs.h. */
22328
22329 /* Override any GCC internal prototype to avoid an error.
22330 Use char because int might match the return type of a GCC
22331 builtin and then its argument prototype would still apply. */
22332 #ifdef __cplusplus
22333 extern "C"
22334 #endif
22335 char sin ();
22336 int
22337 main ()
22338 {
22339 return sin ();
22340 ;
22341 return 0;
22342 }
22343 _ACEOF
22344 if ac_fn_c_try_link "$LINENO"; then :
22345 ac_cv_lib_m_sin=yes
22346 else
22347 ac_cv_lib_m_sin=no
22348 fi
22349 rm -f core conftest.err conftest.$ac_objext \
22350 conftest$ac_exeext conftest.$ac_ext
22351 LIBS=$ac_check_lib_save_LIBS
22352 fi
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22354 $as_echo "$ac_cv_lib_m_sin" >&6; }
22355 if test "x$ac_cv_lib_m_sin" = xyes; then :
22356 libm="-lm"
22357 fi
22358
22359 ac_save_LIBS="$LIBS"
22360 LIBS="$LIBS $libm"
22361
22362
22363
22364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22365 $as_echo_n "checking for isinf declaration... " >&6; }
22366 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22367 if ${glibcxx_cv_func_isinf_use+:} false; then :
22368 $as_echo_n "(cached) " >&6
22369 else
22370
22371
22372 ac_ext=cpp
22373 ac_cpp='$CXXCPP $CPPFLAGS'
22374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22377
22378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22379 /* end confdefs.h. */
22380 #include <math.h>
22381 #ifdef HAVE_IEEEFP_H
22382 #include <ieeefp.h>
22383 #endif
22384
22385 int
22386 main ()
22387 {
22388 isinf(0);
22389 ;
22390 return 0;
22391 }
22392 _ACEOF
22393 if ac_fn_cxx_try_compile "$LINENO"; then :
22394 glibcxx_cv_func_isinf_use=yes
22395 else
22396 glibcxx_cv_func_isinf_use=no
22397 fi
22398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22399 ac_ext=c
22400 ac_cpp='$CPP $CPPFLAGS'
22401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22404
22405
22406 fi
22407
22408 fi
22409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22410 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22411
22412 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22413 for ac_func in isinf
22414 do :
22415 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22416 if test "x$ac_cv_func_isinf" = xyes; then :
22417 cat >>confdefs.h <<_ACEOF
22418 #define HAVE_ISINF 1
22419 _ACEOF
22420
22421 fi
22422 done
22423
22424 else
22425
22426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22427 $as_echo_n "checking for _isinf declaration... " >&6; }
22428 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22429 if ${glibcxx_cv_func__isinf_use+:} false; then :
22430 $as_echo_n "(cached) " >&6
22431 else
22432
22433
22434 ac_ext=cpp
22435 ac_cpp='$CXXCPP $CPPFLAGS'
22436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22439
22440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22441 /* end confdefs.h. */
22442 #include <math.h>
22443 #ifdef HAVE_IEEEFP_H
22444 #include <ieeefp.h>
22445 #endif
22446
22447 int
22448 main ()
22449 {
22450 _isinf(0);
22451 ;
22452 return 0;
22453 }
22454 _ACEOF
22455 if ac_fn_cxx_try_compile "$LINENO"; then :
22456 glibcxx_cv_func__isinf_use=yes
22457 else
22458 glibcxx_cv_func__isinf_use=no
22459 fi
22460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22461 ac_ext=c
22462 ac_cpp='$CPP $CPPFLAGS'
22463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22466
22467
22468 fi
22469
22470 fi
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22472 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22473
22474 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22475 for ac_func in _isinf
22476 do :
22477 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22478 if test "x$ac_cv_func__isinf" = xyes; then :
22479 cat >>confdefs.h <<_ACEOF
22480 #define HAVE__ISINF 1
22481 _ACEOF
22482
22483 fi
22484 done
22485
22486 fi
22487 fi
22488
22489
22490
22491
22492
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22494 $as_echo_n "checking for isnan declaration... " >&6; }
22495 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22496 if ${glibcxx_cv_func_isnan_use+:} false; then :
22497 $as_echo_n "(cached) " >&6
22498 else
22499
22500
22501 ac_ext=cpp
22502 ac_cpp='$CXXCPP $CPPFLAGS'
22503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22506
22507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22508 /* end confdefs.h. */
22509 #include <math.h>
22510 #ifdef HAVE_IEEEFP_H
22511 #include <ieeefp.h>
22512 #endif
22513
22514 int
22515 main ()
22516 {
22517 isnan(0);
22518 ;
22519 return 0;
22520 }
22521 _ACEOF
22522 if ac_fn_cxx_try_compile "$LINENO"; then :
22523 glibcxx_cv_func_isnan_use=yes
22524 else
22525 glibcxx_cv_func_isnan_use=no
22526 fi
22527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22528 ac_ext=c
22529 ac_cpp='$CPP $CPPFLAGS'
22530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22533
22534
22535 fi
22536
22537 fi
22538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22539 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22540
22541 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22542 for ac_func in isnan
22543 do :
22544 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22545 if test "x$ac_cv_func_isnan" = xyes; then :
22546 cat >>confdefs.h <<_ACEOF
22547 #define HAVE_ISNAN 1
22548 _ACEOF
22549
22550 fi
22551 done
22552
22553 else
22554
22555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22556 $as_echo_n "checking for _isnan declaration... " >&6; }
22557 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22558 if ${glibcxx_cv_func__isnan_use+:} false; then :
22559 $as_echo_n "(cached) " >&6
22560 else
22561
22562
22563 ac_ext=cpp
22564 ac_cpp='$CXXCPP $CPPFLAGS'
22565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22568
22569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22570 /* end confdefs.h. */
22571 #include <math.h>
22572 #ifdef HAVE_IEEEFP_H
22573 #include <ieeefp.h>
22574 #endif
22575
22576 int
22577 main ()
22578 {
22579 _isnan(0);
22580 ;
22581 return 0;
22582 }
22583 _ACEOF
22584 if ac_fn_cxx_try_compile "$LINENO"; then :
22585 glibcxx_cv_func__isnan_use=yes
22586 else
22587 glibcxx_cv_func__isnan_use=no
22588 fi
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590 ac_ext=c
22591 ac_cpp='$CPP $CPPFLAGS'
22592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22595
22596
22597 fi
22598
22599 fi
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22601 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22602
22603 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22604 for ac_func in _isnan
22605 do :
22606 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22607 if test "x$ac_cv_func__isnan" = xyes; then :
22608 cat >>confdefs.h <<_ACEOF
22609 #define HAVE__ISNAN 1
22610 _ACEOF
22611
22612 fi
22613 done
22614
22615 fi
22616 fi
22617
22618
22619
22620
22621
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22623 $as_echo_n "checking for finite declaration... " >&6; }
22624 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22625 if ${glibcxx_cv_func_finite_use+:} false; then :
22626 $as_echo_n "(cached) " >&6
22627 else
22628
22629
22630 ac_ext=cpp
22631 ac_cpp='$CXXCPP $CPPFLAGS'
22632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22635
22636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22637 /* end confdefs.h. */
22638 #include <math.h>
22639 #ifdef HAVE_IEEEFP_H
22640 #include <ieeefp.h>
22641 #endif
22642
22643 int
22644 main ()
22645 {
22646 finite(0);
22647 ;
22648 return 0;
22649 }
22650 _ACEOF
22651 if ac_fn_cxx_try_compile "$LINENO"; then :
22652 glibcxx_cv_func_finite_use=yes
22653 else
22654 glibcxx_cv_func_finite_use=no
22655 fi
22656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22657 ac_ext=c
22658 ac_cpp='$CPP $CPPFLAGS'
22659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22662
22663
22664 fi
22665
22666 fi
22667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22668 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22669
22670 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22671 for ac_func in finite
22672 do :
22673 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22674 if test "x$ac_cv_func_finite" = xyes; then :
22675 cat >>confdefs.h <<_ACEOF
22676 #define HAVE_FINITE 1
22677 _ACEOF
22678
22679 fi
22680 done
22681
22682 else
22683
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22685 $as_echo_n "checking for _finite declaration... " >&6; }
22686 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22687 if ${glibcxx_cv_func__finite_use+:} false; then :
22688 $as_echo_n "(cached) " >&6
22689 else
22690
22691
22692 ac_ext=cpp
22693 ac_cpp='$CXXCPP $CPPFLAGS'
22694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22697
22698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22699 /* end confdefs.h. */
22700 #include <math.h>
22701 #ifdef HAVE_IEEEFP_H
22702 #include <ieeefp.h>
22703 #endif
22704
22705 int
22706 main ()
22707 {
22708 _finite(0);
22709 ;
22710 return 0;
22711 }
22712 _ACEOF
22713 if ac_fn_cxx_try_compile "$LINENO"; then :
22714 glibcxx_cv_func__finite_use=yes
22715 else
22716 glibcxx_cv_func__finite_use=no
22717 fi
22718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22719 ac_ext=c
22720 ac_cpp='$CPP $CPPFLAGS'
22721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22724
22725
22726 fi
22727
22728 fi
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22730 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22731
22732 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22733 for ac_func in _finite
22734 do :
22735 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22736 if test "x$ac_cv_func__finite" = xyes; then :
22737 cat >>confdefs.h <<_ACEOF
22738 #define HAVE__FINITE 1
22739 _ACEOF
22740
22741 fi
22742 done
22743
22744 fi
22745 fi
22746
22747
22748
22749
22750
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22752 $as_echo_n "checking for sincos declaration... " >&6; }
22753 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22754 if ${glibcxx_cv_func_sincos_use+:} false; then :
22755 $as_echo_n "(cached) " >&6
22756 else
22757
22758
22759 ac_ext=cpp
22760 ac_cpp='$CXXCPP $CPPFLAGS'
22761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22764
22765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22766 /* end confdefs.h. */
22767 #include <math.h>
22768 int
22769 main ()
22770 {
22771 sincos(0, 0, 0);
22772 ;
22773 return 0;
22774 }
22775 _ACEOF
22776 if ac_fn_cxx_try_compile "$LINENO"; then :
22777 glibcxx_cv_func_sincos_use=yes
22778 else
22779 glibcxx_cv_func_sincos_use=no
22780 fi
22781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22782 ac_ext=c
22783 ac_cpp='$CPP $CPPFLAGS'
22784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22787
22788
22789 fi
22790
22791 fi
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22793 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22794
22795 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22796 for ac_func in sincos
22797 do :
22798 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22799 if test "x$ac_cv_func_sincos" = xyes; then :
22800 cat >>confdefs.h <<_ACEOF
22801 #define HAVE_SINCOS 1
22802 _ACEOF
22803
22804 fi
22805 done
22806
22807 else
22808
22809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22810 $as_echo_n "checking for _sincos declaration... " >&6; }
22811 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22812 if ${glibcxx_cv_func__sincos_use+:} false; then :
22813 $as_echo_n "(cached) " >&6
22814 else
22815
22816
22817 ac_ext=cpp
22818 ac_cpp='$CXXCPP $CPPFLAGS'
22819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22822
22823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22824 /* end confdefs.h. */
22825 #include <math.h>
22826 int
22827 main ()
22828 {
22829 _sincos(0, 0, 0);
22830 ;
22831 return 0;
22832 }
22833 _ACEOF
22834 if ac_fn_cxx_try_compile "$LINENO"; then :
22835 glibcxx_cv_func__sincos_use=yes
22836 else
22837 glibcxx_cv_func__sincos_use=no
22838 fi
22839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22840 ac_ext=c
22841 ac_cpp='$CPP $CPPFLAGS'
22842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22845
22846
22847 fi
22848
22849 fi
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22851 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22852
22853 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22854 for ac_func in _sincos
22855 do :
22856 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22857 if test "x$ac_cv_func__sincos" = xyes; then :
22858 cat >>confdefs.h <<_ACEOF
22859 #define HAVE__SINCOS 1
22860 _ACEOF
22861
22862 fi
22863 done
22864
22865 fi
22866 fi
22867
22868
22869
22870
22871
22872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22873 $as_echo_n "checking for fpclass declaration... " >&6; }
22874 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22875 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22876 $as_echo_n "(cached) " >&6
22877 else
22878
22879
22880 ac_ext=cpp
22881 ac_cpp='$CXXCPP $CPPFLAGS'
22882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22885
22886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22887 /* end confdefs.h. */
22888 #include <math.h>
22889 #ifdef HAVE_IEEEFP_H
22890 #include <ieeefp.h>
22891 #endif
22892
22893 int
22894 main ()
22895 {
22896 fpclass(0);
22897 ;
22898 return 0;
22899 }
22900 _ACEOF
22901 if ac_fn_cxx_try_compile "$LINENO"; then :
22902 glibcxx_cv_func_fpclass_use=yes
22903 else
22904 glibcxx_cv_func_fpclass_use=no
22905 fi
22906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22907 ac_ext=c
22908 ac_cpp='$CPP $CPPFLAGS'
22909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22912
22913
22914 fi
22915
22916 fi
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22918 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22919
22920 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22921 for ac_func in fpclass
22922 do :
22923 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22924 if test "x$ac_cv_func_fpclass" = xyes; then :
22925 cat >>confdefs.h <<_ACEOF
22926 #define HAVE_FPCLASS 1
22927 _ACEOF
22928
22929 fi
22930 done
22931
22932 else
22933
22934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22935 $as_echo_n "checking for _fpclass declaration... " >&6; }
22936 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22937 if ${glibcxx_cv_func__fpclass_use+:} false; then :
22938 $as_echo_n "(cached) " >&6
22939 else
22940
22941
22942 ac_ext=cpp
22943 ac_cpp='$CXXCPP $CPPFLAGS'
22944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22947
22948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22949 /* end confdefs.h. */
22950 #include <math.h>
22951 #ifdef HAVE_IEEEFP_H
22952 #include <ieeefp.h>
22953 #endif
22954
22955 int
22956 main ()
22957 {
22958 _fpclass(0);
22959 ;
22960 return 0;
22961 }
22962 _ACEOF
22963 if ac_fn_cxx_try_compile "$LINENO"; then :
22964 glibcxx_cv_func__fpclass_use=yes
22965 else
22966 glibcxx_cv_func__fpclass_use=no
22967 fi
22968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22969 ac_ext=c
22970 ac_cpp='$CPP $CPPFLAGS'
22971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22974
22975
22976 fi
22977
22978 fi
22979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22980 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22981
22982 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22983 for ac_func in _fpclass
22984 do :
22985 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22986 if test "x$ac_cv_func__fpclass" = xyes; then :
22987 cat >>confdefs.h <<_ACEOF
22988 #define HAVE__FPCLASS 1
22989 _ACEOF
22990
22991 fi
22992 done
22993
22994 fi
22995 fi
22996
22997
22998
22999
23000
23001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23002 $as_echo_n "checking for qfpclass declaration... " >&6; }
23003 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23004 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23005 $as_echo_n "(cached) " >&6
23006 else
23007
23008
23009 ac_ext=cpp
23010 ac_cpp='$CXXCPP $CPPFLAGS'
23011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23014
23015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23016 /* end confdefs.h. */
23017 #include <math.h>
23018 #ifdef HAVE_IEEEFP_H
23019 #include <ieeefp.h>
23020 #endif
23021
23022 int
23023 main ()
23024 {
23025 qfpclass(0);
23026 ;
23027 return 0;
23028 }
23029 _ACEOF
23030 if ac_fn_cxx_try_compile "$LINENO"; then :
23031 glibcxx_cv_func_qfpclass_use=yes
23032 else
23033 glibcxx_cv_func_qfpclass_use=no
23034 fi
23035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23036 ac_ext=c
23037 ac_cpp='$CPP $CPPFLAGS'
23038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23041
23042
23043 fi
23044
23045 fi
23046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23047 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23048
23049 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23050 for ac_func in qfpclass
23051 do :
23052 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23053 if test "x$ac_cv_func_qfpclass" = xyes; then :
23054 cat >>confdefs.h <<_ACEOF
23055 #define HAVE_QFPCLASS 1
23056 _ACEOF
23057
23058 fi
23059 done
23060
23061 else
23062
23063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23064 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23065 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23066 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23067 $as_echo_n "(cached) " >&6
23068 else
23069
23070
23071 ac_ext=cpp
23072 ac_cpp='$CXXCPP $CPPFLAGS'
23073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23076
23077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23078 /* end confdefs.h. */
23079 #include <math.h>
23080 #ifdef HAVE_IEEEFP_H
23081 #include <ieeefp.h>
23082 #endif
23083
23084 int
23085 main ()
23086 {
23087 _qfpclass(0);
23088 ;
23089 return 0;
23090 }
23091 _ACEOF
23092 if ac_fn_cxx_try_compile "$LINENO"; then :
23093 glibcxx_cv_func__qfpclass_use=yes
23094 else
23095 glibcxx_cv_func__qfpclass_use=no
23096 fi
23097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23098 ac_ext=c
23099 ac_cpp='$CPP $CPPFLAGS'
23100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23103
23104
23105 fi
23106
23107 fi
23108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23109 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23110
23111 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23112 for ac_func in _qfpclass
23113 do :
23114 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23115 if test "x$ac_cv_func__qfpclass" = xyes; then :
23116 cat >>confdefs.h <<_ACEOF
23117 #define HAVE__QFPCLASS 1
23118 _ACEOF
23119
23120 fi
23121 done
23122
23123 fi
23124 fi
23125
23126
23127
23128
23129
23130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23131 $as_echo_n "checking for hypot declaration... " >&6; }
23132 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23133 if ${glibcxx_cv_func_hypot_use+:} false; then :
23134 $as_echo_n "(cached) " >&6
23135 else
23136
23137
23138 ac_ext=cpp
23139 ac_cpp='$CXXCPP $CPPFLAGS'
23140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23143
23144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23145 /* end confdefs.h. */
23146 #include <math.h>
23147 int
23148 main ()
23149 {
23150 hypot(0, 0);
23151 ;
23152 return 0;
23153 }
23154 _ACEOF
23155 if ac_fn_cxx_try_compile "$LINENO"; then :
23156 glibcxx_cv_func_hypot_use=yes
23157 else
23158 glibcxx_cv_func_hypot_use=no
23159 fi
23160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23161 ac_ext=c
23162 ac_cpp='$CPP $CPPFLAGS'
23163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23166
23167
23168 fi
23169
23170 fi
23171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23172 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23173
23174 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23175 for ac_func in hypot
23176 do :
23177 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23178 if test "x$ac_cv_func_hypot" = xyes; then :
23179 cat >>confdefs.h <<_ACEOF
23180 #define HAVE_HYPOT 1
23181 _ACEOF
23182
23183 fi
23184 done
23185
23186 else
23187
23188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23189 $as_echo_n "checking for _hypot declaration... " >&6; }
23190 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23191 if ${glibcxx_cv_func__hypot_use+:} false; then :
23192 $as_echo_n "(cached) " >&6
23193 else
23194
23195
23196 ac_ext=cpp
23197 ac_cpp='$CXXCPP $CPPFLAGS'
23198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23201
23202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23203 /* end confdefs.h. */
23204 #include <math.h>
23205 int
23206 main ()
23207 {
23208 _hypot(0, 0);
23209 ;
23210 return 0;
23211 }
23212 _ACEOF
23213 if ac_fn_cxx_try_compile "$LINENO"; then :
23214 glibcxx_cv_func__hypot_use=yes
23215 else
23216 glibcxx_cv_func__hypot_use=no
23217 fi
23218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23219 ac_ext=c
23220 ac_cpp='$CPP $CPPFLAGS'
23221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23224
23225
23226 fi
23227
23228 fi
23229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23230 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23231
23232 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23233 for ac_func in _hypot
23234 do :
23235 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23236 if test "x$ac_cv_func__hypot" = xyes; then :
23237 cat >>confdefs.h <<_ACEOF
23238 #define HAVE__HYPOT 1
23239 _ACEOF
23240
23241 fi
23242 done
23243
23244 fi
23245 fi
23246
23247
23248
23249
23250
23251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23252 $as_echo_n "checking for float trig functions... " >&6; }
23253 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23254 $as_echo_n "(cached) " >&6
23255 else
23256
23257
23258 ac_ext=cpp
23259 ac_cpp='$CXXCPP $CPPFLAGS'
23260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23263
23264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23265 /* end confdefs.h. */
23266 #include <math.h>
23267 int
23268 main ()
23269 {
23270 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23271 ;
23272 return 0;
23273 }
23274 _ACEOF
23275 if ac_fn_cxx_try_compile "$LINENO"; then :
23276 glibcxx_cv_func_float_trig_use=yes
23277 else
23278 glibcxx_cv_func_float_trig_use=no
23279 fi
23280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23281 ac_ext=c
23282 ac_cpp='$CPP $CPPFLAGS'
23283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23286
23287 fi
23288
23289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23290 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23291 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23292 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23293 do :
23294 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23296 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23297 cat >>confdefs.h <<_ACEOF
23298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23299 _ACEOF
23300
23301 fi
23302 done
23303
23304 else
23305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23306 $as_echo_n "checking for _float trig functions... " >&6; }
23307 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23308 $as_echo_n "(cached) " >&6
23309 else
23310
23311
23312 ac_ext=cpp
23313 ac_cpp='$CXXCPP $CPPFLAGS'
23314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23317
23318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23319 /* end confdefs.h. */
23320 #include <math.h>
23321 int
23322 main ()
23323 {
23324 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23325 ;
23326 return 0;
23327 }
23328 _ACEOF
23329 if ac_fn_cxx_try_compile "$LINENO"; then :
23330 glibcxx_cv_func__float_trig_use=yes
23331 else
23332 glibcxx_cv_func__float_trig_use=no
23333 fi
23334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23335 ac_ext=c
23336 ac_cpp='$CPP $CPPFLAGS'
23337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23340
23341 fi
23342
23343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23344 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23345 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23346 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23347 do :
23348 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23349 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23350 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23351 cat >>confdefs.h <<_ACEOF
23352 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23353 _ACEOF
23354
23355 fi
23356 done
23357
23358 fi
23359 fi
23360
23361
23362
23363
23364
23365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23366 $as_echo_n "checking for float round functions... " >&6; }
23367 if ${glibcxx_cv_func_float_round_use+:} false; then :
23368 $as_echo_n "(cached) " >&6
23369 else
23370
23371
23372 ac_ext=cpp
23373 ac_cpp='$CXXCPP $CPPFLAGS'
23374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23377
23378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23379 /* end confdefs.h. */
23380 #include <math.h>
23381 int
23382 main ()
23383 {
23384 ceilf (0); floorf (0);
23385 ;
23386 return 0;
23387 }
23388 _ACEOF
23389 if ac_fn_cxx_try_compile "$LINENO"; then :
23390 glibcxx_cv_func_float_round_use=yes
23391 else
23392 glibcxx_cv_func_float_round_use=no
23393 fi
23394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23395 ac_ext=c
23396 ac_cpp='$CPP $CPPFLAGS'
23397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23400
23401 fi
23402
23403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23404 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23405 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23406 for ac_func in ceilf floorf
23407 do :
23408 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23409 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23410 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23411 cat >>confdefs.h <<_ACEOF
23412 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23413 _ACEOF
23414
23415 fi
23416 done
23417
23418 else
23419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23420 $as_echo_n "checking for _float round functions... " >&6; }
23421 if ${glibcxx_cv_func__float_round_use+:} false; then :
23422 $as_echo_n "(cached) " >&6
23423 else
23424
23425
23426 ac_ext=cpp
23427 ac_cpp='$CXXCPP $CPPFLAGS'
23428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23431
23432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23433 /* end confdefs.h. */
23434 #include <math.h>
23435 int
23436 main ()
23437 {
23438 _ceilf (0); _floorf (0);
23439 ;
23440 return 0;
23441 }
23442 _ACEOF
23443 if ac_fn_cxx_try_compile "$LINENO"; then :
23444 glibcxx_cv_func__float_round_use=yes
23445 else
23446 glibcxx_cv_func__float_round_use=no
23447 fi
23448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23449 ac_ext=c
23450 ac_cpp='$CPP $CPPFLAGS'
23451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23454
23455 fi
23456
23457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23458 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23459 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23460 for ac_func in _ceilf _floorf
23461 do :
23462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23464 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23465 cat >>confdefs.h <<_ACEOF
23466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23467 _ACEOF
23468
23469 fi
23470 done
23471
23472 fi
23473 fi
23474
23475
23476
23477
23478
23479
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23481 $as_echo_n "checking for expf declaration... " >&6; }
23482 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23483 if ${glibcxx_cv_func_expf_use+:} false; then :
23484 $as_echo_n "(cached) " >&6
23485 else
23486
23487
23488 ac_ext=cpp
23489 ac_cpp='$CXXCPP $CPPFLAGS'
23490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23493
23494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23495 /* end confdefs.h. */
23496 #include <math.h>
23497 #ifdef HAVE_IEEEFP_H
23498 #include <ieeefp.h>
23499 #endif
23500
23501 int
23502 main ()
23503 {
23504 expf(0);
23505 ;
23506 return 0;
23507 }
23508 _ACEOF
23509 if ac_fn_cxx_try_compile "$LINENO"; then :
23510 glibcxx_cv_func_expf_use=yes
23511 else
23512 glibcxx_cv_func_expf_use=no
23513 fi
23514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23515 ac_ext=c
23516 ac_cpp='$CPP $CPPFLAGS'
23517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23520
23521
23522 fi
23523
23524 fi
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23526 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23527
23528 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23529 for ac_func in expf
23530 do :
23531 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23532 if test "x$ac_cv_func_expf" = xyes; then :
23533 cat >>confdefs.h <<_ACEOF
23534 #define HAVE_EXPF 1
23535 _ACEOF
23536
23537 fi
23538 done
23539
23540 else
23541
23542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23543 $as_echo_n "checking for _expf declaration... " >&6; }
23544 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23545 if ${glibcxx_cv_func__expf_use+:} false; then :
23546 $as_echo_n "(cached) " >&6
23547 else
23548
23549
23550 ac_ext=cpp
23551 ac_cpp='$CXXCPP $CPPFLAGS'
23552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23555
23556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23557 /* end confdefs.h. */
23558 #include <math.h>
23559 #ifdef HAVE_IEEEFP_H
23560 #include <ieeefp.h>
23561 #endif
23562
23563 int
23564 main ()
23565 {
23566 _expf(0);
23567 ;
23568 return 0;
23569 }
23570 _ACEOF
23571 if ac_fn_cxx_try_compile "$LINENO"; then :
23572 glibcxx_cv_func__expf_use=yes
23573 else
23574 glibcxx_cv_func__expf_use=no
23575 fi
23576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23577 ac_ext=c
23578 ac_cpp='$CPP $CPPFLAGS'
23579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23582
23583
23584 fi
23585
23586 fi
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23588 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23589
23590 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23591 for ac_func in _expf
23592 do :
23593 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23594 if test "x$ac_cv_func__expf" = xyes; then :
23595 cat >>confdefs.h <<_ACEOF
23596 #define HAVE__EXPF 1
23597 _ACEOF
23598
23599 fi
23600 done
23601
23602 fi
23603 fi
23604
23605
23606
23607
23608
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23610 $as_echo_n "checking for isnanf declaration... " >&6; }
23611 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23612 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23613 $as_echo_n "(cached) " >&6
23614 else
23615
23616
23617 ac_ext=cpp
23618 ac_cpp='$CXXCPP $CPPFLAGS'
23619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23622
23623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23624 /* end confdefs.h. */
23625 #include <math.h>
23626 #ifdef HAVE_IEEEFP_H
23627 #include <ieeefp.h>
23628 #endif
23629
23630 int
23631 main ()
23632 {
23633 isnanf(0);
23634 ;
23635 return 0;
23636 }
23637 _ACEOF
23638 if ac_fn_cxx_try_compile "$LINENO"; then :
23639 glibcxx_cv_func_isnanf_use=yes
23640 else
23641 glibcxx_cv_func_isnanf_use=no
23642 fi
23643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23644 ac_ext=c
23645 ac_cpp='$CPP $CPPFLAGS'
23646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23649
23650
23651 fi
23652
23653 fi
23654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23655 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23656
23657 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23658 for ac_func in isnanf
23659 do :
23660 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23661 if test "x$ac_cv_func_isnanf" = xyes; then :
23662 cat >>confdefs.h <<_ACEOF
23663 #define HAVE_ISNANF 1
23664 _ACEOF
23665
23666 fi
23667 done
23668
23669 else
23670
23671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23672 $as_echo_n "checking for _isnanf declaration... " >&6; }
23673 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23674 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23675 $as_echo_n "(cached) " >&6
23676 else
23677
23678
23679 ac_ext=cpp
23680 ac_cpp='$CXXCPP $CPPFLAGS'
23681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23684
23685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23686 /* end confdefs.h. */
23687 #include <math.h>
23688 #ifdef HAVE_IEEEFP_H
23689 #include <ieeefp.h>
23690 #endif
23691
23692 int
23693 main ()
23694 {
23695 _isnanf(0);
23696 ;
23697 return 0;
23698 }
23699 _ACEOF
23700 if ac_fn_cxx_try_compile "$LINENO"; then :
23701 glibcxx_cv_func__isnanf_use=yes
23702 else
23703 glibcxx_cv_func__isnanf_use=no
23704 fi
23705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23706 ac_ext=c
23707 ac_cpp='$CPP $CPPFLAGS'
23708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23711
23712
23713 fi
23714
23715 fi
23716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23717 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23718
23719 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23720 for ac_func in _isnanf
23721 do :
23722 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23723 if test "x$ac_cv_func__isnanf" = xyes; then :
23724 cat >>confdefs.h <<_ACEOF
23725 #define HAVE__ISNANF 1
23726 _ACEOF
23727
23728 fi
23729 done
23730
23731 fi
23732 fi
23733
23734
23735
23736
23737
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23739 $as_echo_n "checking for isinff declaration... " >&6; }
23740 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23741 if ${glibcxx_cv_func_isinff_use+:} false; then :
23742 $as_echo_n "(cached) " >&6
23743 else
23744
23745
23746 ac_ext=cpp
23747 ac_cpp='$CXXCPP $CPPFLAGS'
23748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23751
23752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23753 /* end confdefs.h. */
23754 #include <math.h>
23755 #ifdef HAVE_IEEEFP_H
23756 #include <ieeefp.h>
23757 #endif
23758
23759 int
23760 main ()
23761 {
23762 isinff(0);
23763 ;
23764 return 0;
23765 }
23766 _ACEOF
23767 if ac_fn_cxx_try_compile "$LINENO"; then :
23768 glibcxx_cv_func_isinff_use=yes
23769 else
23770 glibcxx_cv_func_isinff_use=no
23771 fi
23772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23773 ac_ext=c
23774 ac_cpp='$CPP $CPPFLAGS'
23775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23778
23779
23780 fi
23781
23782 fi
23783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23784 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23785
23786 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23787 for ac_func in isinff
23788 do :
23789 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23790 if test "x$ac_cv_func_isinff" = xyes; then :
23791 cat >>confdefs.h <<_ACEOF
23792 #define HAVE_ISINFF 1
23793 _ACEOF
23794
23795 fi
23796 done
23797
23798 else
23799
23800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23801 $as_echo_n "checking for _isinff declaration... " >&6; }
23802 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23803 if ${glibcxx_cv_func__isinff_use+:} false; then :
23804 $as_echo_n "(cached) " >&6
23805 else
23806
23807
23808 ac_ext=cpp
23809 ac_cpp='$CXXCPP $CPPFLAGS'
23810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23813
23814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23815 /* end confdefs.h. */
23816 #include <math.h>
23817 #ifdef HAVE_IEEEFP_H
23818 #include <ieeefp.h>
23819 #endif
23820
23821 int
23822 main ()
23823 {
23824 _isinff(0);
23825 ;
23826 return 0;
23827 }
23828 _ACEOF
23829 if ac_fn_cxx_try_compile "$LINENO"; then :
23830 glibcxx_cv_func__isinff_use=yes
23831 else
23832 glibcxx_cv_func__isinff_use=no
23833 fi
23834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23835 ac_ext=c
23836 ac_cpp='$CPP $CPPFLAGS'
23837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23840
23841
23842 fi
23843
23844 fi
23845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23846 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23847
23848 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23849 for ac_func in _isinff
23850 do :
23851 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23852 if test "x$ac_cv_func__isinff" = xyes; then :
23853 cat >>confdefs.h <<_ACEOF
23854 #define HAVE__ISINFF 1
23855 _ACEOF
23856
23857 fi
23858 done
23859
23860 fi
23861 fi
23862
23863
23864
23865
23866
23867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23868 $as_echo_n "checking for atan2f declaration... " >&6; }
23869 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23870 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23871 $as_echo_n "(cached) " >&6
23872 else
23873
23874
23875 ac_ext=cpp
23876 ac_cpp='$CXXCPP $CPPFLAGS'
23877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23880
23881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23882 /* end confdefs.h. */
23883 #include <math.h>
23884 int
23885 main ()
23886 {
23887 atan2f(0, 0);
23888 ;
23889 return 0;
23890 }
23891 _ACEOF
23892 if ac_fn_cxx_try_compile "$LINENO"; then :
23893 glibcxx_cv_func_atan2f_use=yes
23894 else
23895 glibcxx_cv_func_atan2f_use=no
23896 fi
23897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23898 ac_ext=c
23899 ac_cpp='$CPP $CPPFLAGS'
23900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23903
23904
23905 fi
23906
23907 fi
23908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23909 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23910
23911 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23912 for ac_func in atan2f
23913 do :
23914 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23915 if test "x$ac_cv_func_atan2f" = xyes; then :
23916 cat >>confdefs.h <<_ACEOF
23917 #define HAVE_ATAN2F 1
23918 _ACEOF
23919
23920 fi
23921 done
23922
23923 else
23924
23925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23926 $as_echo_n "checking for _atan2f declaration... " >&6; }
23927 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23928 if ${glibcxx_cv_func__atan2f_use+:} false; then :
23929 $as_echo_n "(cached) " >&6
23930 else
23931
23932
23933 ac_ext=cpp
23934 ac_cpp='$CXXCPP $CPPFLAGS'
23935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23938
23939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23940 /* end confdefs.h. */
23941 #include <math.h>
23942 int
23943 main ()
23944 {
23945 _atan2f(0, 0);
23946 ;
23947 return 0;
23948 }
23949 _ACEOF
23950 if ac_fn_cxx_try_compile "$LINENO"; then :
23951 glibcxx_cv_func__atan2f_use=yes
23952 else
23953 glibcxx_cv_func__atan2f_use=no
23954 fi
23955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23956 ac_ext=c
23957 ac_cpp='$CPP $CPPFLAGS'
23958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23961
23962
23963 fi
23964
23965 fi
23966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23967 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23968
23969 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23970 for ac_func in _atan2f
23971 do :
23972 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23973 if test "x$ac_cv_func__atan2f" = xyes; then :
23974 cat >>confdefs.h <<_ACEOF
23975 #define HAVE__ATAN2F 1
23976 _ACEOF
23977
23978 fi
23979 done
23980
23981 fi
23982 fi
23983
23984
23985
23986
23987
23988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23989 $as_echo_n "checking for fabsf declaration... " >&6; }
23990 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23991 if ${glibcxx_cv_func_fabsf_use+:} false; then :
23992 $as_echo_n "(cached) " >&6
23993 else
23994
23995
23996 ac_ext=cpp
23997 ac_cpp='$CXXCPP $CPPFLAGS'
23998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24001
24002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24003 /* end confdefs.h. */
24004 #include <math.h>
24005 #ifdef HAVE_IEEEFP_H
24006 #include <ieeefp.h>
24007 #endif
24008
24009 int
24010 main ()
24011 {
24012 fabsf(0);
24013 ;
24014 return 0;
24015 }
24016 _ACEOF
24017 if ac_fn_cxx_try_compile "$LINENO"; then :
24018 glibcxx_cv_func_fabsf_use=yes
24019 else
24020 glibcxx_cv_func_fabsf_use=no
24021 fi
24022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24023 ac_ext=c
24024 ac_cpp='$CPP $CPPFLAGS'
24025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24028
24029
24030 fi
24031
24032 fi
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24034 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24035
24036 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24037 for ac_func in fabsf
24038 do :
24039 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24040 if test "x$ac_cv_func_fabsf" = xyes; then :
24041 cat >>confdefs.h <<_ACEOF
24042 #define HAVE_FABSF 1
24043 _ACEOF
24044
24045 fi
24046 done
24047
24048 else
24049
24050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24051 $as_echo_n "checking for _fabsf declaration... " >&6; }
24052 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24053 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24054 $as_echo_n "(cached) " >&6
24055 else
24056
24057
24058 ac_ext=cpp
24059 ac_cpp='$CXXCPP $CPPFLAGS'
24060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24063
24064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24065 /* end confdefs.h. */
24066 #include <math.h>
24067 #ifdef HAVE_IEEEFP_H
24068 #include <ieeefp.h>
24069 #endif
24070
24071 int
24072 main ()
24073 {
24074 _fabsf(0);
24075 ;
24076 return 0;
24077 }
24078 _ACEOF
24079 if ac_fn_cxx_try_compile "$LINENO"; then :
24080 glibcxx_cv_func__fabsf_use=yes
24081 else
24082 glibcxx_cv_func__fabsf_use=no
24083 fi
24084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24085 ac_ext=c
24086 ac_cpp='$CPP $CPPFLAGS'
24087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24090
24091
24092 fi
24093
24094 fi
24095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24096 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24097
24098 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24099 for ac_func in _fabsf
24100 do :
24101 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24102 if test "x$ac_cv_func__fabsf" = xyes; then :
24103 cat >>confdefs.h <<_ACEOF
24104 #define HAVE__FABSF 1
24105 _ACEOF
24106
24107 fi
24108 done
24109
24110 fi
24111 fi
24112
24113
24114
24115
24116
24117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24118 $as_echo_n "checking for fmodf declaration... " >&6; }
24119 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24120 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24121 $as_echo_n "(cached) " >&6
24122 else
24123
24124
24125 ac_ext=cpp
24126 ac_cpp='$CXXCPP $CPPFLAGS'
24127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24130
24131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24132 /* end confdefs.h. */
24133 #include <math.h>
24134 int
24135 main ()
24136 {
24137 fmodf(0, 0);
24138 ;
24139 return 0;
24140 }
24141 _ACEOF
24142 if ac_fn_cxx_try_compile "$LINENO"; then :
24143 glibcxx_cv_func_fmodf_use=yes
24144 else
24145 glibcxx_cv_func_fmodf_use=no
24146 fi
24147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24148 ac_ext=c
24149 ac_cpp='$CPP $CPPFLAGS'
24150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24153
24154
24155 fi
24156
24157 fi
24158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24159 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24160
24161 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24162 for ac_func in fmodf
24163 do :
24164 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24165 if test "x$ac_cv_func_fmodf" = xyes; then :
24166 cat >>confdefs.h <<_ACEOF
24167 #define HAVE_FMODF 1
24168 _ACEOF
24169
24170 fi
24171 done
24172
24173 else
24174
24175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24176 $as_echo_n "checking for _fmodf declaration... " >&6; }
24177 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24178 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24179 $as_echo_n "(cached) " >&6
24180 else
24181
24182
24183 ac_ext=cpp
24184 ac_cpp='$CXXCPP $CPPFLAGS'
24185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24188
24189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24190 /* end confdefs.h. */
24191 #include <math.h>
24192 int
24193 main ()
24194 {
24195 _fmodf(0, 0);
24196 ;
24197 return 0;
24198 }
24199 _ACEOF
24200 if ac_fn_cxx_try_compile "$LINENO"; then :
24201 glibcxx_cv_func__fmodf_use=yes
24202 else
24203 glibcxx_cv_func__fmodf_use=no
24204 fi
24205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24206 ac_ext=c
24207 ac_cpp='$CPP $CPPFLAGS'
24208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24211
24212
24213 fi
24214
24215 fi
24216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24217 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24218
24219 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24220 for ac_func in _fmodf
24221 do :
24222 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24223 if test "x$ac_cv_func__fmodf" = xyes; then :
24224 cat >>confdefs.h <<_ACEOF
24225 #define HAVE__FMODF 1
24226 _ACEOF
24227
24228 fi
24229 done
24230
24231 fi
24232 fi
24233
24234
24235
24236
24237
24238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24239 $as_echo_n "checking for frexpf declaration... " >&6; }
24240 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24241 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24242 $as_echo_n "(cached) " >&6
24243 else
24244
24245
24246 ac_ext=cpp
24247 ac_cpp='$CXXCPP $CPPFLAGS'
24248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24251
24252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24253 /* end confdefs.h. */
24254 #include <math.h>
24255 int
24256 main ()
24257 {
24258 frexpf(0, 0);
24259 ;
24260 return 0;
24261 }
24262 _ACEOF
24263 if ac_fn_cxx_try_compile "$LINENO"; then :
24264 glibcxx_cv_func_frexpf_use=yes
24265 else
24266 glibcxx_cv_func_frexpf_use=no
24267 fi
24268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24269 ac_ext=c
24270 ac_cpp='$CPP $CPPFLAGS'
24271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24274
24275
24276 fi
24277
24278 fi
24279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24280 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24281
24282 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24283 for ac_func in frexpf
24284 do :
24285 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24286 if test "x$ac_cv_func_frexpf" = xyes; then :
24287 cat >>confdefs.h <<_ACEOF
24288 #define HAVE_FREXPF 1
24289 _ACEOF
24290
24291 fi
24292 done
24293
24294 else
24295
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24297 $as_echo_n "checking for _frexpf declaration... " >&6; }
24298 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24299 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24300 $as_echo_n "(cached) " >&6
24301 else
24302
24303
24304 ac_ext=cpp
24305 ac_cpp='$CXXCPP $CPPFLAGS'
24306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24309
24310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24311 /* end confdefs.h. */
24312 #include <math.h>
24313 int
24314 main ()
24315 {
24316 _frexpf(0, 0);
24317 ;
24318 return 0;
24319 }
24320 _ACEOF
24321 if ac_fn_cxx_try_compile "$LINENO"; then :
24322 glibcxx_cv_func__frexpf_use=yes
24323 else
24324 glibcxx_cv_func__frexpf_use=no
24325 fi
24326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24327 ac_ext=c
24328 ac_cpp='$CPP $CPPFLAGS'
24329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24332
24333
24334 fi
24335
24336 fi
24337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24338 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24339
24340 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24341 for ac_func in _frexpf
24342 do :
24343 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24344 if test "x$ac_cv_func__frexpf" = xyes; then :
24345 cat >>confdefs.h <<_ACEOF
24346 #define HAVE__FREXPF 1
24347 _ACEOF
24348
24349 fi
24350 done
24351
24352 fi
24353 fi
24354
24355
24356
24357
24358
24359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24360 $as_echo_n "checking for hypotf declaration... " >&6; }
24361 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24362 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24363 $as_echo_n "(cached) " >&6
24364 else
24365
24366
24367 ac_ext=cpp
24368 ac_cpp='$CXXCPP $CPPFLAGS'
24369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24372
24373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24374 /* end confdefs.h. */
24375 #include <math.h>
24376 int
24377 main ()
24378 {
24379 hypotf(0, 0);
24380 ;
24381 return 0;
24382 }
24383 _ACEOF
24384 if ac_fn_cxx_try_compile "$LINENO"; then :
24385 glibcxx_cv_func_hypotf_use=yes
24386 else
24387 glibcxx_cv_func_hypotf_use=no
24388 fi
24389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24390 ac_ext=c
24391 ac_cpp='$CPP $CPPFLAGS'
24392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24395
24396
24397 fi
24398
24399 fi
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24401 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24402
24403 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24404 for ac_func in hypotf
24405 do :
24406 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24407 if test "x$ac_cv_func_hypotf" = xyes; then :
24408 cat >>confdefs.h <<_ACEOF
24409 #define HAVE_HYPOTF 1
24410 _ACEOF
24411
24412 fi
24413 done
24414
24415 else
24416
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24418 $as_echo_n "checking for _hypotf declaration... " >&6; }
24419 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24420 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24421 $as_echo_n "(cached) " >&6
24422 else
24423
24424
24425 ac_ext=cpp
24426 ac_cpp='$CXXCPP $CPPFLAGS'
24427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24430
24431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24432 /* end confdefs.h. */
24433 #include <math.h>
24434 int
24435 main ()
24436 {
24437 _hypotf(0, 0);
24438 ;
24439 return 0;
24440 }
24441 _ACEOF
24442 if ac_fn_cxx_try_compile "$LINENO"; then :
24443 glibcxx_cv_func__hypotf_use=yes
24444 else
24445 glibcxx_cv_func__hypotf_use=no
24446 fi
24447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24448 ac_ext=c
24449 ac_cpp='$CPP $CPPFLAGS'
24450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24453
24454
24455 fi
24456
24457 fi
24458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24459 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24460
24461 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24462 for ac_func in _hypotf
24463 do :
24464 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24465 if test "x$ac_cv_func__hypotf" = xyes; then :
24466 cat >>confdefs.h <<_ACEOF
24467 #define HAVE__HYPOTF 1
24468 _ACEOF
24469
24470 fi
24471 done
24472
24473 fi
24474 fi
24475
24476
24477
24478
24479
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24481 $as_echo_n "checking for ldexpf declaration... " >&6; }
24482 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24483 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24484 $as_echo_n "(cached) " >&6
24485 else
24486
24487
24488 ac_ext=cpp
24489 ac_cpp='$CXXCPP $CPPFLAGS'
24490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24493
24494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24495 /* end confdefs.h. */
24496 #include <math.h>
24497 int
24498 main ()
24499 {
24500 ldexpf(0, 0);
24501 ;
24502 return 0;
24503 }
24504 _ACEOF
24505 if ac_fn_cxx_try_compile "$LINENO"; then :
24506 glibcxx_cv_func_ldexpf_use=yes
24507 else
24508 glibcxx_cv_func_ldexpf_use=no
24509 fi
24510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24511 ac_ext=c
24512 ac_cpp='$CPP $CPPFLAGS'
24513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24516
24517
24518 fi
24519
24520 fi
24521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24522 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24523
24524 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24525 for ac_func in ldexpf
24526 do :
24527 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24528 if test "x$ac_cv_func_ldexpf" = xyes; then :
24529 cat >>confdefs.h <<_ACEOF
24530 #define HAVE_LDEXPF 1
24531 _ACEOF
24532
24533 fi
24534 done
24535
24536 else
24537
24538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24539 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24540 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24541 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24542 $as_echo_n "(cached) " >&6
24543 else
24544
24545
24546 ac_ext=cpp
24547 ac_cpp='$CXXCPP $CPPFLAGS'
24548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24551
24552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24553 /* end confdefs.h. */
24554 #include <math.h>
24555 int
24556 main ()
24557 {
24558 _ldexpf(0, 0);
24559 ;
24560 return 0;
24561 }
24562 _ACEOF
24563 if ac_fn_cxx_try_compile "$LINENO"; then :
24564 glibcxx_cv_func__ldexpf_use=yes
24565 else
24566 glibcxx_cv_func__ldexpf_use=no
24567 fi
24568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24569 ac_ext=c
24570 ac_cpp='$CPP $CPPFLAGS'
24571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24574
24575
24576 fi
24577
24578 fi
24579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24580 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24581
24582 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24583 for ac_func in _ldexpf
24584 do :
24585 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24586 if test "x$ac_cv_func__ldexpf" = xyes; then :
24587 cat >>confdefs.h <<_ACEOF
24588 #define HAVE__LDEXPF 1
24589 _ACEOF
24590
24591 fi
24592 done
24593
24594 fi
24595 fi
24596
24597
24598
24599
24600
24601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24602 $as_echo_n "checking for logf declaration... " >&6; }
24603 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24604 if ${glibcxx_cv_func_logf_use+:} false; then :
24605 $as_echo_n "(cached) " >&6
24606 else
24607
24608
24609 ac_ext=cpp
24610 ac_cpp='$CXXCPP $CPPFLAGS'
24611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24614
24615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24616 /* end confdefs.h. */
24617 #include <math.h>
24618 #ifdef HAVE_IEEEFP_H
24619 #include <ieeefp.h>
24620 #endif
24621
24622 int
24623 main ()
24624 {
24625 logf(0);
24626 ;
24627 return 0;
24628 }
24629 _ACEOF
24630 if ac_fn_cxx_try_compile "$LINENO"; then :
24631 glibcxx_cv_func_logf_use=yes
24632 else
24633 glibcxx_cv_func_logf_use=no
24634 fi
24635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24636 ac_ext=c
24637 ac_cpp='$CPP $CPPFLAGS'
24638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24641
24642
24643 fi
24644
24645 fi
24646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24647 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24648
24649 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24650 for ac_func in logf
24651 do :
24652 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24653 if test "x$ac_cv_func_logf" = xyes; then :
24654 cat >>confdefs.h <<_ACEOF
24655 #define HAVE_LOGF 1
24656 _ACEOF
24657
24658 fi
24659 done
24660
24661 else
24662
24663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24664 $as_echo_n "checking for _logf declaration... " >&6; }
24665 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24666 if ${glibcxx_cv_func__logf_use+:} false; then :
24667 $as_echo_n "(cached) " >&6
24668 else
24669
24670
24671 ac_ext=cpp
24672 ac_cpp='$CXXCPP $CPPFLAGS'
24673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24676
24677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24678 /* end confdefs.h. */
24679 #include <math.h>
24680 #ifdef HAVE_IEEEFP_H
24681 #include <ieeefp.h>
24682 #endif
24683
24684 int
24685 main ()
24686 {
24687 _logf(0);
24688 ;
24689 return 0;
24690 }
24691 _ACEOF
24692 if ac_fn_cxx_try_compile "$LINENO"; then :
24693 glibcxx_cv_func__logf_use=yes
24694 else
24695 glibcxx_cv_func__logf_use=no
24696 fi
24697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24698 ac_ext=c
24699 ac_cpp='$CPP $CPPFLAGS'
24700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24703
24704
24705 fi
24706
24707 fi
24708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24709 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24710
24711 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24712 for ac_func in _logf
24713 do :
24714 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24715 if test "x$ac_cv_func__logf" = xyes; then :
24716 cat >>confdefs.h <<_ACEOF
24717 #define HAVE__LOGF 1
24718 _ACEOF
24719
24720 fi
24721 done
24722
24723 fi
24724 fi
24725
24726
24727
24728
24729
24730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24731 $as_echo_n "checking for log10f declaration... " >&6; }
24732 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24733 if ${glibcxx_cv_func_log10f_use+:} false; then :
24734 $as_echo_n "(cached) " >&6
24735 else
24736
24737
24738 ac_ext=cpp
24739 ac_cpp='$CXXCPP $CPPFLAGS'
24740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24743
24744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24745 /* end confdefs.h. */
24746 #include <math.h>
24747 #ifdef HAVE_IEEEFP_H
24748 #include <ieeefp.h>
24749 #endif
24750
24751 int
24752 main ()
24753 {
24754 log10f(0);
24755 ;
24756 return 0;
24757 }
24758 _ACEOF
24759 if ac_fn_cxx_try_compile "$LINENO"; then :
24760 glibcxx_cv_func_log10f_use=yes
24761 else
24762 glibcxx_cv_func_log10f_use=no
24763 fi
24764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24765 ac_ext=c
24766 ac_cpp='$CPP $CPPFLAGS'
24767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24770
24771
24772 fi
24773
24774 fi
24775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24776 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24777
24778 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24779 for ac_func in log10f
24780 do :
24781 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24782 if test "x$ac_cv_func_log10f" = xyes; then :
24783 cat >>confdefs.h <<_ACEOF
24784 #define HAVE_LOG10F 1
24785 _ACEOF
24786
24787 fi
24788 done
24789
24790 else
24791
24792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24793 $as_echo_n "checking for _log10f declaration... " >&6; }
24794 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24795 if ${glibcxx_cv_func__log10f_use+:} false; then :
24796 $as_echo_n "(cached) " >&6
24797 else
24798
24799
24800 ac_ext=cpp
24801 ac_cpp='$CXXCPP $CPPFLAGS'
24802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24805
24806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24807 /* end confdefs.h. */
24808 #include <math.h>
24809 #ifdef HAVE_IEEEFP_H
24810 #include <ieeefp.h>
24811 #endif
24812
24813 int
24814 main ()
24815 {
24816 _log10f(0);
24817 ;
24818 return 0;
24819 }
24820 _ACEOF
24821 if ac_fn_cxx_try_compile "$LINENO"; then :
24822 glibcxx_cv_func__log10f_use=yes
24823 else
24824 glibcxx_cv_func__log10f_use=no
24825 fi
24826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24827 ac_ext=c
24828 ac_cpp='$CPP $CPPFLAGS'
24829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24832
24833
24834 fi
24835
24836 fi
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24838 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24839
24840 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24841 for ac_func in _log10f
24842 do :
24843 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24844 if test "x$ac_cv_func__log10f" = xyes; then :
24845 cat >>confdefs.h <<_ACEOF
24846 #define HAVE__LOG10F 1
24847 _ACEOF
24848
24849 fi
24850 done
24851
24852 fi
24853 fi
24854
24855
24856
24857
24858
24859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24860 $as_echo_n "checking for modff declaration... " >&6; }
24861 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24862 if ${glibcxx_cv_func_modff_use+:} false; then :
24863 $as_echo_n "(cached) " >&6
24864 else
24865
24866
24867 ac_ext=cpp
24868 ac_cpp='$CXXCPP $CPPFLAGS'
24869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24872
24873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24874 /* end confdefs.h. */
24875 #include <math.h>
24876 int
24877 main ()
24878 {
24879 modff(0, 0);
24880 ;
24881 return 0;
24882 }
24883 _ACEOF
24884 if ac_fn_cxx_try_compile "$LINENO"; then :
24885 glibcxx_cv_func_modff_use=yes
24886 else
24887 glibcxx_cv_func_modff_use=no
24888 fi
24889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24890 ac_ext=c
24891 ac_cpp='$CPP $CPPFLAGS'
24892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24895
24896
24897 fi
24898
24899 fi
24900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24901 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24902
24903 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24904 for ac_func in modff
24905 do :
24906 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24907 if test "x$ac_cv_func_modff" = xyes; then :
24908 cat >>confdefs.h <<_ACEOF
24909 #define HAVE_MODFF 1
24910 _ACEOF
24911
24912 fi
24913 done
24914
24915 else
24916
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24918 $as_echo_n "checking for _modff declaration... " >&6; }
24919 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24920 if ${glibcxx_cv_func__modff_use+:} false; then :
24921 $as_echo_n "(cached) " >&6
24922 else
24923
24924
24925 ac_ext=cpp
24926 ac_cpp='$CXXCPP $CPPFLAGS'
24927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24930
24931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24932 /* end confdefs.h. */
24933 #include <math.h>
24934 int
24935 main ()
24936 {
24937 _modff(0, 0);
24938 ;
24939 return 0;
24940 }
24941 _ACEOF
24942 if ac_fn_cxx_try_compile "$LINENO"; then :
24943 glibcxx_cv_func__modff_use=yes
24944 else
24945 glibcxx_cv_func__modff_use=no
24946 fi
24947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24948 ac_ext=c
24949 ac_cpp='$CPP $CPPFLAGS'
24950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24953
24954
24955 fi
24956
24957 fi
24958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24959 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24960
24961 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24962 for ac_func in _modff
24963 do :
24964 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24965 if test "x$ac_cv_func__modff" = xyes; then :
24966 cat >>confdefs.h <<_ACEOF
24967 #define HAVE__MODFF 1
24968 _ACEOF
24969
24970 fi
24971 done
24972
24973 fi
24974 fi
24975
24976
24977
24978
24979
24980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24981 $as_echo_n "checking for modf declaration... " >&6; }
24982 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24983 if ${glibcxx_cv_func_modf_use+:} false; then :
24984 $as_echo_n "(cached) " >&6
24985 else
24986
24987
24988 ac_ext=cpp
24989 ac_cpp='$CXXCPP $CPPFLAGS'
24990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24993
24994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24995 /* end confdefs.h. */
24996 #include <math.h>
24997 int
24998 main ()
24999 {
25000 modf(0, 0);
25001 ;
25002 return 0;
25003 }
25004 _ACEOF
25005 if ac_fn_cxx_try_compile "$LINENO"; then :
25006 glibcxx_cv_func_modf_use=yes
25007 else
25008 glibcxx_cv_func_modf_use=no
25009 fi
25010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25011 ac_ext=c
25012 ac_cpp='$CPP $CPPFLAGS'
25013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25016
25017
25018 fi
25019
25020 fi
25021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25022 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25023
25024 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25025 for ac_func in modf
25026 do :
25027 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25028 if test "x$ac_cv_func_modf" = xyes; then :
25029 cat >>confdefs.h <<_ACEOF
25030 #define HAVE_MODF 1
25031 _ACEOF
25032
25033 fi
25034 done
25035
25036 else
25037
25038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25039 $as_echo_n "checking for _modf declaration... " >&6; }
25040 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25041 if ${glibcxx_cv_func__modf_use+:} false; then :
25042 $as_echo_n "(cached) " >&6
25043 else
25044
25045
25046 ac_ext=cpp
25047 ac_cpp='$CXXCPP $CPPFLAGS'
25048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25051
25052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25053 /* end confdefs.h. */
25054 #include <math.h>
25055 int
25056 main ()
25057 {
25058 _modf(0, 0);
25059 ;
25060 return 0;
25061 }
25062 _ACEOF
25063 if ac_fn_cxx_try_compile "$LINENO"; then :
25064 glibcxx_cv_func__modf_use=yes
25065 else
25066 glibcxx_cv_func__modf_use=no
25067 fi
25068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25069 ac_ext=c
25070 ac_cpp='$CPP $CPPFLAGS'
25071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25074
25075
25076 fi
25077
25078 fi
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25080 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25081
25082 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25083 for ac_func in _modf
25084 do :
25085 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25086 if test "x$ac_cv_func__modf" = xyes; then :
25087 cat >>confdefs.h <<_ACEOF
25088 #define HAVE__MODF 1
25089 _ACEOF
25090
25091 fi
25092 done
25093
25094 fi
25095 fi
25096
25097
25098
25099
25100
25101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25102 $as_echo_n "checking for powf declaration... " >&6; }
25103 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25104 if ${glibcxx_cv_func_powf_use+:} false; then :
25105 $as_echo_n "(cached) " >&6
25106 else
25107
25108
25109 ac_ext=cpp
25110 ac_cpp='$CXXCPP $CPPFLAGS'
25111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25114
25115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25116 /* end confdefs.h. */
25117 #include <math.h>
25118 int
25119 main ()
25120 {
25121 powf(0, 0);
25122 ;
25123 return 0;
25124 }
25125 _ACEOF
25126 if ac_fn_cxx_try_compile "$LINENO"; then :
25127 glibcxx_cv_func_powf_use=yes
25128 else
25129 glibcxx_cv_func_powf_use=no
25130 fi
25131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25132 ac_ext=c
25133 ac_cpp='$CPP $CPPFLAGS'
25134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25137
25138
25139 fi
25140
25141 fi
25142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25143 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25144
25145 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25146 for ac_func in powf
25147 do :
25148 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25149 if test "x$ac_cv_func_powf" = xyes; then :
25150 cat >>confdefs.h <<_ACEOF
25151 #define HAVE_POWF 1
25152 _ACEOF
25153
25154 fi
25155 done
25156
25157 else
25158
25159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25160 $as_echo_n "checking for _powf declaration... " >&6; }
25161 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25162 if ${glibcxx_cv_func__powf_use+:} false; then :
25163 $as_echo_n "(cached) " >&6
25164 else
25165
25166
25167 ac_ext=cpp
25168 ac_cpp='$CXXCPP $CPPFLAGS'
25169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25172
25173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25174 /* end confdefs.h. */
25175 #include <math.h>
25176 int
25177 main ()
25178 {
25179 _powf(0, 0);
25180 ;
25181 return 0;
25182 }
25183 _ACEOF
25184 if ac_fn_cxx_try_compile "$LINENO"; then :
25185 glibcxx_cv_func__powf_use=yes
25186 else
25187 glibcxx_cv_func__powf_use=no
25188 fi
25189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25190 ac_ext=c
25191 ac_cpp='$CPP $CPPFLAGS'
25192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25195
25196
25197 fi
25198
25199 fi
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25201 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25202
25203 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25204 for ac_func in _powf
25205 do :
25206 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25207 if test "x$ac_cv_func__powf" = xyes; then :
25208 cat >>confdefs.h <<_ACEOF
25209 #define HAVE__POWF 1
25210 _ACEOF
25211
25212 fi
25213 done
25214
25215 fi
25216 fi
25217
25218
25219
25220
25221
25222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25223 $as_echo_n "checking for sqrtf declaration... " >&6; }
25224 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25225 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25226 $as_echo_n "(cached) " >&6
25227 else
25228
25229
25230 ac_ext=cpp
25231 ac_cpp='$CXXCPP $CPPFLAGS'
25232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25235
25236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25237 /* end confdefs.h. */
25238 #include <math.h>
25239 #ifdef HAVE_IEEEFP_H
25240 #include <ieeefp.h>
25241 #endif
25242
25243 int
25244 main ()
25245 {
25246 sqrtf(0);
25247 ;
25248 return 0;
25249 }
25250 _ACEOF
25251 if ac_fn_cxx_try_compile "$LINENO"; then :
25252 glibcxx_cv_func_sqrtf_use=yes
25253 else
25254 glibcxx_cv_func_sqrtf_use=no
25255 fi
25256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25257 ac_ext=c
25258 ac_cpp='$CPP $CPPFLAGS'
25259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25262
25263
25264 fi
25265
25266 fi
25267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25268 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25269
25270 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25271 for ac_func in sqrtf
25272 do :
25273 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25274 if test "x$ac_cv_func_sqrtf" = xyes; then :
25275 cat >>confdefs.h <<_ACEOF
25276 #define HAVE_SQRTF 1
25277 _ACEOF
25278
25279 fi
25280 done
25281
25282 else
25283
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25285 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25286 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25287 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25288 $as_echo_n "(cached) " >&6
25289 else
25290
25291
25292 ac_ext=cpp
25293 ac_cpp='$CXXCPP $CPPFLAGS'
25294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25297
25298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25299 /* end confdefs.h. */
25300 #include <math.h>
25301 #ifdef HAVE_IEEEFP_H
25302 #include <ieeefp.h>
25303 #endif
25304
25305 int
25306 main ()
25307 {
25308 _sqrtf(0);
25309 ;
25310 return 0;
25311 }
25312 _ACEOF
25313 if ac_fn_cxx_try_compile "$LINENO"; then :
25314 glibcxx_cv_func__sqrtf_use=yes
25315 else
25316 glibcxx_cv_func__sqrtf_use=no
25317 fi
25318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25319 ac_ext=c
25320 ac_cpp='$CPP $CPPFLAGS'
25321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25324
25325
25326 fi
25327
25328 fi
25329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25330 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25331
25332 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25333 for ac_func in _sqrtf
25334 do :
25335 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25336 if test "x$ac_cv_func__sqrtf" = xyes; then :
25337 cat >>confdefs.h <<_ACEOF
25338 #define HAVE__SQRTF 1
25339 _ACEOF
25340
25341 fi
25342 done
25343
25344 fi
25345 fi
25346
25347
25348
25349
25350
25351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25352 $as_echo_n "checking for sincosf declaration... " >&6; }
25353 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25354 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25355 $as_echo_n "(cached) " >&6
25356 else
25357
25358
25359 ac_ext=cpp
25360 ac_cpp='$CXXCPP $CPPFLAGS'
25361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25364
25365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25366 /* end confdefs.h. */
25367 #include <math.h>
25368 int
25369 main ()
25370 {
25371 sincosf(0, 0, 0);
25372 ;
25373 return 0;
25374 }
25375 _ACEOF
25376 if ac_fn_cxx_try_compile "$LINENO"; then :
25377 glibcxx_cv_func_sincosf_use=yes
25378 else
25379 glibcxx_cv_func_sincosf_use=no
25380 fi
25381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25382 ac_ext=c
25383 ac_cpp='$CPP $CPPFLAGS'
25384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25387
25388
25389 fi
25390
25391 fi
25392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25393 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25394
25395 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25396 for ac_func in sincosf
25397 do :
25398 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25399 if test "x$ac_cv_func_sincosf" = xyes; then :
25400 cat >>confdefs.h <<_ACEOF
25401 #define HAVE_SINCOSF 1
25402 _ACEOF
25403
25404 fi
25405 done
25406
25407 else
25408
25409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25410 $as_echo_n "checking for _sincosf declaration... " >&6; }
25411 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25412 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25413 $as_echo_n "(cached) " >&6
25414 else
25415
25416
25417 ac_ext=cpp
25418 ac_cpp='$CXXCPP $CPPFLAGS'
25419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25422
25423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25424 /* end confdefs.h. */
25425 #include <math.h>
25426 int
25427 main ()
25428 {
25429 _sincosf(0, 0, 0);
25430 ;
25431 return 0;
25432 }
25433 _ACEOF
25434 if ac_fn_cxx_try_compile "$LINENO"; then :
25435 glibcxx_cv_func__sincosf_use=yes
25436 else
25437 glibcxx_cv_func__sincosf_use=no
25438 fi
25439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25440 ac_ext=c
25441 ac_cpp='$CPP $CPPFLAGS'
25442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25445
25446
25447 fi
25448
25449 fi
25450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25451 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25452
25453 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25454 for ac_func in _sincosf
25455 do :
25456 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25457 if test "x$ac_cv_func__sincosf" = xyes; then :
25458 cat >>confdefs.h <<_ACEOF
25459 #define HAVE__SINCOSF 1
25460 _ACEOF
25461
25462 fi
25463 done
25464
25465 fi
25466 fi
25467
25468
25469
25470
25471
25472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25473 $as_echo_n "checking for finitef declaration... " >&6; }
25474 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25475 if ${glibcxx_cv_func_finitef_use+:} false; then :
25476 $as_echo_n "(cached) " >&6
25477 else
25478
25479
25480 ac_ext=cpp
25481 ac_cpp='$CXXCPP $CPPFLAGS'
25482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25485
25486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25487 /* end confdefs.h. */
25488 #include <math.h>
25489 #ifdef HAVE_IEEEFP_H
25490 #include <ieeefp.h>
25491 #endif
25492
25493 int
25494 main ()
25495 {
25496 finitef(0);
25497 ;
25498 return 0;
25499 }
25500 _ACEOF
25501 if ac_fn_cxx_try_compile "$LINENO"; then :
25502 glibcxx_cv_func_finitef_use=yes
25503 else
25504 glibcxx_cv_func_finitef_use=no
25505 fi
25506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25507 ac_ext=c
25508 ac_cpp='$CPP $CPPFLAGS'
25509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25512
25513
25514 fi
25515
25516 fi
25517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25518 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25519
25520 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25521 for ac_func in finitef
25522 do :
25523 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25524 if test "x$ac_cv_func_finitef" = xyes; then :
25525 cat >>confdefs.h <<_ACEOF
25526 #define HAVE_FINITEF 1
25527 _ACEOF
25528
25529 fi
25530 done
25531
25532 else
25533
25534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25535 $as_echo_n "checking for _finitef declaration... " >&6; }
25536 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25537 if ${glibcxx_cv_func__finitef_use+:} false; then :
25538 $as_echo_n "(cached) " >&6
25539 else
25540
25541
25542 ac_ext=cpp
25543 ac_cpp='$CXXCPP $CPPFLAGS'
25544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25547
25548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25549 /* end confdefs.h. */
25550 #include <math.h>
25551 #ifdef HAVE_IEEEFP_H
25552 #include <ieeefp.h>
25553 #endif
25554
25555 int
25556 main ()
25557 {
25558 _finitef(0);
25559 ;
25560 return 0;
25561 }
25562 _ACEOF
25563 if ac_fn_cxx_try_compile "$LINENO"; then :
25564 glibcxx_cv_func__finitef_use=yes
25565 else
25566 glibcxx_cv_func__finitef_use=no
25567 fi
25568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25569 ac_ext=c
25570 ac_cpp='$CPP $CPPFLAGS'
25571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25574
25575
25576 fi
25577
25578 fi
25579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25580 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25581
25582 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25583 for ac_func in _finitef
25584 do :
25585 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25586 if test "x$ac_cv_func__finitef" = xyes; then :
25587 cat >>confdefs.h <<_ACEOF
25588 #define HAVE__FINITEF 1
25589 _ACEOF
25590
25591 fi
25592 done
25593
25594 fi
25595 fi
25596
25597
25598
25599
25600
25601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25602 $as_echo_n "checking for long double trig functions... " >&6; }
25603 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25604 $as_echo_n "(cached) " >&6
25605 else
25606
25607
25608 ac_ext=cpp
25609 ac_cpp='$CXXCPP $CPPFLAGS'
25610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25613
25614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25615 /* end confdefs.h. */
25616 #include <math.h>
25617 int
25618 main ()
25619 {
25620 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25621 ;
25622 return 0;
25623 }
25624 _ACEOF
25625 if ac_fn_cxx_try_compile "$LINENO"; then :
25626 glibcxx_cv_func_long_double_trig_use=yes
25627 else
25628 glibcxx_cv_func_long_double_trig_use=no
25629 fi
25630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25631 ac_ext=c
25632 ac_cpp='$CPP $CPPFLAGS'
25633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25636
25637 fi
25638
25639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25640 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25641 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25642 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25643 do :
25644 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25645 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25646 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25647 cat >>confdefs.h <<_ACEOF
25648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25649 _ACEOF
25650
25651 fi
25652 done
25653
25654 else
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25656 $as_echo_n "checking for _long double trig functions... " >&6; }
25657 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25658 $as_echo_n "(cached) " >&6
25659 else
25660
25661
25662 ac_ext=cpp
25663 ac_cpp='$CXXCPP $CPPFLAGS'
25664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25667
25668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25669 /* end confdefs.h. */
25670 #include <math.h>
25671 int
25672 main ()
25673 {
25674 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25675 ;
25676 return 0;
25677 }
25678 _ACEOF
25679 if ac_fn_cxx_try_compile "$LINENO"; then :
25680 glibcxx_cv_func__long_double_trig_use=yes
25681 else
25682 glibcxx_cv_func__long_double_trig_use=no
25683 fi
25684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25685 ac_ext=c
25686 ac_cpp='$CPP $CPPFLAGS'
25687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25690
25691 fi
25692
25693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25694 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25695 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25696 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25697 do :
25698 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25699 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25700 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25701 cat >>confdefs.h <<_ACEOF
25702 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25703 _ACEOF
25704
25705 fi
25706 done
25707
25708 fi
25709 fi
25710
25711
25712
25713
25714
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25716 $as_echo_n "checking for long double round functions... " >&6; }
25717 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25718 $as_echo_n "(cached) " >&6
25719 else
25720
25721
25722 ac_ext=cpp
25723 ac_cpp='$CXXCPP $CPPFLAGS'
25724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25727
25728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25729 /* end confdefs.h. */
25730 #include <math.h>
25731 int
25732 main ()
25733 {
25734 ceill (0); floorl (0);
25735 ;
25736 return 0;
25737 }
25738 _ACEOF
25739 if ac_fn_cxx_try_compile "$LINENO"; then :
25740 glibcxx_cv_func_long_double_round_use=yes
25741 else
25742 glibcxx_cv_func_long_double_round_use=no
25743 fi
25744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25745 ac_ext=c
25746 ac_cpp='$CPP $CPPFLAGS'
25747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25750
25751 fi
25752
25753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25754 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25755 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25756 for ac_func in ceill floorl
25757 do :
25758 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25760 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25761 cat >>confdefs.h <<_ACEOF
25762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25763 _ACEOF
25764
25765 fi
25766 done
25767
25768 else
25769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25770 $as_echo_n "checking for _long double round functions... " >&6; }
25771 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25772 $as_echo_n "(cached) " >&6
25773 else
25774
25775
25776 ac_ext=cpp
25777 ac_cpp='$CXXCPP $CPPFLAGS'
25778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25781
25782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25783 /* end confdefs.h. */
25784 #include <math.h>
25785 int
25786 main ()
25787 {
25788 _ceill (0); _floorl (0);
25789 ;
25790 return 0;
25791 }
25792 _ACEOF
25793 if ac_fn_cxx_try_compile "$LINENO"; then :
25794 glibcxx_cv_func__long_double_round_use=yes
25795 else
25796 glibcxx_cv_func__long_double_round_use=no
25797 fi
25798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25799 ac_ext=c
25800 ac_cpp='$CPP $CPPFLAGS'
25801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25804
25805 fi
25806
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25808 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25809 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25810 for ac_func in _ceill _floorl
25811 do :
25812 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25813 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25814 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25815 cat >>confdefs.h <<_ACEOF
25816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25817 _ACEOF
25818
25819 fi
25820 done
25821
25822 fi
25823 fi
25824
25825
25826
25827
25828
25829
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25831 $as_echo_n "checking for isnanl declaration... " >&6; }
25832 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25833 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25834 $as_echo_n "(cached) " >&6
25835 else
25836
25837
25838 ac_ext=cpp
25839 ac_cpp='$CXXCPP $CPPFLAGS'
25840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25843
25844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25845 /* end confdefs.h. */
25846 #include <math.h>
25847 #ifdef HAVE_IEEEFP_H
25848 #include <ieeefp.h>
25849 #endif
25850
25851 int
25852 main ()
25853 {
25854 isnanl(0);
25855 ;
25856 return 0;
25857 }
25858 _ACEOF
25859 if ac_fn_cxx_try_compile "$LINENO"; then :
25860 glibcxx_cv_func_isnanl_use=yes
25861 else
25862 glibcxx_cv_func_isnanl_use=no
25863 fi
25864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25865 ac_ext=c
25866 ac_cpp='$CPP $CPPFLAGS'
25867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25870
25871
25872 fi
25873
25874 fi
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25876 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25877
25878 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25879 for ac_func in isnanl
25880 do :
25881 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25882 if test "x$ac_cv_func_isnanl" = xyes; then :
25883 cat >>confdefs.h <<_ACEOF
25884 #define HAVE_ISNANL 1
25885 _ACEOF
25886
25887 fi
25888 done
25889
25890 else
25891
25892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25893 $as_echo_n "checking for _isnanl declaration... " >&6; }
25894 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25895 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25896 $as_echo_n "(cached) " >&6
25897 else
25898
25899
25900 ac_ext=cpp
25901 ac_cpp='$CXXCPP $CPPFLAGS'
25902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25905
25906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25907 /* end confdefs.h. */
25908 #include <math.h>
25909 #ifdef HAVE_IEEEFP_H
25910 #include <ieeefp.h>
25911 #endif
25912
25913 int
25914 main ()
25915 {
25916 _isnanl(0);
25917 ;
25918 return 0;
25919 }
25920 _ACEOF
25921 if ac_fn_cxx_try_compile "$LINENO"; then :
25922 glibcxx_cv_func__isnanl_use=yes
25923 else
25924 glibcxx_cv_func__isnanl_use=no
25925 fi
25926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25927 ac_ext=c
25928 ac_cpp='$CPP $CPPFLAGS'
25929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25932
25933
25934 fi
25935
25936 fi
25937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25938 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25939
25940 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25941 for ac_func in _isnanl
25942 do :
25943 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25944 if test "x$ac_cv_func__isnanl" = xyes; then :
25945 cat >>confdefs.h <<_ACEOF
25946 #define HAVE__ISNANL 1
25947 _ACEOF
25948
25949 fi
25950 done
25951
25952 fi
25953 fi
25954
25955
25956
25957
25958
25959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25960 $as_echo_n "checking for isinfl declaration... " >&6; }
25961 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25962 if ${glibcxx_cv_func_isinfl_use+:} false; then :
25963 $as_echo_n "(cached) " >&6
25964 else
25965
25966
25967 ac_ext=cpp
25968 ac_cpp='$CXXCPP $CPPFLAGS'
25969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25972
25973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25974 /* end confdefs.h. */
25975 #include <math.h>
25976 #ifdef HAVE_IEEEFP_H
25977 #include <ieeefp.h>
25978 #endif
25979
25980 int
25981 main ()
25982 {
25983 isinfl(0);
25984 ;
25985 return 0;
25986 }
25987 _ACEOF
25988 if ac_fn_cxx_try_compile "$LINENO"; then :
25989 glibcxx_cv_func_isinfl_use=yes
25990 else
25991 glibcxx_cv_func_isinfl_use=no
25992 fi
25993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25994 ac_ext=c
25995 ac_cpp='$CPP $CPPFLAGS'
25996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25999
26000
26001 fi
26002
26003 fi
26004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26005 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26006
26007 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26008 for ac_func in isinfl
26009 do :
26010 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26011 if test "x$ac_cv_func_isinfl" = xyes; then :
26012 cat >>confdefs.h <<_ACEOF
26013 #define HAVE_ISINFL 1
26014 _ACEOF
26015
26016 fi
26017 done
26018
26019 else
26020
26021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26022 $as_echo_n "checking for _isinfl declaration... " >&6; }
26023 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26024 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26025 $as_echo_n "(cached) " >&6
26026 else
26027
26028
26029 ac_ext=cpp
26030 ac_cpp='$CXXCPP $CPPFLAGS'
26031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26034
26035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26036 /* end confdefs.h. */
26037 #include <math.h>
26038 #ifdef HAVE_IEEEFP_H
26039 #include <ieeefp.h>
26040 #endif
26041
26042 int
26043 main ()
26044 {
26045 _isinfl(0);
26046 ;
26047 return 0;
26048 }
26049 _ACEOF
26050 if ac_fn_cxx_try_compile "$LINENO"; then :
26051 glibcxx_cv_func__isinfl_use=yes
26052 else
26053 glibcxx_cv_func__isinfl_use=no
26054 fi
26055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26056 ac_ext=c
26057 ac_cpp='$CPP $CPPFLAGS'
26058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26061
26062
26063 fi
26064
26065 fi
26066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26067 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26068
26069 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26070 for ac_func in _isinfl
26071 do :
26072 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26073 if test "x$ac_cv_func__isinfl" = xyes; then :
26074 cat >>confdefs.h <<_ACEOF
26075 #define HAVE__ISINFL 1
26076 _ACEOF
26077
26078 fi
26079 done
26080
26081 fi
26082 fi
26083
26084
26085
26086
26087
26088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26089 $as_echo_n "checking for atan2l declaration... " >&6; }
26090 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26091 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26092 $as_echo_n "(cached) " >&6
26093 else
26094
26095
26096 ac_ext=cpp
26097 ac_cpp='$CXXCPP $CPPFLAGS'
26098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26101
26102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26103 /* end confdefs.h. */
26104 #include <math.h>
26105 int
26106 main ()
26107 {
26108 atan2l(0, 0);
26109 ;
26110 return 0;
26111 }
26112 _ACEOF
26113 if ac_fn_cxx_try_compile "$LINENO"; then :
26114 glibcxx_cv_func_atan2l_use=yes
26115 else
26116 glibcxx_cv_func_atan2l_use=no
26117 fi
26118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26119 ac_ext=c
26120 ac_cpp='$CPP $CPPFLAGS'
26121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26124
26125
26126 fi
26127
26128 fi
26129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26130 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26131
26132 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26133 for ac_func in atan2l
26134 do :
26135 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26136 if test "x$ac_cv_func_atan2l" = xyes; then :
26137 cat >>confdefs.h <<_ACEOF
26138 #define HAVE_ATAN2L 1
26139 _ACEOF
26140
26141 fi
26142 done
26143
26144 else
26145
26146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26147 $as_echo_n "checking for _atan2l declaration... " >&6; }
26148 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26149 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26150 $as_echo_n "(cached) " >&6
26151 else
26152
26153
26154 ac_ext=cpp
26155 ac_cpp='$CXXCPP $CPPFLAGS'
26156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26159
26160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26161 /* end confdefs.h. */
26162 #include <math.h>
26163 int
26164 main ()
26165 {
26166 _atan2l(0, 0);
26167 ;
26168 return 0;
26169 }
26170 _ACEOF
26171 if ac_fn_cxx_try_compile "$LINENO"; then :
26172 glibcxx_cv_func__atan2l_use=yes
26173 else
26174 glibcxx_cv_func__atan2l_use=no
26175 fi
26176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26177 ac_ext=c
26178 ac_cpp='$CPP $CPPFLAGS'
26179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26182
26183
26184 fi
26185
26186 fi
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26188 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26189
26190 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26191 for ac_func in _atan2l
26192 do :
26193 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26194 if test "x$ac_cv_func__atan2l" = xyes; then :
26195 cat >>confdefs.h <<_ACEOF
26196 #define HAVE__ATAN2L 1
26197 _ACEOF
26198
26199 fi
26200 done
26201
26202 fi
26203 fi
26204
26205
26206
26207
26208
26209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26210 $as_echo_n "checking for expl declaration... " >&6; }
26211 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26212 if ${glibcxx_cv_func_expl_use+:} false; then :
26213 $as_echo_n "(cached) " >&6
26214 else
26215
26216
26217 ac_ext=cpp
26218 ac_cpp='$CXXCPP $CPPFLAGS'
26219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26222
26223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26224 /* end confdefs.h. */
26225 #include <math.h>
26226 #ifdef HAVE_IEEEFP_H
26227 #include <ieeefp.h>
26228 #endif
26229
26230 int
26231 main ()
26232 {
26233 expl(0);
26234 ;
26235 return 0;
26236 }
26237 _ACEOF
26238 if ac_fn_cxx_try_compile "$LINENO"; then :
26239 glibcxx_cv_func_expl_use=yes
26240 else
26241 glibcxx_cv_func_expl_use=no
26242 fi
26243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26244 ac_ext=c
26245 ac_cpp='$CPP $CPPFLAGS'
26246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26249
26250
26251 fi
26252
26253 fi
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26255 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26256
26257 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26258 for ac_func in expl
26259 do :
26260 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26261 if test "x$ac_cv_func_expl" = xyes; then :
26262 cat >>confdefs.h <<_ACEOF
26263 #define HAVE_EXPL 1
26264 _ACEOF
26265
26266 fi
26267 done
26268
26269 else
26270
26271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26272 $as_echo_n "checking for _expl declaration... " >&6; }
26273 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26274 if ${glibcxx_cv_func__expl_use+:} false; then :
26275 $as_echo_n "(cached) " >&6
26276 else
26277
26278
26279 ac_ext=cpp
26280 ac_cpp='$CXXCPP $CPPFLAGS'
26281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26284
26285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26286 /* end confdefs.h. */
26287 #include <math.h>
26288 #ifdef HAVE_IEEEFP_H
26289 #include <ieeefp.h>
26290 #endif
26291
26292 int
26293 main ()
26294 {
26295 _expl(0);
26296 ;
26297 return 0;
26298 }
26299 _ACEOF
26300 if ac_fn_cxx_try_compile "$LINENO"; then :
26301 glibcxx_cv_func__expl_use=yes
26302 else
26303 glibcxx_cv_func__expl_use=no
26304 fi
26305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26306 ac_ext=c
26307 ac_cpp='$CPP $CPPFLAGS'
26308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26311
26312
26313 fi
26314
26315 fi
26316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26317 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26318
26319 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26320 for ac_func in _expl
26321 do :
26322 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26323 if test "x$ac_cv_func__expl" = xyes; then :
26324 cat >>confdefs.h <<_ACEOF
26325 #define HAVE__EXPL 1
26326 _ACEOF
26327
26328 fi
26329 done
26330
26331 fi
26332 fi
26333
26334
26335
26336
26337
26338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26339 $as_echo_n "checking for fabsl declaration... " >&6; }
26340 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26341 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26342 $as_echo_n "(cached) " >&6
26343 else
26344
26345
26346 ac_ext=cpp
26347 ac_cpp='$CXXCPP $CPPFLAGS'
26348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26351
26352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26353 /* end confdefs.h. */
26354 #include <math.h>
26355 #ifdef HAVE_IEEEFP_H
26356 #include <ieeefp.h>
26357 #endif
26358
26359 int
26360 main ()
26361 {
26362 fabsl(0);
26363 ;
26364 return 0;
26365 }
26366 _ACEOF
26367 if ac_fn_cxx_try_compile "$LINENO"; then :
26368 glibcxx_cv_func_fabsl_use=yes
26369 else
26370 glibcxx_cv_func_fabsl_use=no
26371 fi
26372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26373 ac_ext=c
26374 ac_cpp='$CPP $CPPFLAGS'
26375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26378
26379
26380 fi
26381
26382 fi
26383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26384 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26385
26386 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26387 for ac_func in fabsl
26388 do :
26389 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26390 if test "x$ac_cv_func_fabsl" = xyes; then :
26391 cat >>confdefs.h <<_ACEOF
26392 #define HAVE_FABSL 1
26393 _ACEOF
26394
26395 fi
26396 done
26397
26398 else
26399
26400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26401 $as_echo_n "checking for _fabsl declaration... " >&6; }
26402 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26403 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26404 $as_echo_n "(cached) " >&6
26405 else
26406
26407
26408 ac_ext=cpp
26409 ac_cpp='$CXXCPP $CPPFLAGS'
26410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26413
26414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26415 /* end confdefs.h. */
26416 #include <math.h>
26417 #ifdef HAVE_IEEEFP_H
26418 #include <ieeefp.h>
26419 #endif
26420
26421 int
26422 main ()
26423 {
26424 _fabsl(0);
26425 ;
26426 return 0;
26427 }
26428 _ACEOF
26429 if ac_fn_cxx_try_compile "$LINENO"; then :
26430 glibcxx_cv_func__fabsl_use=yes
26431 else
26432 glibcxx_cv_func__fabsl_use=no
26433 fi
26434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26435 ac_ext=c
26436 ac_cpp='$CPP $CPPFLAGS'
26437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26440
26441
26442 fi
26443
26444 fi
26445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26446 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26447
26448 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26449 for ac_func in _fabsl
26450 do :
26451 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26452 if test "x$ac_cv_func__fabsl" = xyes; then :
26453 cat >>confdefs.h <<_ACEOF
26454 #define HAVE__FABSL 1
26455 _ACEOF
26456
26457 fi
26458 done
26459
26460 fi
26461 fi
26462
26463
26464
26465
26466
26467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26468 $as_echo_n "checking for fmodl declaration... " >&6; }
26469 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26470 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26471 $as_echo_n "(cached) " >&6
26472 else
26473
26474
26475 ac_ext=cpp
26476 ac_cpp='$CXXCPP $CPPFLAGS'
26477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26480
26481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26482 /* end confdefs.h. */
26483 #include <math.h>
26484 int
26485 main ()
26486 {
26487 fmodl(0, 0);
26488 ;
26489 return 0;
26490 }
26491 _ACEOF
26492 if ac_fn_cxx_try_compile "$LINENO"; then :
26493 glibcxx_cv_func_fmodl_use=yes
26494 else
26495 glibcxx_cv_func_fmodl_use=no
26496 fi
26497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26498 ac_ext=c
26499 ac_cpp='$CPP $CPPFLAGS'
26500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26503
26504
26505 fi
26506
26507 fi
26508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26509 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26510
26511 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26512 for ac_func in fmodl
26513 do :
26514 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26515 if test "x$ac_cv_func_fmodl" = xyes; then :
26516 cat >>confdefs.h <<_ACEOF
26517 #define HAVE_FMODL 1
26518 _ACEOF
26519
26520 fi
26521 done
26522
26523 else
26524
26525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26526 $as_echo_n "checking for _fmodl declaration... " >&6; }
26527 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26528 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26529 $as_echo_n "(cached) " >&6
26530 else
26531
26532
26533 ac_ext=cpp
26534 ac_cpp='$CXXCPP $CPPFLAGS'
26535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26538
26539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26540 /* end confdefs.h. */
26541 #include <math.h>
26542 int
26543 main ()
26544 {
26545 _fmodl(0, 0);
26546 ;
26547 return 0;
26548 }
26549 _ACEOF
26550 if ac_fn_cxx_try_compile "$LINENO"; then :
26551 glibcxx_cv_func__fmodl_use=yes
26552 else
26553 glibcxx_cv_func__fmodl_use=no
26554 fi
26555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26556 ac_ext=c
26557 ac_cpp='$CPP $CPPFLAGS'
26558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26561
26562
26563 fi
26564
26565 fi
26566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26567 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26568
26569 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26570 for ac_func in _fmodl
26571 do :
26572 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26573 if test "x$ac_cv_func__fmodl" = xyes; then :
26574 cat >>confdefs.h <<_ACEOF
26575 #define HAVE__FMODL 1
26576 _ACEOF
26577
26578 fi
26579 done
26580
26581 fi
26582 fi
26583
26584
26585
26586
26587
26588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26589 $as_echo_n "checking for frexpl declaration... " >&6; }
26590 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26591 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26592 $as_echo_n "(cached) " >&6
26593 else
26594
26595
26596 ac_ext=cpp
26597 ac_cpp='$CXXCPP $CPPFLAGS'
26598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26601
26602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26603 /* end confdefs.h. */
26604 #include <math.h>
26605 int
26606 main ()
26607 {
26608 frexpl(0, 0);
26609 ;
26610 return 0;
26611 }
26612 _ACEOF
26613 if ac_fn_cxx_try_compile "$LINENO"; then :
26614 glibcxx_cv_func_frexpl_use=yes
26615 else
26616 glibcxx_cv_func_frexpl_use=no
26617 fi
26618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26619 ac_ext=c
26620 ac_cpp='$CPP $CPPFLAGS'
26621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26624
26625
26626 fi
26627
26628 fi
26629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26630 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26631
26632 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26633 for ac_func in frexpl
26634 do :
26635 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26636 if test "x$ac_cv_func_frexpl" = xyes; then :
26637 cat >>confdefs.h <<_ACEOF
26638 #define HAVE_FREXPL 1
26639 _ACEOF
26640
26641 fi
26642 done
26643
26644 else
26645
26646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26647 $as_echo_n "checking for _frexpl declaration... " >&6; }
26648 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26649 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26650 $as_echo_n "(cached) " >&6
26651 else
26652
26653
26654 ac_ext=cpp
26655 ac_cpp='$CXXCPP $CPPFLAGS'
26656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26659
26660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26661 /* end confdefs.h. */
26662 #include <math.h>
26663 int
26664 main ()
26665 {
26666 _frexpl(0, 0);
26667 ;
26668 return 0;
26669 }
26670 _ACEOF
26671 if ac_fn_cxx_try_compile "$LINENO"; then :
26672 glibcxx_cv_func__frexpl_use=yes
26673 else
26674 glibcxx_cv_func__frexpl_use=no
26675 fi
26676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26677 ac_ext=c
26678 ac_cpp='$CPP $CPPFLAGS'
26679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26682
26683
26684 fi
26685
26686 fi
26687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26688 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26689
26690 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26691 for ac_func in _frexpl
26692 do :
26693 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26694 if test "x$ac_cv_func__frexpl" = xyes; then :
26695 cat >>confdefs.h <<_ACEOF
26696 #define HAVE__FREXPL 1
26697 _ACEOF
26698
26699 fi
26700 done
26701
26702 fi
26703 fi
26704
26705
26706
26707
26708
26709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26710 $as_echo_n "checking for hypotl declaration... " >&6; }
26711 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26712 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26713 $as_echo_n "(cached) " >&6
26714 else
26715
26716
26717 ac_ext=cpp
26718 ac_cpp='$CXXCPP $CPPFLAGS'
26719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26722
26723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26724 /* end confdefs.h. */
26725 #include <math.h>
26726 int
26727 main ()
26728 {
26729 hypotl(0, 0);
26730 ;
26731 return 0;
26732 }
26733 _ACEOF
26734 if ac_fn_cxx_try_compile "$LINENO"; then :
26735 glibcxx_cv_func_hypotl_use=yes
26736 else
26737 glibcxx_cv_func_hypotl_use=no
26738 fi
26739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26740 ac_ext=c
26741 ac_cpp='$CPP $CPPFLAGS'
26742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26745
26746
26747 fi
26748
26749 fi
26750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26751 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26752
26753 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26754 for ac_func in hypotl
26755 do :
26756 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26757 if test "x$ac_cv_func_hypotl" = xyes; then :
26758 cat >>confdefs.h <<_ACEOF
26759 #define HAVE_HYPOTL 1
26760 _ACEOF
26761
26762 fi
26763 done
26764
26765 else
26766
26767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26768 $as_echo_n "checking for _hypotl declaration... " >&6; }
26769 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26770 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26771 $as_echo_n "(cached) " >&6
26772 else
26773
26774
26775 ac_ext=cpp
26776 ac_cpp='$CXXCPP $CPPFLAGS'
26777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26780
26781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26782 /* end confdefs.h. */
26783 #include <math.h>
26784 int
26785 main ()
26786 {
26787 _hypotl(0, 0);
26788 ;
26789 return 0;
26790 }
26791 _ACEOF
26792 if ac_fn_cxx_try_compile "$LINENO"; then :
26793 glibcxx_cv_func__hypotl_use=yes
26794 else
26795 glibcxx_cv_func__hypotl_use=no
26796 fi
26797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26798 ac_ext=c
26799 ac_cpp='$CPP $CPPFLAGS'
26800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26803
26804
26805 fi
26806
26807 fi
26808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26809 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26810
26811 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26812 for ac_func in _hypotl
26813 do :
26814 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26815 if test "x$ac_cv_func__hypotl" = xyes; then :
26816 cat >>confdefs.h <<_ACEOF
26817 #define HAVE__HYPOTL 1
26818 _ACEOF
26819
26820 fi
26821 done
26822
26823 fi
26824 fi
26825
26826
26827
26828
26829
26830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26831 $as_echo_n "checking for ldexpl declaration... " >&6; }
26832 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26833 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26834 $as_echo_n "(cached) " >&6
26835 else
26836
26837
26838 ac_ext=cpp
26839 ac_cpp='$CXXCPP $CPPFLAGS'
26840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26843
26844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26845 /* end confdefs.h. */
26846 #include <math.h>
26847 int
26848 main ()
26849 {
26850 ldexpl(0, 0);
26851 ;
26852 return 0;
26853 }
26854 _ACEOF
26855 if ac_fn_cxx_try_compile "$LINENO"; then :
26856 glibcxx_cv_func_ldexpl_use=yes
26857 else
26858 glibcxx_cv_func_ldexpl_use=no
26859 fi
26860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26861 ac_ext=c
26862 ac_cpp='$CPP $CPPFLAGS'
26863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26866
26867
26868 fi
26869
26870 fi
26871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26872 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26873
26874 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26875 for ac_func in ldexpl
26876 do :
26877 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26878 if test "x$ac_cv_func_ldexpl" = xyes; then :
26879 cat >>confdefs.h <<_ACEOF
26880 #define HAVE_LDEXPL 1
26881 _ACEOF
26882
26883 fi
26884 done
26885
26886 else
26887
26888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26889 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26890 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26891 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26892 $as_echo_n "(cached) " >&6
26893 else
26894
26895
26896 ac_ext=cpp
26897 ac_cpp='$CXXCPP $CPPFLAGS'
26898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26901
26902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26903 /* end confdefs.h. */
26904 #include <math.h>
26905 int
26906 main ()
26907 {
26908 _ldexpl(0, 0);
26909 ;
26910 return 0;
26911 }
26912 _ACEOF
26913 if ac_fn_cxx_try_compile "$LINENO"; then :
26914 glibcxx_cv_func__ldexpl_use=yes
26915 else
26916 glibcxx_cv_func__ldexpl_use=no
26917 fi
26918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26919 ac_ext=c
26920 ac_cpp='$CPP $CPPFLAGS'
26921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26924
26925
26926 fi
26927
26928 fi
26929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26930 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26931
26932 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26933 for ac_func in _ldexpl
26934 do :
26935 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26936 if test "x$ac_cv_func__ldexpl" = xyes; then :
26937 cat >>confdefs.h <<_ACEOF
26938 #define HAVE__LDEXPL 1
26939 _ACEOF
26940
26941 fi
26942 done
26943
26944 fi
26945 fi
26946
26947
26948
26949
26950
26951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26952 $as_echo_n "checking for logl declaration... " >&6; }
26953 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26954 if ${glibcxx_cv_func_logl_use+:} false; then :
26955 $as_echo_n "(cached) " >&6
26956 else
26957
26958
26959 ac_ext=cpp
26960 ac_cpp='$CXXCPP $CPPFLAGS'
26961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26964
26965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26966 /* end confdefs.h. */
26967 #include <math.h>
26968 #ifdef HAVE_IEEEFP_H
26969 #include <ieeefp.h>
26970 #endif
26971
26972 int
26973 main ()
26974 {
26975 logl(0);
26976 ;
26977 return 0;
26978 }
26979 _ACEOF
26980 if ac_fn_cxx_try_compile "$LINENO"; then :
26981 glibcxx_cv_func_logl_use=yes
26982 else
26983 glibcxx_cv_func_logl_use=no
26984 fi
26985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26986 ac_ext=c
26987 ac_cpp='$CPP $CPPFLAGS'
26988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26991
26992
26993 fi
26994
26995 fi
26996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26997 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26998
26999 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27000 for ac_func in logl
27001 do :
27002 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27003 if test "x$ac_cv_func_logl" = xyes; then :
27004 cat >>confdefs.h <<_ACEOF
27005 #define HAVE_LOGL 1
27006 _ACEOF
27007
27008 fi
27009 done
27010
27011 else
27012
27013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27014 $as_echo_n "checking for _logl declaration... " >&6; }
27015 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27016 if ${glibcxx_cv_func__logl_use+:} false; then :
27017 $as_echo_n "(cached) " >&6
27018 else
27019
27020
27021 ac_ext=cpp
27022 ac_cpp='$CXXCPP $CPPFLAGS'
27023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27026
27027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27028 /* end confdefs.h. */
27029 #include <math.h>
27030 #ifdef HAVE_IEEEFP_H
27031 #include <ieeefp.h>
27032 #endif
27033
27034 int
27035 main ()
27036 {
27037 _logl(0);
27038 ;
27039 return 0;
27040 }
27041 _ACEOF
27042 if ac_fn_cxx_try_compile "$LINENO"; then :
27043 glibcxx_cv_func__logl_use=yes
27044 else
27045 glibcxx_cv_func__logl_use=no
27046 fi
27047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27048 ac_ext=c
27049 ac_cpp='$CPP $CPPFLAGS'
27050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27053
27054
27055 fi
27056
27057 fi
27058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27059 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27060
27061 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27062 for ac_func in _logl
27063 do :
27064 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27065 if test "x$ac_cv_func__logl" = xyes; then :
27066 cat >>confdefs.h <<_ACEOF
27067 #define HAVE__LOGL 1
27068 _ACEOF
27069
27070 fi
27071 done
27072
27073 fi
27074 fi
27075
27076
27077
27078
27079
27080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27081 $as_echo_n "checking for log10l declaration... " >&6; }
27082 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27083 if ${glibcxx_cv_func_log10l_use+:} false; then :
27084 $as_echo_n "(cached) " >&6
27085 else
27086
27087
27088 ac_ext=cpp
27089 ac_cpp='$CXXCPP $CPPFLAGS'
27090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27093
27094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27095 /* end confdefs.h. */
27096 #include <math.h>
27097 #ifdef HAVE_IEEEFP_H
27098 #include <ieeefp.h>
27099 #endif
27100
27101 int
27102 main ()
27103 {
27104 log10l(0);
27105 ;
27106 return 0;
27107 }
27108 _ACEOF
27109 if ac_fn_cxx_try_compile "$LINENO"; then :
27110 glibcxx_cv_func_log10l_use=yes
27111 else
27112 glibcxx_cv_func_log10l_use=no
27113 fi
27114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27115 ac_ext=c
27116 ac_cpp='$CPP $CPPFLAGS'
27117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27120
27121
27122 fi
27123
27124 fi
27125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27126 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27127
27128 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27129 for ac_func in log10l
27130 do :
27131 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27132 if test "x$ac_cv_func_log10l" = xyes; then :
27133 cat >>confdefs.h <<_ACEOF
27134 #define HAVE_LOG10L 1
27135 _ACEOF
27136
27137 fi
27138 done
27139
27140 else
27141
27142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27143 $as_echo_n "checking for _log10l declaration... " >&6; }
27144 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27145 if ${glibcxx_cv_func__log10l_use+:} false; then :
27146 $as_echo_n "(cached) " >&6
27147 else
27148
27149
27150 ac_ext=cpp
27151 ac_cpp='$CXXCPP $CPPFLAGS'
27152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27155
27156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27157 /* end confdefs.h. */
27158 #include <math.h>
27159 #ifdef HAVE_IEEEFP_H
27160 #include <ieeefp.h>
27161 #endif
27162
27163 int
27164 main ()
27165 {
27166 _log10l(0);
27167 ;
27168 return 0;
27169 }
27170 _ACEOF
27171 if ac_fn_cxx_try_compile "$LINENO"; then :
27172 glibcxx_cv_func__log10l_use=yes
27173 else
27174 glibcxx_cv_func__log10l_use=no
27175 fi
27176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27177 ac_ext=c
27178 ac_cpp='$CPP $CPPFLAGS'
27179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27182
27183
27184 fi
27185
27186 fi
27187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27188 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27189
27190 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27191 for ac_func in _log10l
27192 do :
27193 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27194 if test "x$ac_cv_func__log10l" = xyes; then :
27195 cat >>confdefs.h <<_ACEOF
27196 #define HAVE__LOG10L 1
27197 _ACEOF
27198
27199 fi
27200 done
27201
27202 fi
27203 fi
27204
27205
27206
27207
27208
27209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27210 $as_echo_n "checking for modfl declaration... " >&6; }
27211 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27212 if ${glibcxx_cv_func_modfl_use+:} false; then :
27213 $as_echo_n "(cached) " >&6
27214 else
27215
27216
27217 ac_ext=cpp
27218 ac_cpp='$CXXCPP $CPPFLAGS'
27219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27222
27223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27224 /* end confdefs.h. */
27225 #include <math.h>
27226 int
27227 main ()
27228 {
27229 modfl(0, 0);
27230 ;
27231 return 0;
27232 }
27233 _ACEOF
27234 if ac_fn_cxx_try_compile "$LINENO"; then :
27235 glibcxx_cv_func_modfl_use=yes
27236 else
27237 glibcxx_cv_func_modfl_use=no
27238 fi
27239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27240 ac_ext=c
27241 ac_cpp='$CPP $CPPFLAGS'
27242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27245
27246
27247 fi
27248
27249 fi
27250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27251 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27252
27253 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27254 for ac_func in modfl
27255 do :
27256 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27257 if test "x$ac_cv_func_modfl" = xyes; then :
27258 cat >>confdefs.h <<_ACEOF
27259 #define HAVE_MODFL 1
27260 _ACEOF
27261
27262 fi
27263 done
27264
27265 else
27266
27267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27268 $as_echo_n "checking for _modfl declaration... " >&6; }
27269 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27270 if ${glibcxx_cv_func__modfl_use+:} false; then :
27271 $as_echo_n "(cached) " >&6
27272 else
27273
27274
27275 ac_ext=cpp
27276 ac_cpp='$CXXCPP $CPPFLAGS'
27277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27280
27281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27282 /* end confdefs.h. */
27283 #include <math.h>
27284 int
27285 main ()
27286 {
27287 _modfl(0, 0);
27288 ;
27289 return 0;
27290 }
27291 _ACEOF
27292 if ac_fn_cxx_try_compile "$LINENO"; then :
27293 glibcxx_cv_func__modfl_use=yes
27294 else
27295 glibcxx_cv_func__modfl_use=no
27296 fi
27297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27298 ac_ext=c
27299 ac_cpp='$CPP $CPPFLAGS'
27300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27303
27304
27305 fi
27306
27307 fi
27308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27309 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27310
27311 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27312 for ac_func in _modfl
27313 do :
27314 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27315 if test "x$ac_cv_func__modfl" = xyes; then :
27316 cat >>confdefs.h <<_ACEOF
27317 #define HAVE__MODFL 1
27318 _ACEOF
27319
27320 fi
27321 done
27322
27323 fi
27324 fi
27325
27326
27327
27328
27329
27330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27331 $as_echo_n "checking for powl declaration... " >&6; }
27332 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27333 if ${glibcxx_cv_func_powl_use+:} false; then :
27334 $as_echo_n "(cached) " >&6
27335 else
27336
27337
27338 ac_ext=cpp
27339 ac_cpp='$CXXCPP $CPPFLAGS'
27340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27343
27344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27345 /* end confdefs.h. */
27346 #include <math.h>
27347 int
27348 main ()
27349 {
27350 powl(0, 0);
27351 ;
27352 return 0;
27353 }
27354 _ACEOF
27355 if ac_fn_cxx_try_compile "$LINENO"; then :
27356 glibcxx_cv_func_powl_use=yes
27357 else
27358 glibcxx_cv_func_powl_use=no
27359 fi
27360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27361 ac_ext=c
27362 ac_cpp='$CPP $CPPFLAGS'
27363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27366
27367
27368 fi
27369
27370 fi
27371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27372 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27373
27374 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27375 for ac_func in powl
27376 do :
27377 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27378 if test "x$ac_cv_func_powl" = xyes; then :
27379 cat >>confdefs.h <<_ACEOF
27380 #define HAVE_POWL 1
27381 _ACEOF
27382
27383 fi
27384 done
27385
27386 else
27387
27388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27389 $as_echo_n "checking for _powl declaration... " >&6; }
27390 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27391 if ${glibcxx_cv_func__powl_use+:} false; then :
27392 $as_echo_n "(cached) " >&6
27393 else
27394
27395
27396 ac_ext=cpp
27397 ac_cpp='$CXXCPP $CPPFLAGS'
27398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27401
27402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27403 /* end confdefs.h. */
27404 #include <math.h>
27405 int
27406 main ()
27407 {
27408 _powl(0, 0);
27409 ;
27410 return 0;
27411 }
27412 _ACEOF
27413 if ac_fn_cxx_try_compile "$LINENO"; then :
27414 glibcxx_cv_func__powl_use=yes
27415 else
27416 glibcxx_cv_func__powl_use=no
27417 fi
27418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27419 ac_ext=c
27420 ac_cpp='$CPP $CPPFLAGS'
27421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27424
27425
27426 fi
27427
27428 fi
27429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27430 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27431
27432 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27433 for ac_func in _powl
27434 do :
27435 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27436 if test "x$ac_cv_func__powl" = xyes; then :
27437 cat >>confdefs.h <<_ACEOF
27438 #define HAVE__POWL 1
27439 _ACEOF
27440
27441 fi
27442 done
27443
27444 fi
27445 fi
27446
27447
27448
27449
27450
27451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27452 $as_echo_n "checking for sqrtl declaration... " >&6; }
27453 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27454 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27455 $as_echo_n "(cached) " >&6
27456 else
27457
27458
27459 ac_ext=cpp
27460 ac_cpp='$CXXCPP $CPPFLAGS'
27461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27464
27465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27466 /* end confdefs.h. */
27467 #include <math.h>
27468 #ifdef HAVE_IEEEFP_H
27469 #include <ieeefp.h>
27470 #endif
27471
27472 int
27473 main ()
27474 {
27475 sqrtl(0);
27476 ;
27477 return 0;
27478 }
27479 _ACEOF
27480 if ac_fn_cxx_try_compile "$LINENO"; then :
27481 glibcxx_cv_func_sqrtl_use=yes
27482 else
27483 glibcxx_cv_func_sqrtl_use=no
27484 fi
27485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27486 ac_ext=c
27487 ac_cpp='$CPP $CPPFLAGS'
27488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27491
27492
27493 fi
27494
27495 fi
27496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27497 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27498
27499 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27500 for ac_func in sqrtl
27501 do :
27502 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27503 if test "x$ac_cv_func_sqrtl" = xyes; then :
27504 cat >>confdefs.h <<_ACEOF
27505 #define HAVE_SQRTL 1
27506 _ACEOF
27507
27508 fi
27509 done
27510
27511 else
27512
27513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27514 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27515 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27516 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27517 $as_echo_n "(cached) " >&6
27518 else
27519
27520
27521 ac_ext=cpp
27522 ac_cpp='$CXXCPP $CPPFLAGS'
27523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27526
27527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27528 /* end confdefs.h. */
27529 #include <math.h>
27530 #ifdef HAVE_IEEEFP_H
27531 #include <ieeefp.h>
27532 #endif
27533
27534 int
27535 main ()
27536 {
27537 _sqrtl(0);
27538 ;
27539 return 0;
27540 }
27541 _ACEOF
27542 if ac_fn_cxx_try_compile "$LINENO"; then :
27543 glibcxx_cv_func__sqrtl_use=yes
27544 else
27545 glibcxx_cv_func__sqrtl_use=no
27546 fi
27547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27548 ac_ext=c
27549 ac_cpp='$CPP $CPPFLAGS'
27550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27553
27554
27555 fi
27556
27557 fi
27558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27559 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27560
27561 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27562 for ac_func in _sqrtl
27563 do :
27564 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27565 if test "x$ac_cv_func__sqrtl" = xyes; then :
27566 cat >>confdefs.h <<_ACEOF
27567 #define HAVE__SQRTL 1
27568 _ACEOF
27569
27570 fi
27571 done
27572
27573 fi
27574 fi
27575
27576
27577
27578
27579
27580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27581 $as_echo_n "checking for sincosl declaration... " >&6; }
27582 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27583 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27584 $as_echo_n "(cached) " >&6
27585 else
27586
27587
27588 ac_ext=cpp
27589 ac_cpp='$CXXCPP $CPPFLAGS'
27590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27593
27594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27595 /* end confdefs.h. */
27596 #include <math.h>
27597 int
27598 main ()
27599 {
27600 sincosl(0, 0, 0);
27601 ;
27602 return 0;
27603 }
27604 _ACEOF
27605 if ac_fn_cxx_try_compile "$LINENO"; then :
27606 glibcxx_cv_func_sincosl_use=yes
27607 else
27608 glibcxx_cv_func_sincosl_use=no
27609 fi
27610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27611 ac_ext=c
27612 ac_cpp='$CPP $CPPFLAGS'
27613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27616
27617
27618 fi
27619
27620 fi
27621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27622 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27623
27624 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27625 for ac_func in sincosl
27626 do :
27627 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27628 if test "x$ac_cv_func_sincosl" = xyes; then :
27629 cat >>confdefs.h <<_ACEOF
27630 #define HAVE_SINCOSL 1
27631 _ACEOF
27632
27633 fi
27634 done
27635
27636 else
27637
27638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27639 $as_echo_n "checking for _sincosl declaration... " >&6; }
27640 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27641 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27642 $as_echo_n "(cached) " >&6
27643 else
27644
27645
27646 ac_ext=cpp
27647 ac_cpp='$CXXCPP $CPPFLAGS'
27648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27651
27652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27653 /* end confdefs.h. */
27654 #include <math.h>
27655 int
27656 main ()
27657 {
27658 _sincosl(0, 0, 0);
27659 ;
27660 return 0;
27661 }
27662 _ACEOF
27663 if ac_fn_cxx_try_compile "$LINENO"; then :
27664 glibcxx_cv_func__sincosl_use=yes
27665 else
27666 glibcxx_cv_func__sincosl_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__sincosl_use" >&5
27680 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27681
27682 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27683 for ac_func in _sincosl
27684 do :
27685 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27686 if test "x$ac_cv_func__sincosl" = xyes; then :
27687 cat >>confdefs.h <<_ACEOF
27688 #define HAVE__SINCOSL 1
27689 _ACEOF
27690
27691 fi
27692 done
27693
27694 fi
27695 fi
27696
27697
27698
27699
27700
27701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27702 $as_echo_n "checking for finitel declaration... " >&6; }
27703 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27704 if ${glibcxx_cv_func_finitel_use+:} false; then :
27705 $as_echo_n "(cached) " >&6
27706 else
27707
27708
27709 ac_ext=cpp
27710 ac_cpp='$CXXCPP $CPPFLAGS'
27711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27714
27715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27716 /* end confdefs.h. */
27717 #include <math.h>
27718 #ifdef HAVE_IEEEFP_H
27719 #include <ieeefp.h>
27720 #endif
27721
27722 int
27723 main ()
27724 {
27725 finitel(0);
27726 ;
27727 return 0;
27728 }
27729 _ACEOF
27730 if ac_fn_cxx_try_compile "$LINENO"; then :
27731 glibcxx_cv_func_finitel_use=yes
27732 else
27733 glibcxx_cv_func_finitel_use=no
27734 fi
27735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27736 ac_ext=c
27737 ac_cpp='$CPP $CPPFLAGS'
27738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27741
27742
27743 fi
27744
27745 fi
27746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27747 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27748
27749 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27750 for ac_func in finitel
27751 do :
27752 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27753 if test "x$ac_cv_func_finitel" = xyes; then :
27754 cat >>confdefs.h <<_ACEOF
27755 #define HAVE_FINITEL 1
27756 _ACEOF
27757
27758 fi
27759 done
27760
27761 else
27762
27763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27764 $as_echo_n "checking for _finitel declaration... " >&6; }
27765 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27766 if ${glibcxx_cv_func__finitel_use+:} false; 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 #ifdef HAVE_IEEEFP_H
27781 #include <ieeefp.h>
27782 #endif
27783
27784 int
27785 main ()
27786 {
27787 _finitel(0);
27788 ;
27789 return 0;
27790 }
27791 _ACEOF
27792 if ac_fn_cxx_try_compile "$LINENO"; then :
27793 glibcxx_cv_func__finitel_use=yes
27794 else
27795 glibcxx_cv_func__finitel_use=no
27796 fi
27797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27798 ac_ext=c
27799 ac_cpp='$CPP $CPPFLAGS'
27800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27803
27804
27805 fi
27806
27807 fi
27808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27809 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27810
27811 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27812 for ac_func in _finitel
27813 do :
27814 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27815 if test "x$ac_cv_func__finitel" = xyes; then :
27816 cat >>confdefs.h <<_ACEOF
27817 #define HAVE__FINITEL 1
27818 _ACEOF
27819
27820 fi
27821 done
27822
27823 fi
27824 fi
27825
27826
27827
27828
27829 LIBS="$ac_save_LIBS"
27830 CXXFLAGS="$ac_save_CXXFLAGS"
27831
27832
27833 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27834 ac_save_CXXFLAGS="$CXXFLAGS"
27835 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27836
27837
27838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27839 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27840 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27841 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27842 $as_echo_n "(cached) " >&6
27843 else
27844
27845
27846 ac_ext=cpp
27847 ac_cpp='$CXXCPP $CPPFLAGS'
27848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27851
27852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27853 /* end confdefs.h. */
27854 #include <stdlib.h>
27855 int
27856 main ()
27857 {
27858 at_quick_exit(0);
27859 ;
27860 return 0;
27861 }
27862 _ACEOF
27863 if ac_fn_cxx_try_compile "$LINENO"; then :
27864 glibcxx_cv_func_at_quick_exit_use=yes
27865 else
27866 glibcxx_cv_func_at_quick_exit_use=no
27867 fi
27868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27869 ac_ext=c
27870 ac_cpp='$CPP $CPPFLAGS'
27871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27874
27875
27876 fi
27877
27878 fi
27879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27880 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27881 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27882 for ac_func in at_quick_exit
27883 do :
27884 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27885 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27886 cat >>confdefs.h <<_ACEOF
27887 #define HAVE_AT_QUICK_EXIT 1
27888 _ACEOF
27889
27890 fi
27891 done
27892
27893 fi
27894
27895
27896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27897 $as_echo_n "checking for quick_exit declaration... " >&6; }
27898 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27899 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27900 $as_echo_n "(cached) " >&6
27901 else
27902
27903
27904 ac_ext=cpp
27905 ac_cpp='$CXXCPP $CPPFLAGS'
27906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27909
27910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27911 /* end confdefs.h. */
27912 #include <stdlib.h>
27913 int
27914 main ()
27915 {
27916 quick_exit(0);
27917 ;
27918 return 0;
27919 }
27920 _ACEOF
27921 if ac_fn_cxx_try_compile "$LINENO"; then :
27922 glibcxx_cv_func_quick_exit_use=yes
27923 else
27924 glibcxx_cv_func_quick_exit_use=no
27925 fi
27926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27927 ac_ext=c
27928 ac_cpp='$CPP $CPPFLAGS'
27929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27932
27933
27934 fi
27935
27936 fi
27937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27938 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27939 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27940 for ac_func in quick_exit
27941 do :
27942 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27943 if test "x$ac_cv_func_quick_exit" = xyes; then :
27944 cat >>confdefs.h <<_ACEOF
27945 #define HAVE_QUICK_EXIT 1
27946 _ACEOF
27947
27948 fi
27949 done
27950
27951 fi
27952
27953
27954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27955 $as_echo_n "checking for strtold declaration... " >&6; }
27956 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27957 if ${glibcxx_cv_func_strtold_use+:} false; then :
27958 $as_echo_n "(cached) " >&6
27959 else
27960
27961
27962 ac_ext=cpp
27963 ac_cpp='$CXXCPP $CPPFLAGS'
27964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27967
27968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27969 /* end confdefs.h. */
27970 #include <stdlib.h>
27971 int
27972 main ()
27973 {
27974 strtold(0, 0);
27975 ;
27976 return 0;
27977 }
27978 _ACEOF
27979 if ac_fn_cxx_try_compile "$LINENO"; then :
27980 glibcxx_cv_func_strtold_use=yes
27981 else
27982 glibcxx_cv_func_strtold_use=no
27983 fi
27984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27985 ac_ext=c
27986 ac_cpp='$CPP $CPPFLAGS'
27987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27990
27991
27992 fi
27993
27994 fi
27995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27996 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27997 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27998 for ac_func in strtold
27999 do :
28000 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28001 if test "x$ac_cv_func_strtold" = xyes; then :
28002 cat >>confdefs.h <<_ACEOF
28003 #define HAVE_STRTOLD 1
28004 _ACEOF
28005
28006 fi
28007 done
28008
28009 fi
28010
28011
28012
28013
28014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28015 $as_echo_n "checking for strtof declaration... " >&6; }
28016 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28017 if ${glibcxx_cv_func_strtof_use+:} false; then :
28018 $as_echo_n "(cached) " >&6
28019 else
28020
28021
28022 ac_ext=cpp
28023 ac_cpp='$CXXCPP $CPPFLAGS'
28024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28027
28028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28029 /* end confdefs.h. */
28030 #include <stdlib.h>
28031 int
28032 main ()
28033 {
28034 strtof(0, 0);
28035 ;
28036 return 0;
28037 }
28038 _ACEOF
28039 if ac_fn_cxx_try_compile "$LINENO"; then :
28040 glibcxx_cv_func_strtof_use=yes
28041 else
28042 glibcxx_cv_func_strtof_use=no
28043 fi
28044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28045 ac_ext=c
28046 ac_cpp='$CPP $CPPFLAGS'
28047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28050
28051
28052 fi
28053
28054 fi
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28056 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28057 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28058 for ac_func in strtof
28059 do :
28060 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28061 if test "x$ac_cv_func_strtof" = xyes; then :
28062 cat >>confdefs.h <<_ACEOF
28063 #define HAVE_STRTOF 1
28064 _ACEOF
28065
28066 fi
28067 done
28068
28069 fi
28070
28071
28072
28073
28074 CXXFLAGS="$ac_save_CXXFLAGS"
28075
28076
28077 # For /dev/random and /dev/urandom for std::random_device.
28078
28079
28080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28081 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28082 if ${glibcxx_cv_dev_random+:} false; then :
28083 $as_echo_n "(cached) " >&6
28084 else
28085
28086 if test -r /dev/random && test -r /dev/urandom; then
28087 ## For MSys environment the test above is detected as false-positive
28088 ## on mingw-targets. So disable it explicitly for them.
28089 case ${target_os} in
28090 *mingw*) glibcxx_cv_dev_random=no ;;
28091 *) glibcxx_cv_dev_random=yes ;;
28092 esac
28093 else
28094 glibcxx_cv_dev_random=no;
28095 fi
28096
28097 fi
28098
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28100 $as_echo "$glibcxx_cv_dev_random" >&6; }
28101
28102 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28103
28104 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28105
28106
28107 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28108
28109 fi
28110
28111
28112
28113 # For TLS support.
28114
28115
28116 # Check whether --enable-tls was given.
28117 if test "${enable_tls+set}" = set; then :
28118 enableval=$enable_tls;
28119 case "$enableval" in
28120 yes|no) ;;
28121 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28122 esac
28123
28124 else
28125 enable_tls=yes
28126 fi
28127
28128
28129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28130 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28131 if ${gcc_cv_have_tls+:} false; then :
28132 $as_echo_n "(cached) " >&6
28133 else
28134
28135 if test "$cross_compiling" = yes; then :
28136 if test x$gcc_no_link = xyes; then
28137 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28138 fi
28139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28140 /* end confdefs.h. */
28141 __thread int a; int b; int main() { return a = b; }
28142 _ACEOF
28143 if ac_fn_c_try_link "$LINENO"; then :
28144 chktls_save_LDFLAGS="$LDFLAGS"
28145 case $host in
28146 *-*-linux*)
28147 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28148 ;;
28149 esac
28150 chktls_save_CFLAGS="$CFLAGS"
28151 CFLAGS="-fPIC $CFLAGS"
28152 if test x$gcc_no_link = xyes; then
28153 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28154 fi
28155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28156 /* end confdefs.h. */
28157 int f() { return 0; }
28158 _ACEOF
28159 if ac_fn_c_try_link "$LINENO"; then :
28160 if test x$gcc_no_link = xyes; then
28161 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28162 fi
28163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28164 /* end confdefs.h. */
28165 __thread int a; int b; int f() { return a = b; }
28166 _ACEOF
28167 if ac_fn_c_try_link "$LINENO"; then :
28168 gcc_cv_have_tls=yes
28169 else
28170 gcc_cv_have_tls=no
28171 fi
28172 rm -f core conftest.err conftest.$ac_objext \
28173 conftest$ac_exeext conftest.$ac_ext
28174 else
28175 gcc_cv_have_tls=yes
28176 fi
28177 rm -f core conftest.err conftest.$ac_objext \
28178 conftest$ac_exeext conftest.$ac_ext
28179 CFLAGS="$chktls_save_CFLAGS"
28180 LDFLAGS="$chktls_save_LDFLAGS"
28181 else
28182 gcc_cv_have_tls=no
28183 fi
28184 rm -f core conftest.err conftest.$ac_objext \
28185 conftest$ac_exeext conftest.$ac_ext
28186
28187
28188 else
28189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28190 /* end confdefs.h. */
28191 __thread int a; int b; int main() { return a = b; }
28192 _ACEOF
28193 if ac_fn_c_try_run "$LINENO"; then :
28194 chktls_save_LDFLAGS="$LDFLAGS"
28195 LDFLAGS="-static $LDFLAGS"
28196 if test x$gcc_no_link = xyes; then
28197 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28198 fi
28199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28200 /* end confdefs.h. */
28201 int main() { return 0; }
28202 _ACEOF
28203 if ac_fn_c_try_link "$LINENO"; then :
28204 if test "$cross_compiling" = yes; then :
28205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28207 as_fn_error $? "cannot run test program while cross compiling
28208 See \`config.log' for more details" "$LINENO" 5; }
28209 else
28210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28211 /* end confdefs.h. */
28212 __thread int a; int b; int main() { return a = b; }
28213 _ACEOF
28214 if ac_fn_c_try_run "$LINENO"; then :
28215 gcc_cv_have_tls=yes
28216 else
28217 gcc_cv_have_tls=no
28218 fi
28219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28220 conftest.$ac_objext conftest.beam conftest.$ac_ext
28221 fi
28222
28223 else
28224 gcc_cv_have_tls=yes
28225 fi
28226 rm -f core conftest.err conftest.$ac_objext \
28227 conftest$ac_exeext conftest.$ac_ext
28228 LDFLAGS="$chktls_save_LDFLAGS"
28229 if test $gcc_cv_have_tls = yes; then
28230 chktls_save_CFLAGS="$CFLAGS"
28231 thread_CFLAGS=failed
28232 for flag in '' '-pthread' '-lpthread'; do
28233 CFLAGS="$flag $chktls_save_CFLAGS"
28234 if test x$gcc_no_link = xyes; then
28235 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28236 fi
28237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28238 /* end confdefs.h. */
28239 #include <pthread.h>
28240 void *g(void *d) { return NULL; }
28241 int
28242 main ()
28243 {
28244 pthread_t t; pthread_create(&t,NULL,g,NULL);
28245 ;
28246 return 0;
28247 }
28248 _ACEOF
28249 if ac_fn_c_try_link "$LINENO"; then :
28250 thread_CFLAGS="$flag"
28251 fi
28252 rm -f core conftest.err conftest.$ac_objext \
28253 conftest$ac_exeext conftest.$ac_ext
28254 if test "X$thread_CFLAGS" != Xfailed; then
28255 break
28256 fi
28257 done
28258 CFLAGS="$chktls_save_CFLAGS"
28259 if test "X$thread_CFLAGS" != Xfailed; then
28260 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28261 if test "$cross_compiling" = yes; then :
28262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28264 as_fn_error $? "cannot run test program while cross compiling
28265 See \`config.log' for more details" "$LINENO" 5; }
28266 else
28267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28268 /* end confdefs.h. */
28269 #include <pthread.h>
28270 __thread int a;
28271 static int *volatile a_in_other_thread;
28272 static void *
28273 thread_func (void *arg)
28274 {
28275 a_in_other_thread = &a;
28276 return (void *)0;
28277 }
28278 int
28279 main ()
28280 {
28281 pthread_t thread;
28282 void *thread_retval;
28283 int *volatile a_in_main_thread;
28284 a_in_main_thread = &a;
28285 if (pthread_create (&thread, (pthread_attr_t *)0,
28286 thread_func, (void *)0))
28287 return 0;
28288 if (pthread_join (thread, &thread_retval))
28289 return 0;
28290 return (a_in_other_thread == a_in_main_thread);
28291 ;
28292 return 0;
28293 }
28294 _ACEOF
28295 if ac_fn_c_try_run "$LINENO"; then :
28296 gcc_cv_have_tls=yes
28297 else
28298 gcc_cv_have_tls=no
28299 fi
28300 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28301 conftest.$ac_objext conftest.beam conftest.$ac_ext
28302 fi
28303
28304 CFLAGS="$chktls_save_CFLAGS"
28305 fi
28306 fi
28307 else
28308 gcc_cv_have_tls=no
28309 fi
28310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28311 conftest.$ac_objext conftest.beam conftest.$ac_ext
28312 fi
28313
28314 fi
28315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28316 $as_echo "$gcc_cv_have_tls" >&6; }
28317 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28318
28319 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28320
28321 fi
28322
28323 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28324 do :
28325 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28326 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28327 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28328 cat >>confdefs.h <<_ACEOF
28329 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28330 _ACEOF
28331
28332 fi
28333 done
28334
28335 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28336 do :
28337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28339 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28340 cat >>confdefs.h <<_ACEOF
28341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28342 _ACEOF
28343
28344 fi
28345 done
28346
28347 for ac_func in _wfopen
28348 do :
28349 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28350 if test "x$ac_cv_func__wfopen" = xyes; then :
28351 cat >>confdefs.h <<_ACEOF
28352 #define HAVE__WFOPEN 1
28353 _ACEOF
28354
28355 fi
28356 done
28357
28358
28359 # For iconv support.
28360
28361 if test "X$prefix" = "XNONE"; then
28362 acl_final_prefix="$ac_default_prefix"
28363 else
28364 acl_final_prefix="$prefix"
28365 fi
28366 if test "X$exec_prefix" = "XNONE"; then
28367 acl_final_exec_prefix='${prefix}'
28368 else
28369 acl_final_exec_prefix="$exec_prefix"
28370 fi
28371 acl_save_prefix="$prefix"
28372 prefix="$acl_final_prefix"
28373 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28374 prefix="$acl_save_prefix"
28375
28376
28377 # Check whether --with-gnu-ld was given.
28378 if test "${with_gnu_ld+set}" = set; then :
28379 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28380 else
28381 with_gnu_ld=no
28382 fi
28383
28384 # Prepare PATH_SEPARATOR.
28385 # The user is always right.
28386 if test "${PATH_SEPARATOR+set}" != set; then
28387 echo "#! /bin/sh" >conf$$.sh
28388 echo "exit 0" >>conf$$.sh
28389 chmod +x conf$$.sh
28390 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28391 PATH_SEPARATOR=';'
28392 else
28393 PATH_SEPARATOR=:
28394 fi
28395 rm -f conf$$.sh
28396 fi
28397 ac_prog=ld
28398 if test "$GCC" = yes; then
28399 # Check if gcc -print-prog-name=ld gives a path.
28400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28401 $as_echo_n "checking for ld used by GCC... " >&6; }
28402 case $host in
28403 *-*-mingw*)
28404 # gcc leaves a trailing carriage return which upsets mingw
28405 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28406 *)
28407 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28408 esac
28409 case $ac_prog in
28410 # Accept absolute paths.
28411 [\\/]* | [A-Za-z]:[\\/]*)
28412 re_direlt='/[^/][^/]*/\.\./'
28413 # Canonicalize the path of ld
28414 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28415 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28416 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28417 done
28418 test -z "$LD" && LD="$ac_prog"
28419 ;;
28420 "")
28421 # If it fails, then pretend we aren't using GCC.
28422 ac_prog=ld
28423 ;;
28424 *)
28425 # If it is relative, then search for the first ld in PATH.
28426 with_gnu_ld=unknown
28427 ;;
28428 esac
28429 elif test "$with_gnu_ld" = yes; then
28430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28431 $as_echo_n "checking for GNU ld... " >&6; }
28432 else
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28434 $as_echo_n "checking for non-GNU ld... " >&6; }
28435 fi
28436 if ${acl_cv_path_LD+:} false; then :
28437 $as_echo_n "(cached) " >&6
28438 else
28439 if test -z "$LD"; then
28440 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28441 for ac_dir in $PATH; do
28442 test -z "$ac_dir" && ac_dir=.
28443 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28444 acl_cv_path_LD="$ac_dir/$ac_prog"
28445 # Check to see if the program is GNU ld. I'd rather use --version,
28446 # but apparently some GNU ld's only accept -v.
28447 # Break only if it was the GNU/non-GNU ld that we prefer.
28448 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28449 test "$with_gnu_ld" != no && break
28450 else
28451 test "$with_gnu_ld" != yes && break
28452 fi
28453 fi
28454 done
28455 IFS="$ac_save_ifs"
28456 else
28457 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28458 fi
28459 fi
28460
28461 LD="$acl_cv_path_LD"
28462 if test -n "$LD"; then
28463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28464 $as_echo "$LD" >&6; }
28465 else
28466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28467 $as_echo "no" >&6; }
28468 fi
28469 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28471 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28472 if ${acl_cv_prog_gnu_ld+:} false; then :
28473 $as_echo_n "(cached) " >&6
28474 else
28475 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28476 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28477 acl_cv_prog_gnu_ld=yes
28478 else
28479 acl_cv_prog_gnu_ld=no
28480 fi
28481 fi
28482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28483 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28484 with_gnu_ld=$acl_cv_prog_gnu_ld
28485
28486
28487
28488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28489 $as_echo_n "checking for shared library run path origin... " >&6; }
28490 if ${acl_cv_rpath+:} false; then :
28491 $as_echo_n "(cached) " >&6
28492 else
28493
28494 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28495 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28496 . ./conftest.sh
28497 rm -f ./conftest.sh
28498 acl_cv_rpath=done
28499
28500 fi
28501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28502 $as_echo "$acl_cv_rpath" >&6; }
28503 wl="$acl_cv_wl"
28504 libext="$acl_cv_libext"
28505 shlibext="$acl_cv_shlibext"
28506 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28507 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28508 hardcode_direct="$acl_cv_hardcode_direct"
28509 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28510 # Check whether --enable-rpath was given.
28511 if test "${enable_rpath+set}" = set; then :
28512 enableval=$enable_rpath; :
28513 else
28514 enable_rpath=yes
28515 fi
28516
28517
28518
28519
28520
28521
28522
28523
28524 use_additional=yes
28525
28526 acl_save_prefix="$prefix"
28527 prefix="$acl_final_prefix"
28528 acl_save_exec_prefix="$exec_prefix"
28529 exec_prefix="$acl_final_exec_prefix"
28530
28531 eval additional_includedir=\"$includedir\"
28532 eval additional_libdir=\"$libdir\"
28533
28534 exec_prefix="$acl_save_exec_prefix"
28535 prefix="$acl_save_prefix"
28536
28537
28538 # Check whether --with-libiconv-prefix was given.
28539 if test "${with_libiconv_prefix+set}" = set; then :
28540 withval=$with_libiconv_prefix;
28541 if test "X$withval" = "Xno"; then
28542 use_additional=no
28543 else
28544 if test "X$withval" = "X"; then
28545
28546 acl_save_prefix="$prefix"
28547 prefix="$acl_final_prefix"
28548 acl_save_exec_prefix="$exec_prefix"
28549 exec_prefix="$acl_final_exec_prefix"
28550
28551 eval additional_includedir=\"$includedir\"
28552 eval additional_libdir=\"$libdir\"
28553
28554 exec_prefix="$acl_save_exec_prefix"
28555 prefix="$acl_save_prefix"
28556
28557 else
28558 additional_includedir="$withval/include"
28559 additional_libdir="$withval/lib"
28560 fi
28561 fi
28562
28563 fi
28564
28565 LIBICONV=
28566 LTLIBICONV=
28567 INCICONV=
28568 rpathdirs=
28569 ltrpathdirs=
28570 names_already_handled=
28571 names_next_round='iconv '
28572 while test -n "$names_next_round"; do
28573 names_this_round="$names_next_round"
28574 names_next_round=
28575 for name in $names_this_round; do
28576 already_handled=
28577 for n in $names_already_handled; do
28578 if test "$n" = "$name"; then
28579 already_handled=yes
28580 break
28581 fi
28582 done
28583 if test -z "$already_handled"; then
28584 names_already_handled="$names_already_handled $name"
28585 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28586 eval value=\"\$HAVE_LIB$uppername\"
28587 if test -n "$value"; then
28588 if test "$value" = yes; then
28589 eval value=\"\$LIB$uppername\"
28590 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28591 eval value=\"\$LTLIB$uppername\"
28592 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28593 else
28594 :
28595 fi
28596 else
28597 found_dir=
28598 found_la=
28599 found_so=
28600 found_a=
28601 if test $use_additional = yes; then
28602 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28603 found_dir="$additional_libdir"
28604 found_so="$additional_libdir/lib$name.$shlibext"
28605 if test -f "$additional_libdir/lib$name.la"; then
28606 found_la="$additional_libdir/lib$name.la"
28607 fi
28608 else
28609 if test -f "$additional_libdir/lib$name.$libext"; then
28610 found_dir="$additional_libdir"
28611 found_a="$additional_libdir/lib$name.$libext"
28612 if test -f "$additional_libdir/lib$name.la"; then
28613 found_la="$additional_libdir/lib$name.la"
28614 fi
28615 fi
28616 fi
28617 fi
28618 if test "X$found_dir" = "X"; then
28619 for x in $LDFLAGS $LTLIBICONV; do
28620
28621 acl_save_prefix="$prefix"
28622 prefix="$acl_final_prefix"
28623 acl_save_exec_prefix="$exec_prefix"
28624 exec_prefix="$acl_final_exec_prefix"
28625 eval x=\"$x\"
28626 exec_prefix="$acl_save_exec_prefix"
28627 prefix="$acl_save_prefix"
28628
28629 case "$x" in
28630 -L*)
28631 dir=`echo "X$x" | sed -e 's/^X-L//'`
28632 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28633 found_dir="$dir"
28634 found_so="$dir/lib$name.$shlibext"
28635 if test -f "$dir/lib$name.la"; then
28636 found_la="$dir/lib$name.la"
28637 fi
28638 else
28639 if test -f "$dir/lib$name.$libext"; then
28640 found_dir="$dir"
28641 found_a="$dir/lib$name.$libext"
28642 if test -f "$dir/lib$name.la"; then
28643 found_la="$dir/lib$name.la"
28644 fi
28645 fi
28646 fi
28647 ;;
28648 esac
28649 if test "X$found_dir" != "X"; then
28650 break
28651 fi
28652 done
28653 fi
28654 if test "X$found_dir" != "X"; then
28655 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28656 if test "X$found_so" != "X"; then
28657 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28658 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28659 else
28660 haveit=
28661 for x in $ltrpathdirs; do
28662 if test "X$x" = "X$found_dir"; then
28663 haveit=yes
28664 break
28665 fi
28666 done
28667 if test -z "$haveit"; then
28668 ltrpathdirs="$ltrpathdirs $found_dir"
28669 fi
28670 if test "$hardcode_direct" = yes; then
28671 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28672 else
28673 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28674 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28675 haveit=
28676 for x in $rpathdirs; do
28677 if test "X$x" = "X$found_dir"; then
28678 haveit=yes
28679 break
28680 fi
28681 done
28682 if test -z "$haveit"; then
28683 rpathdirs="$rpathdirs $found_dir"
28684 fi
28685 else
28686 haveit=
28687 for x in $LDFLAGS $LIBICONV; do
28688
28689 acl_save_prefix="$prefix"
28690 prefix="$acl_final_prefix"
28691 acl_save_exec_prefix="$exec_prefix"
28692 exec_prefix="$acl_final_exec_prefix"
28693 eval x=\"$x\"
28694 exec_prefix="$acl_save_exec_prefix"
28695 prefix="$acl_save_prefix"
28696
28697 if test "X$x" = "X-L$found_dir"; then
28698 haveit=yes
28699 break
28700 fi
28701 done
28702 if test -z "$haveit"; then
28703 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28704 fi
28705 if test "$hardcode_minus_L" != no; then
28706 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28707 else
28708 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28709 fi
28710 fi
28711 fi
28712 fi
28713 else
28714 if test "X$found_a" != "X"; then
28715 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28716 else
28717 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28718 fi
28719 fi
28720 additional_includedir=
28721 case "$found_dir" in
28722 */lib | */lib/)
28723 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28724 additional_includedir="$basedir/include"
28725 ;;
28726 esac
28727 if test "X$additional_includedir" != "X"; then
28728 if test "X$additional_includedir" != "X/usr/include"; then
28729 haveit=
28730 if test "X$additional_includedir" = "X/usr/local/include"; then
28731 if test -n "$GCC"; then
28732 case $host_os in
28733 linux*) haveit=yes;;
28734 esac
28735 fi
28736 fi
28737 if test -z "$haveit"; then
28738 for x in $CPPFLAGS $INCICONV; do
28739
28740 acl_save_prefix="$prefix"
28741 prefix="$acl_final_prefix"
28742 acl_save_exec_prefix="$exec_prefix"
28743 exec_prefix="$acl_final_exec_prefix"
28744 eval x=\"$x\"
28745 exec_prefix="$acl_save_exec_prefix"
28746 prefix="$acl_save_prefix"
28747
28748 if test "X$x" = "X-I$additional_includedir"; then
28749 haveit=yes
28750 break
28751 fi
28752 done
28753 if test -z "$haveit"; then
28754 if test -d "$additional_includedir"; then
28755 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28756 fi
28757 fi
28758 fi
28759 fi
28760 fi
28761 if test -n "$found_la"; then
28762 save_libdir="$libdir"
28763 case "$found_la" in
28764 */* | *\\*) . "$found_la" ;;
28765 *) . "./$found_la" ;;
28766 esac
28767 libdir="$save_libdir"
28768 for dep in $dependency_libs; do
28769 case "$dep" in
28770 -L*)
28771 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28772 if test "X$additional_libdir" != "X/usr/lib"; then
28773 haveit=
28774 if test "X$additional_libdir" = "X/usr/local/lib"; then
28775 if test -n "$GCC"; then
28776 case $host_os in
28777 linux*) haveit=yes;;
28778 esac
28779 fi
28780 fi
28781 if test -z "$haveit"; then
28782 haveit=
28783 for x in $LDFLAGS $LIBICONV; do
28784
28785 acl_save_prefix="$prefix"
28786 prefix="$acl_final_prefix"
28787 acl_save_exec_prefix="$exec_prefix"
28788 exec_prefix="$acl_final_exec_prefix"
28789 eval x=\"$x\"
28790 exec_prefix="$acl_save_exec_prefix"
28791 prefix="$acl_save_prefix"
28792
28793 if test "X$x" = "X-L$additional_libdir"; then
28794 haveit=yes
28795 break
28796 fi
28797 done
28798 if test -z "$haveit"; then
28799 if test -d "$additional_libdir"; then
28800 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28801 fi
28802 fi
28803 haveit=
28804 for x in $LDFLAGS $LTLIBICONV; do
28805
28806 acl_save_prefix="$prefix"
28807 prefix="$acl_final_prefix"
28808 acl_save_exec_prefix="$exec_prefix"
28809 exec_prefix="$acl_final_exec_prefix"
28810 eval x=\"$x\"
28811 exec_prefix="$acl_save_exec_prefix"
28812 prefix="$acl_save_prefix"
28813
28814 if test "X$x" = "X-L$additional_libdir"; then
28815 haveit=yes
28816 break
28817 fi
28818 done
28819 if test -z "$haveit"; then
28820 if test -d "$additional_libdir"; then
28821 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28822 fi
28823 fi
28824 fi
28825 fi
28826 ;;
28827 -R*)
28828 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28829 if test "$enable_rpath" != no; then
28830 haveit=
28831 for x in $rpathdirs; do
28832 if test "X$x" = "X$dir"; then
28833 haveit=yes
28834 break
28835 fi
28836 done
28837 if test -z "$haveit"; then
28838 rpathdirs="$rpathdirs $dir"
28839 fi
28840 haveit=
28841 for x in $ltrpathdirs; do
28842 if test "X$x" = "X$dir"; then
28843 haveit=yes
28844 break
28845 fi
28846 done
28847 if test -z "$haveit"; then
28848 ltrpathdirs="$ltrpathdirs $dir"
28849 fi
28850 fi
28851 ;;
28852 -l*)
28853 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28854 ;;
28855 *.la)
28856 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28857 ;;
28858 *)
28859 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28860 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28861 ;;
28862 esac
28863 done
28864 fi
28865 else
28866 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28867 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28868 fi
28869 fi
28870 fi
28871 done
28872 done
28873 if test "X$rpathdirs" != "X"; then
28874 if test -n "$hardcode_libdir_separator"; then
28875 alldirs=
28876 for found_dir in $rpathdirs; do
28877 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28878 done
28879 acl_save_libdir="$libdir"
28880 libdir="$alldirs"
28881 eval flag=\"$hardcode_libdir_flag_spec\"
28882 libdir="$acl_save_libdir"
28883 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28884 else
28885 for found_dir in $rpathdirs; do
28886 acl_save_libdir="$libdir"
28887 libdir="$found_dir"
28888 eval flag=\"$hardcode_libdir_flag_spec\"
28889 libdir="$acl_save_libdir"
28890 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28891 done
28892 fi
28893 fi
28894 if test "X$ltrpathdirs" != "X"; then
28895 for found_dir in $ltrpathdirs; do
28896 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28897 done
28898 fi
28899
28900
28901
28902
28903
28904
28905
28906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28907 $as_echo_n "checking for iconv... " >&6; }
28908 if ${am_cv_func_iconv+:} false; then :
28909 $as_echo_n "(cached) " >&6
28910 else
28911
28912 am_cv_func_iconv="no, consider installing GNU libiconv"
28913 am_cv_lib_iconv=no
28914 am_save_CPPFLAGS="$CPPFLAGS"
28915 CPPFLAGS="$CPPFLAGS $INCICONV"
28916 if test x$gcc_no_link = xyes; then
28917 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28918 fi
28919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28920 /* end confdefs.h. */
28921 #include <stdlib.h>
28922 #include <iconv.h>
28923 int
28924 main ()
28925 {
28926 iconv_t cd = iconv_open("","");
28927 iconv(cd,NULL,NULL,NULL,NULL);
28928 iconv_close(cd);
28929 ;
28930 return 0;
28931 }
28932 _ACEOF
28933 if ac_fn_c_try_link "$LINENO"; then :
28934 am_cv_func_iconv=yes
28935 fi
28936 rm -f core conftest.err conftest.$ac_objext \
28937 conftest$ac_exeext conftest.$ac_ext
28938 CPPFLAGS="$am_save_CPPFLAGS"
28939
28940 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28941 for _libs in .libs _libs; do
28942 am_save_CPPFLAGS="$CPPFLAGS"
28943 am_save_LIBS="$LIBS"
28944 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28945 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28946 if test x$gcc_no_link = xyes; then
28947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28948 fi
28949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28950 /* end confdefs.h. */
28951 #include <stdlib.h>
28952 #include <iconv.h>
28953 int
28954 main ()
28955 {
28956 iconv_t cd = iconv_open("","");
28957 iconv(cd,NULL,NULL,NULL,NULL);
28958 iconv_close(cd);
28959 ;
28960 return 0;
28961 }
28962 _ACEOF
28963 if ac_fn_c_try_link "$LINENO"; then :
28964 INCICONV="-I../libiconv/include"
28965 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28966 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28967 am_cv_lib_iconv=yes
28968 am_cv_func_iconv=yes
28969 fi
28970 rm -f core conftest.err conftest.$ac_objext \
28971 conftest$ac_exeext conftest.$ac_ext
28972 CPPFLAGS="$am_save_CPPFLAGS"
28973 LIBS="$am_save_LIBS"
28974 if test "$am_cv_func_iconv" = "yes"; then
28975 break
28976 fi
28977 done
28978 fi
28979
28980 if test "$am_cv_func_iconv" != yes; then
28981 am_save_CPPFLAGS="$CPPFLAGS"
28982 am_save_LIBS="$LIBS"
28983 CPPFLAGS="$LIBS $INCICONV"
28984 LIBS="$LIBS $LIBICONV"
28985 if test x$gcc_no_link = xyes; then
28986 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28987 fi
28988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28989 /* end confdefs.h. */
28990 #include <stdlib.h>
28991 #include <iconv.h>
28992 int
28993 main ()
28994 {
28995 iconv_t cd = iconv_open("","");
28996 iconv(cd,NULL,NULL,NULL,NULL);
28997 iconv_close(cd);
28998 ;
28999 return 0;
29000 }
29001 _ACEOF
29002 if ac_fn_c_try_link "$LINENO"; then :
29003 am_cv_lib_iconv=yes
29004 am_cv_func_iconv=yes
29005 fi
29006 rm -f core conftest.err conftest.$ac_objext \
29007 conftest$ac_exeext conftest.$ac_ext
29008 CPPFLAGS="$am_save_CPPFLAGS"
29009 LIBS="$am_save_LIBS"
29010 fi
29011
29012 fi
29013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29014 $as_echo "$am_cv_func_iconv" >&6; }
29015 if test "$am_cv_func_iconv" = yes; then
29016
29017 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29018
29019 fi
29020 if test "$am_cv_lib_iconv" = yes; then
29021
29022 for element in $INCICONV; do
29023 haveit=
29024 for x in $CPPFLAGS; do
29025
29026 acl_save_prefix="$prefix"
29027 prefix="$acl_final_prefix"
29028 acl_save_exec_prefix="$exec_prefix"
29029 exec_prefix="$acl_final_exec_prefix"
29030 eval x=\"$x\"
29031 exec_prefix="$acl_save_exec_prefix"
29032 prefix="$acl_save_prefix"
29033
29034 if test "X$x" = "X$element"; then
29035 haveit=yes
29036 break
29037 fi
29038 done
29039 if test -z "$haveit"; then
29040 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29041 fi
29042 done
29043
29044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29045 $as_echo_n "checking how to link with libiconv... " >&6; }
29046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29047 $as_echo "$LIBICONV" >&6; }
29048 else
29049 LIBICONV=
29050 LTLIBICONV=
29051 fi
29052
29053
29054
29055 if test "$am_cv_func_iconv" = yes; then
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29057 $as_echo_n "checking for iconv declaration... " >&6; }
29058 if ${am_cv_proto_iconv+:} false; then :
29059 $as_echo_n "(cached) " >&6
29060 else
29061
29062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29063 /* end confdefs.h. */
29064
29065 #include <stdlib.h>
29066 #include <iconv.h>
29067 extern
29068 #ifdef __cplusplus
29069 "C"
29070 #endif
29071 #if defined(__STDC__) || defined(__cplusplus)
29072 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29073 #else
29074 size_t iconv();
29075 #endif
29076
29077 int
29078 main ()
29079 {
29080
29081 ;
29082 return 0;
29083 }
29084 _ACEOF
29085 if ac_fn_c_try_compile "$LINENO"; then :
29086 am_cv_proto_iconv_arg1=""
29087 else
29088 am_cv_proto_iconv_arg1="const"
29089 fi
29090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29091 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);"
29092 fi
29093
29094 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29096 }$am_cv_proto_iconv" >&5
29097 $as_echo "${ac_t:-
29098 }$am_cv_proto_iconv" >&6; }
29099
29100 cat >>confdefs.h <<_ACEOF
29101 #define ICONV_CONST $am_cv_proto_iconv_arg1
29102 _ACEOF
29103
29104 fi
29105
29106
29107 else
29108
29109 # This lets us hard-code the functionality we know we'll have in the cross
29110 # target environment. "Let" is a sugar-coated word placed on an especially
29111 # dull and tedious hack, actually.
29112 #
29113 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29114 # that involve linking, can't be used:
29115 # "cannot open sim-crt0.o"
29116 # "cannot open crt0.o"
29117 # etc. All this is because there currently exists no unified, consistent
29118 # way for top level CC information to be passed down to target directories:
29119 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29120 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29121 # crosses can be removed.
29122
29123 # If Canadian cross, then don't pick up tools from the build directory.
29124 # Used only in GLIBCXX_EXPORT_INCLUDES.
29125 if test -n "$with_cross_host" &&
29126 test x"$build_alias" != x"$with_cross_host" &&
29127 test x"$build" != x"$target";
29128 then
29129 CANADIAN=yes
29130 else
29131 CANADIAN=no
29132 fi
29133
29134 # Construct crosses by hand, eliminating bits that need ld...
29135 # GLIBCXX_CHECK_MATH_SUPPORT
29136
29137 # First, test for "known" system libraries. We may be using newlib even
29138 # on a hosted environment.
29139 if test "x${with_newlib}" = "xyes"; then
29140 os_include_dir="os/newlib"
29141 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29142
29143
29144 # GLIBCXX_CHECK_STDLIB_SUPPORT
29145 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29146
29147
29148 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29149
29150 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29151
29152 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29153
29154 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29155
29156 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29157
29158 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29159
29160 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29161
29162 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29163
29164 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29165
29166 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29167
29168 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29169
29170 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29171
29172 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29173
29174 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29175
29176 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29177
29178 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29179
29180 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29181
29182 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29183
29184 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29185
29186 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29187
29188 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29189
29190 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29191
29192
29193 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29194
29195 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29196
29197 else
29198
29199 # Base decisions on target environment.
29200 case "${host}" in
29201 arm*-*-symbianelf*)
29202 # This is a freestanding configuration; there is nothing to do here.
29203 ;;
29204
29205 avr*-*-*)
29206 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29207
29208 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29209
29210 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29211
29212 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29213
29214 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29215
29216 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29217
29218 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29219
29220 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29221
29222 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29223
29224 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29225
29226 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29227
29228 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29229
29230 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29231
29232 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29233
29234 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29235
29236 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29237
29238 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29239
29240 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29241
29242 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29243
29244 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29245
29246 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29247
29248 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29249
29250 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29251
29252 ;;
29253
29254 mips*-sde-elf*)
29255 # These definitions are for the SDE C library rather than newlib.
29256 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29257
29258
29259 # All these tests are for C++; save the language and the compiler flags.
29260 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29261 # found in GLIBCXX_CONFIGURE.
29262
29263 ac_ext=cpp
29264 ac_cpp='$CXXCPP $CPPFLAGS'
29265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29268
29269 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29270 ac_save_CXXFLAGS="$CXXFLAGS"
29271
29272 # Check for -ffunction-sections -fdata-sections
29273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29274 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29275 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29277 /* end confdefs.h. */
29278 int foo; void bar() { };
29279 int
29280 main ()
29281 {
29282
29283 ;
29284 return 0;
29285 }
29286 _ACEOF
29287 if ac_fn_cxx_try_compile "$LINENO"; then :
29288 ac_fdsections=yes
29289 else
29290 ac_fdsections=no
29291 fi
29292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29293 if test "$ac_test_CXXFLAGS" = set; then
29294 CXXFLAGS="$ac_save_CXXFLAGS"
29295 else
29296 # this is the suspicious part
29297 CXXFLAGS=''
29298 fi
29299 if test x"$ac_fdsections" = x"yes"; then
29300 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29301 fi
29302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29303 $as_echo "$ac_fdsections" >&6; }
29304
29305 ac_ext=c
29306 ac_cpp='$CPP $CPPFLAGS'
29307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29310
29311
29312
29313
29314 # If we're not using GNU ld, then there's no point in even trying these
29315 # tests. Check for that first. We should have already tested for gld
29316 # by now (in libtool), but require it now just to be safe...
29317 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29318 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29319
29320
29321
29322 # The name set by libtool depends on the version of libtool. Shame on us
29323 # for depending on an impl detail, but c'est la vie. Older versions used
29324 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29325 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29326 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29327 # set (hence we're using an older libtool), then set it.
29328 if test x${with_gnu_ld+set} != xset; then
29329 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29330 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29331 with_gnu_ld=no
29332 else
29333 with_gnu_ld=$ac_cv_prog_gnu_ld
29334 fi
29335 fi
29336
29337 # Start by getting the version number. I think the libtool test already
29338 # does some of this, but throws away the result.
29339 glibcxx_ld_is_gold=no
29340 if test x"$with_gnu_ld" = x"yes"; then
29341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29342 $as_echo_n "checking for ld version... " >&6; }
29343
29344 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29345 glibcxx_ld_is_gold=yes
29346 fi
29347 ldver=`$LD --version 2>/dev/null |
29348 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'`
29349
29350 glibcxx_gnu_ld_version=`echo $ldver | \
29351 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29353 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29354 fi
29355
29356 # Set --gc-sections.
29357 glibcxx_have_gc_sections=no
29358 if test "$glibcxx_ld_is_gold" = "yes"; then
29359 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29360 glibcxx_have_gc_sections=yes
29361 fi
29362 else
29363 glibcxx_gcsections_min_ld=21602
29364 if test x"$with_gnu_ld" = x"yes" &&
29365 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29366 glibcxx_have_gc_sections=yes
29367 fi
29368 fi
29369 if test "$glibcxx_have_gc_sections" = "yes"; then
29370 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29371 # NB: This flag only works reliably after 2.16.1. Configure tests
29372 # for this are difficult, so hard wire a value that should work.
29373
29374 ac_test_CFLAGS="${CFLAGS+set}"
29375 ac_save_CFLAGS="$CFLAGS"
29376 CFLAGS='-Wl,--gc-sections'
29377
29378 # Check for -Wl,--gc-sections
29379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29380 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29381 if test x$gcc_no_link = xyes; then
29382 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29383 fi
29384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29385 /* end confdefs.h. */
29386 int one(void) { return 1; }
29387 int two(void) { return 2; }
29388
29389 int
29390 main ()
29391 {
29392 two();
29393 ;
29394 return 0;
29395 }
29396 _ACEOF
29397 if ac_fn_c_try_link "$LINENO"; then :
29398 ac_gcsections=yes
29399 else
29400 ac_gcsections=no
29401 fi
29402 rm -f core conftest.err conftest.$ac_objext \
29403 conftest$ac_exeext conftest.$ac_ext
29404 if test "$ac_gcsections" = "yes"; then
29405 rm -f conftest.c
29406 touch conftest.c
29407 if $CC -c conftest.c; then
29408 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29409 grep "Warning: gc-sections option ignored" > /dev/null; then
29410 ac_gcsections=no
29411 fi
29412 fi
29413 rm -f conftest.c conftest.o conftest
29414 fi
29415 if test "$ac_gcsections" = "yes"; then
29416 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29417 fi
29418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29419 $as_echo "$ac_gcsections" >&6; }
29420
29421 if test "$ac_test_CFLAGS" = set; then
29422 CFLAGS="$ac_save_CFLAGS"
29423 else
29424 # this is the suspicious part
29425 CFLAGS=''
29426 fi
29427 fi
29428
29429 # Set -z,relro.
29430 # Note this is only for shared objects.
29431 ac_ld_relro=no
29432 if test x"$with_gnu_ld" = x"yes"; then
29433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29434 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29435 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29436 if test -n "$cxx_z_relo"; then
29437 OPT_LDFLAGS="-Wl,-z,relro"
29438 ac_ld_relro=yes
29439 fi
29440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29441 $as_echo "$ac_ld_relro" >&6; }
29442 fi
29443
29444 # Set linker optimization flags.
29445 if test x"$with_gnu_ld" = x"yes"; then
29446 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29447 fi
29448
29449
29450
29451
29452
29453 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29454 ac_save_CXXFLAGS="$CXXFLAGS"
29455 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29456
29457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29458 $as_echo_n "checking for sin in -lm... " >&6; }
29459 if ${ac_cv_lib_m_sin+:} false; then :
29460 $as_echo_n "(cached) " >&6
29461 else
29462 ac_check_lib_save_LIBS=$LIBS
29463 LIBS="-lm $LIBS"
29464 if test x$gcc_no_link = xyes; then
29465 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29466 fi
29467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29468 /* end confdefs.h. */
29469
29470 /* Override any GCC internal prototype to avoid an error.
29471 Use char because int might match the return type of a GCC
29472 builtin and then its argument prototype would still apply. */
29473 #ifdef __cplusplus
29474 extern "C"
29475 #endif
29476 char sin ();
29477 int
29478 main ()
29479 {
29480 return sin ();
29481 ;
29482 return 0;
29483 }
29484 _ACEOF
29485 if ac_fn_c_try_link "$LINENO"; then :
29486 ac_cv_lib_m_sin=yes
29487 else
29488 ac_cv_lib_m_sin=no
29489 fi
29490 rm -f core conftest.err conftest.$ac_objext \
29491 conftest$ac_exeext conftest.$ac_ext
29492 LIBS=$ac_check_lib_save_LIBS
29493 fi
29494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29495 $as_echo "$ac_cv_lib_m_sin" >&6; }
29496 if test "x$ac_cv_lib_m_sin" = xyes; then :
29497 libm="-lm"
29498 fi
29499
29500 ac_save_LIBS="$LIBS"
29501 LIBS="$LIBS $libm"
29502
29503
29504
29505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29506 $as_echo_n "checking for isinf declaration... " >&6; }
29507 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29508 if ${glibcxx_cv_func_isinf_use+:} false; then :
29509 $as_echo_n "(cached) " >&6
29510 else
29511
29512
29513 ac_ext=cpp
29514 ac_cpp='$CXXCPP $CPPFLAGS'
29515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29518
29519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29520 /* end confdefs.h. */
29521 #include <math.h>
29522 #ifdef HAVE_IEEEFP_H
29523 #include <ieeefp.h>
29524 #endif
29525
29526 int
29527 main ()
29528 {
29529 isinf(0);
29530 ;
29531 return 0;
29532 }
29533 _ACEOF
29534 if ac_fn_cxx_try_compile "$LINENO"; then :
29535 glibcxx_cv_func_isinf_use=yes
29536 else
29537 glibcxx_cv_func_isinf_use=no
29538 fi
29539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29540 ac_ext=c
29541 ac_cpp='$CPP $CPPFLAGS'
29542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29545
29546
29547 fi
29548
29549 fi
29550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29551 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29552
29553 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29554 for ac_func in isinf
29555 do :
29556 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29557 if test "x$ac_cv_func_isinf" = xyes; then :
29558 cat >>confdefs.h <<_ACEOF
29559 #define HAVE_ISINF 1
29560 _ACEOF
29561
29562 fi
29563 done
29564
29565 else
29566
29567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29568 $as_echo_n "checking for _isinf declaration... " >&6; }
29569 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29570 if ${glibcxx_cv_func__isinf_use+:} false; then :
29571 $as_echo_n "(cached) " >&6
29572 else
29573
29574
29575 ac_ext=cpp
29576 ac_cpp='$CXXCPP $CPPFLAGS'
29577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29580
29581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29582 /* end confdefs.h. */
29583 #include <math.h>
29584 #ifdef HAVE_IEEEFP_H
29585 #include <ieeefp.h>
29586 #endif
29587
29588 int
29589 main ()
29590 {
29591 _isinf(0);
29592 ;
29593 return 0;
29594 }
29595 _ACEOF
29596 if ac_fn_cxx_try_compile "$LINENO"; then :
29597 glibcxx_cv_func__isinf_use=yes
29598 else
29599 glibcxx_cv_func__isinf_use=no
29600 fi
29601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29602 ac_ext=c
29603 ac_cpp='$CPP $CPPFLAGS'
29604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29607
29608
29609 fi
29610
29611 fi
29612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29613 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29614
29615 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29616 for ac_func in _isinf
29617 do :
29618 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29619 if test "x$ac_cv_func__isinf" = xyes; then :
29620 cat >>confdefs.h <<_ACEOF
29621 #define HAVE__ISINF 1
29622 _ACEOF
29623
29624 fi
29625 done
29626
29627 fi
29628 fi
29629
29630
29631
29632
29633
29634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29635 $as_echo_n "checking for isnan declaration... " >&6; }
29636 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29637 if ${glibcxx_cv_func_isnan_use+:} false; then :
29638 $as_echo_n "(cached) " >&6
29639 else
29640
29641
29642 ac_ext=cpp
29643 ac_cpp='$CXXCPP $CPPFLAGS'
29644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29647
29648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29649 /* end confdefs.h. */
29650 #include <math.h>
29651 #ifdef HAVE_IEEEFP_H
29652 #include <ieeefp.h>
29653 #endif
29654
29655 int
29656 main ()
29657 {
29658 isnan(0);
29659 ;
29660 return 0;
29661 }
29662 _ACEOF
29663 if ac_fn_cxx_try_compile "$LINENO"; then :
29664 glibcxx_cv_func_isnan_use=yes
29665 else
29666 glibcxx_cv_func_isnan_use=no
29667 fi
29668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29669 ac_ext=c
29670 ac_cpp='$CPP $CPPFLAGS'
29671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29674
29675
29676 fi
29677
29678 fi
29679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29680 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29681
29682 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29683 for ac_func in isnan
29684 do :
29685 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29686 if test "x$ac_cv_func_isnan" = xyes; then :
29687 cat >>confdefs.h <<_ACEOF
29688 #define HAVE_ISNAN 1
29689 _ACEOF
29690
29691 fi
29692 done
29693
29694 else
29695
29696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29697 $as_echo_n "checking for _isnan declaration... " >&6; }
29698 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29699 if ${glibcxx_cv_func__isnan_use+:} false; then :
29700 $as_echo_n "(cached) " >&6
29701 else
29702
29703
29704 ac_ext=cpp
29705 ac_cpp='$CXXCPP $CPPFLAGS'
29706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29709
29710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29711 /* end confdefs.h. */
29712 #include <math.h>
29713 #ifdef HAVE_IEEEFP_H
29714 #include <ieeefp.h>
29715 #endif
29716
29717 int
29718 main ()
29719 {
29720 _isnan(0);
29721 ;
29722 return 0;
29723 }
29724 _ACEOF
29725 if ac_fn_cxx_try_compile "$LINENO"; then :
29726 glibcxx_cv_func__isnan_use=yes
29727 else
29728 glibcxx_cv_func__isnan_use=no
29729 fi
29730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29731 ac_ext=c
29732 ac_cpp='$CPP $CPPFLAGS'
29733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29736
29737
29738 fi
29739
29740 fi
29741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29742 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29743
29744 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29745 for ac_func in _isnan
29746 do :
29747 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29748 if test "x$ac_cv_func__isnan" = xyes; then :
29749 cat >>confdefs.h <<_ACEOF
29750 #define HAVE__ISNAN 1
29751 _ACEOF
29752
29753 fi
29754 done
29755
29756 fi
29757 fi
29758
29759
29760
29761
29762
29763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29764 $as_echo_n "checking for finite declaration... " >&6; }
29765 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29766 if ${glibcxx_cv_func_finite_use+:} false; then :
29767 $as_echo_n "(cached) " >&6
29768 else
29769
29770
29771 ac_ext=cpp
29772 ac_cpp='$CXXCPP $CPPFLAGS'
29773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29776
29777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29778 /* end confdefs.h. */
29779 #include <math.h>
29780 #ifdef HAVE_IEEEFP_H
29781 #include <ieeefp.h>
29782 #endif
29783
29784 int
29785 main ()
29786 {
29787 finite(0);
29788 ;
29789 return 0;
29790 }
29791 _ACEOF
29792 if ac_fn_cxx_try_compile "$LINENO"; then :
29793 glibcxx_cv_func_finite_use=yes
29794 else
29795 glibcxx_cv_func_finite_use=no
29796 fi
29797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29798 ac_ext=c
29799 ac_cpp='$CPP $CPPFLAGS'
29800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29803
29804
29805 fi
29806
29807 fi
29808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29809 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29810
29811 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29812 for ac_func in finite
29813 do :
29814 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29815 if test "x$ac_cv_func_finite" = xyes; then :
29816 cat >>confdefs.h <<_ACEOF
29817 #define HAVE_FINITE 1
29818 _ACEOF
29819
29820 fi
29821 done
29822
29823 else
29824
29825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29826 $as_echo_n "checking for _finite declaration... " >&6; }
29827 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29828 if ${glibcxx_cv_func__finite_use+:} false; then :
29829 $as_echo_n "(cached) " >&6
29830 else
29831
29832
29833 ac_ext=cpp
29834 ac_cpp='$CXXCPP $CPPFLAGS'
29835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29838
29839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29840 /* end confdefs.h. */
29841 #include <math.h>
29842 #ifdef HAVE_IEEEFP_H
29843 #include <ieeefp.h>
29844 #endif
29845
29846 int
29847 main ()
29848 {
29849 _finite(0);
29850 ;
29851 return 0;
29852 }
29853 _ACEOF
29854 if ac_fn_cxx_try_compile "$LINENO"; then :
29855 glibcxx_cv_func__finite_use=yes
29856 else
29857 glibcxx_cv_func__finite_use=no
29858 fi
29859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29860 ac_ext=c
29861 ac_cpp='$CPP $CPPFLAGS'
29862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29865
29866
29867 fi
29868
29869 fi
29870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29871 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29872
29873 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29874 for ac_func in _finite
29875 do :
29876 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29877 if test "x$ac_cv_func__finite" = xyes; then :
29878 cat >>confdefs.h <<_ACEOF
29879 #define HAVE__FINITE 1
29880 _ACEOF
29881
29882 fi
29883 done
29884
29885 fi
29886 fi
29887
29888
29889
29890
29891
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29893 $as_echo_n "checking for sincos declaration... " >&6; }
29894 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29895 if ${glibcxx_cv_func_sincos_use+:} false; then :
29896 $as_echo_n "(cached) " >&6
29897 else
29898
29899
29900 ac_ext=cpp
29901 ac_cpp='$CXXCPP $CPPFLAGS'
29902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29905
29906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29907 /* end confdefs.h. */
29908 #include <math.h>
29909 int
29910 main ()
29911 {
29912 sincos(0, 0, 0);
29913 ;
29914 return 0;
29915 }
29916 _ACEOF
29917 if ac_fn_cxx_try_compile "$LINENO"; then :
29918 glibcxx_cv_func_sincos_use=yes
29919 else
29920 glibcxx_cv_func_sincos_use=no
29921 fi
29922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29923 ac_ext=c
29924 ac_cpp='$CPP $CPPFLAGS'
29925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29928
29929
29930 fi
29931
29932 fi
29933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29934 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29935
29936 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29937 for ac_func in sincos
29938 do :
29939 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29940 if test "x$ac_cv_func_sincos" = xyes; then :
29941 cat >>confdefs.h <<_ACEOF
29942 #define HAVE_SINCOS 1
29943 _ACEOF
29944
29945 fi
29946 done
29947
29948 else
29949
29950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29951 $as_echo_n "checking for _sincos declaration... " >&6; }
29952 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29953 if ${glibcxx_cv_func__sincos_use+:} false; then :
29954 $as_echo_n "(cached) " >&6
29955 else
29956
29957
29958 ac_ext=cpp
29959 ac_cpp='$CXXCPP $CPPFLAGS'
29960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29963
29964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29965 /* end confdefs.h. */
29966 #include <math.h>
29967 int
29968 main ()
29969 {
29970 _sincos(0, 0, 0);
29971 ;
29972 return 0;
29973 }
29974 _ACEOF
29975 if ac_fn_cxx_try_compile "$LINENO"; then :
29976 glibcxx_cv_func__sincos_use=yes
29977 else
29978 glibcxx_cv_func__sincos_use=no
29979 fi
29980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29981 ac_ext=c
29982 ac_cpp='$CPP $CPPFLAGS'
29983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29986
29987
29988 fi
29989
29990 fi
29991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29992 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29993
29994 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29995 for ac_func in _sincos
29996 do :
29997 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29998 if test "x$ac_cv_func__sincos" = xyes; then :
29999 cat >>confdefs.h <<_ACEOF
30000 #define HAVE__SINCOS 1
30001 _ACEOF
30002
30003 fi
30004 done
30005
30006 fi
30007 fi
30008
30009
30010
30011
30012
30013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30014 $as_echo_n "checking for fpclass declaration... " >&6; }
30015 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30016 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30017 $as_echo_n "(cached) " >&6
30018 else
30019
30020
30021 ac_ext=cpp
30022 ac_cpp='$CXXCPP $CPPFLAGS'
30023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30026
30027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30028 /* end confdefs.h. */
30029 #include <math.h>
30030 #ifdef HAVE_IEEEFP_H
30031 #include <ieeefp.h>
30032 #endif
30033
30034 int
30035 main ()
30036 {
30037 fpclass(0);
30038 ;
30039 return 0;
30040 }
30041 _ACEOF
30042 if ac_fn_cxx_try_compile "$LINENO"; then :
30043 glibcxx_cv_func_fpclass_use=yes
30044 else
30045 glibcxx_cv_func_fpclass_use=no
30046 fi
30047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30048 ac_ext=c
30049 ac_cpp='$CPP $CPPFLAGS'
30050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30053
30054
30055 fi
30056
30057 fi
30058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30059 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30060
30061 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30062 for ac_func in fpclass
30063 do :
30064 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30065 if test "x$ac_cv_func_fpclass" = xyes; then :
30066 cat >>confdefs.h <<_ACEOF
30067 #define HAVE_FPCLASS 1
30068 _ACEOF
30069
30070 fi
30071 done
30072
30073 else
30074
30075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30076 $as_echo_n "checking for _fpclass declaration... " >&6; }
30077 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30078 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30079 $as_echo_n "(cached) " >&6
30080 else
30081
30082
30083 ac_ext=cpp
30084 ac_cpp='$CXXCPP $CPPFLAGS'
30085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30088
30089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30090 /* end confdefs.h. */
30091 #include <math.h>
30092 #ifdef HAVE_IEEEFP_H
30093 #include <ieeefp.h>
30094 #endif
30095
30096 int
30097 main ()
30098 {
30099 _fpclass(0);
30100 ;
30101 return 0;
30102 }
30103 _ACEOF
30104 if ac_fn_cxx_try_compile "$LINENO"; then :
30105 glibcxx_cv_func__fpclass_use=yes
30106 else
30107 glibcxx_cv_func__fpclass_use=no
30108 fi
30109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30110 ac_ext=c
30111 ac_cpp='$CPP $CPPFLAGS'
30112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30115
30116
30117 fi
30118
30119 fi
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30121 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30122
30123 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30124 for ac_func in _fpclass
30125 do :
30126 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30127 if test "x$ac_cv_func__fpclass" = xyes; then :
30128 cat >>confdefs.h <<_ACEOF
30129 #define HAVE__FPCLASS 1
30130 _ACEOF
30131
30132 fi
30133 done
30134
30135 fi
30136 fi
30137
30138
30139
30140
30141
30142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30143 $as_echo_n "checking for qfpclass declaration... " >&6; }
30144 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30145 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30146 $as_echo_n "(cached) " >&6
30147 else
30148
30149
30150 ac_ext=cpp
30151 ac_cpp='$CXXCPP $CPPFLAGS'
30152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30155
30156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30157 /* end confdefs.h. */
30158 #include <math.h>
30159 #ifdef HAVE_IEEEFP_H
30160 #include <ieeefp.h>
30161 #endif
30162
30163 int
30164 main ()
30165 {
30166 qfpclass(0);
30167 ;
30168 return 0;
30169 }
30170 _ACEOF
30171 if ac_fn_cxx_try_compile "$LINENO"; then :
30172 glibcxx_cv_func_qfpclass_use=yes
30173 else
30174 glibcxx_cv_func_qfpclass_use=no
30175 fi
30176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30177 ac_ext=c
30178 ac_cpp='$CPP $CPPFLAGS'
30179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30182
30183
30184 fi
30185
30186 fi
30187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30188 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30189
30190 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30191 for ac_func in qfpclass
30192 do :
30193 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30194 if test "x$ac_cv_func_qfpclass" = xyes; then :
30195 cat >>confdefs.h <<_ACEOF
30196 #define HAVE_QFPCLASS 1
30197 _ACEOF
30198
30199 fi
30200 done
30201
30202 else
30203
30204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30205 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30206 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30207 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30208 $as_echo_n "(cached) " >&6
30209 else
30210
30211
30212 ac_ext=cpp
30213 ac_cpp='$CXXCPP $CPPFLAGS'
30214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30217
30218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30219 /* end confdefs.h. */
30220 #include <math.h>
30221 #ifdef HAVE_IEEEFP_H
30222 #include <ieeefp.h>
30223 #endif
30224
30225 int
30226 main ()
30227 {
30228 _qfpclass(0);
30229 ;
30230 return 0;
30231 }
30232 _ACEOF
30233 if ac_fn_cxx_try_compile "$LINENO"; then :
30234 glibcxx_cv_func__qfpclass_use=yes
30235 else
30236 glibcxx_cv_func__qfpclass_use=no
30237 fi
30238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30239 ac_ext=c
30240 ac_cpp='$CPP $CPPFLAGS'
30241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30244
30245
30246 fi
30247
30248 fi
30249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30250 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30251
30252 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30253 for ac_func in _qfpclass
30254 do :
30255 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30256 if test "x$ac_cv_func__qfpclass" = xyes; then :
30257 cat >>confdefs.h <<_ACEOF
30258 #define HAVE__QFPCLASS 1
30259 _ACEOF
30260
30261 fi
30262 done
30263
30264 fi
30265 fi
30266
30267
30268
30269
30270
30271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30272 $as_echo_n "checking for hypot declaration... " >&6; }
30273 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30274 if ${glibcxx_cv_func_hypot_use+:} false; then :
30275 $as_echo_n "(cached) " >&6
30276 else
30277
30278
30279 ac_ext=cpp
30280 ac_cpp='$CXXCPP $CPPFLAGS'
30281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30284
30285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30286 /* end confdefs.h. */
30287 #include <math.h>
30288 int
30289 main ()
30290 {
30291 hypot(0, 0);
30292 ;
30293 return 0;
30294 }
30295 _ACEOF
30296 if ac_fn_cxx_try_compile "$LINENO"; then :
30297 glibcxx_cv_func_hypot_use=yes
30298 else
30299 glibcxx_cv_func_hypot_use=no
30300 fi
30301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30302 ac_ext=c
30303 ac_cpp='$CPP $CPPFLAGS'
30304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30307
30308
30309 fi
30310
30311 fi
30312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30313 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30314
30315 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30316 for ac_func in hypot
30317 do :
30318 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30319 if test "x$ac_cv_func_hypot" = xyes; then :
30320 cat >>confdefs.h <<_ACEOF
30321 #define HAVE_HYPOT 1
30322 _ACEOF
30323
30324 fi
30325 done
30326
30327 else
30328
30329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30330 $as_echo_n "checking for _hypot declaration... " >&6; }
30331 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30332 if ${glibcxx_cv_func__hypot_use+:} false; then :
30333 $as_echo_n "(cached) " >&6
30334 else
30335
30336
30337 ac_ext=cpp
30338 ac_cpp='$CXXCPP $CPPFLAGS'
30339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30342
30343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30344 /* end confdefs.h. */
30345 #include <math.h>
30346 int
30347 main ()
30348 {
30349 _hypot(0, 0);
30350 ;
30351 return 0;
30352 }
30353 _ACEOF
30354 if ac_fn_cxx_try_compile "$LINENO"; then :
30355 glibcxx_cv_func__hypot_use=yes
30356 else
30357 glibcxx_cv_func__hypot_use=no
30358 fi
30359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30360 ac_ext=c
30361 ac_cpp='$CPP $CPPFLAGS'
30362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30365
30366
30367 fi
30368
30369 fi
30370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30371 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30372
30373 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30374 for ac_func in _hypot
30375 do :
30376 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30377 if test "x$ac_cv_func__hypot" = xyes; then :
30378 cat >>confdefs.h <<_ACEOF
30379 #define HAVE__HYPOT 1
30380 _ACEOF
30381
30382 fi
30383 done
30384
30385 fi
30386 fi
30387
30388
30389
30390
30391
30392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30393 $as_echo_n "checking for float trig functions... " >&6; }
30394 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30395 $as_echo_n "(cached) " >&6
30396 else
30397
30398
30399 ac_ext=cpp
30400 ac_cpp='$CXXCPP $CPPFLAGS'
30401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30404
30405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30406 /* end confdefs.h. */
30407 #include <math.h>
30408 int
30409 main ()
30410 {
30411 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30412 ;
30413 return 0;
30414 }
30415 _ACEOF
30416 if ac_fn_cxx_try_compile "$LINENO"; then :
30417 glibcxx_cv_func_float_trig_use=yes
30418 else
30419 glibcxx_cv_func_float_trig_use=no
30420 fi
30421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30422 ac_ext=c
30423 ac_cpp='$CPP $CPPFLAGS'
30424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30427
30428 fi
30429
30430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30431 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30432 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30433 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30434 do :
30435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30437 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30438 cat >>confdefs.h <<_ACEOF
30439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30440 _ACEOF
30441
30442 fi
30443 done
30444
30445 else
30446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30447 $as_echo_n "checking for _float trig functions... " >&6; }
30448 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30449 $as_echo_n "(cached) " >&6
30450 else
30451
30452
30453 ac_ext=cpp
30454 ac_cpp='$CXXCPP $CPPFLAGS'
30455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30458
30459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30460 /* end confdefs.h. */
30461 #include <math.h>
30462 int
30463 main ()
30464 {
30465 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30466 ;
30467 return 0;
30468 }
30469 _ACEOF
30470 if ac_fn_cxx_try_compile "$LINENO"; then :
30471 glibcxx_cv_func__float_trig_use=yes
30472 else
30473 glibcxx_cv_func__float_trig_use=no
30474 fi
30475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30476 ac_ext=c
30477 ac_cpp='$CPP $CPPFLAGS'
30478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30481
30482 fi
30483
30484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30485 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30486 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30487 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30488 do :
30489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30491 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30492 cat >>confdefs.h <<_ACEOF
30493 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30494 _ACEOF
30495
30496 fi
30497 done
30498
30499 fi
30500 fi
30501
30502
30503
30504
30505
30506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30507 $as_echo_n "checking for float round functions... " >&6; }
30508 if ${glibcxx_cv_func_float_round_use+:} false; then :
30509 $as_echo_n "(cached) " >&6
30510 else
30511
30512
30513 ac_ext=cpp
30514 ac_cpp='$CXXCPP $CPPFLAGS'
30515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30518
30519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30520 /* end confdefs.h. */
30521 #include <math.h>
30522 int
30523 main ()
30524 {
30525 ceilf (0); floorf (0);
30526 ;
30527 return 0;
30528 }
30529 _ACEOF
30530 if ac_fn_cxx_try_compile "$LINENO"; then :
30531 glibcxx_cv_func_float_round_use=yes
30532 else
30533 glibcxx_cv_func_float_round_use=no
30534 fi
30535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30536 ac_ext=c
30537 ac_cpp='$CPP $CPPFLAGS'
30538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30541
30542 fi
30543
30544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30545 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30546 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30547 for ac_func in ceilf floorf
30548 do :
30549 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30550 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30551 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30552 cat >>confdefs.h <<_ACEOF
30553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30554 _ACEOF
30555
30556 fi
30557 done
30558
30559 else
30560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30561 $as_echo_n "checking for _float round functions... " >&6; }
30562 if ${glibcxx_cv_func__float_round_use+:} false; then :
30563 $as_echo_n "(cached) " >&6
30564 else
30565
30566
30567 ac_ext=cpp
30568 ac_cpp='$CXXCPP $CPPFLAGS'
30569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30572
30573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30574 /* end confdefs.h. */
30575 #include <math.h>
30576 int
30577 main ()
30578 {
30579 _ceilf (0); _floorf (0);
30580 ;
30581 return 0;
30582 }
30583 _ACEOF
30584 if ac_fn_cxx_try_compile "$LINENO"; then :
30585 glibcxx_cv_func__float_round_use=yes
30586 else
30587 glibcxx_cv_func__float_round_use=no
30588 fi
30589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30590 ac_ext=c
30591 ac_cpp='$CPP $CPPFLAGS'
30592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30595
30596 fi
30597
30598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30599 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30600 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30601 for ac_func in _ceilf _floorf
30602 do :
30603 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30604 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30605 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30606 cat >>confdefs.h <<_ACEOF
30607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30608 _ACEOF
30609
30610 fi
30611 done
30612
30613 fi
30614 fi
30615
30616
30617
30618
30619
30620
30621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30622 $as_echo_n "checking for expf declaration... " >&6; }
30623 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30624 if ${glibcxx_cv_func_expf_use+:} false; then :
30625 $as_echo_n "(cached) " >&6
30626 else
30627
30628
30629 ac_ext=cpp
30630 ac_cpp='$CXXCPP $CPPFLAGS'
30631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30634
30635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30636 /* end confdefs.h. */
30637 #include <math.h>
30638 #ifdef HAVE_IEEEFP_H
30639 #include <ieeefp.h>
30640 #endif
30641
30642 int
30643 main ()
30644 {
30645 expf(0);
30646 ;
30647 return 0;
30648 }
30649 _ACEOF
30650 if ac_fn_cxx_try_compile "$LINENO"; then :
30651 glibcxx_cv_func_expf_use=yes
30652 else
30653 glibcxx_cv_func_expf_use=no
30654 fi
30655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30656 ac_ext=c
30657 ac_cpp='$CPP $CPPFLAGS'
30658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30661
30662
30663 fi
30664
30665 fi
30666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30667 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30668
30669 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30670 for ac_func in expf
30671 do :
30672 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30673 if test "x$ac_cv_func_expf" = xyes; then :
30674 cat >>confdefs.h <<_ACEOF
30675 #define HAVE_EXPF 1
30676 _ACEOF
30677
30678 fi
30679 done
30680
30681 else
30682
30683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30684 $as_echo_n "checking for _expf declaration... " >&6; }
30685 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30686 if ${glibcxx_cv_func__expf_use+:} false; then :
30687 $as_echo_n "(cached) " >&6
30688 else
30689
30690
30691 ac_ext=cpp
30692 ac_cpp='$CXXCPP $CPPFLAGS'
30693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30696
30697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30698 /* end confdefs.h. */
30699 #include <math.h>
30700 #ifdef HAVE_IEEEFP_H
30701 #include <ieeefp.h>
30702 #endif
30703
30704 int
30705 main ()
30706 {
30707 _expf(0);
30708 ;
30709 return 0;
30710 }
30711 _ACEOF
30712 if ac_fn_cxx_try_compile "$LINENO"; then :
30713 glibcxx_cv_func__expf_use=yes
30714 else
30715 glibcxx_cv_func__expf_use=no
30716 fi
30717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30718 ac_ext=c
30719 ac_cpp='$CPP $CPPFLAGS'
30720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30723
30724
30725 fi
30726
30727 fi
30728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30729 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30730
30731 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30732 for ac_func in _expf
30733 do :
30734 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30735 if test "x$ac_cv_func__expf" = xyes; then :
30736 cat >>confdefs.h <<_ACEOF
30737 #define HAVE__EXPF 1
30738 _ACEOF
30739
30740 fi
30741 done
30742
30743 fi
30744 fi
30745
30746
30747
30748
30749
30750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30751 $as_echo_n "checking for isnanf declaration... " >&6; }
30752 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30753 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30754 $as_echo_n "(cached) " >&6
30755 else
30756
30757
30758 ac_ext=cpp
30759 ac_cpp='$CXXCPP $CPPFLAGS'
30760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30763
30764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30765 /* end confdefs.h. */
30766 #include <math.h>
30767 #ifdef HAVE_IEEEFP_H
30768 #include <ieeefp.h>
30769 #endif
30770
30771 int
30772 main ()
30773 {
30774 isnanf(0);
30775 ;
30776 return 0;
30777 }
30778 _ACEOF
30779 if ac_fn_cxx_try_compile "$LINENO"; then :
30780 glibcxx_cv_func_isnanf_use=yes
30781 else
30782 glibcxx_cv_func_isnanf_use=no
30783 fi
30784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30785 ac_ext=c
30786 ac_cpp='$CPP $CPPFLAGS'
30787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30790
30791
30792 fi
30793
30794 fi
30795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30796 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30797
30798 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30799 for ac_func in isnanf
30800 do :
30801 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30802 if test "x$ac_cv_func_isnanf" = xyes; then :
30803 cat >>confdefs.h <<_ACEOF
30804 #define HAVE_ISNANF 1
30805 _ACEOF
30806
30807 fi
30808 done
30809
30810 else
30811
30812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30813 $as_echo_n "checking for _isnanf declaration... " >&6; }
30814 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30815 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30816 $as_echo_n "(cached) " >&6
30817 else
30818
30819
30820 ac_ext=cpp
30821 ac_cpp='$CXXCPP $CPPFLAGS'
30822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30825
30826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30827 /* end confdefs.h. */
30828 #include <math.h>
30829 #ifdef HAVE_IEEEFP_H
30830 #include <ieeefp.h>
30831 #endif
30832
30833 int
30834 main ()
30835 {
30836 _isnanf(0);
30837 ;
30838 return 0;
30839 }
30840 _ACEOF
30841 if ac_fn_cxx_try_compile "$LINENO"; then :
30842 glibcxx_cv_func__isnanf_use=yes
30843 else
30844 glibcxx_cv_func__isnanf_use=no
30845 fi
30846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30847 ac_ext=c
30848 ac_cpp='$CPP $CPPFLAGS'
30849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30852
30853
30854 fi
30855
30856 fi
30857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30858 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30859
30860 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30861 for ac_func in _isnanf
30862 do :
30863 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30864 if test "x$ac_cv_func__isnanf" = xyes; then :
30865 cat >>confdefs.h <<_ACEOF
30866 #define HAVE__ISNANF 1
30867 _ACEOF
30868
30869 fi
30870 done
30871
30872 fi
30873 fi
30874
30875
30876
30877
30878
30879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30880 $as_echo_n "checking for isinff declaration... " >&6; }
30881 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30882 if ${glibcxx_cv_func_isinff_use+:} false; then :
30883 $as_echo_n "(cached) " >&6
30884 else
30885
30886
30887 ac_ext=cpp
30888 ac_cpp='$CXXCPP $CPPFLAGS'
30889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30892
30893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30894 /* end confdefs.h. */
30895 #include <math.h>
30896 #ifdef HAVE_IEEEFP_H
30897 #include <ieeefp.h>
30898 #endif
30899
30900 int
30901 main ()
30902 {
30903 isinff(0);
30904 ;
30905 return 0;
30906 }
30907 _ACEOF
30908 if ac_fn_cxx_try_compile "$LINENO"; then :
30909 glibcxx_cv_func_isinff_use=yes
30910 else
30911 glibcxx_cv_func_isinff_use=no
30912 fi
30913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30914 ac_ext=c
30915 ac_cpp='$CPP $CPPFLAGS'
30916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30919
30920
30921 fi
30922
30923 fi
30924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30925 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30926
30927 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30928 for ac_func in isinff
30929 do :
30930 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30931 if test "x$ac_cv_func_isinff" = xyes; then :
30932 cat >>confdefs.h <<_ACEOF
30933 #define HAVE_ISINFF 1
30934 _ACEOF
30935
30936 fi
30937 done
30938
30939 else
30940
30941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30942 $as_echo_n "checking for _isinff declaration... " >&6; }
30943 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30944 if ${glibcxx_cv_func__isinff_use+:} false; then :
30945 $as_echo_n "(cached) " >&6
30946 else
30947
30948
30949 ac_ext=cpp
30950 ac_cpp='$CXXCPP $CPPFLAGS'
30951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30954
30955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30956 /* end confdefs.h. */
30957 #include <math.h>
30958 #ifdef HAVE_IEEEFP_H
30959 #include <ieeefp.h>
30960 #endif
30961
30962 int
30963 main ()
30964 {
30965 _isinff(0);
30966 ;
30967 return 0;
30968 }
30969 _ACEOF
30970 if ac_fn_cxx_try_compile "$LINENO"; then :
30971 glibcxx_cv_func__isinff_use=yes
30972 else
30973 glibcxx_cv_func__isinff_use=no
30974 fi
30975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30976 ac_ext=c
30977 ac_cpp='$CPP $CPPFLAGS'
30978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30981
30982
30983 fi
30984
30985 fi
30986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30987 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30988
30989 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30990 for ac_func in _isinff
30991 do :
30992 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30993 if test "x$ac_cv_func__isinff" = xyes; then :
30994 cat >>confdefs.h <<_ACEOF
30995 #define HAVE__ISINFF 1
30996 _ACEOF
30997
30998 fi
30999 done
31000
31001 fi
31002 fi
31003
31004
31005
31006
31007
31008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31009 $as_echo_n "checking for atan2f declaration... " >&6; }
31010 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31011 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31012 $as_echo_n "(cached) " >&6
31013 else
31014
31015
31016 ac_ext=cpp
31017 ac_cpp='$CXXCPP $CPPFLAGS'
31018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31021
31022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31023 /* end confdefs.h. */
31024 #include <math.h>
31025 int
31026 main ()
31027 {
31028 atan2f(0, 0);
31029 ;
31030 return 0;
31031 }
31032 _ACEOF
31033 if ac_fn_cxx_try_compile "$LINENO"; then :
31034 glibcxx_cv_func_atan2f_use=yes
31035 else
31036 glibcxx_cv_func_atan2f_use=no
31037 fi
31038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31039 ac_ext=c
31040 ac_cpp='$CPP $CPPFLAGS'
31041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31044
31045
31046 fi
31047
31048 fi
31049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31050 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31051
31052 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31053 for ac_func in atan2f
31054 do :
31055 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31056 if test "x$ac_cv_func_atan2f" = xyes; then :
31057 cat >>confdefs.h <<_ACEOF
31058 #define HAVE_ATAN2F 1
31059 _ACEOF
31060
31061 fi
31062 done
31063
31064 else
31065
31066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31067 $as_echo_n "checking for _atan2f declaration... " >&6; }
31068 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31069 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31070 $as_echo_n "(cached) " >&6
31071 else
31072
31073
31074 ac_ext=cpp
31075 ac_cpp='$CXXCPP $CPPFLAGS'
31076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31079
31080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31081 /* end confdefs.h. */
31082 #include <math.h>
31083 int
31084 main ()
31085 {
31086 _atan2f(0, 0);
31087 ;
31088 return 0;
31089 }
31090 _ACEOF
31091 if ac_fn_cxx_try_compile "$LINENO"; then :
31092 glibcxx_cv_func__atan2f_use=yes
31093 else
31094 glibcxx_cv_func__atan2f_use=no
31095 fi
31096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31097 ac_ext=c
31098 ac_cpp='$CPP $CPPFLAGS'
31099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31102
31103
31104 fi
31105
31106 fi
31107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31108 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31109
31110 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31111 for ac_func in _atan2f
31112 do :
31113 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31114 if test "x$ac_cv_func__atan2f" = xyes; then :
31115 cat >>confdefs.h <<_ACEOF
31116 #define HAVE__ATAN2F 1
31117 _ACEOF
31118
31119 fi
31120 done
31121
31122 fi
31123 fi
31124
31125
31126
31127
31128
31129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31130 $as_echo_n "checking for fabsf declaration... " >&6; }
31131 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31132 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31133 $as_echo_n "(cached) " >&6
31134 else
31135
31136
31137 ac_ext=cpp
31138 ac_cpp='$CXXCPP $CPPFLAGS'
31139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31142
31143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31144 /* end confdefs.h. */
31145 #include <math.h>
31146 #ifdef HAVE_IEEEFP_H
31147 #include <ieeefp.h>
31148 #endif
31149
31150 int
31151 main ()
31152 {
31153 fabsf(0);
31154 ;
31155 return 0;
31156 }
31157 _ACEOF
31158 if ac_fn_cxx_try_compile "$LINENO"; then :
31159 glibcxx_cv_func_fabsf_use=yes
31160 else
31161 glibcxx_cv_func_fabsf_use=no
31162 fi
31163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31164 ac_ext=c
31165 ac_cpp='$CPP $CPPFLAGS'
31166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31169
31170
31171 fi
31172
31173 fi
31174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31175 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31176
31177 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31178 for ac_func in fabsf
31179 do :
31180 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31181 if test "x$ac_cv_func_fabsf" = xyes; then :
31182 cat >>confdefs.h <<_ACEOF
31183 #define HAVE_FABSF 1
31184 _ACEOF
31185
31186 fi
31187 done
31188
31189 else
31190
31191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31192 $as_echo_n "checking for _fabsf declaration... " >&6; }
31193 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31194 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31195 $as_echo_n "(cached) " >&6
31196 else
31197
31198
31199 ac_ext=cpp
31200 ac_cpp='$CXXCPP $CPPFLAGS'
31201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31204
31205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31206 /* end confdefs.h. */
31207 #include <math.h>
31208 #ifdef HAVE_IEEEFP_H
31209 #include <ieeefp.h>
31210 #endif
31211
31212 int
31213 main ()
31214 {
31215 _fabsf(0);
31216 ;
31217 return 0;
31218 }
31219 _ACEOF
31220 if ac_fn_cxx_try_compile "$LINENO"; then :
31221 glibcxx_cv_func__fabsf_use=yes
31222 else
31223 glibcxx_cv_func__fabsf_use=no
31224 fi
31225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31226 ac_ext=c
31227 ac_cpp='$CPP $CPPFLAGS'
31228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31231
31232
31233 fi
31234
31235 fi
31236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31237 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31238
31239 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31240 for ac_func in _fabsf
31241 do :
31242 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31243 if test "x$ac_cv_func__fabsf" = xyes; then :
31244 cat >>confdefs.h <<_ACEOF
31245 #define HAVE__FABSF 1
31246 _ACEOF
31247
31248 fi
31249 done
31250
31251 fi
31252 fi
31253
31254
31255
31256
31257
31258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31259 $as_echo_n "checking for fmodf declaration... " >&6; }
31260 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31261 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31262 $as_echo_n "(cached) " >&6
31263 else
31264
31265
31266 ac_ext=cpp
31267 ac_cpp='$CXXCPP $CPPFLAGS'
31268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31271
31272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31273 /* end confdefs.h. */
31274 #include <math.h>
31275 int
31276 main ()
31277 {
31278 fmodf(0, 0);
31279 ;
31280 return 0;
31281 }
31282 _ACEOF
31283 if ac_fn_cxx_try_compile "$LINENO"; then :
31284 glibcxx_cv_func_fmodf_use=yes
31285 else
31286 glibcxx_cv_func_fmodf_use=no
31287 fi
31288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31289 ac_ext=c
31290 ac_cpp='$CPP $CPPFLAGS'
31291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31294
31295
31296 fi
31297
31298 fi
31299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31300 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31301
31302 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31303 for ac_func in fmodf
31304 do :
31305 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31306 if test "x$ac_cv_func_fmodf" = xyes; then :
31307 cat >>confdefs.h <<_ACEOF
31308 #define HAVE_FMODF 1
31309 _ACEOF
31310
31311 fi
31312 done
31313
31314 else
31315
31316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31317 $as_echo_n "checking for _fmodf declaration... " >&6; }
31318 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31319 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31320 $as_echo_n "(cached) " >&6
31321 else
31322
31323
31324 ac_ext=cpp
31325 ac_cpp='$CXXCPP $CPPFLAGS'
31326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31329
31330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31331 /* end confdefs.h. */
31332 #include <math.h>
31333 int
31334 main ()
31335 {
31336 _fmodf(0, 0);
31337 ;
31338 return 0;
31339 }
31340 _ACEOF
31341 if ac_fn_cxx_try_compile "$LINENO"; then :
31342 glibcxx_cv_func__fmodf_use=yes
31343 else
31344 glibcxx_cv_func__fmodf_use=no
31345 fi
31346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31347 ac_ext=c
31348 ac_cpp='$CPP $CPPFLAGS'
31349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31352
31353
31354 fi
31355
31356 fi
31357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31358 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31359
31360 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31361 for ac_func in _fmodf
31362 do :
31363 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31364 if test "x$ac_cv_func__fmodf" = xyes; then :
31365 cat >>confdefs.h <<_ACEOF
31366 #define HAVE__FMODF 1
31367 _ACEOF
31368
31369 fi
31370 done
31371
31372 fi
31373 fi
31374
31375
31376
31377
31378
31379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31380 $as_echo_n "checking for frexpf declaration... " >&6; }
31381 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31382 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31383 $as_echo_n "(cached) " >&6
31384 else
31385
31386
31387 ac_ext=cpp
31388 ac_cpp='$CXXCPP $CPPFLAGS'
31389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31392
31393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31394 /* end confdefs.h. */
31395 #include <math.h>
31396 int
31397 main ()
31398 {
31399 frexpf(0, 0);
31400 ;
31401 return 0;
31402 }
31403 _ACEOF
31404 if ac_fn_cxx_try_compile "$LINENO"; then :
31405 glibcxx_cv_func_frexpf_use=yes
31406 else
31407 glibcxx_cv_func_frexpf_use=no
31408 fi
31409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31410 ac_ext=c
31411 ac_cpp='$CPP $CPPFLAGS'
31412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31415
31416
31417 fi
31418
31419 fi
31420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31421 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31422
31423 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31424 for ac_func in frexpf
31425 do :
31426 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31427 if test "x$ac_cv_func_frexpf" = xyes; then :
31428 cat >>confdefs.h <<_ACEOF
31429 #define HAVE_FREXPF 1
31430 _ACEOF
31431
31432 fi
31433 done
31434
31435 else
31436
31437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31438 $as_echo_n "checking for _frexpf declaration... " >&6; }
31439 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31440 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31441 $as_echo_n "(cached) " >&6
31442 else
31443
31444
31445 ac_ext=cpp
31446 ac_cpp='$CXXCPP $CPPFLAGS'
31447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31450
31451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31452 /* end confdefs.h. */
31453 #include <math.h>
31454 int
31455 main ()
31456 {
31457 _frexpf(0, 0);
31458 ;
31459 return 0;
31460 }
31461 _ACEOF
31462 if ac_fn_cxx_try_compile "$LINENO"; then :
31463 glibcxx_cv_func__frexpf_use=yes
31464 else
31465 glibcxx_cv_func__frexpf_use=no
31466 fi
31467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31468 ac_ext=c
31469 ac_cpp='$CPP $CPPFLAGS'
31470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31473
31474
31475 fi
31476
31477 fi
31478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31479 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31480
31481 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31482 for ac_func in _frexpf
31483 do :
31484 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31485 if test "x$ac_cv_func__frexpf" = xyes; then :
31486 cat >>confdefs.h <<_ACEOF
31487 #define HAVE__FREXPF 1
31488 _ACEOF
31489
31490 fi
31491 done
31492
31493 fi
31494 fi
31495
31496
31497
31498
31499
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31501 $as_echo_n "checking for hypotf declaration... " >&6; }
31502 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31503 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31504 $as_echo_n "(cached) " >&6
31505 else
31506
31507
31508 ac_ext=cpp
31509 ac_cpp='$CXXCPP $CPPFLAGS'
31510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31513
31514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31515 /* end confdefs.h. */
31516 #include <math.h>
31517 int
31518 main ()
31519 {
31520 hypotf(0, 0);
31521 ;
31522 return 0;
31523 }
31524 _ACEOF
31525 if ac_fn_cxx_try_compile "$LINENO"; then :
31526 glibcxx_cv_func_hypotf_use=yes
31527 else
31528 glibcxx_cv_func_hypotf_use=no
31529 fi
31530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31531 ac_ext=c
31532 ac_cpp='$CPP $CPPFLAGS'
31533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31536
31537
31538 fi
31539
31540 fi
31541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31542 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31543
31544 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31545 for ac_func in hypotf
31546 do :
31547 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31548 if test "x$ac_cv_func_hypotf" = xyes; then :
31549 cat >>confdefs.h <<_ACEOF
31550 #define HAVE_HYPOTF 1
31551 _ACEOF
31552
31553 fi
31554 done
31555
31556 else
31557
31558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31559 $as_echo_n "checking for _hypotf declaration... " >&6; }
31560 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31561 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31562 $as_echo_n "(cached) " >&6
31563 else
31564
31565
31566 ac_ext=cpp
31567 ac_cpp='$CXXCPP $CPPFLAGS'
31568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31571
31572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31573 /* end confdefs.h. */
31574 #include <math.h>
31575 int
31576 main ()
31577 {
31578 _hypotf(0, 0);
31579 ;
31580 return 0;
31581 }
31582 _ACEOF
31583 if ac_fn_cxx_try_compile "$LINENO"; then :
31584 glibcxx_cv_func__hypotf_use=yes
31585 else
31586 glibcxx_cv_func__hypotf_use=no
31587 fi
31588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31589 ac_ext=c
31590 ac_cpp='$CPP $CPPFLAGS'
31591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31594
31595
31596 fi
31597
31598 fi
31599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31600 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31601
31602 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31603 for ac_func in _hypotf
31604 do :
31605 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31606 if test "x$ac_cv_func__hypotf" = xyes; then :
31607 cat >>confdefs.h <<_ACEOF
31608 #define HAVE__HYPOTF 1
31609 _ACEOF
31610
31611 fi
31612 done
31613
31614 fi
31615 fi
31616
31617
31618
31619
31620
31621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31622 $as_echo_n "checking for ldexpf declaration... " >&6; }
31623 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31624 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31625 $as_echo_n "(cached) " >&6
31626 else
31627
31628
31629 ac_ext=cpp
31630 ac_cpp='$CXXCPP $CPPFLAGS'
31631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31634
31635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31636 /* end confdefs.h. */
31637 #include <math.h>
31638 int
31639 main ()
31640 {
31641 ldexpf(0, 0);
31642 ;
31643 return 0;
31644 }
31645 _ACEOF
31646 if ac_fn_cxx_try_compile "$LINENO"; then :
31647 glibcxx_cv_func_ldexpf_use=yes
31648 else
31649 glibcxx_cv_func_ldexpf_use=no
31650 fi
31651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31652 ac_ext=c
31653 ac_cpp='$CPP $CPPFLAGS'
31654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31657
31658
31659 fi
31660
31661 fi
31662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31663 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31664
31665 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31666 for ac_func in ldexpf
31667 do :
31668 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31669 if test "x$ac_cv_func_ldexpf" = xyes; then :
31670 cat >>confdefs.h <<_ACEOF
31671 #define HAVE_LDEXPF 1
31672 _ACEOF
31673
31674 fi
31675 done
31676
31677 else
31678
31679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31680 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31681 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31682 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31683 $as_echo_n "(cached) " >&6
31684 else
31685
31686
31687 ac_ext=cpp
31688 ac_cpp='$CXXCPP $CPPFLAGS'
31689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31692
31693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31694 /* end confdefs.h. */
31695 #include <math.h>
31696 int
31697 main ()
31698 {
31699 _ldexpf(0, 0);
31700 ;
31701 return 0;
31702 }
31703 _ACEOF
31704 if ac_fn_cxx_try_compile "$LINENO"; then :
31705 glibcxx_cv_func__ldexpf_use=yes
31706 else
31707 glibcxx_cv_func__ldexpf_use=no
31708 fi
31709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31710 ac_ext=c
31711 ac_cpp='$CPP $CPPFLAGS'
31712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31715
31716
31717 fi
31718
31719 fi
31720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31721 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31722
31723 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31724 for ac_func in _ldexpf
31725 do :
31726 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31727 if test "x$ac_cv_func__ldexpf" = xyes; then :
31728 cat >>confdefs.h <<_ACEOF
31729 #define HAVE__LDEXPF 1
31730 _ACEOF
31731
31732 fi
31733 done
31734
31735 fi
31736 fi
31737
31738
31739
31740
31741
31742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31743 $as_echo_n "checking for logf declaration... " >&6; }
31744 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31745 if ${glibcxx_cv_func_logf_use+:} false; then :
31746 $as_echo_n "(cached) " >&6
31747 else
31748
31749
31750 ac_ext=cpp
31751 ac_cpp='$CXXCPP $CPPFLAGS'
31752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31755
31756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31757 /* end confdefs.h. */
31758 #include <math.h>
31759 #ifdef HAVE_IEEEFP_H
31760 #include <ieeefp.h>
31761 #endif
31762
31763 int
31764 main ()
31765 {
31766 logf(0);
31767 ;
31768 return 0;
31769 }
31770 _ACEOF
31771 if ac_fn_cxx_try_compile "$LINENO"; then :
31772 glibcxx_cv_func_logf_use=yes
31773 else
31774 glibcxx_cv_func_logf_use=no
31775 fi
31776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31777 ac_ext=c
31778 ac_cpp='$CPP $CPPFLAGS'
31779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31782
31783
31784 fi
31785
31786 fi
31787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31788 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31789
31790 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31791 for ac_func in logf
31792 do :
31793 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31794 if test "x$ac_cv_func_logf" = xyes; then :
31795 cat >>confdefs.h <<_ACEOF
31796 #define HAVE_LOGF 1
31797 _ACEOF
31798
31799 fi
31800 done
31801
31802 else
31803
31804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31805 $as_echo_n "checking for _logf declaration... " >&6; }
31806 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31807 if ${glibcxx_cv_func__logf_use+:} false; then :
31808 $as_echo_n "(cached) " >&6
31809 else
31810
31811
31812 ac_ext=cpp
31813 ac_cpp='$CXXCPP $CPPFLAGS'
31814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31817
31818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31819 /* end confdefs.h. */
31820 #include <math.h>
31821 #ifdef HAVE_IEEEFP_H
31822 #include <ieeefp.h>
31823 #endif
31824
31825 int
31826 main ()
31827 {
31828 _logf(0);
31829 ;
31830 return 0;
31831 }
31832 _ACEOF
31833 if ac_fn_cxx_try_compile "$LINENO"; then :
31834 glibcxx_cv_func__logf_use=yes
31835 else
31836 glibcxx_cv_func__logf_use=no
31837 fi
31838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31839 ac_ext=c
31840 ac_cpp='$CPP $CPPFLAGS'
31841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31844
31845
31846 fi
31847
31848 fi
31849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31850 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31851
31852 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31853 for ac_func in _logf
31854 do :
31855 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31856 if test "x$ac_cv_func__logf" = xyes; then :
31857 cat >>confdefs.h <<_ACEOF
31858 #define HAVE__LOGF 1
31859 _ACEOF
31860
31861 fi
31862 done
31863
31864 fi
31865 fi
31866
31867
31868
31869
31870
31871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31872 $as_echo_n "checking for log10f declaration... " >&6; }
31873 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31874 if ${glibcxx_cv_func_log10f_use+:} false; then :
31875 $as_echo_n "(cached) " >&6
31876 else
31877
31878
31879 ac_ext=cpp
31880 ac_cpp='$CXXCPP $CPPFLAGS'
31881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31884
31885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31886 /* end confdefs.h. */
31887 #include <math.h>
31888 #ifdef HAVE_IEEEFP_H
31889 #include <ieeefp.h>
31890 #endif
31891
31892 int
31893 main ()
31894 {
31895 log10f(0);
31896 ;
31897 return 0;
31898 }
31899 _ACEOF
31900 if ac_fn_cxx_try_compile "$LINENO"; then :
31901 glibcxx_cv_func_log10f_use=yes
31902 else
31903 glibcxx_cv_func_log10f_use=no
31904 fi
31905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31906 ac_ext=c
31907 ac_cpp='$CPP $CPPFLAGS'
31908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31911
31912
31913 fi
31914
31915 fi
31916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31917 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31918
31919 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31920 for ac_func in log10f
31921 do :
31922 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31923 if test "x$ac_cv_func_log10f" = xyes; then :
31924 cat >>confdefs.h <<_ACEOF
31925 #define HAVE_LOG10F 1
31926 _ACEOF
31927
31928 fi
31929 done
31930
31931 else
31932
31933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31934 $as_echo_n "checking for _log10f declaration... " >&6; }
31935 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31936 if ${glibcxx_cv_func__log10f_use+:} false; then :
31937 $as_echo_n "(cached) " >&6
31938 else
31939
31940
31941 ac_ext=cpp
31942 ac_cpp='$CXXCPP $CPPFLAGS'
31943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31946
31947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31948 /* end confdefs.h. */
31949 #include <math.h>
31950 #ifdef HAVE_IEEEFP_H
31951 #include <ieeefp.h>
31952 #endif
31953
31954 int
31955 main ()
31956 {
31957 _log10f(0);
31958 ;
31959 return 0;
31960 }
31961 _ACEOF
31962 if ac_fn_cxx_try_compile "$LINENO"; then :
31963 glibcxx_cv_func__log10f_use=yes
31964 else
31965 glibcxx_cv_func__log10f_use=no
31966 fi
31967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31968 ac_ext=c
31969 ac_cpp='$CPP $CPPFLAGS'
31970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31973
31974
31975 fi
31976
31977 fi
31978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31979 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31980
31981 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31982 for ac_func in _log10f
31983 do :
31984 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31985 if test "x$ac_cv_func__log10f" = xyes; then :
31986 cat >>confdefs.h <<_ACEOF
31987 #define HAVE__LOG10F 1
31988 _ACEOF
31989
31990 fi
31991 done
31992
31993 fi
31994 fi
31995
31996
31997
31998
31999
32000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32001 $as_echo_n "checking for modff declaration... " >&6; }
32002 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32003 if ${glibcxx_cv_func_modff_use+:} false; then :
32004 $as_echo_n "(cached) " >&6
32005 else
32006
32007
32008 ac_ext=cpp
32009 ac_cpp='$CXXCPP $CPPFLAGS'
32010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32013
32014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32015 /* end confdefs.h. */
32016 #include <math.h>
32017 int
32018 main ()
32019 {
32020 modff(0, 0);
32021 ;
32022 return 0;
32023 }
32024 _ACEOF
32025 if ac_fn_cxx_try_compile "$LINENO"; then :
32026 glibcxx_cv_func_modff_use=yes
32027 else
32028 glibcxx_cv_func_modff_use=no
32029 fi
32030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32031 ac_ext=c
32032 ac_cpp='$CPP $CPPFLAGS'
32033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32036
32037
32038 fi
32039
32040 fi
32041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32042 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32043
32044 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32045 for ac_func in modff
32046 do :
32047 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32048 if test "x$ac_cv_func_modff" = xyes; then :
32049 cat >>confdefs.h <<_ACEOF
32050 #define HAVE_MODFF 1
32051 _ACEOF
32052
32053 fi
32054 done
32055
32056 else
32057
32058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32059 $as_echo_n "checking for _modff declaration... " >&6; }
32060 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32061 if ${glibcxx_cv_func__modff_use+:} false; then :
32062 $as_echo_n "(cached) " >&6
32063 else
32064
32065
32066 ac_ext=cpp
32067 ac_cpp='$CXXCPP $CPPFLAGS'
32068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32071
32072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32073 /* end confdefs.h. */
32074 #include <math.h>
32075 int
32076 main ()
32077 {
32078 _modff(0, 0);
32079 ;
32080 return 0;
32081 }
32082 _ACEOF
32083 if ac_fn_cxx_try_compile "$LINENO"; then :
32084 glibcxx_cv_func__modff_use=yes
32085 else
32086 glibcxx_cv_func__modff_use=no
32087 fi
32088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32089 ac_ext=c
32090 ac_cpp='$CPP $CPPFLAGS'
32091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32094
32095
32096 fi
32097
32098 fi
32099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32100 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32101
32102 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32103 for ac_func in _modff
32104 do :
32105 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32106 if test "x$ac_cv_func__modff" = xyes; then :
32107 cat >>confdefs.h <<_ACEOF
32108 #define HAVE__MODFF 1
32109 _ACEOF
32110
32111 fi
32112 done
32113
32114 fi
32115 fi
32116
32117
32118
32119
32120
32121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32122 $as_echo_n "checking for modf declaration... " >&6; }
32123 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32124 if ${glibcxx_cv_func_modf_use+:} false; then :
32125 $as_echo_n "(cached) " >&6
32126 else
32127
32128
32129 ac_ext=cpp
32130 ac_cpp='$CXXCPP $CPPFLAGS'
32131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32134
32135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32136 /* end confdefs.h. */
32137 #include <math.h>
32138 int
32139 main ()
32140 {
32141 modf(0, 0);
32142 ;
32143 return 0;
32144 }
32145 _ACEOF
32146 if ac_fn_cxx_try_compile "$LINENO"; then :
32147 glibcxx_cv_func_modf_use=yes
32148 else
32149 glibcxx_cv_func_modf_use=no
32150 fi
32151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32152 ac_ext=c
32153 ac_cpp='$CPP $CPPFLAGS'
32154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32157
32158
32159 fi
32160
32161 fi
32162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32163 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32164
32165 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32166 for ac_func in modf
32167 do :
32168 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32169 if test "x$ac_cv_func_modf" = xyes; then :
32170 cat >>confdefs.h <<_ACEOF
32171 #define HAVE_MODF 1
32172 _ACEOF
32173
32174 fi
32175 done
32176
32177 else
32178
32179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32180 $as_echo_n "checking for _modf declaration... " >&6; }
32181 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32182 if ${glibcxx_cv_func__modf_use+:} false; then :
32183 $as_echo_n "(cached) " >&6
32184 else
32185
32186
32187 ac_ext=cpp
32188 ac_cpp='$CXXCPP $CPPFLAGS'
32189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32192
32193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32194 /* end confdefs.h. */
32195 #include <math.h>
32196 int
32197 main ()
32198 {
32199 _modf(0, 0);
32200 ;
32201 return 0;
32202 }
32203 _ACEOF
32204 if ac_fn_cxx_try_compile "$LINENO"; then :
32205 glibcxx_cv_func__modf_use=yes
32206 else
32207 glibcxx_cv_func__modf_use=no
32208 fi
32209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32210 ac_ext=c
32211 ac_cpp='$CPP $CPPFLAGS'
32212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32215
32216
32217 fi
32218
32219 fi
32220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32221 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32222
32223 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32224 for ac_func in _modf
32225 do :
32226 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32227 if test "x$ac_cv_func__modf" = xyes; then :
32228 cat >>confdefs.h <<_ACEOF
32229 #define HAVE__MODF 1
32230 _ACEOF
32231
32232 fi
32233 done
32234
32235 fi
32236 fi
32237
32238
32239
32240
32241
32242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32243 $as_echo_n "checking for powf declaration... " >&6; }
32244 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32245 if ${glibcxx_cv_func_powf_use+:} false; then :
32246 $as_echo_n "(cached) " >&6
32247 else
32248
32249
32250 ac_ext=cpp
32251 ac_cpp='$CXXCPP $CPPFLAGS'
32252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32255
32256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32257 /* end confdefs.h. */
32258 #include <math.h>
32259 int
32260 main ()
32261 {
32262 powf(0, 0);
32263 ;
32264 return 0;
32265 }
32266 _ACEOF
32267 if ac_fn_cxx_try_compile "$LINENO"; then :
32268 glibcxx_cv_func_powf_use=yes
32269 else
32270 glibcxx_cv_func_powf_use=no
32271 fi
32272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32273 ac_ext=c
32274 ac_cpp='$CPP $CPPFLAGS'
32275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32278
32279
32280 fi
32281
32282 fi
32283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32284 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32285
32286 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32287 for ac_func in powf
32288 do :
32289 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32290 if test "x$ac_cv_func_powf" = xyes; then :
32291 cat >>confdefs.h <<_ACEOF
32292 #define HAVE_POWF 1
32293 _ACEOF
32294
32295 fi
32296 done
32297
32298 else
32299
32300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32301 $as_echo_n "checking for _powf declaration... " >&6; }
32302 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32303 if ${glibcxx_cv_func__powf_use+:} false; then :
32304 $as_echo_n "(cached) " >&6
32305 else
32306
32307
32308 ac_ext=cpp
32309 ac_cpp='$CXXCPP $CPPFLAGS'
32310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32313
32314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32315 /* end confdefs.h. */
32316 #include <math.h>
32317 int
32318 main ()
32319 {
32320 _powf(0, 0);
32321 ;
32322 return 0;
32323 }
32324 _ACEOF
32325 if ac_fn_cxx_try_compile "$LINENO"; then :
32326 glibcxx_cv_func__powf_use=yes
32327 else
32328 glibcxx_cv_func__powf_use=no
32329 fi
32330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32331 ac_ext=c
32332 ac_cpp='$CPP $CPPFLAGS'
32333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32336
32337
32338 fi
32339
32340 fi
32341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32342 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32343
32344 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32345 for ac_func in _powf
32346 do :
32347 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32348 if test "x$ac_cv_func__powf" = xyes; then :
32349 cat >>confdefs.h <<_ACEOF
32350 #define HAVE__POWF 1
32351 _ACEOF
32352
32353 fi
32354 done
32355
32356 fi
32357 fi
32358
32359
32360
32361
32362
32363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32364 $as_echo_n "checking for sqrtf declaration... " >&6; }
32365 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32366 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32367 $as_echo_n "(cached) " >&6
32368 else
32369
32370
32371 ac_ext=cpp
32372 ac_cpp='$CXXCPP $CPPFLAGS'
32373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32376
32377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32378 /* end confdefs.h. */
32379 #include <math.h>
32380 #ifdef HAVE_IEEEFP_H
32381 #include <ieeefp.h>
32382 #endif
32383
32384 int
32385 main ()
32386 {
32387 sqrtf(0);
32388 ;
32389 return 0;
32390 }
32391 _ACEOF
32392 if ac_fn_cxx_try_compile "$LINENO"; then :
32393 glibcxx_cv_func_sqrtf_use=yes
32394 else
32395 glibcxx_cv_func_sqrtf_use=no
32396 fi
32397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32398 ac_ext=c
32399 ac_cpp='$CPP $CPPFLAGS'
32400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32403
32404
32405 fi
32406
32407 fi
32408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32409 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32410
32411 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32412 for ac_func in sqrtf
32413 do :
32414 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32415 if test "x$ac_cv_func_sqrtf" = xyes; then :
32416 cat >>confdefs.h <<_ACEOF
32417 #define HAVE_SQRTF 1
32418 _ACEOF
32419
32420 fi
32421 done
32422
32423 else
32424
32425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32426 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32427 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32428 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32429 $as_echo_n "(cached) " >&6
32430 else
32431
32432
32433 ac_ext=cpp
32434 ac_cpp='$CXXCPP $CPPFLAGS'
32435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32438
32439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32440 /* end confdefs.h. */
32441 #include <math.h>
32442 #ifdef HAVE_IEEEFP_H
32443 #include <ieeefp.h>
32444 #endif
32445
32446 int
32447 main ()
32448 {
32449 _sqrtf(0);
32450 ;
32451 return 0;
32452 }
32453 _ACEOF
32454 if ac_fn_cxx_try_compile "$LINENO"; then :
32455 glibcxx_cv_func__sqrtf_use=yes
32456 else
32457 glibcxx_cv_func__sqrtf_use=no
32458 fi
32459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32460 ac_ext=c
32461 ac_cpp='$CPP $CPPFLAGS'
32462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32465
32466
32467 fi
32468
32469 fi
32470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32471 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32472
32473 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32474 for ac_func in _sqrtf
32475 do :
32476 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32477 if test "x$ac_cv_func__sqrtf" = xyes; then :
32478 cat >>confdefs.h <<_ACEOF
32479 #define HAVE__SQRTF 1
32480 _ACEOF
32481
32482 fi
32483 done
32484
32485 fi
32486 fi
32487
32488
32489
32490
32491
32492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32493 $as_echo_n "checking for sincosf declaration... " >&6; }
32494 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32495 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32496 $as_echo_n "(cached) " >&6
32497 else
32498
32499
32500 ac_ext=cpp
32501 ac_cpp='$CXXCPP $CPPFLAGS'
32502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32505
32506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32507 /* end confdefs.h. */
32508 #include <math.h>
32509 int
32510 main ()
32511 {
32512 sincosf(0, 0, 0);
32513 ;
32514 return 0;
32515 }
32516 _ACEOF
32517 if ac_fn_cxx_try_compile "$LINENO"; then :
32518 glibcxx_cv_func_sincosf_use=yes
32519 else
32520 glibcxx_cv_func_sincosf_use=no
32521 fi
32522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32523 ac_ext=c
32524 ac_cpp='$CPP $CPPFLAGS'
32525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32528
32529
32530 fi
32531
32532 fi
32533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32534 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32535
32536 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32537 for ac_func in sincosf
32538 do :
32539 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32540 if test "x$ac_cv_func_sincosf" = xyes; then :
32541 cat >>confdefs.h <<_ACEOF
32542 #define HAVE_SINCOSF 1
32543 _ACEOF
32544
32545 fi
32546 done
32547
32548 else
32549
32550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32551 $as_echo_n "checking for _sincosf declaration... " >&6; }
32552 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32553 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32554 $as_echo_n "(cached) " >&6
32555 else
32556
32557
32558 ac_ext=cpp
32559 ac_cpp='$CXXCPP $CPPFLAGS'
32560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32563
32564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32565 /* end confdefs.h. */
32566 #include <math.h>
32567 int
32568 main ()
32569 {
32570 _sincosf(0, 0, 0);
32571 ;
32572 return 0;
32573 }
32574 _ACEOF
32575 if ac_fn_cxx_try_compile "$LINENO"; then :
32576 glibcxx_cv_func__sincosf_use=yes
32577 else
32578 glibcxx_cv_func__sincosf_use=no
32579 fi
32580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32581 ac_ext=c
32582 ac_cpp='$CPP $CPPFLAGS'
32583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32586
32587
32588 fi
32589
32590 fi
32591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32592 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32593
32594 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32595 for ac_func in _sincosf
32596 do :
32597 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32598 if test "x$ac_cv_func__sincosf" = xyes; then :
32599 cat >>confdefs.h <<_ACEOF
32600 #define HAVE__SINCOSF 1
32601 _ACEOF
32602
32603 fi
32604 done
32605
32606 fi
32607 fi
32608
32609
32610
32611
32612
32613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32614 $as_echo_n "checking for finitef declaration... " >&6; }
32615 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32616 if ${glibcxx_cv_func_finitef_use+:} false; then :
32617 $as_echo_n "(cached) " >&6
32618 else
32619
32620
32621 ac_ext=cpp
32622 ac_cpp='$CXXCPP $CPPFLAGS'
32623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32626
32627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32628 /* end confdefs.h. */
32629 #include <math.h>
32630 #ifdef HAVE_IEEEFP_H
32631 #include <ieeefp.h>
32632 #endif
32633
32634 int
32635 main ()
32636 {
32637 finitef(0);
32638 ;
32639 return 0;
32640 }
32641 _ACEOF
32642 if ac_fn_cxx_try_compile "$LINENO"; then :
32643 glibcxx_cv_func_finitef_use=yes
32644 else
32645 glibcxx_cv_func_finitef_use=no
32646 fi
32647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32648 ac_ext=c
32649 ac_cpp='$CPP $CPPFLAGS'
32650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32653
32654
32655 fi
32656
32657 fi
32658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32659 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32660
32661 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32662 for ac_func in finitef
32663 do :
32664 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32665 if test "x$ac_cv_func_finitef" = xyes; then :
32666 cat >>confdefs.h <<_ACEOF
32667 #define HAVE_FINITEF 1
32668 _ACEOF
32669
32670 fi
32671 done
32672
32673 else
32674
32675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32676 $as_echo_n "checking for _finitef declaration... " >&6; }
32677 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32678 if ${glibcxx_cv_func__finitef_use+:} false; then :
32679 $as_echo_n "(cached) " >&6
32680 else
32681
32682
32683 ac_ext=cpp
32684 ac_cpp='$CXXCPP $CPPFLAGS'
32685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32688
32689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32690 /* end confdefs.h. */
32691 #include <math.h>
32692 #ifdef HAVE_IEEEFP_H
32693 #include <ieeefp.h>
32694 #endif
32695
32696 int
32697 main ()
32698 {
32699 _finitef(0);
32700 ;
32701 return 0;
32702 }
32703 _ACEOF
32704 if ac_fn_cxx_try_compile "$LINENO"; then :
32705 glibcxx_cv_func__finitef_use=yes
32706 else
32707 glibcxx_cv_func__finitef_use=no
32708 fi
32709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32710 ac_ext=c
32711 ac_cpp='$CPP $CPPFLAGS'
32712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32715
32716
32717 fi
32718
32719 fi
32720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32721 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32722
32723 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32724 for ac_func in _finitef
32725 do :
32726 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32727 if test "x$ac_cv_func__finitef" = xyes; then :
32728 cat >>confdefs.h <<_ACEOF
32729 #define HAVE__FINITEF 1
32730 _ACEOF
32731
32732 fi
32733 done
32734
32735 fi
32736 fi
32737
32738
32739
32740
32741
32742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32743 $as_echo_n "checking for long double trig functions... " >&6; }
32744 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32745 $as_echo_n "(cached) " >&6
32746 else
32747
32748
32749 ac_ext=cpp
32750 ac_cpp='$CXXCPP $CPPFLAGS'
32751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32754
32755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32756 /* end confdefs.h. */
32757 #include <math.h>
32758 int
32759 main ()
32760 {
32761 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32762 ;
32763 return 0;
32764 }
32765 _ACEOF
32766 if ac_fn_cxx_try_compile "$LINENO"; then :
32767 glibcxx_cv_func_long_double_trig_use=yes
32768 else
32769 glibcxx_cv_func_long_double_trig_use=no
32770 fi
32771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32772 ac_ext=c
32773 ac_cpp='$CPP $CPPFLAGS'
32774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32777
32778 fi
32779
32780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32781 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32782 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32783 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32784 do :
32785 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32787 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32788 cat >>confdefs.h <<_ACEOF
32789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32790 _ACEOF
32791
32792 fi
32793 done
32794
32795 else
32796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32797 $as_echo_n "checking for _long double trig functions... " >&6; }
32798 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32799 $as_echo_n "(cached) " >&6
32800 else
32801
32802
32803 ac_ext=cpp
32804 ac_cpp='$CXXCPP $CPPFLAGS'
32805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32808
32809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32810 /* end confdefs.h. */
32811 #include <math.h>
32812 int
32813 main ()
32814 {
32815 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32816 ;
32817 return 0;
32818 }
32819 _ACEOF
32820 if ac_fn_cxx_try_compile "$LINENO"; then :
32821 glibcxx_cv_func__long_double_trig_use=yes
32822 else
32823 glibcxx_cv_func__long_double_trig_use=no
32824 fi
32825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32826 ac_ext=c
32827 ac_cpp='$CPP $CPPFLAGS'
32828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32831
32832 fi
32833
32834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32835 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32836 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32837 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32838 do :
32839 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32841 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32842 cat >>confdefs.h <<_ACEOF
32843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32844 _ACEOF
32845
32846 fi
32847 done
32848
32849 fi
32850 fi
32851
32852
32853
32854
32855
32856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32857 $as_echo_n "checking for long double round functions... " >&6; }
32858 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32859 $as_echo_n "(cached) " >&6
32860 else
32861
32862
32863 ac_ext=cpp
32864 ac_cpp='$CXXCPP $CPPFLAGS'
32865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32868
32869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32870 /* end confdefs.h. */
32871 #include <math.h>
32872 int
32873 main ()
32874 {
32875 ceill (0); floorl (0);
32876 ;
32877 return 0;
32878 }
32879 _ACEOF
32880 if ac_fn_cxx_try_compile "$LINENO"; then :
32881 glibcxx_cv_func_long_double_round_use=yes
32882 else
32883 glibcxx_cv_func_long_double_round_use=no
32884 fi
32885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32886 ac_ext=c
32887 ac_cpp='$CPP $CPPFLAGS'
32888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32891
32892 fi
32893
32894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32895 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32896 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32897 for ac_func in ceill floorl
32898 do :
32899 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32900 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32901 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32902 cat >>confdefs.h <<_ACEOF
32903 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32904 _ACEOF
32905
32906 fi
32907 done
32908
32909 else
32910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32911 $as_echo_n "checking for _long double round functions... " >&6; }
32912 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
32913 $as_echo_n "(cached) " >&6
32914 else
32915
32916
32917 ac_ext=cpp
32918 ac_cpp='$CXXCPP $CPPFLAGS'
32919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32922
32923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32924 /* end confdefs.h. */
32925 #include <math.h>
32926 int
32927 main ()
32928 {
32929 _ceill (0); _floorl (0);
32930 ;
32931 return 0;
32932 }
32933 _ACEOF
32934 if ac_fn_cxx_try_compile "$LINENO"; then :
32935 glibcxx_cv_func__long_double_round_use=yes
32936 else
32937 glibcxx_cv_func__long_double_round_use=no
32938 fi
32939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32940 ac_ext=c
32941 ac_cpp='$CPP $CPPFLAGS'
32942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32945
32946 fi
32947
32948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32949 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32950 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32951 for ac_func in _ceill _floorl
32952 do :
32953 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32954 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32955 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32956 cat >>confdefs.h <<_ACEOF
32957 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32958 _ACEOF
32959
32960 fi
32961 done
32962
32963 fi
32964 fi
32965
32966
32967
32968
32969
32970
32971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32972 $as_echo_n "checking for isnanl declaration... " >&6; }
32973 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32974 if ${glibcxx_cv_func_isnanl_use+:} false; then :
32975 $as_echo_n "(cached) " >&6
32976 else
32977
32978
32979 ac_ext=cpp
32980 ac_cpp='$CXXCPP $CPPFLAGS'
32981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32984
32985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32986 /* end confdefs.h. */
32987 #include <math.h>
32988 #ifdef HAVE_IEEEFP_H
32989 #include <ieeefp.h>
32990 #endif
32991
32992 int
32993 main ()
32994 {
32995 isnanl(0);
32996 ;
32997 return 0;
32998 }
32999 _ACEOF
33000 if ac_fn_cxx_try_compile "$LINENO"; then :
33001 glibcxx_cv_func_isnanl_use=yes
33002 else
33003 glibcxx_cv_func_isnanl_use=no
33004 fi
33005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33006 ac_ext=c
33007 ac_cpp='$CPP $CPPFLAGS'
33008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33011
33012
33013 fi
33014
33015 fi
33016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33017 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33018
33019 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33020 for ac_func in isnanl
33021 do :
33022 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33023 if test "x$ac_cv_func_isnanl" = xyes; then :
33024 cat >>confdefs.h <<_ACEOF
33025 #define HAVE_ISNANL 1
33026 _ACEOF
33027
33028 fi
33029 done
33030
33031 else
33032
33033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33034 $as_echo_n "checking for _isnanl declaration... " >&6; }
33035 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33036 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33037 $as_echo_n "(cached) " >&6
33038 else
33039
33040
33041 ac_ext=cpp
33042 ac_cpp='$CXXCPP $CPPFLAGS'
33043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33046
33047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33048 /* end confdefs.h. */
33049 #include <math.h>
33050 #ifdef HAVE_IEEEFP_H
33051 #include <ieeefp.h>
33052 #endif
33053
33054 int
33055 main ()
33056 {
33057 _isnanl(0);
33058 ;
33059 return 0;
33060 }
33061 _ACEOF
33062 if ac_fn_cxx_try_compile "$LINENO"; then :
33063 glibcxx_cv_func__isnanl_use=yes
33064 else
33065 glibcxx_cv_func__isnanl_use=no
33066 fi
33067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33068 ac_ext=c
33069 ac_cpp='$CPP $CPPFLAGS'
33070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33073
33074
33075 fi
33076
33077 fi
33078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33079 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33080
33081 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33082 for ac_func in _isnanl
33083 do :
33084 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33085 if test "x$ac_cv_func__isnanl" = xyes; then :
33086 cat >>confdefs.h <<_ACEOF
33087 #define HAVE__ISNANL 1
33088 _ACEOF
33089
33090 fi
33091 done
33092
33093 fi
33094 fi
33095
33096
33097
33098
33099
33100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33101 $as_echo_n "checking for isinfl declaration... " >&6; }
33102 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33103 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33104 $as_echo_n "(cached) " >&6
33105 else
33106
33107
33108 ac_ext=cpp
33109 ac_cpp='$CXXCPP $CPPFLAGS'
33110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33113
33114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33115 /* end confdefs.h. */
33116 #include <math.h>
33117 #ifdef HAVE_IEEEFP_H
33118 #include <ieeefp.h>
33119 #endif
33120
33121 int
33122 main ()
33123 {
33124 isinfl(0);
33125 ;
33126 return 0;
33127 }
33128 _ACEOF
33129 if ac_fn_cxx_try_compile "$LINENO"; then :
33130 glibcxx_cv_func_isinfl_use=yes
33131 else
33132 glibcxx_cv_func_isinfl_use=no
33133 fi
33134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33135 ac_ext=c
33136 ac_cpp='$CPP $CPPFLAGS'
33137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33140
33141
33142 fi
33143
33144 fi
33145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33146 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33147
33148 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33149 for ac_func in isinfl
33150 do :
33151 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33152 if test "x$ac_cv_func_isinfl" = xyes; then :
33153 cat >>confdefs.h <<_ACEOF
33154 #define HAVE_ISINFL 1
33155 _ACEOF
33156
33157 fi
33158 done
33159
33160 else
33161
33162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33163 $as_echo_n "checking for _isinfl declaration... " >&6; }
33164 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33165 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33166 $as_echo_n "(cached) " >&6
33167 else
33168
33169
33170 ac_ext=cpp
33171 ac_cpp='$CXXCPP $CPPFLAGS'
33172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33175
33176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33177 /* end confdefs.h. */
33178 #include <math.h>
33179 #ifdef HAVE_IEEEFP_H
33180 #include <ieeefp.h>
33181 #endif
33182
33183 int
33184 main ()
33185 {
33186 _isinfl(0);
33187 ;
33188 return 0;
33189 }
33190 _ACEOF
33191 if ac_fn_cxx_try_compile "$LINENO"; then :
33192 glibcxx_cv_func__isinfl_use=yes
33193 else
33194 glibcxx_cv_func__isinfl_use=no
33195 fi
33196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33197 ac_ext=c
33198 ac_cpp='$CPP $CPPFLAGS'
33199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33202
33203
33204 fi
33205
33206 fi
33207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33208 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33209
33210 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33211 for ac_func in _isinfl
33212 do :
33213 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33214 if test "x$ac_cv_func__isinfl" = xyes; then :
33215 cat >>confdefs.h <<_ACEOF
33216 #define HAVE__ISINFL 1
33217 _ACEOF
33218
33219 fi
33220 done
33221
33222 fi
33223 fi
33224
33225
33226
33227
33228
33229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33230 $as_echo_n "checking for atan2l declaration... " >&6; }
33231 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33232 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33233 $as_echo_n "(cached) " >&6
33234 else
33235
33236
33237 ac_ext=cpp
33238 ac_cpp='$CXXCPP $CPPFLAGS'
33239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33242
33243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33244 /* end confdefs.h. */
33245 #include <math.h>
33246 int
33247 main ()
33248 {
33249 atan2l(0, 0);
33250 ;
33251 return 0;
33252 }
33253 _ACEOF
33254 if ac_fn_cxx_try_compile "$LINENO"; then :
33255 glibcxx_cv_func_atan2l_use=yes
33256 else
33257 glibcxx_cv_func_atan2l_use=no
33258 fi
33259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33260 ac_ext=c
33261 ac_cpp='$CPP $CPPFLAGS'
33262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33265
33266
33267 fi
33268
33269 fi
33270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33271 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33272
33273 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33274 for ac_func in atan2l
33275 do :
33276 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33277 if test "x$ac_cv_func_atan2l" = xyes; then :
33278 cat >>confdefs.h <<_ACEOF
33279 #define HAVE_ATAN2L 1
33280 _ACEOF
33281
33282 fi
33283 done
33284
33285 else
33286
33287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33288 $as_echo_n "checking for _atan2l declaration... " >&6; }
33289 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33290 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33291 $as_echo_n "(cached) " >&6
33292 else
33293
33294
33295 ac_ext=cpp
33296 ac_cpp='$CXXCPP $CPPFLAGS'
33297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33300
33301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33302 /* end confdefs.h. */
33303 #include <math.h>
33304 int
33305 main ()
33306 {
33307 _atan2l(0, 0);
33308 ;
33309 return 0;
33310 }
33311 _ACEOF
33312 if ac_fn_cxx_try_compile "$LINENO"; then :
33313 glibcxx_cv_func__atan2l_use=yes
33314 else
33315 glibcxx_cv_func__atan2l_use=no
33316 fi
33317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33318 ac_ext=c
33319 ac_cpp='$CPP $CPPFLAGS'
33320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33323
33324
33325 fi
33326
33327 fi
33328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33329 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33330
33331 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33332 for ac_func in _atan2l
33333 do :
33334 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33335 if test "x$ac_cv_func__atan2l" = xyes; then :
33336 cat >>confdefs.h <<_ACEOF
33337 #define HAVE__ATAN2L 1
33338 _ACEOF
33339
33340 fi
33341 done
33342
33343 fi
33344 fi
33345
33346
33347
33348
33349
33350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33351 $as_echo_n "checking for expl declaration... " >&6; }
33352 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33353 if ${glibcxx_cv_func_expl_use+:} false; then :
33354 $as_echo_n "(cached) " >&6
33355 else
33356
33357
33358 ac_ext=cpp
33359 ac_cpp='$CXXCPP $CPPFLAGS'
33360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33363
33364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33365 /* end confdefs.h. */
33366 #include <math.h>
33367 #ifdef HAVE_IEEEFP_H
33368 #include <ieeefp.h>
33369 #endif
33370
33371 int
33372 main ()
33373 {
33374 expl(0);
33375 ;
33376 return 0;
33377 }
33378 _ACEOF
33379 if ac_fn_cxx_try_compile "$LINENO"; then :
33380 glibcxx_cv_func_expl_use=yes
33381 else
33382 glibcxx_cv_func_expl_use=no
33383 fi
33384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33385 ac_ext=c
33386 ac_cpp='$CPP $CPPFLAGS'
33387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33390
33391
33392 fi
33393
33394 fi
33395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33396 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33397
33398 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33399 for ac_func in expl
33400 do :
33401 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33402 if test "x$ac_cv_func_expl" = xyes; then :
33403 cat >>confdefs.h <<_ACEOF
33404 #define HAVE_EXPL 1
33405 _ACEOF
33406
33407 fi
33408 done
33409
33410 else
33411
33412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33413 $as_echo_n "checking for _expl declaration... " >&6; }
33414 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33415 if ${glibcxx_cv_func__expl_use+:} false; then :
33416 $as_echo_n "(cached) " >&6
33417 else
33418
33419
33420 ac_ext=cpp
33421 ac_cpp='$CXXCPP $CPPFLAGS'
33422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33425
33426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33427 /* end confdefs.h. */
33428 #include <math.h>
33429 #ifdef HAVE_IEEEFP_H
33430 #include <ieeefp.h>
33431 #endif
33432
33433 int
33434 main ()
33435 {
33436 _expl(0);
33437 ;
33438 return 0;
33439 }
33440 _ACEOF
33441 if ac_fn_cxx_try_compile "$LINENO"; then :
33442 glibcxx_cv_func__expl_use=yes
33443 else
33444 glibcxx_cv_func__expl_use=no
33445 fi
33446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33447 ac_ext=c
33448 ac_cpp='$CPP $CPPFLAGS'
33449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33452
33453
33454 fi
33455
33456 fi
33457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33458 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33459
33460 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33461 for ac_func in _expl
33462 do :
33463 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33464 if test "x$ac_cv_func__expl" = xyes; then :
33465 cat >>confdefs.h <<_ACEOF
33466 #define HAVE__EXPL 1
33467 _ACEOF
33468
33469 fi
33470 done
33471
33472 fi
33473 fi
33474
33475
33476
33477
33478
33479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33480 $as_echo_n "checking for fabsl declaration... " >&6; }
33481 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33482 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33483 $as_echo_n "(cached) " >&6
33484 else
33485
33486
33487 ac_ext=cpp
33488 ac_cpp='$CXXCPP $CPPFLAGS'
33489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33492
33493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33494 /* end confdefs.h. */
33495 #include <math.h>
33496 #ifdef HAVE_IEEEFP_H
33497 #include <ieeefp.h>
33498 #endif
33499
33500 int
33501 main ()
33502 {
33503 fabsl(0);
33504 ;
33505 return 0;
33506 }
33507 _ACEOF
33508 if ac_fn_cxx_try_compile "$LINENO"; then :
33509 glibcxx_cv_func_fabsl_use=yes
33510 else
33511 glibcxx_cv_func_fabsl_use=no
33512 fi
33513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33514 ac_ext=c
33515 ac_cpp='$CPP $CPPFLAGS'
33516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33519
33520
33521 fi
33522
33523 fi
33524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33525 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33526
33527 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33528 for ac_func in fabsl
33529 do :
33530 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33531 if test "x$ac_cv_func_fabsl" = xyes; then :
33532 cat >>confdefs.h <<_ACEOF
33533 #define HAVE_FABSL 1
33534 _ACEOF
33535
33536 fi
33537 done
33538
33539 else
33540
33541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33542 $as_echo_n "checking for _fabsl declaration... " >&6; }
33543 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33544 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33545 $as_echo_n "(cached) " >&6
33546 else
33547
33548
33549 ac_ext=cpp
33550 ac_cpp='$CXXCPP $CPPFLAGS'
33551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33554
33555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33556 /* end confdefs.h. */
33557 #include <math.h>
33558 #ifdef HAVE_IEEEFP_H
33559 #include <ieeefp.h>
33560 #endif
33561
33562 int
33563 main ()
33564 {
33565 _fabsl(0);
33566 ;
33567 return 0;
33568 }
33569 _ACEOF
33570 if ac_fn_cxx_try_compile "$LINENO"; then :
33571 glibcxx_cv_func__fabsl_use=yes
33572 else
33573 glibcxx_cv_func__fabsl_use=no
33574 fi
33575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33576 ac_ext=c
33577 ac_cpp='$CPP $CPPFLAGS'
33578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33581
33582
33583 fi
33584
33585 fi
33586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33587 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33588
33589 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33590 for ac_func in _fabsl
33591 do :
33592 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33593 if test "x$ac_cv_func__fabsl" = xyes; then :
33594 cat >>confdefs.h <<_ACEOF
33595 #define HAVE__FABSL 1
33596 _ACEOF
33597
33598 fi
33599 done
33600
33601 fi
33602 fi
33603
33604
33605
33606
33607
33608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33609 $as_echo_n "checking for fmodl declaration... " >&6; }
33610 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33611 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33612 $as_echo_n "(cached) " >&6
33613 else
33614
33615
33616 ac_ext=cpp
33617 ac_cpp='$CXXCPP $CPPFLAGS'
33618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33621
33622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33623 /* end confdefs.h. */
33624 #include <math.h>
33625 int
33626 main ()
33627 {
33628 fmodl(0, 0);
33629 ;
33630 return 0;
33631 }
33632 _ACEOF
33633 if ac_fn_cxx_try_compile "$LINENO"; then :
33634 glibcxx_cv_func_fmodl_use=yes
33635 else
33636 glibcxx_cv_func_fmodl_use=no
33637 fi
33638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33639 ac_ext=c
33640 ac_cpp='$CPP $CPPFLAGS'
33641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33644
33645
33646 fi
33647
33648 fi
33649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33650 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33651
33652 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33653 for ac_func in fmodl
33654 do :
33655 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33656 if test "x$ac_cv_func_fmodl" = xyes; then :
33657 cat >>confdefs.h <<_ACEOF
33658 #define HAVE_FMODL 1
33659 _ACEOF
33660
33661 fi
33662 done
33663
33664 else
33665
33666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33667 $as_echo_n "checking for _fmodl declaration... " >&6; }
33668 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33669 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33670 $as_echo_n "(cached) " >&6
33671 else
33672
33673
33674 ac_ext=cpp
33675 ac_cpp='$CXXCPP $CPPFLAGS'
33676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33679
33680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33681 /* end confdefs.h. */
33682 #include <math.h>
33683 int
33684 main ()
33685 {
33686 _fmodl(0, 0);
33687 ;
33688 return 0;
33689 }
33690 _ACEOF
33691 if ac_fn_cxx_try_compile "$LINENO"; then :
33692 glibcxx_cv_func__fmodl_use=yes
33693 else
33694 glibcxx_cv_func__fmodl_use=no
33695 fi
33696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33697 ac_ext=c
33698 ac_cpp='$CPP $CPPFLAGS'
33699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33702
33703
33704 fi
33705
33706 fi
33707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33708 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33709
33710 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33711 for ac_func in _fmodl
33712 do :
33713 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33714 if test "x$ac_cv_func__fmodl" = xyes; then :
33715 cat >>confdefs.h <<_ACEOF
33716 #define HAVE__FMODL 1
33717 _ACEOF
33718
33719 fi
33720 done
33721
33722 fi
33723 fi
33724
33725
33726
33727
33728
33729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33730 $as_echo_n "checking for frexpl declaration... " >&6; }
33731 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33732 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33733 $as_echo_n "(cached) " >&6
33734 else
33735
33736
33737 ac_ext=cpp
33738 ac_cpp='$CXXCPP $CPPFLAGS'
33739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33742
33743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33744 /* end confdefs.h. */
33745 #include <math.h>
33746 int
33747 main ()
33748 {
33749 frexpl(0, 0);
33750 ;
33751 return 0;
33752 }
33753 _ACEOF
33754 if ac_fn_cxx_try_compile "$LINENO"; then :
33755 glibcxx_cv_func_frexpl_use=yes
33756 else
33757 glibcxx_cv_func_frexpl_use=no
33758 fi
33759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33760 ac_ext=c
33761 ac_cpp='$CPP $CPPFLAGS'
33762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33765
33766
33767 fi
33768
33769 fi
33770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33771 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33772
33773 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33774 for ac_func in frexpl
33775 do :
33776 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33777 if test "x$ac_cv_func_frexpl" = xyes; then :
33778 cat >>confdefs.h <<_ACEOF
33779 #define HAVE_FREXPL 1
33780 _ACEOF
33781
33782 fi
33783 done
33784
33785 else
33786
33787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33788 $as_echo_n "checking for _frexpl declaration... " >&6; }
33789 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33790 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33791 $as_echo_n "(cached) " >&6
33792 else
33793
33794
33795 ac_ext=cpp
33796 ac_cpp='$CXXCPP $CPPFLAGS'
33797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33800
33801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33802 /* end confdefs.h. */
33803 #include <math.h>
33804 int
33805 main ()
33806 {
33807 _frexpl(0, 0);
33808 ;
33809 return 0;
33810 }
33811 _ACEOF
33812 if ac_fn_cxx_try_compile "$LINENO"; then :
33813 glibcxx_cv_func__frexpl_use=yes
33814 else
33815 glibcxx_cv_func__frexpl_use=no
33816 fi
33817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33818 ac_ext=c
33819 ac_cpp='$CPP $CPPFLAGS'
33820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33823
33824
33825 fi
33826
33827 fi
33828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33829 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33830
33831 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33832 for ac_func in _frexpl
33833 do :
33834 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33835 if test "x$ac_cv_func__frexpl" = xyes; then :
33836 cat >>confdefs.h <<_ACEOF
33837 #define HAVE__FREXPL 1
33838 _ACEOF
33839
33840 fi
33841 done
33842
33843 fi
33844 fi
33845
33846
33847
33848
33849
33850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33851 $as_echo_n "checking for hypotl declaration... " >&6; }
33852 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33853 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33854 $as_echo_n "(cached) " >&6
33855 else
33856
33857
33858 ac_ext=cpp
33859 ac_cpp='$CXXCPP $CPPFLAGS'
33860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33863
33864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33865 /* end confdefs.h. */
33866 #include <math.h>
33867 int
33868 main ()
33869 {
33870 hypotl(0, 0);
33871 ;
33872 return 0;
33873 }
33874 _ACEOF
33875 if ac_fn_cxx_try_compile "$LINENO"; then :
33876 glibcxx_cv_func_hypotl_use=yes
33877 else
33878 glibcxx_cv_func_hypotl_use=no
33879 fi
33880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33881 ac_ext=c
33882 ac_cpp='$CPP $CPPFLAGS'
33883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33886
33887
33888 fi
33889
33890 fi
33891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33892 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33893
33894 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33895 for ac_func in hypotl
33896 do :
33897 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33898 if test "x$ac_cv_func_hypotl" = xyes; then :
33899 cat >>confdefs.h <<_ACEOF
33900 #define HAVE_HYPOTL 1
33901 _ACEOF
33902
33903 fi
33904 done
33905
33906 else
33907
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33909 $as_echo_n "checking for _hypotl declaration... " >&6; }
33910 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33911 if ${glibcxx_cv_func__hypotl_use+:} false; then :
33912 $as_echo_n "(cached) " >&6
33913 else
33914
33915
33916 ac_ext=cpp
33917 ac_cpp='$CXXCPP $CPPFLAGS'
33918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33921
33922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33923 /* end confdefs.h. */
33924 #include <math.h>
33925 int
33926 main ()
33927 {
33928 _hypotl(0, 0);
33929 ;
33930 return 0;
33931 }
33932 _ACEOF
33933 if ac_fn_cxx_try_compile "$LINENO"; then :
33934 glibcxx_cv_func__hypotl_use=yes
33935 else
33936 glibcxx_cv_func__hypotl_use=no
33937 fi
33938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33939 ac_ext=c
33940 ac_cpp='$CPP $CPPFLAGS'
33941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33944
33945
33946 fi
33947
33948 fi
33949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33950 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33951
33952 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33953 for ac_func in _hypotl
33954 do :
33955 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33956 if test "x$ac_cv_func__hypotl" = xyes; then :
33957 cat >>confdefs.h <<_ACEOF
33958 #define HAVE__HYPOTL 1
33959 _ACEOF
33960
33961 fi
33962 done
33963
33964 fi
33965 fi
33966
33967
33968
33969
33970
33971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33972 $as_echo_n "checking for ldexpl declaration... " >&6; }
33973 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33974 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
33975 $as_echo_n "(cached) " >&6
33976 else
33977
33978
33979 ac_ext=cpp
33980 ac_cpp='$CXXCPP $CPPFLAGS'
33981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33984
33985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33986 /* end confdefs.h. */
33987 #include <math.h>
33988 int
33989 main ()
33990 {
33991 ldexpl(0, 0);
33992 ;
33993 return 0;
33994 }
33995 _ACEOF
33996 if ac_fn_cxx_try_compile "$LINENO"; then :
33997 glibcxx_cv_func_ldexpl_use=yes
33998 else
33999 glibcxx_cv_func_ldexpl_use=no
34000 fi
34001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34002 ac_ext=c
34003 ac_cpp='$CPP $CPPFLAGS'
34004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34007
34008
34009 fi
34010
34011 fi
34012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34013 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34014
34015 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34016 for ac_func in ldexpl
34017 do :
34018 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34019 if test "x$ac_cv_func_ldexpl" = xyes; then :
34020 cat >>confdefs.h <<_ACEOF
34021 #define HAVE_LDEXPL 1
34022 _ACEOF
34023
34024 fi
34025 done
34026
34027 else
34028
34029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34030 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34031 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34032 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34033 $as_echo_n "(cached) " >&6
34034 else
34035
34036
34037 ac_ext=cpp
34038 ac_cpp='$CXXCPP $CPPFLAGS'
34039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34042
34043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34044 /* end confdefs.h. */
34045 #include <math.h>
34046 int
34047 main ()
34048 {
34049 _ldexpl(0, 0);
34050 ;
34051 return 0;
34052 }
34053 _ACEOF
34054 if ac_fn_cxx_try_compile "$LINENO"; then :
34055 glibcxx_cv_func__ldexpl_use=yes
34056 else
34057 glibcxx_cv_func__ldexpl_use=no
34058 fi
34059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34060 ac_ext=c
34061 ac_cpp='$CPP $CPPFLAGS'
34062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34065
34066
34067 fi
34068
34069 fi
34070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34071 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34072
34073 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34074 for ac_func in _ldexpl
34075 do :
34076 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34077 if test "x$ac_cv_func__ldexpl" = xyes; then :
34078 cat >>confdefs.h <<_ACEOF
34079 #define HAVE__LDEXPL 1
34080 _ACEOF
34081
34082 fi
34083 done
34084
34085 fi
34086 fi
34087
34088
34089
34090
34091
34092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34093 $as_echo_n "checking for logl declaration... " >&6; }
34094 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34095 if ${glibcxx_cv_func_logl_use+:} false; then :
34096 $as_echo_n "(cached) " >&6
34097 else
34098
34099
34100 ac_ext=cpp
34101 ac_cpp='$CXXCPP $CPPFLAGS'
34102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34105
34106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34107 /* end confdefs.h. */
34108 #include <math.h>
34109 #ifdef HAVE_IEEEFP_H
34110 #include <ieeefp.h>
34111 #endif
34112
34113 int
34114 main ()
34115 {
34116 logl(0);
34117 ;
34118 return 0;
34119 }
34120 _ACEOF
34121 if ac_fn_cxx_try_compile "$LINENO"; then :
34122 glibcxx_cv_func_logl_use=yes
34123 else
34124 glibcxx_cv_func_logl_use=no
34125 fi
34126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34127 ac_ext=c
34128 ac_cpp='$CPP $CPPFLAGS'
34129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34132
34133
34134 fi
34135
34136 fi
34137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34138 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34139
34140 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34141 for ac_func in logl
34142 do :
34143 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34144 if test "x$ac_cv_func_logl" = xyes; then :
34145 cat >>confdefs.h <<_ACEOF
34146 #define HAVE_LOGL 1
34147 _ACEOF
34148
34149 fi
34150 done
34151
34152 else
34153
34154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34155 $as_echo_n "checking for _logl declaration... " >&6; }
34156 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34157 if ${glibcxx_cv_func__logl_use+:} false; then :
34158 $as_echo_n "(cached) " >&6
34159 else
34160
34161
34162 ac_ext=cpp
34163 ac_cpp='$CXXCPP $CPPFLAGS'
34164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34167
34168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34169 /* end confdefs.h. */
34170 #include <math.h>
34171 #ifdef HAVE_IEEEFP_H
34172 #include <ieeefp.h>
34173 #endif
34174
34175 int
34176 main ()
34177 {
34178 _logl(0);
34179 ;
34180 return 0;
34181 }
34182 _ACEOF
34183 if ac_fn_cxx_try_compile "$LINENO"; then :
34184 glibcxx_cv_func__logl_use=yes
34185 else
34186 glibcxx_cv_func__logl_use=no
34187 fi
34188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34189 ac_ext=c
34190 ac_cpp='$CPP $CPPFLAGS'
34191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34194
34195
34196 fi
34197
34198 fi
34199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34200 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34201
34202 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34203 for ac_func in _logl
34204 do :
34205 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34206 if test "x$ac_cv_func__logl" = xyes; then :
34207 cat >>confdefs.h <<_ACEOF
34208 #define HAVE__LOGL 1
34209 _ACEOF
34210
34211 fi
34212 done
34213
34214 fi
34215 fi
34216
34217
34218
34219
34220
34221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34222 $as_echo_n "checking for log10l declaration... " >&6; }
34223 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34224 if ${glibcxx_cv_func_log10l_use+:} false; then :
34225 $as_echo_n "(cached) " >&6
34226 else
34227
34228
34229 ac_ext=cpp
34230 ac_cpp='$CXXCPP $CPPFLAGS'
34231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34234
34235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34236 /* end confdefs.h. */
34237 #include <math.h>
34238 #ifdef HAVE_IEEEFP_H
34239 #include <ieeefp.h>
34240 #endif
34241
34242 int
34243 main ()
34244 {
34245 log10l(0);
34246 ;
34247 return 0;
34248 }
34249 _ACEOF
34250 if ac_fn_cxx_try_compile "$LINENO"; then :
34251 glibcxx_cv_func_log10l_use=yes
34252 else
34253 glibcxx_cv_func_log10l_use=no
34254 fi
34255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34256 ac_ext=c
34257 ac_cpp='$CPP $CPPFLAGS'
34258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34261
34262
34263 fi
34264
34265 fi
34266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34267 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34268
34269 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34270 for ac_func in log10l
34271 do :
34272 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34273 if test "x$ac_cv_func_log10l" = xyes; then :
34274 cat >>confdefs.h <<_ACEOF
34275 #define HAVE_LOG10L 1
34276 _ACEOF
34277
34278 fi
34279 done
34280
34281 else
34282
34283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34284 $as_echo_n "checking for _log10l declaration... " >&6; }
34285 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34286 if ${glibcxx_cv_func__log10l_use+:} false; then :
34287 $as_echo_n "(cached) " >&6
34288 else
34289
34290
34291 ac_ext=cpp
34292 ac_cpp='$CXXCPP $CPPFLAGS'
34293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34296
34297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34298 /* end confdefs.h. */
34299 #include <math.h>
34300 #ifdef HAVE_IEEEFP_H
34301 #include <ieeefp.h>
34302 #endif
34303
34304 int
34305 main ()
34306 {
34307 _log10l(0);
34308 ;
34309 return 0;
34310 }
34311 _ACEOF
34312 if ac_fn_cxx_try_compile "$LINENO"; then :
34313 glibcxx_cv_func__log10l_use=yes
34314 else
34315 glibcxx_cv_func__log10l_use=no
34316 fi
34317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34318 ac_ext=c
34319 ac_cpp='$CPP $CPPFLAGS'
34320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34323
34324
34325 fi
34326
34327 fi
34328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34329 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34330
34331 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34332 for ac_func in _log10l
34333 do :
34334 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34335 if test "x$ac_cv_func__log10l" = xyes; then :
34336 cat >>confdefs.h <<_ACEOF
34337 #define HAVE__LOG10L 1
34338 _ACEOF
34339
34340 fi
34341 done
34342
34343 fi
34344 fi
34345
34346
34347
34348
34349
34350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34351 $as_echo_n "checking for modfl declaration... " >&6; }
34352 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34353 if ${glibcxx_cv_func_modfl_use+:} false; then :
34354 $as_echo_n "(cached) " >&6
34355 else
34356
34357
34358 ac_ext=cpp
34359 ac_cpp='$CXXCPP $CPPFLAGS'
34360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34363
34364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34365 /* end confdefs.h. */
34366 #include <math.h>
34367 int
34368 main ()
34369 {
34370 modfl(0, 0);
34371 ;
34372 return 0;
34373 }
34374 _ACEOF
34375 if ac_fn_cxx_try_compile "$LINENO"; then :
34376 glibcxx_cv_func_modfl_use=yes
34377 else
34378 glibcxx_cv_func_modfl_use=no
34379 fi
34380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34381 ac_ext=c
34382 ac_cpp='$CPP $CPPFLAGS'
34383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34386
34387
34388 fi
34389
34390 fi
34391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34392 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34393
34394 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34395 for ac_func in modfl
34396 do :
34397 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34398 if test "x$ac_cv_func_modfl" = xyes; then :
34399 cat >>confdefs.h <<_ACEOF
34400 #define HAVE_MODFL 1
34401 _ACEOF
34402
34403 fi
34404 done
34405
34406 else
34407
34408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34409 $as_echo_n "checking for _modfl declaration... " >&6; }
34410 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34411 if ${glibcxx_cv_func__modfl_use+:} false; then :
34412 $as_echo_n "(cached) " >&6
34413 else
34414
34415
34416 ac_ext=cpp
34417 ac_cpp='$CXXCPP $CPPFLAGS'
34418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34421
34422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34423 /* end confdefs.h. */
34424 #include <math.h>
34425 int
34426 main ()
34427 {
34428 _modfl(0, 0);
34429 ;
34430 return 0;
34431 }
34432 _ACEOF
34433 if ac_fn_cxx_try_compile "$LINENO"; then :
34434 glibcxx_cv_func__modfl_use=yes
34435 else
34436 glibcxx_cv_func__modfl_use=no
34437 fi
34438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34439 ac_ext=c
34440 ac_cpp='$CPP $CPPFLAGS'
34441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34444
34445
34446 fi
34447
34448 fi
34449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34450 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34451
34452 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34453 for ac_func in _modfl
34454 do :
34455 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34456 if test "x$ac_cv_func__modfl" = xyes; then :
34457 cat >>confdefs.h <<_ACEOF
34458 #define HAVE__MODFL 1
34459 _ACEOF
34460
34461 fi
34462 done
34463
34464 fi
34465 fi
34466
34467
34468
34469
34470
34471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34472 $as_echo_n "checking for powl declaration... " >&6; }
34473 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34474 if ${glibcxx_cv_func_powl_use+:} false; then :
34475 $as_echo_n "(cached) " >&6
34476 else
34477
34478
34479 ac_ext=cpp
34480 ac_cpp='$CXXCPP $CPPFLAGS'
34481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34484
34485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34486 /* end confdefs.h. */
34487 #include <math.h>
34488 int
34489 main ()
34490 {
34491 powl(0, 0);
34492 ;
34493 return 0;
34494 }
34495 _ACEOF
34496 if ac_fn_cxx_try_compile "$LINENO"; then :
34497 glibcxx_cv_func_powl_use=yes
34498 else
34499 glibcxx_cv_func_powl_use=no
34500 fi
34501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34502 ac_ext=c
34503 ac_cpp='$CPP $CPPFLAGS'
34504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34507
34508
34509 fi
34510
34511 fi
34512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34513 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34514
34515 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34516 for ac_func in powl
34517 do :
34518 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34519 if test "x$ac_cv_func_powl" = xyes; then :
34520 cat >>confdefs.h <<_ACEOF
34521 #define HAVE_POWL 1
34522 _ACEOF
34523
34524 fi
34525 done
34526
34527 else
34528
34529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34530 $as_echo_n "checking for _powl declaration... " >&6; }
34531 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34532 if ${glibcxx_cv_func__powl_use+:} false; then :
34533 $as_echo_n "(cached) " >&6
34534 else
34535
34536
34537 ac_ext=cpp
34538 ac_cpp='$CXXCPP $CPPFLAGS'
34539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34542
34543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34544 /* end confdefs.h. */
34545 #include <math.h>
34546 int
34547 main ()
34548 {
34549 _powl(0, 0);
34550 ;
34551 return 0;
34552 }
34553 _ACEOF
34554 if ac_fn_cxx_try_compile "$LINENO"; then :
34555 glibcxx_cv_func__powl_use=yes
34556 else
34557 glibcxx_cv_func__powl_use=no
34558 fi
34559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34560 ac_ext=c
34561 ac_cpp='$CPP $CPPFLAGS'
34562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34565
34566
34567 fi
34568
34569 fi
34570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34571 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34572
34573 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34574 for ac_func in _powl
34575 do :
34576 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34577 if test "x$ac_cv_func__powl" = xyes; then :
34578 cat >>confdefs.h <<_ACEOF
34579 #define HAVE__POWL 1
34580 _ACEOF
34581
34582 fi
34583 done
34584
34585 fi
34586 fi
34587
34588
34589
34590
34591
34592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34593 $as_echo_n "checking for sqrtl declaration... " >&6; }
34594 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34595 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34596 $as_echo_n "(cached) " >&6
34597 else
34598
34599
34600 ac_ext=cpp
34601 ac_cpp='$CXXCPP $CPPFLAGS'
34602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34605
34606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34607 /* end confdefs.h. */
34608 #include <math.h>
34609 #ifdef HAVE_IEEEFP_H
34610 #include <ieeefp.h>
34611 #endif
34612
34613 int
34614 main ()
34615 {
34616 sqrtl(0);
34617 ;
34618 return 0;
34619 }
34620 _ACEOF
34621 if ac_fn_cxx_try_compile "$LINENO"; then :
34622 glibcxx_cv_func_sqrtl_use=yes
34623 else
34624 glibcxx_cv_func_sqrtl_use=no
34625 fi
34626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34627 ac_ext=c
34628 ac_cpp='$CPP $CPPFLAGS'
34629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34632
34633
34634 fi
34635
34636 fi
34637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34638 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34639
34640 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34641 for ac_func in sqrtl
34642 do :
34643 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34644 if test "x$ac_cv_func_sqrtl" = xyes; then :
34645 cat >>confdefs.h <<_ACEOF
34646 #define HAVE_SQRTL 1
34647 _ACEOF
34648
34649 fi
34650 done
34651
34652 else
34653
34654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34655 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34656 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34657 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34658 $as_echo_n "(cached) " >&6
34659 else
34660
34661
34662 ac_ext=cpp
34663 ac_cpp='$CXXCPP $CPPFLAGS'
34664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34667
34668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34669 /* end confdefs.h. */
34670 #include <math.h>
34671 #ifdef HAVE_IEEEFP_H
34672 #include <ieeefp.h>
34673 #endif
34674
34675 int
34676 main ()
34677 {
34678 _sqrtl(0);
34679 ;
34680 return 0;
34681 }
34682 _ACEOF
34683 if ac_fn_cxx_try_compile "$LINENO"; then :
34684 glibcxx_cv_func__sqrtl_use=yes
34685 else
34686 glibcxx_cv_func__sqrtl_use=no
34687 fi
34688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34689 ac_ext=c
34690 ac_cpp='$CPP $CPPFLAGS'
34691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34694
34695
34696 fi
34697
34698 fi
34699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34700 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34701
34702 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34703 for ac_func in _sqrtl
34704 do :
34705 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34706 if test "x$ac_cv_func__sqrtl" = xyes; then :
34707 cat >>confdefs.h <<_ACEOF
34708 #define HAVE__SQRTL 1
34709 _ACEOF
34710
34711 fi
34712 done
34713
34714 fi
34715 fi
34716
34717
34718
34719
34720
34721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34722 $as_echo_n "checking for sincosl declaration... " >&6; }
34723 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34724 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34725 $as_echo_n "(cached) " >&6
34726 else
34727
34728
34729 ac_ext=cpp
34730 ac_cpp='$CXXCPP $CPPFLAGS'
34731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34734
34735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34736 /* end confdefs.h. */
34737 #include <math.h>
34738 int
34739 main ()
34740 {
34741 sincosl(0, 0, 0);
34742 ;
34743 return 0;
34744 }
34745 _ACEOF
34746 if ac_fn_cxx_try_compile "$LINENO"; then :
34747 glibcxx_cv_func_sincosl_use=yes
34748 else
34749 glibcxx_cv_func_sincosl_use=no
34750 fi
34751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34752 ac_ext=c
34753 ac_cpp='$CPP $CPPFLAGS'
34754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34757
34758
34759 fi
34760
34761 fi
34762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34763 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34764
34765 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34766 for ac_func in sincosl
34767 do :
34768 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34769 if test "x$ac_cv_func_sincosl" = xyes; then :
34770 cat >>confdefs.h <<_ACEOF
34771 #define HAVE_SINCOSL 1
34772 _ACEOF
34773
34774 fi
34775 done
34776
34777 else
34778
34779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34780 $as_echo_n "checking for _sincosl declaration... " >&6; }
34781 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34782 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34783 $as_echo_n "(cached) " >&6
34784 else
34785
34786
34787 ac_ext=cpp
34788 ac_cpp='$CXXCPP $CPPFLAGS'
34789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34792
34793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34794 /* end confdefs.h. */
34795 #include <math.h>
34796 int
34797 main ()
34798 {
34799 _sincosl(0, 0, 0);
34800 ;
34801 return 0;
34802 }
34803 _ACEOF
34804 if ac_fn_cxx_try_compile "$LINENO"; then :
34805 glibcxx_cv_func__sincosl_use=yes
34806 else
34807 glibcxx_cv_func__sincosl_use=no
34808 fi
34809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34810 ac_ext=c
34811 ac_cpp='$CPP $CPPFLAGS'
34812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34815
34816
34817 fi
34818
34819 fi
34820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34821 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34822
34823 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34824 for ac_func in _sincosl
34825 do :
34826 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34827 if test "x$ac_cv_func__sincosl" = xyes; then :
34828 cat >>confdefs.h <<_ACEOF
34829 #define HAVE__SINCOSL 1
34830 _ACEOF
34831
34832 fi
34833 done
34834
34835 fi
34836 fi
34837
34838
34839
34840
34841
34842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34843 $as_echo_n "checking for finitel declaration... " >&6; }
34844 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34845 if ${glibcxx_cv_func_finitel_use+:} false; then :
34846 $as_echo_n "(cached) " >&6
34847 else
34848
34849
34850 ac_ext=cpp
34851 ac_cpp='$CXXCPP $CPPFLAGS'
34852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34855
34856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34857 /* end confdefs.h. */
34858 #include <math.h>
34859 #ifdef HAVE_IEEEFP_H
34860 #include <ieeefp.h>
34861 #endif
34862
34863 int
34864 main ()
34865 {
34866 finitel(0);
34867 ;
34868 return 0;
34869 }
34870 _ACEOF
34871 if ac_fn_cxx_try_compile "$LINENO"; then :
34872 glibcxx_cv_func_finitel_use=yes
34873 else
34874 glibcxx_cv_func_finitel_use=no
34875 fi
34876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34877 ac_ext=c
34878 ac_cpp='$CPP $CPPFLAGS'
34879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34882
34883
34884 fi
34885
34886 fi
34887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34888 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34889
34890 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34891 for ac_func in finitel
34892 do :
34893 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34894 if test "x$ac_cv_func_finitel" = xyes; then :
34895 cat >>confdefs.h <<_ACEOF
34896 #define HAVE_FINITEL 1
34897 _ACEOF
34898
34899 fi
34900 done
34901
34902 else
34903
34904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34905 $as_echo_n "checking for _finitel declaration... " >&6; }
34906 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34907 if ${glibcxx_cv_func__finitel_use+:} false; then :
34908 $as_echo_n "(cached) " >&6
34909 else
34910
34911
34912 ac_ext=cpp
34913 ac_cpp='$CXXCPP $CPPFLAGS'
34914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34917
34918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34919 /* end confdefs.h. */
34920 #include <math.h>
34921 #ifdef HAVE_IEEEFP_H
34922 #include <ieeefp.h>
34923 #endif
34924
34925 int
34926 main ()
34927 {
34928 _finitel(0);
34929 ;
34930 return 0;
34931 }
34932 _ACEOF
34933 if ac_fn_cxx_try_compile "$LINENO"; then :
34934 glibcxx_cv_func__finitel_use=yes
34935 else
34936 glibcxx_cv_func__finitel_use=no
34937 fi
34938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34939 ac_ext=c
34940 ac_cpp='$CPP $CPPFLAGS'
34941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34944
34945
34946 fi
34947
34948 fi
34949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34950 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34951
34952 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34953 for ac_func in _finitel
34954 do :
34955 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34956 if test "x$ac_cv_func__finitel" = xyes; then :
34957 cat >>confdefs.h <<_ACEOF
34958 #define HAVE__FINITEL 1
34959 _ACEOF
34960
34961 fi
34962 done
34963
34964 fi
34965 fi
34966
34967
34968
34969
34970 LIBS="$ac_save_LIBS"
34971 CXXFLAGS="$ac_save_CXXFLAGS"
34972
34973
34974 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34975 ac_save_CXXFLAGS="$CXXFLAGS"
34976 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34977
34978
34979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34980 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34981 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34982 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
34983 $as_echo_n "(cached) " >&6
34984 else
34985
34986
34987 ac_ext=cpp
34988 ac_cpp='$CXXCPP $CPPFLAGS'
34989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34992
34993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34994 /* end confdefs.h. */
34995 #include <stdlib.h>
34996 int
34997 main ()
34998 {
34999 at_quick_exit(0);
35000 ;
35001 return 0;
35002 }
35003 _ACEOF
35004 if ac_fn_cxx_try_compile "$LINENO"; then :
35005 glibcxx_cv_func_at_quick_exit_use=yes
35006 else
35007 glibcxx_cv_func_at_quick_exit_use=no
35008 fi
35009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35010 ac_ext=c
35011 ac_cpp='$CPP $CPPFLAGS'
35012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35015
35016
35017 fi
35018
35019 fi
35020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35021 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35022 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35023 for ac_func in at_quick_exit
35024 do :
35025 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35026 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35027 cat >>confdefs.h <<_ACEOF
35028 #define HAVE_AT_QUICK_EXIT 1
35029 _ACEOF
35030
35031 fi
35032 done
35033
35034 fi
35035
35036
35037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35038 $as_echo_n "checking for quick_exit declaration... " >&6; }
35039 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35040 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35041 $as_echo_n "(cached) " >&6
35042 else
35043
35044
35045 ac_ext=cpp
35046 ac_cpp='$CXXCPP $CPPFLAGS'
35047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35050
35051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35052 /* end confdefs.h. */
35053 #include <stdlib.h>
35054 int
35055 main ()
35056 {
35057 quick_exit(0);
35058 ;
35059 return 0;
35060 }
35061 _ACEOF
35062 if ac_fn_cxx_try_compile "$LINENO"; then :
35063 glibcxx_cv_func_quick_exit_use=yes
35064 else
35065 glibcxx_cv_func_quick_exit_use=no
35066 fi
35067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35068 ac_ext=c
35069 ac_cpp='$CPP $CPPFLAGS'
35070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35073
35074
35075 fi
35076
35077 fi
35078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35079 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35080 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35081 for ac_func in quick_exit
35082 do :
35083 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35084 if test "x$ac_cv_func_quick_exit" = xyes; then :
35085 cat >>confdefs.h <<_ACEOF
35086 #define HAVE_QUICK_EXIT 1
35087 _ACEOF
35088
35089 fi
35090 done
35091
35092 fi
35093
35094
35095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35096 $as_echo_n "checking for strtold declaration... " >&6; }
35097 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35098 if ${glibcxx_cv_func_strtold_use+:} false; then :
35099 $as_echo_n "(cached) " >&6
35100 else
35101
35102
35103 ac_ext=cpp
35104 ac_cpp='$CXXCPP $CPPFLAGS'
35105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35108
35109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35110 /* end confdefs.h. */
35111 #include <stdlib.h>
35112 int
35113 main ()
35114 {
35115 strtold(0, 0);
35116 ;
35117 return 0;
35118 }
35119 _ACEOF
35120 if ac_fn_cxx_try_compile "$LINENO"; then :
35121 glibcxx_cv_func_strtold_use=yes
35122 else
35123 glibcxx_cv_func_strtold_use=no
35124 fi
35125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35126 ac_ext=c
35127 ac_cpp='$CPP $CPPFLAGS'
35128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35131
35132
35133 fi
35134
35135 fi
35136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35137 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35138 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35139 for ac_func in strtold
35140 do :
35141 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35142 if test "x$ac_cv_func_strtold" = xyes; then :
35143 cat >>confdefs.h <<_ACEOF
35144 #define HAVE_STRTOLD 1
35145 _ACEOF
35146
35147 fi
35148 done
35149
35150 fi
35151
35152
35153
35154
35155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35156 $as_echo_n "checking for strtof declaration... " >&6; }
35157 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35158 if ${glibcxx_cv_func_strtof_use+:} false; then :
35159 $as_echo_n "(cached) " >&6
35160 else
35161
35162
35163 ac_ext=cpp
35164 ac_cpp='$CXXCPP $CPPFLAGS'
35165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35168
35169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35170 /* end confdefs.h. */
35171 #include <stdlib.h>
35172 int
35173 main ()
35174 {
35175 strtof(0, 0);
35176 ;
35177 return 0;
35178 }
35179 _ACEOF
35180 if ac_fn_cxx_try_compile "$LINENO"; then :
35181 glibcxx_cv_func_strtof_use=yes
35182 else
35183 glibcxx_cv_func_strtof_use=no
35184 fi
35185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35186 ac_ext=c
35187 ac_cpp='$CPP $CPPFLAGS'
35188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35191
35192
35193 fi
35194
35195 fi
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35197 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35198 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35199 for ac_func in strtof
35200 do :
35201 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35202 if test "x$ac_cv_func_strtof" = xyes; then :
35203 cat >>confdefs.h <<_ACEOF
35204 #define HAVE_STRTOF 1
35205 _ACEOF
35206
35207 fi
35208 done
35209
35210 fi
35211
35212
35213
35214
35215 CXXFLAGS="$ac_save_CXXFLAGS"
35216
35217
35218 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35219
35220 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35221
35222 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35223
35224 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35225
35226
35227 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35228
35229 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35230
35231 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35232
35233 ;;
35234
35235 spu-*-elf*)
35236
35237 # All these tests are for C++; save the language and the compiler flags.
35238 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35239 # found in GLIBCXX_CONFIGURE.
35240
35241 ac_ext=cpp
35242 ac_cpp='$CXXCPP $CPPFLAGS'
35243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35246
35247 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35248 ac_save_CXXFLAGS="$CXXFLAGS"
35249
35250 # Check for -ffunction-sections -fdata-sections
35251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35252 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35253 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35255 /* end confdefs.h. */
35256 int foo; void bar() { };
35257 int
35258 main ()
35259 {
35260
35261 ;
35262 return 0;
35263 }
35264 _ACEOF
35265 if ac_fn_cxx_try_compile "$LINENO"; then :
35266 ac_fdsections=yes
35267 else
35268 ac_fdsections=no
35269 fi
35270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35271 if test "$ac_test_CXXFLAGS" = set; then
35272 CXXFLAGS="$ac_save_CXXFLAGS"
35273 else
35274 # this is the suspicious part
35275 CXXFLAGS=''
35276 fi
35277 if test x"$ac_fdsections" = x"yes"; then
35278 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35279 fi
35280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35281 $as_echo "$ac_fdsections" >&6; }
35282
35283 ac_ext=c
35284 ac_cpp='$CPP $CPPFLAGS'
35285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35288
35289
35290
35291
35292 # If we're not using GNU ld, then there's no point in even trying these
35293 # tests. Check for that first. We should have already tested for gld
35294 # by now (in libtool), but require it now just to be safe...
35295 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35296 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35297
35298
35299
35300 # The name set by libtool depends on the version of libtool. Shame on us
35301 # for depending on an impl detail, but c'est la vie. Older versions used
35302 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35303 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35304 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35305 # set (hence we're using an older libtool), then set it.
35306 if test x${with_gnu_ld+set} != xset; then
35307 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35308 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35309 with_gnu_ld=no
35310 else
35311 with_gnu_ld=$ac_cv_prog_gnu_ld
35312 fi
35313 fi
35314
35315 # Start by getting the version number. I think the libtool test already
35316 # does some of this, but throws away the result.
35317 glibcxx_ld_is_gold=no
35318 if test x"$with_gnu_ld" = x"yes"; then
35319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35320 $as_echo_n "checking for ld version... " >&6; }
35321
35322 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35323 glibcxx_ld_is_gold=yes
35324 fi
35325 ldver=`$LD --version 2>/dev/null |
35326 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'`
35327
35328 glibcxx_gnu_ld_version=`echo $ldver | \
35329 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35331 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35332 fi
35333
35334 # Set --gc-sections.
35335 glibcxx_have_gc_sections=no
35336 if test "$glibcxx_ld_is_gold" = "yes"; then
35337 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35338 glibcxx_have_gc_sections=yes
35339 fi
35340 else
35341 glibcxx_gcsections_min_ld=21602
35342 if test x"$with_gnu_ld" = x"yes" &&
35343 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35344 glibcxx_have_gc_sections=yes
35345 fi
35346 fi
35347 if test "$glibcxx_have_gc_sections" = "yes"; then
35348 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35349 # NB: This flag only works reliably after 2.16.1. Configure tests
35350 # for this are difficult, so hard wire a value that should work.
35351
35352 ac_test_CFLAGS="${CFLAGS+set}"
35353 ac_save_CFLAGS="$CFLAGS"
35354 CFLAGS='-Wl,--gc-sections'
35355
35356 # Check for -Wl,--gc-sections
35357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35358 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35359 if test x$gcc_no_link = xyes; then
35360 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35361 fi
35362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35363 /* end confdefs.h. */
35364 int one(void) { return 1; }
35365 int two(void) { return 2; }
35366
35367 int
35368 main ()
35369 {
35370 two();
35371 ;
35372 return 0;
35373 }
35374 _ACEOF
35375 if ac_fn_c_try_link "$LINENO"; then :
35376 ac_gcsections=yes
35377 else
35378 ac_gcsections=no
35379 fi
35380 rm -f core conftest.err conftest.$ac_objext \
35381 conftest$ac_exeext conftest.$ac_ext
35382 if test "$ac_gcsections" = "yes"; then
35383 rm -f conftest.c
35384 touch conftest.c
35385 if $CC -c conftest.c; then
35386 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35387 grep "Warning: gc-sections option ignored" > /dev/null; then
35388 ac_gcsections=no
35389 fi
35390 fi
35391 rm -f conftest.c conftest.o conftest
35392 fi
35393 if test "$ac_gcsections" = "yes"; then
35394 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35395 fi
35396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35397 $as_echo "$ac_gcsections" >&6; }
35398
35399 if test "$ac_test_CFLAGS" = set; then
35400 CFLAGS="$ac_save_CFLAGS"
35401 else
35402 # this is the suspicious part
35403 CFLAGS=''
35404 fi
35405 fi
35406
35407 # Set -z,relro.
35408 # Note this is only for shared objects.
35409 ac_ld_relro=no
35410 if test x"$with_gnu_ld" = x"yes"; then
35411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35412 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35413 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35414 if test -n "$cxx_z_relo"; then
35415 OPT_LDFLAGS="-Wl,-z,relro"
35416 ac_ld_relro=yes
35417 fi
35418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35419 $as_echo "$ac_ld_relro" >&6; }
35420 fi
35421
35422 # Set linker optimization flags.
35423 if test x"$with_gnu_ld" = x"yes"; then
35424 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35425 fi
35426
35427
35428
35429
35430
35431 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35432 ac_save_CXXFLAGS="$CXXFLAGS"
35433 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35434
35435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35436 $as_echo_n "checking for sin in -lm... " >&6; }
35437 if ${ac_cv_lib_m_sin+:} false; then :
35438 $as_echo_n "(cached) " >&6
35439 else
35440 ac_check_lib_save_LIBS=$LIBS
35441 LIBS="-lm $LIBS"
35442 if test x$gcc_no_link = xyes; then
35443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35444 fi
35445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35446 /* end confdefs.h. */
35447
35448 /* Override any GCC internal prototype to avoid an error.
35449 Use char because int might match the return type of a GCC
35450 builtin and then its argument prototype would still apply. */
35451 #ifdef __cplusplus
35452 extern "C"
35453 #endif
35454 char sin ();
35455 int
35456 main ()
35457 {
35458 return sin ();
35459 ;
35460 return 0;
35461 }
35462 _ACEOF
35463 if ac_fn_c_try_link "$LINENO"; then :
35464 ac_cv_lib_m_sin=yes
35465 else
35466 ac_cv_lib_m_sin=no
35467 fi
35468 rm -f core conftest.err conftest.$ac_objext \
35469 conftest$ac_exeext conftest.$ac_ext
35470 LIBS=$ac_check_lib_save_LIBS
35471 fi
35472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35473 $as_echo "$ac_cv_lib_m_sin" >&6; }
35474 if test "x$ac_cv_lib_m_sin" = xyes; then :
35475 libm="-lm"
35476 fi
35477
35478 ac_save_LIBS="$LIBS"
35479 LIBS="$LIBS $libm"
35480
35481
35482
35483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35484 $as_echo_n "checking for isinf declaration... " >&6; }
35485 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35486 if ${glibcxx_cv_func_isinf_use+:} false; then :
35487 $as_echo_n "(cached) " >&6
35488 else
35489
35490
35491 ac_ext=cpp
35492 ac_cpp='$CXXCPP $CPPFLAGS'
35493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35496
35497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35498 /* end confdefs.h. */
35499 #include <math.h>
35500 #ifdef HAVE_IEEEFP_H
35501 #include <ieeefp.h>
35502 #endif
35503
35504 int
35505 main ()
35506 {
35507 isinf(0);
35508 ;
35509 return 0;
35510 }
35511 _ACEOF
35512 if ac_fn_cxx_try_compile "$LINENO"; then :
35513 glibcxx_cv_func_isinf_use=yes
35514 else
35515 glibcxx_cv_func_isinf_use=no
35516 fi
35517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35518 ac_ext=c
35519 ac_cpp='$CPP $CPPFLAGS'
35520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35523
35524
35525 fi
35526
35527 fi
35528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35529 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35530
35531 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35532 for ac_func in isinf
35533 do :
35534 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35535 if test "x$ac_cv_func_isinf" = xyes; then :
35536 cat >>confdefs.h <<_ACEOF
35537 #define HAVE_ISINF 1
35538 _ACEOF
35539
35540 fi
35541 done
35542
35543 else
35544
35545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35546 $as_echo_n "checking for _isinf declaration... " >&6; }
35547 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35548 if ${glibcxx_cv_func__isinf_use+:} false; then :
35549 $as_echo_n "(cached) " >&6
35550 else
35551
35552
35553 ac_ext=cpp
35554 ac_cpp='$CXXCPP $CPPFLAGS'
35555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35558
35559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35560 /* end confdefs.h. */
35561 #include <math.h>
35562 #ifdef HAVE_IEEEFP_H
35563 #include <ieeefp.h>
35564 #endif
35565
35566 int
35567 main ()
35568 {
35569 _isinf(0);
35570 ;
35571 return 0;
35572 }
35573 _ACEOF
35574 if ac_fn_cxx_try_compile "$LINENO"; then :
35575 glibcxx_cv_func__isinf_use=yes
35576 else
35577 glibcxx_cv_func__isinf_use=no
35578 fi
35579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35580 ac_ext=c
35581 ac_cpp='$CPP $CPPFLAGS'
35582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35585
35586
35587 fi
35588
35589 fi
35590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35591 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35592
35593 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35594 for ac_func in _isinf
35595 do :
35596 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35597 if test "x$ac_cv_func__isinf" = xyes; then :
35598 cat >>confdefs.h <<_ACEOF
35599 #define HAVE__ISINF 1
35600 _ACEOF
35601
35602 fi
35603 done
35604
35605 fi
35606 fi
35607
35608
35609
35610
35611
35612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35613 $as_echo_n "checking for isnan declaration... " >&6; }
35614 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35615 if ${glibcxx_cv_func_isnan_use+:} false; then :
35616 $as_echo_n "(cached) " >&6
35617 else
35618
35619
35620 ac_ext=cpp
35621 ac_cpp='$CXXCPP $CPPFLAGS'
35622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35625
35626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35627 /* end confdefs.h. */
35628 #include <math.h>
35629 #ifdef HAVE_IEEEFP_H
35630 #include <ieeefp.h>
35631 #endif
35632
35633 int
35634 main ()
35635 {
35636 isnan(0);
35637 ;
35638 return 0;
35639 }
35640 _ACEOF
35641 if ac_fn_cxx_try_compile "$LINENO"; then :
35642 glibcxx_cv_func_isnan_use=yes
35643 else
35644 glibcxx_cv_func_isnan_use=no
35645 fi
35646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35647 ac_ext=c
35648 ac_cpp='$CPP $CPPFLAGS'
35649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35652
35653
35654 fi
35655
35656 fi
35657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35658 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35659
35660 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35661 for ac_func in isnan
35662 do :
35663 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35664 if test "x$ac_cv_func_isnan" = xyes; then :
35665 cat >>confdefs.h <<_ACEOF
35666 #define HAVE_ISNAN 1
35667 _ACEOF
35668
35669 fi
35670 done
35671
35672 else
35673
35674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35675 $as_echo_n "checking for _isnan declaration... " >&6; }
35676 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35677 if ${glibcxx_cv_func__isnan_use+:} false; 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 _isnan(0);
35699 ;
35700 return 0;
35701 }
35702 _ACEOF
35703 if ac_fn_cxx_try_compile "$LINENO"; then :
35704 glibcxx_cv_func__isnan_use=yes
35705 else
35706 glibcxx_cv_func__isnan_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__isnan_use" >&5
35720 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35721
35722 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35723 for ac_func in _isnan
35724 do :
35725 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35726 if test "x$ac_cv_func__isnan" = xyes; then :
35727 cat >>confdefs.h <<_ACEOF
35728 #define HAVE__ISNAN 1
35729 _ACEOF
35730
35731 fi
35732 done
35733
35734 fi
35735 fi
35736
35737
35738
35739
35740
35741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35742 $as_echo_n "checking for finite declaration... " >&6; }
35743 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35744 if ${glibcxx_cv_func_finite_use+:} false; then :
35745 $as_echo_n "(cached) " >&6
35746 else
35747
35748
35749 ac_ext=cpp
35750 ac_cpp='$CXXCPP $CPPFLAGS'
35751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35754
35755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35756 /* end confdefs.h. */
35757 #include <math.h>
35758 #ifdef HAVE_IEEEFP_H
35759 #include <ieeefp.h>
35760 #endif
35761
35762 int
35763 main ()
35764 {
35765 finite(0);
35766 ;
35767 return 0;
35768 }
35769 _ACEOF
35770 if ac_fn_cxx_try_compile "$LINENO"; then :
35771 glibcxx_cv_func_finite_use=yes
35772 else
35773 glibcxx_cv_func_finite_use=no
35774 fi
35775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35776 ac_ext=c
35777 ac_cpp='$CPP $CPPFLAGS'
35778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35781
35782
35783 fi
35784
35785 fi
35786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35787 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35788
35789 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35790 for ac_func in finite
35791 do :
35792 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35793 if test "x$ac_cv_func_finite" = xyes; then :
35794 cat >>confdefs.h <<_ACEOF
35795 #define HAVE_FINITE 1
35796 _ACEOF
35797
35798 fi
35799 done
35800
35801 else
35802
35803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35804 $as_echo_n "checking for _finite declaration... " >&6; }
35805 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35806 if ${glibcxx_cv_func__finite_use+:} false; 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 #ifdef HAVE_IEEEFP_H
35821 #include <ieeefp.h>
35822 #endif
35823
35824 int
35825 main ()
35826 {
35827 _finite(0);
35828 ;
35829 return 0;
35830 }
35831 _ACEOF
35832 if ac_fn_cxx_try_compile "$LINENO"; then :
35833 glibcxx_cv_func__finite_use=yes
35834 else
35835 glibcxx_cv_func__finite_use=no
35836 fi
35837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35838 ac_ext=c
35839 ac_cpp='$CPP $CPPFLAGS'
35840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35843
35844
35845 fi
35846
35847 fi
35848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35849 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35850
35851 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35852 for ac_func in _finite
35853 do :
35854 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35855 if test "x$ac_cv_func__finite" = xyes; then :
35856 cat >>confdefs.h <<_ACEOF
35857 #define HAVE__FINITE 1
35858 _ACEOF
35859
35860 fi
35861 done
35862
35863 fi
35864 fi
35865
35866
35867
35868
35869
35870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35871 $as_echo_n "checking for sincos declaration... " >&6; }
35872 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35873 if ${glibcxx_cv_func_sincos_use+:} false; then :
35874 $as_echo_n "(cached) " >&6
35875 else
35876
35877
35878 ac_ext=cpp
35879 ac_cpp='$CXXCPP $CPPFLAGS'
35880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35883
35884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35885 /* end confdefs.h. */
35886 #include <math.h>
35887 int
35888 main ()
35889 {
35890 sincos(0, 0, 0);
35891 ;
35892 return 0;
35893 }
35894 _ACEOF
35895 if ac_fn_cxx_try_compile "$LINENO"; then :
35896 glibcxx_cv_func_sincos_use=yes
35897 else
35898 glibcxx_cv_func_sincos_use=no
35899 fi
35900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35901 ac_ext=c
35902 ac_cpp='$CPP $CPPFLAGS'
35903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35906
35907
35908 fi
35909
35910 fi
35911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35912 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35913
35914 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35915 for ac_func in sincos
35916 do :
35917 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35918 if test "x$ac_cv_func_sincos" = xyes; then :
35919 cat >>confdefs.h <<_ACEOF
35920 #define HAVE_SINCOS 1
35921 _ACEOF
35922
35923 fi
35924 done
35925
35926 else
35927
35928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35929 $as_echo_n "checking for _sincos declaration... " >&6; }
35930 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35931 if ${glibcxx_cv_func__sincos_use+:} false; then :
35932 $as_echo_n "(cached) " >&6
35933 else
35934
35935
35936 ac_ext=cpp
35937 ac_cpp='$CXXCPP $CPPFLAGS'
35938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35941
35942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35943 /* end confdefs.h. */
35944 #include <math.h>
35945 int
35946 main ()
35947 {
35948 _sincos(0, 0, 0);
35949 ;
35950 return 0;
35951 }
35952 _ACEOF
35953 if ac_fn_cxx_try_compile "$LINENO"; then :
35954 glibcxx_cv_func__sincos_use=yes
35955 else
35956 glibcxx_cv_func__sincos_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__sincos_use" >&5
35970 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35971
35972 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35973 for ac_func in _sincos
35974 do :
35975 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35976 if test "x$ac_cv_func__sincos" = xyes; then :
35977 cat >>confdefs.h <<_ACEOF
35978 #define HAVE__SINCOS 1
35979 _ACEOF
35980
35981 fi
35982 done
35983
35984 fi
35985 fi
35986
35987
35988
35989
35990
35991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35992 $as_echo_n "checking for fpclass declaration... " >&6; }
35993 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35994 if ${glibcxx_cv_func_fpclass_use+:} false; then :
35995 $as_echo_n "(cached) " >&6
35996 else
35997
35998
35999 ac_ext=cpp
36000 ac_cpp='$CXXCPP $CPPFLAGS'
36001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36004
36005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36006 /* end confdefs.h. */
36007 #include <math.h>
36008 #ifdef HAVE_IEEEFP_H
36009 #include <ieeefp.h>
36010 #endif
36011
36012 int
36013 main ()
36014 {
36015 fpclass(0);
36016 ;
36017 return 0;
36018 }
36019 _ACEOF
36020 if ac_fn_cxx_try_compile "$LINENO"; then :
36021 glibcxx_cv_func_fpclass_use=yes
36022 else
36023 glibcxx_cv_func_fpclass_use=no
36024 fi
36025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36026 ac_ext=c
36027 ac_cpp='$CPP $CPPFLAGS'
36028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36031
36032
36033 fi
36034
36035 fi
36036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36037 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36038
36039 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36040 for ac_func in fpclass
36041 do :
36042 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36043 if test "x$ac_cv_func_fpclass" = xyes; then :
36044 cat >>confdefs.h <<_ACEOF
36045 #define HAVE_FPCLASS 1
36046 _ACEOF
36047
36048 fi
36049 done
36050
36051 else
36052
36053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36054 $as_echo_n "checking for _fpclass declaration... " >&6; }
36055 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36056 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36057 $as_echo_n "(cached) " >&6
36058 else
36059
36060
36061 ac_ext=cpp
36062 ac_cpp='$CXXCPP $CPPFLAGS'
36063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36066
36067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36068 /* end confdefs.h. */
36069 #include <math.h>
36070 #ifdef HAVE_IEEEFP_H
36071 #include <ieeefp.h>
36072 #endif
36073
36074 int
36075 main ()
36076 {
36077 _fpclass(0);
36078 ;
36079 return 0;
36080 }
36081 _ACEOF
36082 if ac_fn_cxx_try_compile "$LINENO"; then :
36083 glibcxx_cv_func__fpclass_use=yes
36084 else
36085 glibcxx_cv_func__fpclass_use=no
36086 fi
36087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36088 ac_ext=c
36089 ac_cpp='$CPP $CPPFLAGS'
36090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36093
36094
36095 fi
36096
36097 fi
36098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36099 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36100
36101 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36102 for ac_func in _fpclass
36103 do :
36104 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36105 if test "x$ac_cv_func__fpclass" = xyes; then :
36106 cat >>confdefs.h <<_ACEOF
36107 #define HAVE__FPCLASS 1
36108 _ACEOF
36109
36110 fi
36111 done
36112
36113 fi
36114 fi
36115
36116
36117
36118
36119
36120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36121 $as_echo_n "checking for qfpclass declaration... " >&6; }
36122 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36123 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36124 $as_echo_n "(cached) " >&6
36125 else
36126
36127
36128 ac_ext=cpp
36129 ac_cpp='$CXXCPP $CPPFLAGS'
36130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36133
36134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36135 /* end confdefs.h. */
36136 #include <math.h>
36137 #ifdef HAVE_IEEEFP_H
36138 #include <ieeefp.h>
36139 #endif
36140
36141 int
36142 main ()
36143 {
36144 qfpclass(0);
36145 ;
36146 return 0;
36147 }
36148 _ACEOF
36149 if ac_fn_cxx_try_compile "$LINENO"; then :
36150 glibcxx_cv_func_qfpclass_use=yes
36151 else
36152 glibcxx_cv_func_qfpclass_use=no
36153 fi
36154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36155 ac_ext=c
36156 ac_cpp='$CPP $CPPFLAGS'
36157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36160
36161
36162 fi
36163
36164 fi
36165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36166 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36167
36168 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36169 for ac_func in qfpclass
36170 do :
36171 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36172 if test "x$ac_cv_func_qfpclass" = xyes; then :
36173 cat >>confdefs.h <<_ACEOF
36174 #define HAVE_QFPCLASS 1
36175 _ACEOF
36176
36177 fi
36178 done
36179
36180 else
36181
36182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36183 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36184 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36185 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36186 $as_echo_n "(cached) " >&6
36187 else
36188
36189
36190 ac_ext=cpp
36191 ac_cpp='$CXXCPP $CPPFLAGS'
36192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36195
36196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36197 /* end confdefs.h. */
36198 #include <math.h>
36199 #ifdef HAVE_IEEEFP_H
36200 #include <ieeefp.h>
36201 #endif
36202
36203 int
36204 main ()
36205 {
36206 _qfpclass(0);
36207 ;
36208 return 0;
36209 }
36210 _ACEOF
36211 if ac_fn_cxx_try_compile "$LINENO"; then :
36212 glibcxx_cv_func__qfpclass_use=yes
36213 else
36214 glibcxx_cv_func__qfpclass_use=no
36215 fi
36216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36217 ac_ext=c
36218 ac_cpp='$CPP $CPPFLAGS'
36219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36222
36223
36224 fi
36225
36226 fi
36227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36228 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36229
36230 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36231 for ac_func in _qfpclass
36232 do :
36233 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36234 if test "x$ac_cv_func__qfpclass" = xyes; then :
36235 cat >>confdefs.h <<_ACEOF
36236 #define HAVE__QFPCLASS 1
36237 _ACEOF
36238
36239 fi
36240 done
36241
36242 fi
36243 fi
36244
36245
36246
36247
36248
36249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36250 $as_echo_n "checking for hypot declaration... " >&6; }
36251 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36252 if ${glibcxx_cv_func_hypot_use+:} false; then :
36253 $as_echo_n "(cached) " >&6
36254 else
36255
36256
36257 ac_ext=cpp
36258 ac_cpp='$CXXCPP $CPPFLAGS'
36259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36262
36263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36264 /* end confdefs.h. */
36265 #include <math.h>
36266 int
36267 main ()
36268 {
36269 hypot(0, 0);
36270 ;
36271 return 0;
36272 }
36273 _ACEOF
36274 if ac_fn_cxx_try_compile "$LINENO"; then :
36275 glibcxx_cv_func_hypot_use=yes
36276 else
36277 glibcxx_cv_func_hypot_use=no
36278 fi
36279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36280 ac_ext=c
36281 ac_cpp='$CPP $CPPFLAGS'
36282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36285
36286
36287 fi
36288
36289 fi
36290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36291 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36292
36293 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36294 for ac_func in hypot
36295 do :
36296 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36297 if test "x$ac_cv_func_hypot" = xyes; then :
36298 cat >>confdefs.h <<_ACEOF
36299 #define HAVE_HYPOT 1
36300 _ACEOF
36301
36302 fi
36303 done
36304
36305 else
36306
36307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36308 $as_echo_n "checking for _hypot declaration... " >&6; }
36309 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36310 if ${glibcxx_cv_func__hypot_use+:} false; then :
36311 $as_echo_n "(cached) " >&6
36312 else
36313
36314
36315 ac_ext=cpp
36316 ac_cpp='$CXXCPP $CPPFLAGS'
36317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36320
36321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36322 /* end confdefs.h. */
36323 #include <math.h>
36324 int
36325 main ()
36326 {
36327 _hypot(0, 0);
36328 ;
36329 return 0;
36330 }
36331 _ACEOF
36332 if ac_fn_cxx_try_compile "$LINENO"; then :
36333 glibcxx_cv_func__hypot_use=yes
36334 else
36335 glibcxx_cv_func__hypot_use=no
36336 fi
36337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36338 ac_ext=c
36339 ac_cpp='$CPP $CPPFLAGS'
36340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36343
36344
36345 fi
36346
36347 fi
36348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36349 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36350
36351 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36352 for ac_func in _hypot
36353 do :
36354 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36355 if test "x$ac_cv_func__hypot" = xyes; then :
36356 cat >>confdefs.h <<_ACEOF
36357 #define HAVE__HYPOT 1
36358 _ACEOF
36359
36360 fi
36361 done
36362
36363 fi
36364 fi
36365
36366
36367
36368
36369
36370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36371 $as_echo_n "checking for float trig functions... " >&6; }
36372 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36373 $as_echo_n "(cached) " >&6
36374 else
36375
36376
36377 ac_ext=cpp
36378 ac_cpp='$CXXCPP $CPPFLAGS'
36379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36382
36383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36384 /* end confdefs.h. */
36385 #include <math.h>
36386 int
36387 main ()
36388 {
36389 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36390 ;
36391 return 0;
36392 }
36393 _ACEOF
36394 if ac_fn_cxx_try_compile "$LINENO"; then :
36395 glibcxx_cv_func_float_trig_use=yes
36396 else
36397 glibcxx_cv_func_float_trig_use=no
36398 fi
36399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36400 ac_ext=c
36401 ac_cpp='$CPP $CPPFLAGS'
36402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36405
36406 fi
36407
36408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36409 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36410 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36411 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36412 do :
36413 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36415 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36416 cat >>confdefs.h <<_ACEOF
36417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36418 _ACEOF
36419
36420 fi
36421 done
36422
36423 else
36424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36425 $as_echo_n "checking for _float trig functions... " >&6; }
36426 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36427 $as_echo_n "(cached) " >&6
36428 else
36429
36430
36431 ac_ext=cpp
36432 ac_cpp='$CXXCPP $CPPFLAGS'
36433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36436
36437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36438 /* end confdefs.h. */
36439 #include <math.h>
36440 int
36441 main ()
36442 {
36443 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36444 ;
36445 return 0;
36446 }
36447 _ACEOF
36448 if ac_fn_cxx_try_compile "$LINENO"; then :
36449 glibcxx_cv_func__float_trig_use=yes
36450 else
36451 glibcxx_cv_func__float_trig_use=no
36452 fi
36453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36454 ac_ext=c
36455 ac_cpp='$CPP $CPPFLAGS'
36456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36459
36460 fi
36461
36462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36463 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36464 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36465 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36466 do :
36467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36469 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36470 cat >>confdefs.h <<_ACEOF
36471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36472 _ACEOF
36473
36474 fi
36475 done
36476
36477 fi
36478 fi
36479
36480
36481
36482
36483
36484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36485 $as_echo_n "checking for float round functions... " >&6; }
36486 if ${glibcxx_cv_func_float_round_use+:} false; then :
36487 $as_echo_n "(cached) " >&6
36488 else
36489
36490
36491 ac_ext=cpp
36492 ac_cpp='$CXXCPP $CPPFLAGS'
36493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36496
36497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36498 /* end confdefs.h. */
36499 #include <math.h>
36500 int
36501 main ()
36502 {
36503 ceilf (0); floorf (0);
36504 ;
36505 return 0;
36506 }
36507 _ACEOF
36508 if ac_fn_cxx_try_compile "$LINENO"; then :
36509 glibcxx_cv_func_float_round_use=yes
36510 else
36511 glibcxx_cv_func_float_round_use=no
36512 fi
36513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36514 ac_ext=c
36515 ac_cpp='$CPP $CPPFLAGS'
36516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36519
36520 fi
36521
36522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36523 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36524 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36525 for ac_func in ceilf floorf
36526 do :
36527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36529 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36530 cat >>confdefs.h <<_ACEOF
36531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36532 _ACEOF
36533
36534 fi
36535 done
36536
36537 else
36538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36539 $as_echo_n "checking for _float round functions... " >&6; }
36540 if ${glibcxx_cv_func__float_round_use+:} false; then :
36541 $as_echo_n "(cached) " >&6
36542 else
36543
36544
36545 ac_ext=cpp
36546 ac_cpp='$CXXCPP $CPPFLAGS'
36547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36550
36551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36552 /* end confdefs.h. */
36553 #include <math.h>
36554 int
36555 main ()
36556 {
36557 _ceilf (0); _floorf (0);
36558 ;
36559 return 0;
36560 }
36561 _ACEOF
36562 if ac_fn_cxx_try_compile "$LINENO"; then :
36563 glibcxx_cv_func__float_round_use=yes
36564 else
36565 glibcxx_cv_func__float_round_use=no
36566 fi
36567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36568 ac_ext=c
36569 ac_cpp='$CPP $CPPFLAGS'
36570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36573
36574 fi
36575
36576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36577 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36578 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36579 for ac_func in _ceilf _floorf
36580 do :
36581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36583 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36584 cat >>confdefs.h <<_ACEOF
36585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36586 _ACEOF
36587
36588 fi
36589 done
36590
36591 fi
36592 fi
36593
36594
36595
36596
36597
36598
36599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36600 $as_echo_n "checking for expf declaration... " >&6; }
36601 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36602 if ${glibcxx_cv_func_expf_use+:} false; then :
36603 $as_echo_n "(cached) " >&6
36604 else
36605
36606
36607 ac_ext=cpp
36608 ac_cpp='$CXXCPP $CPPFLAGS'
36609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36612
36613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36614 /* end confdefs.h. */
36615 #include <math.h>
36616 #ifdef HAVE_IEEEFP_H
36617 #include <ieeefp.h>
36618 #endif
36619
36620 int
36621 main ()
36622 {
36623 expf(0);
36624 ;
36625 return 0;
36626 }
36627 _ACEOF
36628 if ac_fn_cxx_try_compile "$LINENO"; then :
36629 glibcxx_cv_func_expf_use=yes
36630 else
36631 glibcxx_cv_func_expf_use=no
36632 fi
36633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36634 ac_ext=c
36635 ac_cpp='$CPP $CPPFLAGS'
36636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36639
36640
36641 fi
36642
36643 fi
36644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36645 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36646
36647 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36648 for ac_func in expf
36649 do :
36650 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36651 if test "x$ac_cv_func_expf" = xyes; then :
36652 cat >>confdefs.h <<_ACEOF
36653 #define HAVE_EXPF 1
36654 _ACEOF
36655
36656 fi
36657 done
36658
36659 else
36660
36661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36662 $as_echo_n "checking for _expf declaration... " >&6; }
36663 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36664 if ${glibcxx_cv_func__expf_use+:} false; then :
36665 $as_echo_n "(cached) " >&6
36666 else
36667
36668
36669 ac_ext=cpp
36670 ac_cpp='$CXXCPP $CPPFLAGS'
36671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36674
36675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36676 /* end confdefs.h. */
36677 #include <math.h>
36678 #ifdef HAVE_IEEEFP_H
36679 #include <ieeefp.h>
36680 #endif
36681
36682 int
36683 main ()
36684 {
36685 _expf(0);
36686 ;
36687 return 0;
36688 }
36689 _ACEOF
36690 if ac_fn_cxx_try_compile "$LINENO"; then :
36691 glibcxx_cv_func__expf_use=yes
36692 else
36693 glibcxx_cv_func__expf_use=no
36694 fi
36695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36696 ac_ext=c
36697 ac_cpp='$CPP $CPPFLAGS'
36698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36701
36702
36703 fi
36704
36705 fi
36706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36707 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36708
36709 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36710 for ac_func in _expf
36711 do :
36712 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36713 if test "x$ac_cv_func__expf" = xyes; then :
36714 cat >>confdefs.h <<_ACEOF
36715 #define HAVE__EXPF 1
36716 _ACEOF
36717
36718 fi
36719 done
36720
36721 fi
36722 fi
36723
36724
36725
36726
36727
36728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36729 $as_echo_n "checking for isnanf declaration... " >&6; }
36730 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36731 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36732 $as_echo_n "(cached) " >&6
36733 else
36734
36735
36736 ac_ext=cpp
36737 ac_cpp='$CXXCPP $CPPFLAGS'
36738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36741
36742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36743 /* end confdefs.h. */
36744 #include <math.h>
36745 #ifdef HAVE_IEEEFP_H
36746 #include <ieeefp.h>
36747 #endif
36748
36749 int
36750 main ()
36751 {
36752 isnanf(0);
36753 ;
36754 return 0;
36755 }
36756 _ACEOF
36757 if ac_fn_cxx_try_compile "$LINENO"; then :
36758 glibcxx_cv_func_isnanf_use=yes
36759 else
36760 glibcxx_cv_func_isnanf_use=no
36761 fi
36762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36763 ac_ext=c
36764 ac_cpp='$CPP $CPPFLAGS'
36765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36768
36769
36770 fi
36771
36772 fi
36773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36774 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36775
36776 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36777 for ac_func in isnanf
36778 do :
36779 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36780 if test "x$ac_cv_func_isnanf" = xyes; then :
36781 cat >>confdefs.h <<_ACEOF
36782 #define HAVE_ISNANF 1
36783 _ACEOF
36784
36785 fi
36786 done
36787
36788 else
36789
36790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36791 $as_echo_n "checking for _isnanf declaration... " >&6; }
36792 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36793 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36794 $as_echo_n "(cached) " >&6
36795 else
36796
36797
36798 ac_ext=cpp
36799 ac_cpp='$CXXCPP $CPPFLAGS'
36800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36803
36804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36805 /* end confdefs.h. */
36806 #include <math.h>
36807 #ifdef HAVE_IEEEFP_H
36808 #include <ieeefp.h>
36809 #endif
36810
36811 int
36812 main ()
36813 {
36814 _isnanf(0);
36815 ;
36816 return 0;
36817 }
36818 _ACEOF
36819 if ac_fn_cxx_try_compile "$LINENO"; then :
36820 glibcxx_cv_func__isnanf_use=yes
36821 else
36822 glibcxx_cv_func__isnanf_use=no
36823 fi
36824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36825 ac_ext=c
36826 ac_cpp='$CPP $CPPFLAGS'
36827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36830
36831
36832 fi
36833
36834 fi
36835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36836 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36837
36838 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36839 for ac_func in _isnanf
36840 do :
36841 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36842 if test "x$ac_cv_func__isnanf" = xyes; then :
36843 cat >>confdefs.h <<_ACEOF
36844 #define HAVE__ISNANF 1
36845 _ACEOF
36846
36847 fi
36848 done
36849
36850 fi
36851 fi
36852
36853
36854
36855
36856
36857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36858 $as_echo_n "checking for isinff declaration... " >&6; }
36859 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36860 if ${glibcxx_cv_func_isinff_use+:} false; then :
36861 $as_echo_n "(cached) " >&6
36862 else
36863
36864
36865 ac_ext=cpp
36866 ac_cpp='$CXXCPP $CPPFLAGS'
36867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36870
36871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36872 /* end confdefs.h. */
36873 #include <math.h>
36874 #ifdef HAVE_IEEEFP_H
36875 #include <ieeefp.h>
36876 #endif
36877
36878 int
36879 main ()
36880 {
36881 isinff(0);
36882 ;
36883 return 0;
36884 }
36885 _ACEOF
36886 if ac_fn_cxx_try_compile "$LINENO"; then :
36887 glibcxx_cv_func_isinff_use=yes
36888 else
36889 glibcxx_cv_func_isinff_use=no
36890 fi
36891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36892 ac_ext=c
36893 ac_cpp='$CPP $CPPFLAGS'
36894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36897
36898
36899 fi
36900
36901 fi
36902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36903 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36904
36905 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36906 for ac_func in isinff
36907 do :
36908 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36909 if test "x$ac_cv_func_isinff" = xyes; then :
36910 cat >>confdefs.h <<_ACEOF
36911 #define HAVE_ISINFF 1
36912 _ACEOF
36913
36914 fi
36915 done
36916
36917 else
36918
36919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36920 $as_echo_n "checking for _isinff declaration... " >&6; }
36921 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36922 if ${glibcxx_cv_func__isinff_use+:} false; then :
36923 $as_echo_n "(cached) " >&6
36924 else
36925
36926
36927 ac_ext=cpp
36928 ac_cpp='$CXXCPP $CPPFLAGS'
36929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36932
36933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36934 /* end confdefs.h. */
36935 #include <math.h>
36936 #ifdef HAVE_IEEEFP_H
36937 #include <ieeefp.h>
36938 #endif
36939
36940 int
36941 main ()
36942 {
36943 _isinff(0);
36944 ;
36945 return 0;
36946 }
36947 _ACEOF
36948 if ac_fn_cxx_try_compile "$LINENO"; then :
36949 glibcxx_cv_func__isinff_use=yes
36950 else
36951 glibcxx_cv_func__isinff_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__isinff_use" >&5
36965 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36966
36967 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36968 for ac_func in _isinff
36969 do :
36970 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36971 if test "x$ac_cv_func__isinff" = xyes; then :
36972 cat >>confdefs.h <<_ACEOF
36973 #define HAVE__ISINFF 1
36974 _ACEOF
36975
36976 fi
36977 done
36978
36979 fi
36980 fi
36981
36982
36983
36984
36985
36986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36987 $as_echo_n "checking for atan2f declaration... " >&6; }
36988 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36989 if ${glibcxx_cv_func_atan2f_use+:} false; then :
36990 $as_echo_n "(cached) " >&6
36991 else
36992
36993
36994 ac_ext=cpp
36995 ac_cpp='$CXXCPP $CPPFLAGS'
36996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36999
37000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37001 /* end confdefs.h. */
37002 #include <math.h>
37003 int
37004 main ()
37005 {
37006 atan2f(0, 0);
37007 ;
37008 return 0;
37009 }
37010 _ACEOF
37011 if ac_fn_cxx_try_compile "$LINENO"; then :
37012 glibcxx_cv_func_atan2f_use=yes
37013 else
37014 glibcxx_cv_func_atan2f_use=no
37015 fi
37016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37017 ac_ext=c
37018 ac_cpp='$CPP $CPPFLAGS'
37019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37022
37023
37024 fi
37025
37026 fi
37027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37028 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37029
37030 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37031 for ac_func in atan2f
37032 do :
37033 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37034 if test "x$ac_cv_func_atan2f" = xyes; then :
37035 cat >>confdefs.h <<_ACEOF
37036 #define HAVE_ATAN2F 1
37037 _ACEOF
37038
37039 fi
37040 done
37041
37042 else
37043
37044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37045 $as_echo_n "checking for _atan2f declaration... " >&6; }
37046 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37047 if ${glibcxx_cv_func__atan2f_use+:} false; 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 _atan2f(0, 0);
37065 ;
37066 return 0;
37067 }
37068 _ACEOF
37069 if ac_fn_cxx_try_compile "$LINENO"; then :
37070 glibcxx_cv_func__atan2f_use=yes
37071 else
37072 glibcxx_cv_func__atan2f_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__atan2f_use" >&5
37086 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37087
37088 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37089 for ac_func in _atan2f
37090 do :
37091 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37092 if test "x$ac_cv_func__atan2f" = xyes; then :
37093 cat >>confdefs.h <<_ACEOF
37094 #define HAVE__ATAN2F 1
37095 _ACEOF
37096
37097 fi
37098 done
37099
37100 fi
37101 fi
37102
37103
37104
37105
37106
37107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37108 $as_echo_n "checking for fabsf declaration... " >&6; }
37109 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37110 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37111 $as_echo_n "(cached) " >&6
37112 else
37113
37114
37115 ac_ext=cpp
37116 ac_cpp='$CXXCPP $CPPFLAGS'
37117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37120
37121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37122 /* end confdefs.h. */
37123 #include <math.h>
37124 #ifdef HAVE_IEEEFP_H
37125 #include <ieeefp.h>
37126 #endif
37127
37128 int
37129 main ()
37130 {
37131 fabsf(0);
37132 ;
37133 return 0;
37134 }
37135 _ACEOF
37136 if ac_fn_cxx_try_compile "$LINENO"; then :
37137 glibcxx_cv_func_fabsf_use=yes
37138 else
37139 glibcxx_cv_func_fabsf_use=no
37140 fi
37141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37142 ac_ext=c
37143 ac_cpp='$CPP $CPPFLAGS'
37144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37147
37148
37149 fi
37150
37151 fi
37152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37153 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37154
37155 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37156 for ac_func in fabsf
37157 do :
37158 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37159 if test "x$ac_cv_func_fabsf" = xyes; then :
37160 cat >>confdefs.h <<_ACEOF
37161 #define HAVE_FABSF 1
37162 _ACEOF
37163
37164 fi
37165 done
37166
37167 else
37168
37169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37170 $as_echo_n "checking for _fabsf declaration... " >&6; }
37171 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37172 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37173 $as_echo_n "(cached) " >&6
37174 else
37175
37176
37177 ac_ext=cpp
37178 ac_cpp='$CXXCPP $CPPFLAGS'
37179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37182
37183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37184 /* end confdefs.h. */
37185 #include <math.h>
37186 #ifdef HAVE_IEEEFP_H
37187 #include <ieeefp.h>
37188 #endif
37189
37190 int
37191 main ()
37192 {
37193 _fabsf(0);
37194 ;
37195 return 0;
37196 }
37197 _ACEOF
37198 if ac_fn_cxx_try_compile "$LINENO"; then :
37199 glibcxx_cv_func__fabsf_use=yes
37200 else
37201 glibcxx_cv_func__fabsf_use=no
37202 fi
37203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37204 ac_ext=c
37205 ac_cpp='$CPP $CPPFLAGS'
37206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37209
37210
37211 fi
37212
37213 fi
37214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37215 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37216
37217 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37218 for ac_func in _fabsf
37219 do :
37220 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37221 if test "x$ac_cv_func__fabsf" = xyes; then :
37222 cat >>confdefs.h <<_ACEOF
37223 #define HAVE__FABSF 1
37224 _ACEOF
37225
37226 fi
37227 done
37228
37229 fi
37230 fi
37231
37232
37233
37234
37235
37236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37237 $as_echo_n "checking for fmodf declaration... " >&6; }
37238 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37239 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37240 $as_echo_n "(cached) " >&6
37241 else
37242
37243
37244 ac_ext=cpp
37245 ac_cpp='$CXXCPP $CPPFLAGS'
37246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37249
37250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37251 /* end confdefs.h. */
37252 #include <math.h>
37253 int
37254 main ()
37255 {
37256 fmodf(0, 0);
37257 ;
37258 return 0;
37259 }
37260 _ACEOF
37261 if ac_fn_cxx_try_compile "$LINENO"; then :
37262 glibcxx_cv_func_fmodf_use=yes
37263 else
37264 glibcxx_cv_func_fmodf_use=no
37265 fi
37266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37267 ac_ext=c
37268 ac_cpp='$CPP $CPPFLAGS'
37269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37272
37273
37274 fi
37275
37276 fi
37277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37278 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37279
37280 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37281 for ac_func in fmodf
37282 do :
37283 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37284 if test "x$ac_cv_func_fmodf" = xyes; then :
37285 cat >>confdefs.h <<_ACEOF
37286 #define HAVE_FMODF 1
37287 _ACEOF
37288
37289 fi
37290 done
37291
37292 else
37293
37294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37295 $as_echo_n "checking for _fmodf declaration... " >&6; }
37296 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37297 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37298 $as_echo_n "(cached) " >&6
37299 else
37300
37301
37302 ac_ext=cpp
37303 ac_cpp='$CXXCPP $CPPFLAGS'
37304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37307
37308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37309 /* end confdefs.h. */
37310 #include <math.h>
37311 int
37312 main ()
37313 {
37314 _fmodf(0, 0);
37315 ;
37316 return 0;
37317 }
37318 _ACEOF
37319 if ac_fn_cxx_try_compile "$LINENO"; then :
37320 glibcxx_cv_func__fmodf_use=yes
37321 else
37322 glibcxx_cv_func__fmodf_use=no
37323 fi
37324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37325 ac_ext=c
37326 ac_cpp='$CPP $CPPFLAGS'
37327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37330
37331
37332 fi
37333
37334 fi
37335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37336 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37337
37338 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37339 for ac_func in _fmodf
37340 do :
37341 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37342 if test "x$ac_cv_func__fmodf" = xyes; then :
37343 cat >>confdefs.h <<_ACEOF
37344 #define HAVE__FMODF 1
37345 _ACEOF
37346
37347 fi
37348 done
37349
37350 fi
37351 fi
37352
37353
37354
37355
37356
37357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37358 $as_echo_n "checking for frexpf declaration... " >&6; }
37359 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37360 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37361 $as_echo_n "(cached) " >&6
37362 else
37363
37364
37365 ac_ext=cpp
37366 ac_cpp='$CXXCPP $CPPFLAGS'
37367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37370
37371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37372 /* end confdefs.h. */
37373 #include <math.h>
37374 int
37375 main ()
37376 {
37377 frexpf(0, 0);
37378 ;
37379 return 0;
37380 }
37381 _ACEOF
37382 if ac_fn_cxx_try_compile "$LINENO"; then :
37383 glibcxx_cv_func_frexpf_use=yes
37384 else
37385 glibcxx_cv_func_frexpf_use=no
37386 fi
37387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37388 ac_ext=c
37389 ac_cpp='$CPP $CPPFLAGS'
37390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37393
37394
37395 fi
37396
37397 fi
37398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37399 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37400
37401 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37402 for ac_func in frexpf
37403 do :
37404 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37405 if test "x$ac_cv_func_frexpf" = xyes; then :
37406 cat >>confdefs.h <<_ACEOF
37407 #define HAVE_FREXPF 1
37408 _ACEOF
37409
37410 fi
37411 done
37412
37413 else
37414
37415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37416 $as_echo_n "checking for _frexpf declaration... " >&6; }
37417 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37418 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37419 $as_echo_n "(cached) " >&6
37420 else
37421
37422
37423 ac_ext=cpp
37424 ac_cpp='$CXXCPP $CPPFLAGS'
37425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37428
37429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37430 /* end confdefs.h. */
37431 #include <math.h>
37432 int
37433 main ()
37434 {
37435 _frexpf(0, 0);
37436 ;
37437 return 0;
37438 }
37439 _ACEOF
37440 if ac_fn_cxx_try_compile "$LINENO"; then :
37441 glibcxx_cv_func__frexpf_use=yes
37442 else
37443 glibcxx_cv_func__frexpf_use=no
37444 fi
37445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37446 ac_ext=c
37447 ac_cpp='$CPP $CPPFLAGS'
37448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37451
37452
37453 fi
37454
37455 fi
37456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37457 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37458
37459 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37460 for ac_func in _frexpf
37461 do :
37462 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37463 if test "x$ac_cv_func__frexpf" = xyes; then :
37464 cat >>confdefs.h <<_ACEOF
37465 #define HAVE__FREXPF 1
37466 _ACEOF
37467
37468 fi
37469 done
37470
37471 fi
37472 fi
37473
37474
37475
37476
37477
37478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37479 $as_echo_n "checking for hypotf declaration... " >&6; }
37480 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37481 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37482 $as_echo_n "(cached) " >&6
37483 else
37484
37485
37486 ac_ext=cpp
37487 ac_cpp='$CXXCPP $CPPFLAGS'
37488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37491
37492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37493 /* end confdefs.h. */
37494 #include <math.h>
37495 int
37496 main ()
37497 {
37498 hypotf(0, 0);
37499 ;
37500 return 0;
37501 }
37502 _ACEOF
37503 if ac_fn_cxx_try_compile "$LINENO"; then :
37504 glibcxx_cv_func_hypotf_use=yes
37505 else
37506 glibcxx_cv_func_hypotf_use=no
37507 fi
37508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37509 ac_ext=c
37510 ac_cpp='$CPP $CPPFLAGS'
37511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37514
37515
37516 fi
37517
37518 fi
37519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37520 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37521
37522 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37523 for ac_func in hypotf
37524 do :
37525 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37526 if test "x$ac_cv_func_hypotf" = xyes; then :
37527 cat >>confdefs.h <<_ACEOF
37528 #define HAVE_HYPOTF 1
37529 _ACEOF
37530
37531 fi
37532 done
37533
37534 else
37535
37536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37537 $as_echo_n "checking for _hypotf declaration... " >&6; }
37538 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37539 if ${glibcxx_cv_func__hypotf_use+:} false; 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 int
37554 main ()
37555 {
37556 _hypotf(0, 0);
37557 ;
37558 return 0;
37559 }
37560 _ACEOF
37561 if ac_fn_cxx_try_compile "$LINENO"; then :
37562 glibcxx_cv_func__hypotf_use=yes
37563 else
37564 glibcxx_cv_func__hypotf_use=no
37565 fi
37566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37567 ac_ext=c
37568 ac_cpp='$CPP $CPPFLAGS'
37569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37572
37573
37574 fi
37575
37576 fi
37577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37578 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37579
37580 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37581 for ac_func in _hypotf
37582 do :
37583 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37584 if test "x$ac_cv_func__hypotf" = xyes; then :
37585 cat >>confdefs.h <<_ACEOF
37586 #define HAVE__HYPOTF 1
37587 _ACEOF
37588
37589 fi
37590 done
37591
37592 fi
37593 fi
37594
37595
37596
37597
37598
37599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37600 $as_echo_n "checking for ldexpf declaration... " >&6; }
37601 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37602 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37603 $as_echo_n "(cached) " >&6
37604 else
37605
37606
37607 ac_ext=cpp
37608 ac_cpp='$CXXCPP $CPPFLAGS'
37609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37612
37613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37614 /* end confdefs.h. */
37615 #include <math.h>
37616 int
37617 main ()
37618 {
37619 ldexpf(0, 0);
37620 ;
37621 return 0;
37622 }
37623 _ACEOF
37624 if ac_fn_cxx_try_compile "$LINENO"; then :
37625 glibcxx_cv_func_ldexpf_use=yes
37626 else
37627 glibcxx_cv_func_ldexpf_use=no
37628 fi
37629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37630 ac_ext=c
37631 ac_cpp='$CPP $CPPFLAGS'
37632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37635
37636
37637 fi
37638
37639 fi
37640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37641 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37642
37643 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37644 for ac_func in ldexpf
37645 do :
37646 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37647 if test "x$ac_cv_func_ldexpf" = xyes; then :
37648 cat >>confdefs.h <<_ACEOF
37649 #define HAVE_LDEXPF 1
37650 _ACEOF
37651
37652 fi
37653 done
37654
37655 else
37656
37657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37658 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37659 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37660 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37661 $as_echo_n "(cached) " >&6
37662 else
37663
37664
37665 ac_ext=cpp
37666 ac_cpp='$CXXCPP $CPPFLAGS'
37667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37670
37671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37672 /* end confdefs.h. */
37673 #include <math.h>
37674 int
37675 main ()
37676 {
37677 _ldexpf(0, 0);
37678 ;
37679 return 0;
37680 }
37681 _ACEOF
37682 if ac_fn_cxx_try_compile "$LINENO"; then :
37683 glibcxx_cv_func__ldexpf_use=yes
37684 else
37685 glibcxx_cv_func__ldexpf_use=no
37686 fi
37687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37688 ac_ext=c
37689 ac_cpp='$CPP $CPPFLAGS'
37690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37693
37694
37695 fi
37696
37697 fi
37698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37699 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37700
37701 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37702 for ac_func in _ldexpf
37703 do :
37704 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37705 if test "x$ac_cv_func__ldexpf" = xyes; then :
37706 cat >>confdefs.h <<_ACEOF
37707 #define HAVE__LDEXPF 1
37708 _ACEOF
37709
37710 fi
37711 done
37712
37713 fi
37714 fi
37715
37716
37717
37718
37719
37720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37721 $as_echo_n "checking for logf declaration... " >&6; }
37722 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37723 if ${glibcxx_cv_func_logf_use+:} false; then :
37724 $as_echo_n "(cached) " >&6
37725 else
37726
37727
37728 ac_ext=cpp
37729 ac_cpp='$CXXCPP $CPPFLAGS'
37730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37733
37734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37735 /* end confdefs.h. */
37736 #include <math.h>
37737 #ifdef HAVE_IEEEFP_H
37738 #include <ieeefp.h>
37739 #endif
37740
37741 int
37742 main ()
37743 {
37744 logf(0);
37745 ;
37746 return 0;
37747 }
37748 _ACEOF
37749 if ac_fn_cxx_try_compile "$LINENO"; then :
37750 glibcxx_cv_func_logf_use=yes
37751 else
37752 glibcxx_cv_func_logf_use=no
37753 fi
37754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37755 ac_ext=c
37756 ac_cpp='$CPP $CPPFLAGS'
37757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37760
37761
37762 fi
37763
37764 fi
37765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37766 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37767
37768 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37769 for ac_func in logf
37770 do :
37771 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37772 if test "x$ac_cv_func_logf" = xyes; then :
37773 cat >>confdefs.h <<_ACEOF
37774 #define HAVE_LOGF 1
37775 _ACEOF
37776
37777 fi
37778 done
37779
37780 else
37781
37782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37783 $as_echo_n "checking for _logf declaration... " >&6; }
37784 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37785 if ${glibcxx_cv_func__logf_use+:} false; then :
37786 $as_echo_n "(cached) " >&6
37787 else
37788
37789
37790 ac_ext=cpp
37791 ac_cpp='$CXXCPP $CPPFLAGS'
37792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37795
37796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37797 /* end confdefs.h. */
37798 #include <math.h>
37799 #ifdef HAVE_IEEEFP_H
37800 #include <ieeefp.h>
37801 #endif
37802
37803 int
37804 main ()
37805 {
37806 _logf(0);
37807 ;
37808 return 0;
37809 }
37810 _ACEOF
37811 if ac_fn_cxx_try_compile "$LINENO"; then :
37812 glibcxx_cv_func__logf_use=yes
37813 else
37814 glibcxx_cv_func__logf_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__logf_use" >&5
37828 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37829
37830 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37831 for ac_func in _logf
37832 do :
37833 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37834 if test "x$ac_cv_func__logf" = xyes; then :
37835 cat >>confdefs.h <<_ACEOF
37836 #define HAVE__LOGF 1
37837 _ACEOF
37838
37839 fi
37840 done
37841
37842 fi
37843 fi
37844
37845
37846
37847
37848
37849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37850 $as_echo_n "checking for log10f declaration... " >&6; }
37851 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37852 if ${glibcxx_cv_func_log10f_use+:} false; then :
37853 $as_echo_n "(cached) " >&6
37854 else
37855
37856
37857 ac_ext=cpp
37858 ac_cpp='$CXXCPP $CPPFLAGS'
37859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37862
37863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37864 /* end confdefs.h. */
37865 #include <math.h>
37866 #ifdef HAVE_IEEEFP_H
37867 #include <ieeefp.h>
37868 #endif
37869
37870 int
37871 main ()
37872 {
37873 log10f(0);
37874 ;
37875 return 0;
37876 }
37877 _ACEOF
37878 if ac_fn_cxx_try_compile "$LINENO"; then :
37879 glibcxx_cv_func_log10f_use=yes
37880 else
37881 glibcxx_cv_func_log10f_use=no
37882 fi
37883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37884 ac_ext=c
37885 ac_cpp='$CPP $CPPFLAGS'
37886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37889
37890
37891 fi
37892
37893 fi
37894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37895 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37896
37897 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37898 for ac_func in log10f
37899 do :
37900 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37901 if test "x$ac_cv_func_log10f" = xyes; then :
37902 cat >>confdefs.h <<_ACEOF
37903 #define HAVE_LOG10F 1
37904 _ACEOF
37905
37906 fi
37907 done
37908
37909 else
37910
37911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37912 $as_echo_n "checking for _log10f declaration... " >&6; }
37913 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37914 if ${glibcxx_cv_func__log10f_use+:} false; then :
37915 $as_echo_n "(cached) " >&6
37916 else
37917
37918
37919 ac_ext=cpp
37920 ac_cpp='$CXXCPP $CPPFLAGS'
37921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37924
37925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37926 /* end confdefs.h. */
37927 #include <math.h>
37928 #ifdef HAVE_IEEEFP_H
37929 #include <ieeefp.h>
37930 #endif
37931
37932 int
37933 main ()
37934 {
37935 _log10f(0);
37936 ;
37937 return 0;
37938 }
37939 _ACEOF
37940 if ac_fn_cxx_try_compile "$LINENO"; then :
37941 glibcxx_cv_func__log10f_use=yes
37942 else
37943 glibcxx_cv_func__log10f_use=no
37944 fi
37945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37946 ac_ext=c
37947 ac_cpp='$CPP $CPPFLAGS'
37948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37951
37952
37953 fi
37954
37955 fi
37956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37957 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37958
37959 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37960 for ac_func in _log10f
37961 do :
37962 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37963 if test "x$ac_cv_func__log10f" = xyes; then :
37964 cat >>confdefs.h <<_ACEOF
37965 #define HAVE__LOG10F 1
37966 _ACEOF
37967
37968 fi
37969 done
37970
37971 fi
37972 fi
37973
37974
37975
37976
37977
37978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37979 $as_echo_n "checking for modff declaration... " >&6; }
37980 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37981 if ${glibcxx_cv_func_modff_use+:} false; then :
37982 $as_echo_n "(cached) " >&6
37983 else
37984
37985
37986 ac_ext=cpp
37987 ac_cpp='$CXXCPP $CPPFLAGS'
37988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37991
37992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37993 /* end confdefs.h. */
37994 #include <math.h>
37995 int
37996 main ()
37997 {
37998 modff(0, 0);
37999 ;
38000 return 0;
38001 }
38002 _ACEOF
38003 if ac_fn_cxx_try_compile "$LINENO"; then :
38004 glibcxx_cv_func_modff_use=yes
38005 else
38006 glibcxx_cv_func_modff_use=no
38007 fi
38008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38009 ac_ext=c
38010 ac_cpp='$CPP $CPPFLAGS'
38011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38014
38015
38016 fi
38017
38018 fi
38019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38020 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38021
38022 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38023 for ac_func in modff
38024 do :
38025 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38026 if test "x$ac_cv_func_modff" = xyes; then :
38027 cat >>confdefs.h <<_ACEOF
38028 #define HAVE_MODFF 1
38029 _ACEOF
38030
38031 fi
38032 done
38033
38034 else
38035
38036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38037 $as_echo_n "checking for _modff declaration... " >&6; }
38038 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38039 if ${glibcxx_cv_func__modff_use+:} false; 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 _modff(0, 0);
38057 ;
38058 return 0;
38059 }
38060 _ACEOF
38061 if ac_fn_cxx_try_compile "$LINENO"; then :
38062 glibcxx_cv_func__modff_use=yes
38063 else
38064 glibcxx_cv_func__modff_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__modff_use" >&5
38078 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38079
38080 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38081 for ac_func in _modff
38082 do :
38083 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38084 if test "x$ac_cv_func__modff" = xyes; then :
38085 cat >>confdefs.h <<_ACEOF
38086 #define HAVE__MODFF 1
38087 _ACEOF
38088
38089 fi
38090 done
38091
38092 fi
38093 fi
38094
38095
38096
38097
38098
38099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38100 $as_echo_n "checking for modf declaration... " >&6; }
38101 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38102 if ${glibcxx_cv_func_modf_use+:} false; then :
38103 $as_echo_n "(cached) " >&6
38104 else
38105
38106
38107 ac_ext=cpp
38108 ac_cpp='$CXXCPP $CPPFLAGS'
38109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38112
38113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38114 /* end confdefs.h. */
38115 #include <math.h>
38116 int
38117 main ()
38118 {
38119 modf(0, 0);
38120 ;
38121 return 0;
38122 }
38123 _ACEOF
38124 if ac_fn_cxx_try_compile "$LINENO"; then :
38125 glibcxx_cv_func_modf_use=yes
38126 else
38127 glibcxx_cv_func_modf_use=no
38128 fi
38129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38130 ac_ext=c
38131 ac_cpp='$CPP $CPPFLAGS'
38132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38135
38136
38137 fi
38138
38139 fi
38140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38141 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38142
38143 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38144 for ac_func in modf
38145 do :
38146 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38147 if test "x$ac_cv_func_modf" = xyes; then :
38148 cat >>confdefs.h <<_ACEOF
38149 #define HAVE_MODF 1
38150 _ACEOF
38151
38152 fi
38153 done
38154
38155 else
38156
38157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38158 $as_echo_n "checking for _modf declaration... " >&6; }
38159 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38160 if ${glibcxx_cv_func__modf_use+:} false; 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 int
38175 main ()
38176 {
38177 _modf(0, 0);
38178 ;
38179 return 0;
38180 }
38181 _ACEOF
38182 if ac_fn_cxx_try_compile "$LINENO"; then :
38183 glibcxx_cv_func__modf_use=yes
38184 else
38185 glibcxx_cv_func__modf_use=no
38186 fi
38187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38188 ac_ext=c
38189 ac_cpp='$CPP $CPPFLAGS'
38190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38193
38194
38195 fi
38196
38197 fi
38198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38199 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38200
38201 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38202 for ac_func in _modf
38203 do :
38204 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38205 if test "x$ac_cv_func__modf" = xyes; then :
38206 cat >>confdefs.h <<_ACEOF
38207 #define HAVE__MODF 1
38208 _ACEOF
38209
38210 fi
38211 done
38212
38213 fi
38214 fi
38215
38216
38217
38218
38219
38220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38221 $as_echo_n "checking for powf declaration... " >&6; }
38222 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38223 if ${glibcxx_cv_func_powf_use+:} false; then :
38224 $as_echo_n "(cached) " >&6
38225 else
38226
38227
38228 ac_ext=cpp
38229 ac_cpp='$CXXCPP $CPPFLAGS'
38230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38233
38234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38235 /* end confdefs.h. */
38236 #include <math.h>
38237 int
38238 main ()
38239 {
38240 powf(0, 0);
38241 ;
38242 return 0;
38243 }
38244 _ACEOF
38245 if ac_fn_cxx_try_compile "$LINENO"; then :
38246 glibcxx_cv_func_powf_use=yes
38247 else
38248 glibcxx_cv_func_powf_use=no
38249 fi
38250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38251 ac_ext=c
38252 ac_cpp='$CPP $CPPFLAGS'
38253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38256
38257
38258 fi
38259
38260 fi
38261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38262 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38263
38264 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38265 for ac_func in powf
38266 do :
38267 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38268 if test "x$ac_cv_func_powf" = xyes; then :
38269 cat >>confdefs.h <<_ACEOF
38270 #define HAVE_POWF 1
38271 _ACEOF
38272
38273 fi
38274 done
38275
38276 else
38277
38278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38279 $as_echo_n "checking for _powf declaration... " >&6; }
38280 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38281 if ${glibcxx_cv_func__powf_use+:} false; then :
38282 $as_echo_n "(cached) " >&6
38283 else
38284
38285
38286 ac_ext=cpp
38287 ac_cpp='$CXXCPP $CPPFLAGS'
38288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38291
38292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38293 /* end confdefs.h. */
38294 #include <math.h>
38295 int
38296 main ()
38297 {
38298 _powf(0, 0);
38299 ;
38300 return 0;
38301 }
38302 _ACEOF
38303 if ac_fn_cxx_try_compile "$LINENO"; then :
38304 glibcxx_cv_func__powf_use=yes
38305 else
38306 glibcxx_cv_func__powf_use=no
38307 fi
38308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38309 ac_ext=c
38310 ac_cpp='$CPP $CPPFLAGS'
38311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38314
38315
38316 fi
38317
38318 fi
38319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38320 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38321
38322 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38323 for ac_func in _powf
38324 do :
38325 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38326 if test "x$ac_cv_func__powf" = xyes; then :
38327 cat >>confdefs.h <<_ACEOF
38328 #define HAVE__POWF 1
38329 _ACEOF
38330
38331 fi
38332 done
38333
38334 fi
38335 fi
38336
38337
38338
38339
38340
38341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38342 $as_echo_n "checking for sqrtf declaration... " >&6; }
38343 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38344 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38345 $as_echo_n "(cached) " >&6
38346 else
38347
38348
38349 ac_ext=cpp
38350 ac_cpp='$CXXCPP $CPPFLAGS'
38351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38354
38355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38356 /* end confdefs.h. */
38357 #include <math.h>
38358 #ifdef HAVE_IEEEFP_H
38359 #include <ieeefp.h>
38360 #endif
38361
38362 int
38363 main ()
38364 {
38365 sqrtf(0);
38366 ;
38367 return 0;
38368 }
38369 _ACEOF
38370 if ac_fn_cxx_try_compile "$LINENO"; then :
38371 glibcxx_cv_func_sqrtf_use=yes
38372 else
38373 glibcxx_cv_func_sqrtf_use=no
38374 fi
38375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38376 ac_ext=c
38377 ac_cpp='$CPP $CPPFLAGS'
38378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38381
38382
38383 fi
38384
38385 fi
38386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38387 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38388
38389 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38390 for ac_func in sqrtf
38391 do :
38392 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38393 if test "x$ac_cv_func_sqrtf" = xyes; then :
38394 cat >>confdefs.h <<_ACEOF
38395 #define HAVE_SQRTF 1
38396 _ACEOF
38397
38398 fi
38399 done
38400
38401 else
38402
38403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38404 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38405 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38406 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38407 $as_echo_n "(cached) " >&6
38408 else
38409
38410
38411 ac_ext=cpp
38412 ac_cpp='$CXXCPP $CPPFLAGS'
38413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38416
38417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38418 /* end confdefs.h. */
38419 #include <math.h>
38420 #ifdef HAVE_IEEEFP_H
38421 #include <ieeefp.h>
38422 #endif
38423
38424 int
38425 main ()
38426 {
38427 _sqrtf(0);
38428 ;
38429 return 0;
38430 }
38431 _ACEOF
38432 if ac_fn_cxx_try_compile "$LINENO"; then :
38433 glibcxx_cv_func__sqrtf_use=yes
38434 else
38435 glibcxx_cv_func__sqrtf_use=no
38436 fi
38437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38438 ac_ext=c
38439 ac_cpp='$CPP $CPPFLAGS'
38440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38443
38444
38445 fi
38446
38447 fi
38448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38449 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38450
38451 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38452 for ac_func in _sqrtf
38453 do :
38454 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38455 if test "x$ac_cv_func__sqrtf" = xyes; then :
38456 cat >>confdefs.h <<_ACEOF
38457 #define HAVE__SQRTF 1
38458 _ACEOF
38459
38460 fi
38461 done
38462
38463 fi
38464 fi
38465
38466
38467
38468
38469
38470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38471 $as_echo_n "checking for sincosf declaration... " >&6; }
38472 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38473 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38474 $as_echo_n "(cached) " >&6
38475 else
38476
38477
38478 ac_ext=cpp
38479 ac_cpp='$CXXCPP $CPPFLAGS'
38480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38483
38484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38485 /* end confdefs.h. */
38486 #include <math.h>
38487 int
38488 main ()
38489 {
38490 sincosf(0, 0, 0);
38491 ;
38492 return 0;
38493 }
38494 _ACEOF
38495 if ac_fn_cxx_try_compile "$LINENO"; then :
38496 glibcxx_cv_func_sincosf_use=yes
38497 else
38498 glibcxx_cv_func_sincosf_use=no
38499 fi
38500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38501 ac_ext=c
38502 ac_cpp='$CPP $CPPFLAGS'
38503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38506
38507
38508 fi
38509
38510 fi
38511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38512 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38513
38514 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38515 for ac_func in sincosf
38516 do :
38517 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38518 if test "x$ac_cv_func_sincosf" = xyes; then :
38519 cat >>confdefs.h <<_ACEOF
38520 #define HAVE_SINCOSF 1
38521 _ACEOF
38522
38523 fi
38524 done
38525
38526 else
38527
38528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38529 $as_echo_n "checking for _sincosf declaration... " >&6; }
38530 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38531 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38532 $as_echo_n "(cached) " >&6
38533 else
38534
38535
38536 ac_ext=cpp
38537 ac_cpp='$CXXCPP $CPPFLAGS'
38538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38541
38542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38543 /* end confdefs.h. */
38544 #include <math.h>
38545 int
38546 main ()
38547 {
38548 _sincosf(0, 0, 0);
38549 ;
38550 return 0;
38551 }
38552 _ACEOF
38553 if ac_fn_cxx_try_compile "$LINENO"; then :
38554 glibcxx_cv_func__sincosf_use=yes
38555 else
38556 glibcxx_cv_func__sincosf_use=no
38557 fi
38558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38559 ac_ext=c
38560 ac_cpp='$CPP $CPPFLAGS'
38561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38564
38565
38566 fi
38567
38568 fi
38569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38570 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38571
38572 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38573 for ac_func in _sincosf
38574 do :
38575 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38576 if test "x$ac_cv_func__sincosf" = xyes; then :
38577 cat >>confdefs.h <<_ACEOF
38578 #define HAVE__SINCOSF 1
38579 _ACEOF
38580
38581 fi
38582 done
38583
38584 fi
38585 fi
38586
38587
38588
38589
38590
38591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38592 $as_echo_n "checking for finitef declaration... " >&6; }
38593 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38594 if ${glibcxx_cv_func_finitef_use+:} false; then :
38595 $as_echo_n "(cached) " >&6
38596 else
38597
38598
38599 ac_ext=cpp
38600 ac_cpp='$CXXCPP $CPPFLAGS'
38601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38604
38605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38606 /* end confdefs.h. */
38607 #include <math.h>
38608 #ifdef HAVE_IEEEFP_H
38609 #include <ieeefp.h>
38610 #endif
38611
38612 int
38613 main ()
38614 {
38615 finitef(0);
38616 ;
38617 return 0;
38618 }
38619 _ACEOF
38620 if ac_fn_cxx_try_compile "$LINENO"; then :
38621 glibcxx_cv_func_finitef_use=yes
38622 else
38623 glibcxx_cv_func_finitef_use=no
38624 fi
38625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38626 ac_ext=c
38627 ac_cpp='$CPP $CPPFLAGS'
38628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38631
38632
38633 fi
38634
38635 fi
38636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38637 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38638
38639 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38640 for ac_func in finitef
38641 do :
38642 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38643 if test "x$ac_cv_func_finitef" = xyes; then :
38644 cat >>confdefs.h <<_ACEOF
38645 #define HAVE_FINITEF 1
38646 _ACEOF
38647
38648 fi
38649 done
38650
38651 else
38652
38653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38654 $as_echo_n "checking for _finitef declaration... " >&6; }
38655 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38656 if ${glibcxx_cv_func__finitef_use+:} false; then :
38657 $as_echo_n "(cached) " >&6
38658 else
38659
38660
38661 ac_ext=cpp
38662 ac_cpp='$CXXCPP $CPPFLAGS'
38663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38666
38667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38668 /* end confdefs.h. */
38669 #include <math.h>
38670 #ifdef HAVE_IEEEFP_H
38671 #include <ieeefp.h>
38672 #endif
38673
38674 int
38675 main ()
38676 {
38677 _finitef(0);
38678 ;
38679 return 0;
38680 }
38681 _ACEOF
38682 if ac_fn_cxx_try_compile "$LINENO"; then :
38683 glibcxx_cv_func__finitef_use=yes
38684 else
38685 glibcxx_cv_func__finitef_use=no
38686 fi
38687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38688 ac_ext=c
38689 ac_cpp='$CPP $CPPFLAGS'
38690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38693
38694
38695 fi
38696
38697 fi
38698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38699 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38700
38701 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38702 for ac_func in _finitef
38703 do :
38704 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38705 if test "x$ac_cv_func__finitef" = xyes; then :
38706 cat >>confdefs.h <<_ACEOF
38707 #define HAVE__FINITEF 1
38708 _ACEOF
38709
38710 fi
38711 done
38712
38713 fi
38714 fi
38715
38716
38717
38718
38719
38720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38721 $as_echo_n "checking for long double trig functions... " >&6; }
38722 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38723 $as_echo_n "(cached) " >&6
38724 else
38725
38726
38727 ac_ext=cpp
38728 ac_cpp='$CXXCPP $CPPFLAGS'
38729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38732
38733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38734 /* end confdefs.h. */
38735 #include <math.h>
38736 int
38737 main ()
38738 {
38739 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38740 ;
38741 return 0;
38742 }
38743 _ACEOF
38744 if ac_fn_cxx_try_compile "$LINENO"; then :
38745 glibcxx_cv_func_long_double_trig_use=yes
38746 else
38747 glibcxx_cv_func_long_double_trig_use=no
38748 fi
38749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38750 ac_ext=c
38751 ac_cpp='$CPP $CPPFLAGS'
38752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38755
38756 fi
38757
38758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38759 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38760 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38761 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38762 do :
38763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38765 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38766 cat >>confdefs.h <<_ACEOF
38767 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38768 _ACEOF
38769
38770 fi
38771 done
38772
38773 else
38774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38775 $as_echo_n "checking for _long double trig functions... " >&6; }
38776 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38777 $as_echo_n "(cached) " >&6
38778 else
38779
38780
38781 ac_ext=cpp
38782 ac_cpp='$CXXCPP $CPPFLAGS'
38783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38786
38787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38788 /* end confdefs.h. */
38789 #include <math.h>
38790 int
38791 main ()
38792 {
38793 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38794 ;
38795 return 0;
38796 }
38797 _ACEOF
38798 if ac_fn_cxx_try_compile "$LINENO"; then :
38799 glibcxx_cv_func__long_double_trig_use=yes
38800 else
38801 glibcxx_cv_func__long_double_trig_use=no
38802 fi
38803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38804 ac_ext=c
38805 ac_cpp='$CPP $CPPFLAGS'
38806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38809
38810 fi
38811
38812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38813 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38814 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38815 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38816 do :
38817 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38818 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38819 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38820 cat >>confdefs.h <<_ACEOF
38821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38822 _ACEOF
38823
38824 fi
38825 done
38826
38827 fi
38828 fi
38829
38830
38831
38832
38833
38834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38835 $as_echo_n "checking for long double round functions... " >&6; }
38836 if ${glibcxx_cv_func_long_double_round_use+:} false; 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 int
38851 main ()
38852 {
38853 ceill (0); floorl (0);
38854 ;
38855 return 0;
38856 }
38857 _ACEOF
38858 if ac_fn_cxx_try_compile "$LINENO"; then :
38859 glibcxx_cv_func_long_double_round_use=yes
38860 else
38861 glibcxx_cv_func_long_double_round_use=no
38862 fi
38863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38864 ac_ext=c
38865 ac_cpp='$CPP $CPPFLAGS'
38866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38869
38870 fi
38871
38872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38873 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38874 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38875 for ac_func in ceill floorl
38876 do :
38877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38878 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38879 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38880 cat >>confdefs.h <<_ACEOF
38881 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38882 _ACEOF
38883
38884 fi
38885 done
38886
38887 else
38888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38889 $as_echo_n "checking for _long double round functions... " >&6; }
38890 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38891 $as_echo_n "(cached) " >&6
38892 else
38893
38894
38895 ac_ext=cpp
38896 ac_cpp='$CXXCPP $CPPFLAGS'
38897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38900
38901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38902 /* end confdefs.h. */
38903 #include <math.h>
38904 int
38905 main ()
38906 {
38907 _ceill (0); _floorl (0);
38908 ;
38909 return 0;
38910 }
38911 _ACEOF
38912 if ac_fn_cxx_try_compile "$LINENO"; then :
38913 glibcxx_cv_func__long_double_round_use=yes
38914 else
38915 glibcxx_cv_func__long_double_round_use=no
38916 fi
38917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38918 ac_ext=c
38919 ac_cpp='$CPP $CPPFLAGS'
38920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38923
38924 fi
38925
38926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38927 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38928 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38929 for ac_func in _ceill _floorl
38930 do :
38931 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38932 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38933 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38934 cat >>confdefs.h <<_ACEOF
38935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38936 _ACEOF
38937
38938 fi
38939 done
38940
38941 fi
38942 fi
38943
38944
38945
38946
38947
38948
38949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38950 $as_echo_n "checking for isnanl declaration... " >&6; }
38951 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38952 if ${glibcxx_cv_func_isnanl_use+:} false; then :
38953 $as_echo_n "(cached) " >&6
38954 else
38955
38956
38957 ac_ext=cpp
38958 ac_cpp='$CXXCPP $CPPFLAGS'
38959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38962
38963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38964 /* end confdefs.h. */
38965 #include <math.h>
38966 #ifdef HAVE_IEEEFP_H
38967 #include <ieeefp.h>
38968 #endif
38969
38970 int
38971 main ()
38972 {
38973 isnanl(0);
38974 ;
38975 return 0;
38976 }
38977 _ACEOF
38978 if ac_fn_cxx_try_compile "$LINENO"; then :
38979 glibcxx_cv_func_isnanl_use=yes
38980 else
38981 glibcxx_cv_func_isnanl_use=no
38982 fi
38983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38984 ac_ext=c
38985 ac_cpp='$CPP $CPPFLAGS'
38986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38989
38990
38991 fi
38992
38993 fi
38994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38995 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38996
38997 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38998 for ac_func in isnanl
38999 do :
39000 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39001 if test "x$ac_cv_func_isnanl" = xyes; then :
39002 cat >>confdefs.h <<_ACEOF
39003 #define HAVE_ISNANL 1
39004 _ACEOF
39005
39006 fi
39007 done
39008
39009 else
39010
39011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39012 $as_echo_n "checking for _isnanl declaration... " >&6; }
39013 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39014 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39015 $as_echo_n "(cached) " >&6
39016 else
39017
39018
39019 ac_ext=cpp
39020 ac_cpp='$CXXCPP $CPPFLAGS'
39021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39024
39025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39026 /* end confdefs.h. */
39027 #include <math.h>
39028 #ifdef HAVE_IEEEFP_H
39029 #include <ieeefp.h>
39030 #endif
39031
39032 int
39033 main ()
39034 {
39035 _isnanl(0);
39036 ;
39037 return 0;
39038 }
39039 _ACEOF
39040 if ac_fn_cxx_try_compile "$LINENO"; then :
39041 glibcxx_cv_func__isnanl_use=yes
39042 else
39043 glibcxx_cv_func__isnanl_use=no
39044 fi
39045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39046 ac_ext=c
39047 ac_cpp='$CPP $CPPFLAGS'
39048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39051
39052
39053 fi
39054
39055 fi
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39057 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39058
39059 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39060 for ac_func in _isnanl
39061 do :
39062 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39063 if test "x$ac_cv_func__isnanl" = xyes; then :
39064 cat >>confdefs.h <<_ACEOF
39065 #define HAVE__ISNANL 1
39066 _ACEOF
39067
39068 fi
39069 done
39070
39071 fi
39072 fi
39073
39074
39075
39076
39077
39078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39079 $as_echo_n "checking for isinfl declaration... " >&6; }
39080 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39081 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39082 $as_echo_n "(cached) " >&6
39083 else
39084
39085
39086 ac_ext=cpp
39087 ac_cpp='$CXXCPP $CPPFLAGS'
39088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39091
39092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39093 /* end confdefs.h. */
39094 #include <math.h>
39095 #ifdef HAVE_IEEEFP_H
39096 #include <ieeefp.h>
39097 #endif
39098
39099 int
39100 main ()
39101 {
39102 isinfl(0);
39103 ;
39104 return 0;
39105 }
39106 _ACEOF
39107 if ac_fn_cxx_try_compile "$LINENO"; then :
39108 glibcxx_cv_func_isinfl_use=yes
39109 else
39110 glibcxx_cv_func_isinfl_use=no
39111 fi
39112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39113 ac_ext=c
39114 ac_cpp='$CPP $CPPFLAGS'
39115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39118
39119
39120 fi
39121
39122 fi
39123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39124 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39125
39126 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39127 for ac_func in isinfl
39128 do :
39129 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39130 if test "x$ac_cv_func_isinfl" = xyes; then :
39131 cat >>confdefs.h <<_ACEOF
39132 #define HAVE_ISINFL 1
39133 _ACEOF
39134
39135 fi
39136 done
39137
39138 else
39139
39140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39141 $as_echo_n "checking for _isinfl declaration... " >&6; }
39142 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39143 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39144 $as_echo_n "(cached) " >&6
39145 else
39146
39147
39148 ac_ext=cpp
39149 ac_cpp='$CXXCPP $CPPFLAGS'
39150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39153
39154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39155 /* end confdefs.h. */
39156 #include <math.h>
39157 #ifdef HAVE_IEEEFP_H
39158 #include <ieeefp.h>
39159 #endif
39160
39161 int
39162 main ()
39163 {
39164 _isinfl(0);
39165 ;
39166 return 0;
39167 }
39168 _ACEOF
39169 if ac_fn_cxx_try_compile "$LINENO"; then :
39170 glibcxx_cv_func__isinfl_use=yes
39171 else
39172 glibcxx_cv_func__isinfl_use=no
39173 fi
39174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39175 ac_ext=c
39176 ac_cpp='$CPP $CPPFLAGS'
39177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39180
39181
39182 fi
39183
39184 fi
39185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39186 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39187
39188 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39189 for ac_func in _isinfl
39190 do :
39191 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39192 if test "x$ac_cv_func__isinfl" = xyes; then :
39193 cat >>confdefs.h <<_ACEOF
39194 #define HAVE__ISINFL 1
39195 _ACEOF
39196
39197 fi
39198 done
39199
39200 fi
39201 fi
39202
39203
39204
39205
39206
39207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39208 $as_echo_n "checking for atan2l declaration... " >&6; }
39209 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39210 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39211 $as_echo_n "(cached) " >&6
39212 else
39213
39214
39215 ac_ext=cpp
39216 ac_cpp='$CXXCPP $CPPFLAGS'
39217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39220
39221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39222 /* end confdefs.h. */
39223 #include <math.h>
39224 int
39225 main ()
39226 {
39227 atan2l(0, 0);
39228 ;
39229 return 0;
39230 }
39231 _ACEOF
39232 if ac_fn_cxx_try_compile "$LINENO"; then :
39233 glibcxx_cv_func_atan2l_use=yes
39234 else
39235 glibcxx_cv_func_atan2l_use=no
39236 fi
39237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39238 ac_ext=c
39239 ac_cpp='$CPP $CPPFLAGS'
39240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39243
39244
39245 fi
39246
39247 fi
39248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39249 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39250
39251 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39252 for ac_func in atan2l
39253 do :
39254 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39255 if test "x$ac_cv_func_atan2l" = xyes; then :
39256 cat >>confdefs.h <<_ACEOF
39257 #define HAVE_ATAN2L 1
39258 _ACEOF
39259
39260 fi
39261 done
39262
39263 else
39264
39265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39266 $as_echo_n "checking for _atan2l declaration... " >&6; }
39267 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39268 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39269 $as_echo_n "(cached) " >&6
39270 else
39271
39272
39273 ac_ext=cpp
39274 ac_cpp='$CXXCPP $CPPFLAGS'
39275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39278
39279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39280 /* end confdefs.h. */
39281 #include <math.h>
39282 int
39283 main ()
39284 {
39285 _atan2l(0, 0);
39286 ;
39287 return 0;
39288 }
39289 _ACEOF
39290 if ac_fn_cxx_try_compile "$LINENO"; then :
39291 glibcxx_cv_func__atan2l_use=yes
39292 else
39293 glibcxx_cv_func__atan2l_use=no
39294 fi
39295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39296 ac_ext=c
39297 ac_cpp='$CPP $CPPFLAGS'
39298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39301
39302
39303 fi
39304
39305 fi
39306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39307 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39308
39309 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39310 for ac_func in _atan2l
39311 do :
39312 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39313 if test "x$ac_cv_func__atan2l" = xyes; then :
39314 cat >>confdefs.h <<_ACEOF
39315 #define HAVE__ATAN2L 1
39316 _ACEOF
39317
39318 fi
39319 done
39320
39321 fi
39322 fi
39323
39324
39325
39326
39327
39328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39329 $as_echo_n "checking for expl declaration... " >&6; }
39330 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39331 if ${glibcxx_cv_func_expl_use+:} false; then :
39332 $as_echo_n "(cached) " >&6
39333 else
39334
39335
39336 ac_ext=cpp
39337 ac_cpp='$CXXCPP $CPPFLAGS'
39338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39341
39342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39343 /* end confdefs.h. */
39344 #include <math.h>
39345 #ifdef HAVE_IEEEFP_H
39346 #include <ieeefp.h>
39347 #endif
39348
39349 int
39350 main ()
39351 {
39352 expl(0);
39353 ;
39354 return 0;
39355 }
39356 _ACEOF
39357 if ac_fn_cxx_try_compile "$LINENO"; then :
39358 glibcxx_cv_func_expl_use=yes
39359 else
39360 glibcxx_cv_func_expl_use=no
39361 fi
39362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39363 ac_ext=c
39364 ac_cpp='$CPP $CPPFLAGS'
39365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39368
39369
39370 fi
39371
39372 fi
39373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39374 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39375
39376 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39377 for ac_func in expl
39378 do :
39379 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39380 if test "x$ac_cv_func_expl" = xyes; then :
39381 cat >>confdefs.h <<_ACEOF
39382 #define HAVE_EXPL 1
39383 _ACEOF
39384
39385 fi
39386 done
39387
39388 else
39389
39390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39391 $as_echo_n "checking for _expl declaration... " >&6; }
39392 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39393 if ${glibcxx_cv_func__expl_use+:} false; then :
39394 $as_echo_n "(cached) " >&6
39395 else
39396
39397
39398 ac_ext=cpp
39399 ac_cpp='$CXXCPP $CPPFLAGS'
39400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39403
39404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39405 /* end confdefs.h. */
39406 #include <math.h>
39407 #ifdef HAVE_IEEEFP_H
39408 #include <ieeefp.h>
39409 #endif
39410
39411 int
39412 main ()
39413 {
39414 _expl(0);
39415 ;
39416 return 0;
39417 }
39418 _ACEOF
39419 if ac_fn_cxx_try_compile "$LINENO"; then :
39420 glibcxx_cv_func__expl_use=yes
39421 else
39422 glibcxx_cv_func__expl_use=no
39423 fi
39424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39425 ac_ext=c
39426 ac_cpp='$CPP $CPPFLAGS'
39427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39430
39431
39432 fi
39433
39434 fi
39435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39436 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39437
39438 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39439 for ac_func in _expl
39440 do :
39441 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39442 if test "x$ac_cv_func__expl" = xyes; then :
39443 cat >>confdefs.h <<_ACEOF
39444 #define HAVE__EXPL 1
39445 _ACEOF
39446
39447 fi
39448 done
39449
39450 fi
39451 fi
39452
39453
39454
39455
39456
39457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39458 $as_echo_n "checking for fabsl declaration... " >&6; }
39459 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39460 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39461 $as_echo_n "(cached) " >&6
39462 else
39463
39464
39465 ac_ext=cpp
39466 ac_cpp='$CXXCPP $CPPFLAGS'
39467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39470
39471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39472 /* end confdefs.h. */
39473 #include <math.h>
39474 #ifdef HAVE_IEEEFP_H
39475 #include <ieeefp.h>
39476 #endif
39477
39478 int
39479 main ()
39480 {
39481 fabsl(0);
39482 ;
39483 return 0;
39484 }
39485 _ACEOF
39486 if ac_fn_cxx_try_compile "$LINENO"; then :
39487 glibcxx_cv_func_fabsl_use=yes
39488 else
39489 glibcxx_cv_func_fabsl_use=no
39490 fi
39491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39492 ac_ext=c
39493 ac_cpp='$CPP $CPPFLAGS'
39494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39497
39498
39499 fi
39500
39501 fi
39502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39503 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39504
39505 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39506 for ac_func in fabsl
39507 do :
39508 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39509 if test "x$ac_cv_func_fabsl" = xyes; then :
39510 cat >>confdefs.h <<_ACEOF
39511 #define HAVE_FABSL 1
39512 _ACEOF
39513
39514 fi
39515 done
39516
39517 else
39518
39519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39520 $as_echo_n "checking for _fabsl declaration... " >&6; }
39521 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39522 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39523 $as_echo_n "(cached) " >&6
39524 else
39525
39526
39527 ac_ext=cpp
39528 ac_cpp='$CXXCPP $CPPFLAGS'
39529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39532
39533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39534 /* end confdefs.h. */
39535 #include <math.h>
39536 #ifdef HAVE_IEEEFP_H
39537 #include <ieeefp.h>
39538 #endif
39539
39540 int
39541 main ()
39542 {
39543 _fabsl(0);
39544 ;
39545 return 0;
39546 }
39547 _ACEOF
39548 if ac_fn_cxx_try_compile "$LINENO"; then :
39549 glibcxx_cv_func__fabsl_use=yes
39550 else
39551 glibcxx_cv_func__fabsl_use=no
39552 fi
39553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39554 ac_ext=c
39555 ac_cpp='$CPP $CPPFLAGS'
39556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39559
39560
39561 fi
39562
39563 fi
39564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39565 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39566
39567 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39568 for ac_func in _fabsl
39569 do :
39570 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39571 if test "x$ac_cv_func__fabsl" = xyes; then :
39572 cat >>confdefs.h <<_ACEOF
39573 #define HAVE__FABSL 1
39574 _ACEOF
39575
39576 fi
39577 done
39578
39579 fi
39580 fi
39581
39582
39583
39584
39585
39586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39587 $as_echo_n "checking for fmodl declaration... " >&6; }
39588 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39589 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39590 $as_echo_n "(cached) " >&6
39591 else
39592
39593
39594 ac_ext=cpp
39595 ac_cpp='$CXXCPP $CPPFLAGS'
39596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39599
39600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39601 /* end confdefs.h. */
39602 #include <math.h>
39603 int
39604 main ()
39605 {
39606 fmodl(0, 0);
39607 ;
39608 return 0;
39609 }
39610 _ACEOF
39611 if ac_fn_cxx_try_compile "$LINENO"; then :
39612 glibcxx_cv_func_fmodl_use=yes
39613 else
39614 glibcxx_cv_func_fmodl_use=no
39615 fi
39616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39617 ac_ext=c
39618 ac_cpp='$CPP $CPPFLAGS'
39619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39622
39623
39624 fi
39625
39626 fi
39627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39628 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39629
39630 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39631 for ac_func in fmodl
39632 do :
39633 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39634 if test "x$ac_cv_func_fmodl" = xyes; then :
39635 cat >>confdefs.h <<_ACEOF
39636 #define HAVE_FMODL 1
39637 _ACEOF
39638
39639 fi
39640 done
39641
39642 else
39643
39644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39645 $as_echo_n "checking for _fmodl declaration... " >&6; }
39646 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39647 if ${glibcxx_cv_func__fmodl_use+:} false; 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 _fmodl(0, 0);
39665 ;
39666 return 0;
39667 }
39668 _ACEOF
39669 if ac_fn_cxx_try_compile "$LINENO"; then :
39670 glibcxx_cv_func__fmodl_use=yes
39671 else
39672 glibcxx_cv_func__fmodl_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
39682 fi
39683
39684 fi
39685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39686 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39687
39688 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39689 for ac_func in _fmodl
39690 do :
39691 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39692 if test "x$ac_cv_func__fmodl" = xyes; then :
39693 cat >>confdefs.h <<_ACEOF
39694 #define HAVE__FMODL 1
39695 _ACEOF
39696
39697 fi
39698 done
39699
39700 fi
39701 fi
39702
39703
39704
39705
39706
39707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39708 $as_echo_n "checking for frexpl declaration... " >&6; }
39709 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39710 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39711 $as_echo_n "(cached) " >&6
39712 else
39713
39714
39715 ac_ext=cpp
39716 ac_cpp='$CXXCPP $CPPFLAGS'
39717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39720
39721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39722 /* end confdefs.h. */
39723 #include <math.h>
39724 int
39725 main ()
39726 {
39727 frexpl(0, 0);
39728 ;
39729 return 0;
39730 }
39731 _ACEOF
39732 if ac_fn_cxx_try_compile "$LINENO"; then :
39733 glibcxx_cv_func_frexpl_use=yes
39734 else
39735 glibcxx_cv_func_frexpl_use=no
39736 fi
39737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39738 ac_ext=c
39739 ac_cpp='$CPP $CPPFLAGS'
39740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39743
39744
39745 fi
39746
39747 fi
39748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39749 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39750
39751 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39752 for ac_func in frexpl
39753 do :
39754 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39755 if test "x$ac_cv_func_frexpl" = xyes; then :
39756 cat >>confdefs.h <<_ACEOF
39757 #define HAVE_FREXPL 1
39758 _ACEOF
39759
39760 fi
39761 done
39762
39763 else
39764
39765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39766 $as_echo_n "checking for _frexpl declaration... " >&6; }
39767 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39768 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39769 $as_echo_n "(cached) " >&6
39770 else
39771
39772
39773 ac_ext=cpp
39774 ac_cpp='$CXXCPP $CPPFLAGS'
39775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39778
39779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39780 /* end confdefs.h. */
39781 #include <math.h>
39782 int
39783 main ()
39784 {
39785 _frexpl(0, 0);
39786 ;
39787 return 0;
39788 }
39789 _ACEOF
39790 if ac_fn_cxx_try_compile "$LINENO"; then :
39791 glibcxx_cv_func__frexpl_use=yes
39792 else
39793 glibcxx_cv_func__frexpl_use=no
39794 fi
39795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39796 ac_ext=c
39797 ac_cpp='$CPP $CPPFLAGS'
39798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39801
39802
39803 fi
39804
39805 fi
39806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39807 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39808
39809 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39810 for ac_func in _frexpl
39811 do :
39812 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39813 if test "x$ac_cv_func__frexpl" = xyes; then :
39814 cat >>confdefs.h <<_ACEOF
39815 #define HAVE__FREXPL 1
39816 _ACEOF
39817
39818 fi
39819 done
39820
39821 fi
39822 fi
39823
39824
39825
39826
39827
39828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39829 $as_echo_n "checking for hypotl declaration... " >&6; }
39830 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39831 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39832 $as_echo_n "(cached) " >&6
39833 else
39834
39835
39836 ac_ext=cpp
39837 ac_cpp='$CXXCPP $CPPFLAGS'
39838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39841
39842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39843 /* end confdefs.h. */
39844 #include <math.h>
39845 int
39846 main ()
39847 {
39848 hypotl(0, 0);
39849 ;
39850 return 0;
39851 }
39852 _ACEOF
39853 if ac_fn_cxx_try_compile "$LINENO"; then :
39854 glibcxx_cv_func_hypotl_use=yes
39855 else
39856 glibcxx_cv_func_hypotl_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_hypotl_use" >&5
39870 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39871
39872 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39873 for ac_func in hypotl
39874 do :
39875 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39876 if test "x$ac_cv_func_hypotl" = xyes; then :
39877 cat >>confdefs.h <<_ACEOF
39878 #define HAVE_HYPOTL 1
39879 _ACEOF
39880
39881 fi
39882 done
39883
39884 else
39885
39886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39887 $as_echo_n "checking for _hypotl declaration... " >&6; }
39888 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39889 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39890 $as_echo_n "(cached) " >&6
39891 else
39892
39893
39894 ac_ext=cpp
39895 ac_cpp='$CXXCPP $CPPFLAGS'
39896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39899
39900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39901 /* end confdefs.h. */
39902 #include <math.h>
39903 int
39904 main ()
39905 {
39906 _hypotl(0, 0);
39907 ;
39908 return 0;
39909 }
39910 _ACEOF
39911 if ac_fn_cxx_try_compile "$LINENO"; then :
39912 glibcxx_cv_func__hypotl_use=yes
39913 else
39914 glibcxx_cv_func__hypotl_use=no
39915 fi
39916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39917 ac_ext=c
39918 ac_cpp='$CPP $CPPFLAGS'
39919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39922
39923
39924 fi
39925
39926 fi
39927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39928 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39929
39930 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39931 for ac_func in _hypotl
39932 do :
39933 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39934 if test "x$ac_cv_func__hypotl" = xyes; then :
39935 cat >>confdefs.h <<_ACEOF
39936 #define HAVE__HYPOTL 1
39937 _ACEOF
39938
39939 fi
39940 done
39941
39942 fi
39943 fi
39944
39945
39946
39947
39948
39949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39950 $as_echo_n "checking for ldexpl declaration... " >&6; }
39951 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39952 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
39953 $as_echo_n "(cached) " >&6
39954 else
39955
39956
39957 ac_ext=cpp
39958 ac_cpp='$CXXCPP $CPPFLAGS'
39959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39962
39963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39964 /* end confdefs.h. */
39965 #include <math.h>
39966 int
39967 main ()
39968 {
39969 ldexpl(0, 0);
39970 ;
39971 return 0;
39972 }
39973 _ACEOF
39974 if ac_fn_cxx_try_compile "$LINENO"; then :
39975 glibcxx_cv_func_ldexpl_use=yes
39976 else
39977 glibcxx_cv_func_ldexpl_use=no
39978 fi
39979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39980 ac_ext=c
39981 ac_cpp='$CPP $CPPFLAGS'
39982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39985
39986
39987 fi
39988
39989 fi
39990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39991 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39992
39993 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39994 for ac_func in ldexpl
39995 do :
39996 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39997 if test "x$ac_cv_func_ldexpl" = xyes; then :
39998 cat >>confdefs.h <<_ACEOF
39999 #define HAVE_LDEXPL 1
40000 _ACEOF
40001
40002 fi
40003 done
40004
40005 else
40006
40007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40008 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40009 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40010 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40011 $as_echo_n "(cached) " >&6
40012 else
40013
40014
40015 ac_ext=cpp
40016 ac_cpp='$CXXCPP $CPPFLAGS'
40017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40020
40021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40022 /* end confdefs.h. */
40023 #include <math.h>
40024 int
40025 main ()
40026 {
40027 _ldexpl(0, 0);
40028 ;
40029 return 0;
40030 }
40031 _ACEOF
40032 if ac_fn_cxx_try_compile "$LINENO"; then :
40033 glibcxx_cv_func__ldexpl_use=yes
40034 else
40035 glibcxx_cv_func__ldexpl_use=no
40036 fi
40037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40038 ac_ext=c
40039 ac_cpp='$CPP $CPPFLAGS'
40040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40043
40044
40045 fi
40046
40047 fi
40048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40049 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40050
40051 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40052 for ac_func in _ldexpl
40053 do :
40054 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40055 if test "x$ac_cv_func__ldexpl" = xyes; then :
40056 cat >>confdefs.h <<_ACEOF
40057 #define HAVE__LDEXPL 1
40058 _ACEOF
40059
40060 fi
40061 done
40062
40063 fi
40064 fi
40065
40066
40067
40068
40069
40070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40071 $as_echo_n "checking for logl declaration... " >&6; }
40072 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40073 if ${glibcxx_cv_func_logl_use+:} false; then :
40074 $as_echo_n "(cached) " >&6
40075 else
40076
40077
40078 ac_ext=cpp
40079 ac_cpp='$CXXCPP $CPPFLAGS'
40080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40083
40084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40085 /* end confdefs.h. */
40086 #include <math.h>
40087 #ifdef HAVE_IEEEFP_H
40088 #include <ieeefp.h>
40089 #endif
40090
40091 int
40092 main ()
40093 {
40094 logl(0);
40095 ;
40096 return 0;
40097 }
40098 _ACEOF
40099 if ac_fn_cxx_try_compile "$LINENO"; then :
40100 glibcxx_cv_func_logl_use=yes
40101 else
40102 glibcxx_cv_func_logl_use=no
40103 fi
40104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40105 ac_ext=c
40106 ac_cpp='$CPP $CPPFLAGS'
40107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40110
40111
40112 fi
40113
40114 fi
40115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40116 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40117
40118 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40119 for ac_func in logl
40120 do :
40121 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40122 if test "x$ac_cv_func_logl" = xyes; then :
40123 cat >>confdefs.h <<_ACEOF
40124 #define HAVE_LOGL 1
40125 _ACEOF
40126
40127 fi
40128 done
40129
40130 else
40131
40132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40133 $as_echo_n "checking for _logl declaration... " >&6; }
40134 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40135 if ${glibcxx_cv_func__logl_use+:} false; then :
40136 $as_echo_n "(cached) " >&6
40137 else
40138
40139
40140 ac_ext=cpp
40141 ac_cpp='$CXXCPP $CPPFLAGS'
40142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40145
40146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40147 /* end confdefs.h. */
40148 #include <math.h>
40149 #ifdef HAVE_IEEEFP_H
40150 #include <ieeefp.h>
40151 #endif
40152
40153 int
40154 main ()
40155 {
40156 _logl(0);
40157 ;
40158 return 0;
40159 }
40160 _ACEOF
40161 if ac_fn_cxx_try_compile "$LINENO"; then :
40162 glibcxx_cv_func__logl_use=yes
40163 else
40164 glibcxx_cv_func__logl_use=no
40165 fi
40166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40167 ac_ext=c
40168 ac_cpp='$CPP $CPPFLAGS'
40169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40172
40173
40174 fi
40175
40176 fi
40177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40178 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40179
40180 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40181 for ac_func in _logl
40182 do :
40183 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40184 if test "x$ac_cv_func__logl" = xyes; then :
40185 cat >>confdefs.h <<_ACEOF
40186 #define HAVE__LOGL 1
40187 _ACEOF
40188
40189 fi
40190 done
40191
40192 fi
40193 fi
40194
40195
40196
40197
40198
40199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40200 $as_echo_n "checking for log10l declaration... " >&6; }
40201 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40202 if ${glibcxx_cv_func_log10l_use+:} false; then :
40203 $as_echo_n "(cached) " >&6
40204 else
40205
40206
40207 ac_ext=cpp
40208 ac_cpp='$CXXCPP $CPPFLAGS'
40209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40212
40213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40214 /* end confdefs.h. */
40215 #include <math.h>
40216 #ifdef HAVE_IEEEFP_H
40217 #include <ieeefp.h>
40218 #endif
40219
40220 int
40221 main ()
40222 {
40223 log10l(0);
40224 ;
40225 return 0;
40226 }
40227 _ACEOF
40228 if ac_fn_cxx_try_compile "$LINENO"; then :
40229 glibcxx_cv_func_log10l_use=yes
40230 else
40231 glibcxx_cv_func_log10l_use=no
40232 fi
40233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40234 ac_ext=c
40235 ac_cpp='$CPP $CPPFLAGS'
40236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40239
40240
40241 fi
40242
40243 fi
40244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40245 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40246
40247 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40248 for ac_func in log10l
40249 do :
40250 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40251 if test "x$ac_cv_func_log10l" = xyes; then :
40252 cat >>confdefs.h <<_ACEOF
40253 #define HAVE_LOG10L 1
40254 _ACEOF
40255
40256 fi
40257 done
40258
40259 else
40260
40261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40262 $as_echo_n "checking for _log10l declaration... " >&6; }
40263 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40264 if ${glibcxx_cv_func__log10l_use+:} false; then :
40265 $as_echo_n "(cached) " >&6
40266 else
40267
40268
40269 ac_ext=cpp
40270 ac_cpp='$CXXCPP $CPPFLAGS'
40271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40274
40275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40276 /* end confdefs.h. */
40277 #include <math.h>
40278 #ifdef HAVE_IEEEFP_H
40279 #include <ieeefp.h>
40280 #endif
40281
40282 int
40283 main ()
40284 {
40285 _log10l(0);
40286 ;
40287 return 0;
40288 }
40289 _ACEOF
40290 if ac_fn_cxx_try_compile "$LINENO"; then :
40291 glibcxx_cv_func__log10l_use=yes
40292 else
40293 glibcxx_cv_func__log10l_use=no
40294 fi
40295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40296 ac_ext=c
40297 ac_cpp='$CPP $CPPFLAGS'
40298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40301
40302
40303 fi
40304
40305 fi
40306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40307 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40308
40309 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40310 for ac_func in _log10l
40311 do :
40312 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40313 if test "x$ac_cv_func__log10l" = xyes; then :
40314 cat >>confdefs.h <<_ACEOF
40315 #define HAVE__LOG10L 1
40316 _ACEOF
40317
40318 fi
40319 done
40320
40321 fi
40322 fi
40323
40324
40325
40326
40327
40328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40329 $as_echo_n "checking for modfl declaration... " >&6; }
40330 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40331 if ${glibcxx_cv_func_modfl_use+:} false; then :
40332 $as_echo_n "(cached) " >&6
40333 else
40334
40335
40336 ac_ext=cpp
40337 ac_cpp='$CXXCPP $CPPFLAGS'
40338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40341
40342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40343 /* end confdefs.h. */
40344 #include <math.h>
40345 int
40346 main ()
40347 {
40348 modfl(0, 0);
40349 ;
40350 return 0;
40351 }
40352 _ACEOF
40353 if ac_fn_cxx_try_compile "$LINENO"; then :
40354 glibcxx_cv_func_modfl_use=yes
40355 else
40356 glibcxx_cv_func_modfl_use=no
40357 fi
40358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40359 ac_ext=c
40360 ac_cpp='$CPP $CPPFLAGS'
40361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40364
40365
40366 fi
40367
40368 fi
40369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40370 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40371
40372 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40373 for ac_func in modfl
40374 do :
40375 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40376 if test "x$ac_cv_func_modfl" = xyes; then :
40377 cat >>confdefs.h <<_ACEOF
40378 #define HAVE_MODFL 1
40379 _ACEOF
40380
40381 fi
40382 done
40383
40384 else
40385
40386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40387 $as_echo_n "checking for _modfl declaration... " >&6; }
40388 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40389 if ${glibcxx_cv_func__modfl_use+:} false; then :
40390 $as_echo_n "(cached) " >&6
40391 else
40392
40393
40394 ac_ext=cpp
40395 ac_cpp='$CXXCPP $CPPFLAGS'
40396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40399
40400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40401 /* end confdefs.h. */
40402 #include <math.h>
40403 int
40404 main ()
40405 {
40406 _modfl(0, 0);
40407 ;
40408 return 0;
40409 }
40410 _ACEOF
40411 if ac_fn_cxx_try_compile "$LINENO"; then :
40412 glibcxx_cv_func__modfl_use=yes
40413 else
40414 glibcxx_cv_func__modfl_use=no
40415 fi
40416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40417 ac_ext=c
40418 ac_cpp='$CPP $CPPFLAGS'
40419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40422
40423
40424 fi
40425
40426 fi
40427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40428 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40429
40430 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40431 for ac_func in _modfl
40432 do :
40433 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40434 if test "x$ac_cv_func__modfl" = xyes; then :
40435 cat >>confdefs.h <<_ACEOF
40436 #define HAVE__MODFL 1
40437 _ACEOF
40438
40439 fi
40440 done
40441
40442 fi
40443 fi
40444
40445
40446
40447
40448
40449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40450 $as_echo_n "checking for powl declaration... " >&6; }
40451 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40452 if ${glibcxx_cv_func_powl_use+:} false; then :
40453 $as_echo_n "(cached) " >&6
40454 else
40455
40456
40457 ac_ext=cpp
40458 ac_cpp='$CXXCPP $CPPFLAGS'
40459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40462
40463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40464 /* end confdefs.h. */
40465 #include <math.h>
40466 int
40467 main ()
40468 {
40469 powl(0, 0);
40470 ;
40471 return 0;
40472 }
40473 _ACEOF
40474 if ac_fn_cxx_try_compile "$LINENO"; then :
40475 glibcxx_cv_func_powl_use=yes
40476 else
40477 glibcxx_cv_func_powl_use=no
40478 fi
40479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40480 ac_ext=c
40481 ac_cpp='$CPP $CPPFLAGS'
40482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40485
40486
40487 fi
40488
40489 fi
40490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40491 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40492
40493 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40494 for ac_func in powl
40495 do :
40496 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40497 if test "x$ac_cv_func_powl" = xyes; then :
40498 cat >>confdefs.h <<_ACEOF
40499 #define HAVE_POWL 1
40500 _ACEOF
40501
40502 fi
40503 done
40504
40505 else
40506
40507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40508 $as_echo_n "checking for _powl declaration... " >&6; }
40509 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40510 if ${glibcxx_cv_func__powl_use+:} false; then :
40511 $as_echo_n "(cached) " >&6
40512 else
40513
40514
40515 ac_ext=cpp
40516 ac_cpp='$CXXCPP $CPPFLAGS'
40517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40520
40521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40522 /* end confdefs.h. */
40523 #include <math.h>
40524 int
40525 main ()
40526 {
40527 _powl(0, 0);
40528 ;
40529 return 0;
40530 }
40531 _ACEOF
40532 if ac_fn_cxx_try_compile "$LINENO"; then :
40533 glibcxx_cv_func__powl_use=yes
40534 else
40535 glibcxx_cv_func__powl_use=no
40536 fi
40537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40538 ac_ext=c
40539 ac_cpp='$CPP $CPPFLAGS'
40540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40543
40544
40545 fi
40546
40547 fi
40548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40549 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40550
40551 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40552 for ac_func in _powl
40553 do :
40554 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40555 if test "x$ac_cv_func__powl" = xyes; then :
40556 cat >>confdefs.h <<_ACEOF
40557 #define HAVE__POWL 1
40558 _ACEOF
40559
40560 fi
40561 done
40562
40563 fi
40564 fi
40565
40566
40567
40568
40569
40570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40571 $as_echo_n "checking for sqrtl declaration... " >&6; }
40572 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40573 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40574 $as_echo_n "(cached) " >&6
40575 else
40576
40577
40578 ac_ext=cpp
40579 ac_cpp='$CXXCPP $CPPFLAGS'
40580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40583
40584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40585 /* end confdefs.h. */
40586 #include <math.h>
40587 #ifdef HAVE_IEEEFP_H
40588 #include <ieeefp.h>
40589 #endif
40590
40591 int
40592 main ()
40593 {
40594 sqrtl(0);
40595 ;
40596 return 0;
40597 }
40598 _ACEOF
40599 if ac_fn_cxx_try_compile "$LINENO"; then :
40600 glibcxx_cv_func_sqrtl_use=yes
40601 else
40602 glibcxx_cv_func_sqrtl_use=no
40603 fi
40604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40605 ac_ext=c
40606 ac_cpp='$CPP $CPPFLAGS'
40607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40610
40611
40612 fi
40613
40614 fi
40615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40616 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40617
40618 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40619 for ac_func in sqrtl
40620 do :
40621 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40622 if test "x$ac_cv_func_sqrtl" = xyes; then :
40623 cat >>confdefs.h <<_ACEOF
40624 #define HAVE_SQRTL 1
40625 _ACEOF
40626
40627 fi
40628 done
40629
40630 else
40631
40632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40633 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40634 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40635 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40636 $as_echo_n "(cached) " >&6
40637 else
40638
40639
40640 ac_ext=cpp
40641 ac_cpp='$CXXCPP $CPPFLAGS'
40642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40645
40646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40647 /* end confdefs.h. */
40648 #include <math.h>
40649 #ifdef HAVE_IEEEFP_H
40650 #include <ieeefp.h>
40651 #endif
40652
40653 int
40654 main ()
40655 {
40656 _sqrtl(0);
40657 ;
40658 return 0;
40659 }
40660 _ACEOF
40661 if ac_fn_cxx_try_compile "$LINENO"; then :
40662 glibcxx_cv_func__sqrtl_use=yes
40663 else
40664 glibcxx_cv_func__sqrtl_use=no
40665 fi
40666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40667 ac_ext=c
40668 ac_cpp='$CPP $CPPFLAGS'
40669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40672
40673
40674 fi
40675
40676 fi
40677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40678 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40679
40680 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40681 for ac_func in _sqrtl
40682 do :
40683 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40684 if test "x$ac_cv_func__sqrtl" = xyes; then :
40685 cat >>confdefs.h <<_ACEOF
40686 #define HAVE__SQRTL 1
40687 _ACEOF
40688
40689 fi
40690 done
40691
40692 fi
40693 fi
40694
40695
40696
40697
40698
40699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40700 $as_echo_n "checking for sincosl declaration... " >&6; }
40701 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40702 if ${glibcxx_cv_func_sincosl_use+:} false; 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 sincosl(0, 0, 0);
40720 ;
40721 return 0;
40722 }
40723 _ACEOF
40724 if ac_fn_cxx_try_compile "$LINENO"; then :
40725 glibcxx_cv_func_sincosl_use=yes
40726 else
40727 glibcxx_cv_func_sincosl_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_sincosl_use" >&5
40741 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40742
40743 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40744 for ac_func in sincosl
40745 do :
40746 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40747 if test "x$ac_cv_func_sincosl" = xyes; then :
40748 cat >>confdefs.h <<_ACEOF
40749 #define HAVE_SINCOSL 1
40750 _ACEOF
40751
40752 fi
40753 done
40754
40755 else
40756
40757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40758 $as_echo_n "checking for _sincosl declaration... " >&6; }
40759 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40760 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40761 $as_echo_n "(cached) " >&6
40762 else
40763
40764
40765 ac_ext=cpp
40766 ac_cpp='$CXXCPP $CPPFLAGS'
40767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40770
40771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40772 /* end confdefs.h. */
40773 #include <math.h>
40774 int
40775 main ()
40776 {
40777 _sincosl(0, 0, 0);
40778 ;
40779 return 0;
40780 }
40781 _ACEOF
40782 if ac_fn_cxx_try_compile "$LINENO"; then :
40783 glibcxx_cv_func__sincosl_use=yes
40784 else
40785 glibcxx_cv_func__sincosl_use=no
40786 fi
40787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40788 ac_ext=c
40789 ac_cpp='$CPP $CPPFLAGS'
40790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40793
40794
40795 fi
40796
40797 fi
40798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40799 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40800
40801 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40802 for ac_func in _sincosl
40803 do :
40804 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40805 if test "x$ac_cv_func__sincosl" = xyes; then :
40806 cat >>confdefs.h <<_ACEOF
40807 #define HAVE__SINCOSL 1
40808 _ACEOF
40809
40810 fi
40811 done
40812
40813 fi
40814 fi
40815
40816
40817
40818
40819
40820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40821 $as_echo_n "checking for finitel declaration... " >&6; }
40822 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40823 if ${glibcxx_cv_func_finitel_use+:} false; 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 #ifdef HAVE_IEEEFP_H
40838 #include <ieeefp.h>
40839 #endif
40840
40841 int
40842 main ()
40843 {
40844 finitel(0);
40845 ;
40846 return 0;
40847 }
40848 _ACEOF
40849 if ac_fn_cxx_try_compile "$LINENO"; then :
40850 glibcxx_cv_func_finitel_use=yes
40851 else
40852 glibcxx_cv_func_finitel_use=no
40853 fi
40854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40855 ac_ext=c
40856 ac_cpp='$CPP $CPPFLAGS'
40857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40860
40861
40862 fi
40863
40864 fi
40865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40866 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40867
40868 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40869 for ac_func in finitel
40870 do :
40871 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40872 if test "x$ac_cv_func_finitel" = xyes; then :
40873 cat >>confdefs.h <<_ACEOF
40874 #define HAVE_FINITEL 1
40875 _ACEOF
40876
40877 fi
40878 done
40879
40880 else
40881
40882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40883 $as_echo_n "checking for _finitel declaration... " >&6; }
40884 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40885 if ${glibcxx_cv_func__finitel_use+:} false; then :
40886 $as_echo_n "(cached) " >&6
40887 else
40888
40889
40890 ac_ext=cpp
40891 ac_cpp='$CXXCPP $CPPFLAGS'
40892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40895
40896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40897 /* end confdefs.h. */
40898 #include <math.h>
40899 #ifdef HAVE_IEEEFP_H
40900 #include <ieeefp.h>
40901 #endif
40902
40903 int
40904 main ()
40905 {
40906 _finitel(0);
40907 ;
40908 return 0;
40909 }
40910 _ACEOF
40911 if ac_fn_cxx_try_compile "$LINENO"; then :
40912 glibcxx_cv_func__finitel_use=yes
40913 else
40914 glibcxx_cv_func__finitel_use=no
40915 fi
40916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40917 ac_ext=c
40918 ac_cpp='$CPP $CPPFLAGS'
40919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40922
40923
40924 fi
40925
40926 fi
40927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40928 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40929
40930 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40931 for ac_func in _finitel
40932 do :
40933 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40934 if test "x$ac_cv_func__finitel" = xyes; then :
40935 cat >>confdefs.h <<_ACEOF
40936 #define HAVE__FINITEL 1
40937 _ACEOF
40938
40939 fi
40940 done
40941
40942 fi
40943 fi
40944
40945
40946
40947
40948 LIBS="$ac_save_LIBS"
40949 CXXFLAGS="$ac_save_CXXFLAGS"
40950
40951
40952 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40953 ac_save_CXXFLAGS="$CXXFLAGS"
40954 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40955
40956
40957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40958 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40959 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40960 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
40961 $as_echo_n "(cached) " >&6
40962 else
40963
40964
40965 ac_ext=cpp
40966 ac_cpp='$CXXCPP $CPPFLAGS'
40967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40970
40971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40972 /* end confdefs.h. */
40973 #include <stdlib.h>
40974 int
40975 main ()
40976 {
40977 at_quick_exit(0);
40978 ;
40979 return 0;
40980 }
40981 _ACEOF
40982 if ac_fn_cxx_try_compile "$LINENO"; then :
40983 glibcxx_cv_func_at_quick_exit_use=yes
40984 else
40985 glibcxx_cv_func_at_quick_exit_use=no
40986 fi
40987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40988 ac_ext=c
40989 ac_cpp='$CPP $CPPFLAGS'
40990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40993
40994
40995 fi
40996
40997 fi
40998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40999 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41000 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41001 for ac_func in at_quick_exit
41002 do :
41003 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41004 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41005 cat >>confdefs.h <<_ACEOF
41006 #define HAVE_AT_QUICK_EXIT 1
41007 _ACEOF
41008
41009 fi
41010 done
41011
41012 fi
41013
41014
41015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41016 $as_echo_n "checking for quick_exit declaration... " >&6; }
41017 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41018 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41019 $as_echo_n "(cached) " >&6
41020 else
41021
41022
41023 ac_ext=cpp
41024 ac_cpp='$CXXCPP $CPPFLAGS'
41025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41028
41029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41030 /* end confdefs.h. */
41031 #include <stdlib.h>
41032 int
41033 main ()
41034 {
41035 quick_exit(0);
41036 ;
41037 return 0;
41038 }
41039 _ACEOF
41040 if ac_fn_cxx_try_compile "$LINENO"; then :
41041 glibcxx_cv_func_quick_exit_use=yes
41042 else
41043 glibcxx_cv_func_quick_exit_use=no
41044 fi
41045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41046 ac_ext=c
41047 ac_cpp='$CPP $CPPFLAGS'
41048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41051
41052
41053 fi
41054
41055 fi
41056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41057 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41058 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41059 for ac_func in quick_exit
41060 do :
41061 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41062 if test "x$ac_cv_func_quick_exit" = xyes; then :
41063 cat >>confdefs.h <<_ACEOF
41064 #define HAVE_QUICK_EXIT 1
41065 _ACEOF
41066
41067 fi
41068 done
41069
41070 fi
41071
41072
41073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41074 $as_echo_n "checking for strtold declaration... " >&6; }
41075 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41076 if ${glibcxx_cv_func_strtold_use+:} false; then :
41077 $as_echo_n "(cached) " >&6
41078 else
41079
41080
41081 ac_ext=cpp
41082 ac_cpp='$CXXCPP $CPPFLAGS'
41083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41086
41087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41088 /* end confdefs.h. */
41089 #include <stdlib.h>
41090 int
41091 main ()
41092 {
41093 strtold(0, 0);
41094 ;
41095 return 0;
41096 }
41097 _ACEOF
41098 if ac_fn_cxx_try_compile "$LINENO"; then :
41099 glibcxx_cv_func_strtold_use=yes
41100 else
41101 glibcxx_cv_func_strtold_use=no
41102 fi
41103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41104 ac_ext=c
41105 ac_cpp='$CPP $CPPFLAGS'
41106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41109
41110
41111 fi
41112
41113 fi
41114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41115 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41116 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41117 for ac_func in strtold
41118 do :
41119 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41120 if test "x$ac_cv_func_strtold" = xyes; then :
41121 cat >>confdefs.h <<_ACEOF
41122 #define HAVE_STRTOLD 1
41123 _ACEOF
41124
41125 fi
41126 done
41127
41128 fi
41129
41130
41131
41132
41133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41134 $as_echo_n "checking for strtof declaration... " >&6; }
41135 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41136 if ${glibcxx_cv_func_strtof_use+:} false; then :
41137 $as_echo_n "(cached) " >&6
41138 else
41139
41140
41141 ac_ext=cpp
41142 ac_cpp='$CXXCPP $CPPFLAGS'
41143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41146
41147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41148 /* end confdefs.h. */
41149 #include <stdlib.h>
41150 int
41151 main ()
41152 {
41153 strtof(0, 0);
41154 ;
41155 return 0;
41156 }
41157 _ACEOF
41158 if ac_fn_cxx_try_compile "$LINENO"; then :
41159 glibcxx_cv_func_strtof_use=yes
41160 else
41161 glibcxx_cv_func_strtof_use=no
41162 fi
41163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41164 ac_ext=c
41165 ac_cpp='$CPP $CPPFLAGS'
41166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41169
41170
41171 fi
41172
41173 fi
41174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41175 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41176 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41177 for ac_func in strtof
41178 do :
41179 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41180 if test "x$ac_cv_func_strtof" = xyes; then :
41181 cat >>confdefs.h <<_ACEOF
41182 #define HAVE_STRTOF 1
41183 _ACEOF
41184
41185 fi
41186 done
41187
41188 fi
41189
41190
41191
41192
41193 CXXFLAGS="$ac_save_CXXFLAGS"
41194
41195
41196
41197
41198
41199
41200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41201 $as_echo_n "checking for iconv... " >&6; }
41202 if ${am_cv_func_iconv+:} false; then :
41203 $as_echo_n "(cached) " >&6
41204 else
41205
41206 am_cv_func_iconv="no, consider installing GNU libiconv"
41207 am_cv_lib_iconv=no
41208 am_save_CPPFLAGS="$CPPFLAGS"
41209 CPPFLAGS="$CPPFLAGS $INCICONV"
41210 if test x$gcc_no_link = xyes; then
41211 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41212 fi
41213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41214 /* end confdefs.h. */
41215 #include <stdlib.h>
41216 #include <iconv.h>
41217 int
41218 main ()
41219 {
41220 iconv_t cd = iconv_open("","");
41221 iconv(cd,NULL,NULL,NULL,NULL);
41222 iconv_close(cd);
41223 ;
41224 return 0;
41225 }
41226 _ACEOF
41227 if ac_fn_c_try_link "$LINENO"; then :
41228 am_cv_func_iconv=yes
41229 fi
41230 rm -f core conftest.err conftest.$ac_objext \
41231 conftest$ac_exeext conftest.$ac_ext
41232 CPPFLAGS="$am_save_CPPFLAGS"
41233
41234 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41235 for _libs in .libs _libs; do
41236 am_save_CPPFLAGS="$CPPFLAGS"
41237 am_save_LIBS="$LIBS"
41238 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41239 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41240 if test x$gcc_no_link = xyes; then
41241 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41242 fi
41243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41244 /* end confdefs.h. */
41245 #include <stdlib.h>
41246 #include <iconv.h>
41247 int
41248 main ()
41249 {
41250 iconv_t cd = iconv_open("","");
41251 iconv(cd,NULL,NULL,NULL,NULL);
41252 iconv_close(cd);
41253 ;
41254 return 0;
41255 }
41256 _ACEOF
41257 if ac_fn_c_try_link "$LINENO"; then :
41258 INCICONV="-I../libiconv/include"
41259 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41260 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41261 am_cv_lib_iconv=yes
41262 am_cv_func_iconv=yes
41263 fi
41264 rm -f core conftest.err conftest.$ac_objext \
41265 conftest$ac_exeext conftest.$ac_ext
41266 CPPFLAGS="$am_save_CPPFLAGS"
41267 LIBS="$am_save_LIBS"
41268 if test "$am_cv_func_iconv" = "yes"; then
41269 break
41270 fi
41271 done
41272 fi
41273
41274 if test "$am_cv_func_iconv" != yes; then
41275 am_save_CPPFLAGS="$CPPFLAGS"
41276 am_save_LIBS="$LIBS"
41277 CPPFLAGS="$LIBS $INCICONV"
41278 LIBS="$LIBS $LIBICONV"
41279 if test x$gcc_no_link = xyes; then
41280 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41281 fi
41282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41283 /* end confdefs.h. */
41284 #include <stdlib.h>
41285 #include <iconv.h>
41286 int
41287 main ()
41288 {
41289 iconv_t cd = iconv_open("","");
41290 iconv(cd,NULL,NULL,NULL,NULL);
41291 iconv_close(cd);
41292 ;
41293 return 0;
41294 }
41295 _ACEOF
41296 if ac_fn_c_try_link "$LINENO"; then :
41297 am_cv_lib_iconv=yes
41298 am_cv_func_iconv=yes
41299 fi
41300 rm -f core conftest.err conftest.$ac_objext \
41301 conftest$ac_exeext conftest.$ac_ext
41302 CPPFLAGS="$am_save_CPPFLAGS"
41303 LIBS="$am_save_LIBS"
41304 fi
41305
41306 fi
41307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41308 $as_echo "$am_cv_func_iconv" >&6; }
41309 if test "$am_cv_func_iconv" = yes; then
41310
41311 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41312
41313 fi
41314 if test "$am_cv_lib_iconv" = yes; then
41315
41316 for element in $INCICONV; do
41317 haveit=
41318 for x in $CPPFLAGS; do
41319
41320 acl_save_prefix="$prefix"
41321 prefix="$acl_final_prefix"
41322 acl_save_exec_prefix="$exec_prefix"
41323 exec_prefix="$acl_final_exec_prefix"
41324 eval x=\"$x\"
41325 exec_prefix="$acl_save_exec_prefix"
41326 prefix="$acl_save_prefix"
41327
41328 if test "X$x" = "X$element"; then
41329 haveit=yes
41330 break
41331 fi
41332 done
41333 if test -z "$haveit"; then
41334 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41335 fi
41336 done
41337
41338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41339 $as_echo_n "checking how to link with libiconv... " >&6; }
41340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41341 $as_echo "$LIBICONV" >&6; }
41342 else
41343 LIBICONV=
41344 LTLIBICONV=
41345 fi
41346
41347
41348
41349 if test "$am_cv_func_iconv" = yes; then
41350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41351 $as_echo_n "checking for iconv declaration... " >&6; }
41352 if ${am_cv_proto_iconv+:} false; then :
41353 $as_echo_n "(cached) " >&6
41354 else
41355
41356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41357 /* end confdefs.h. */
41358
41359 #include <stdlib.h>
41360 #include <iconv.h>
41361 extern
41362 #ifdef __cplusplus
41363 "C"
41364 #endif
41365 #if defined(__STDC__) || defined(__cplusplus)
41366 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41367 #else
41368 size_t iconv();
41369 #endif
41370
41371 int
41372 main ()
41373 {
41374
41375 ;
41376 return 0;
41377 }
41378 _ACEOF
41379 if ac_fn_c_try_compile "$LINENO"; then :
41380 am_cv_proto_iconv_arg1=""
41381 else
41382 am_cv_proto_iconv_arg1="const"
41383 fi
41384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41385 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);"
41386 fi
41387
41388 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41390 }$am_cv_proto_iconv" >&5
41391 $as_echo "${ac_t:-
41392 }$am_cv_proto_iconv" >&6; }
41393
41394 cat >>confdefs.h <<_ACEOF
41395 #define ICONV_CONST $am_cv_proto_iconv_arg1
41396 _ACEOF
41397
41398 fi
41399
41400 ;;
41401
41402 *-aix*)
41403
41404 # If we're not using GNU ld, then there's no point in even trying these
41405 # tests. Check for that first. We should have already tested for gld
41406 # by now (in libtool), but require it now just to be safe...
41407 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41408 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41409
41410
41411
41412 # The name set by libtool depends on the version of libtool. Shame on us
41413 # for depending on an impl detail, but c'est la vie. Older versions used
41414 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41415 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41416 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41417 # set (hence we're using an older libtool), then set it.
41418 if test x${with_gnu_ld+set} != xset; then
41419 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41420 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41421 with_gnu_ld=no
41422 else
41423 with_gnu_ld=$ac_cv_prog_gnu_ld
41424 fi
41425 fi
41426
41427 # Start by getting the version number. I think the libtool test already
41428 # does some of this, but throws away the result.
41429 glibcxx_ld_is_gold=no
41430 if test x"$with_gnu_ld" = x"yes"; then
41431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41432 $as_echo_n "checking for ld version... " >&6; }
41433
41434 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41435 glibcxx_ld_is_gold=yes
41436 fi
41437 ldver=`$LD --version 2>/dev/null |
41438 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'`
41439
41440 glibcxx_gnu_ld_version=`echo $ldver | \
41441 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41443 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41444 fi
41445
41446 # Set --gc-sections.
41447 glibcxx_have_gc_sections=no
41448 if test "$glibcxx_ld_is_gold" = "yes"; then
41449 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41450 glibcxx_have_gc_sections=yes
41451 fi
41452 else
41453 glibcxx_gcsections_min_ld=21602
41454 if test x"$with_gnu_ld" = x"yes" &&
41455 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41456 glibcxx_have_gc_sections=yes
41457 fi
41458 fi
41459 if test "$glibcxx_have_gc_sections" = "yes"; then
41460 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41461 # NB: This flag only works reliably after 2.16.1. Configure tests
41462 # for this are difficult, so hard wire a value that should work.
41463
41464 ac_test_CFLAGS="${CFLAGS+set}"
41465 ac_save_CFLAGS="$CFLAGS"
41466 CFLAGS='-Wl,--gc-sections'
41467
41468 # Check for -Wl,--gc-sections
41469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41470 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41471 if test x$gcc_no_link = xyes; then
41472 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41473 fi
41474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41475 /* end confdefs.h. */
41476 int one(void) { return 1; }
41477 int two(void) { return 2; }
41478
41479 int
41480 main ()
41481 {
41482 two();
41483 ;
41484 return 0;
41485 }
41486 _ACEOF
41487 if ac_fn_c_try_link "$LINENO"; then :
41488 ac_gcsections=yes
41489 else
41490 ac_gcsections=no
41491 fi
41492 rm -f core conftest.err conftest.$ac_objext \
41493 conftest$ac_exeext conftest.$ac_ext
41494 if test "$ac_gcsections" = "yes"; then
41495 rm -f conftest.c
41496 touch conftest.c
41497 if $CC -c conftest.c; then
41498 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41499 grep "Warning: gc-sections option ignored" > /dev/null; then
41500 ac_gcsections=no
41501 fi
41502 fi
41503 rm -f conftest.c conftest.o conftest
41504 fi
41505 if test "$ac_gcsections" = "yes"; then
41506 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41507 fi
41508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41509 $as_echo "$ac_gcsections" >&6; }
41510
41511 if test "$ac_test_CFLAGS" = set; then
41512 CFLAGS="$ac_save_CFLAGS"
41513 else
41514 # this is the suspicious part
41515 CFLAGS=''
41516 fi
41517 fi
41518
41519 # Set -z,relro.
41520 # Note this is only for shared objects.
41521 ac_ld_relro=no
41522 if test x"$with_gnu_ld" = x"yes"; then
41523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41524 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41525 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41526 if test -n "$cxx_z_relo"; then
41527 OPT_LDFLAGS="-Wl,-z,relro"
41528 ac_ld_relro=yes
41529 fi
41530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41531 $as_echo "$ac_ld_relro" >&6; }
41532 fi
41533
41534 # Set linker optimization flags.
41535 if test x"$with_gnu_ld" = x"yes"; then
41536 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41537 fi
41538
41539
41540
41541
41542
41543 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41544 ac_save_CXXFLAGS="$CXXFLAGS"
41545 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41546
41547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41548 $as_echo_n "checking for sin in -lm... " >&6; }
41549 if ${ac_cv_lib_m_sin+:} false; then :
41550 $as_echo_n "(cached) " >&6
41551 else
41552 ac_check_lib_save_LIBS=$LIBS
41553 LIBS="-lm $LIBS"
41554 if test x$gcc_no_link = xyes; then
41555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41556 fi
41557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41558 /* end confdefs.h. */
41559
41560 /* Override any GCC internal prototype to avoid an error.
41561 Use char because int might match the return type of a GCC
41562 builtin and then its argument prototype would still apply. */
41563 #ifdef __cplusplus
41564 extern "C"
41565 #endif
41566 char sin ();
41567 int
41568 main ()
41569 {
41570 return sin ();
41571 ;
41572 return 0;
41573 }
41574 _ACEOF
41575 if ac_fn_c_try_link "$LINENO"; then :
41576 ac_cv_lib_m_sin=yes
41577 else
41578 ac_cv_lib_m_sin=no
41579 fi
41580 rm -f core conftest.err conftest.$ac_objext \
41581 conftest$ac_exeext conftest.$ac_ext
41582 LIBS=$ac_check_lib_save_LIBS
41583 fi
41584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41585 $as_echo "$ac_cv_lib_m_sin" >&6; }
41586 if test "x$ac_cv_lib_m_sin" = xyes; then :
41587 libm="-lm"
41588 fi
41589
41590 ac_save_LIBS="$LIBS"
41591 LIBS="$LIBS $libm"
41592
41593
41594
41595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41596 $as_echo_n "checking for isinf declaration... " >&6; }
41597 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41598 if ${glibcxx_cv_func_isinf_use+:} false; then :
41599 $as_echo_n "(cached) " >&6
41600 else
41601
41602
41603 ac_ext=cpp
41604 ac_cpp='$CXXCPP $CPPFLAGS'
41605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41608
41609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41610 /* end confdefs.h. */
41611 #include <math.h>
41612 #ifdef HAVE_IEEEFP_H
41613 #include <ieeefp.h>
41614 #endif
41615
41616 int
41617 main ()
41618 {
41619 isinf(0);
41620 ;
41621 return 0;
41622 }
41623 _ACEOF
41624 if ac_fn_cxx_try_compile "$LINENO"; then :
41625 glibcxx_cv_func_isinf_use=yes
41626 else
41627 glibcxx_cv_func_isinf_use=no
41628 fi
41629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41630 ac_ext=c
41631 ac_cpp='$CPP $CPPFLAGS'
41632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41635
41636
41637 fi
41638
41639 fi
41640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41641 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41642
41643 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41644 for ac_func in isinf
41645 do :
41646 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41647 if test "x$ac_cv_func_isinf" = xyes; then :
41648 cat >>confdefs.h <<_ACEOF
41649 #define HAVE_ISINF 1
41650 _ACEOF
41651
41652 fi
41653 done
41654
41655 else
41656
41657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41658 $as_echo_n "checking for _isinf declaration... " >&6; }
41659 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41660 if ${glibcxx_cv_func__isinf_use+:} false; then :
41661 $as_echo_n "(cached) " >&6
41662 else
41663
41664
41665 ac_ext=cpp
41666 ac_cpp='$CXXCPP $CPPFLAGS'
41667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41670
41671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41672 /* end confdefs.h. */
41673 #include <math.h>
41674 #ifdef HAVE_IEEEFP_H
41675 #include <ieeefp.h>
41676 #endif
41677
41678 int
41679 main ()
41680 {
41681 _isinf(0);
41682 ;
41683 return 0;
41684 }
41685 _ACEOF
41686 if ac_fn_cxx_try_compile "$LINENO"; then :
41687 glibcxx_cv_func__isinf_use=yes
41688 else
41689 glibcxx_cv_func__isinf_use=no
41690 fi
41691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41692 ac_ext=c
41693 ac_cpp='$CPP $CPPFLAGS'
41694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41697
41698
41699 fi
41700
41701 fi
41702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41703 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41704
41705 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41706 for ac_func in _isinf
41707 do :
41708 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41709 if test "x$ac_cv_func__isinf" = xyes; then :
41710 cat >>confdefs.h <<_ACEOF
41711 #define HAVE__ISINF 1
41712 _ACEOF
41713
41714 fi
41715 done
41716
41717 fi
41718 fi
41719
41720
41721
41722
41723
41724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41725 $as_echo_n "checking for isnan declaration... " >&6; }
41726 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41727 if ${glibcxx_cv_func_isnan_use+:} false; then :
41728 $as_echo_n "(cached) " >&6
41729 else
41730
41731
41732 ac_ext=cpp
41733 ac_cpp='$CXXCPP $CPPFLAGS'
41734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41737
41738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41739 /* end confdefs.h. */
41740 #include <math.h>
41741 #ifdef HAVE_IEEEFP_H
41742 #include <ieeefp.h>
41743 #endif
41744
41745 int
41746 main ()
41747 {
41748 isnan(0);
41749 ;
41750 return 0;
41751 }
41752 _ACEOF
41753 if ac_fn_cxx_try_compile "$LINENO"; then :
41754 glibcxx_cv_func_isnan_use=yes
41755 else
41756 glibcxx_cv_func_isnan_use=no
41757 fi
41758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41759 ac_ext=c
41760 ac_cpp='$CPP $CPPFLAGS'
41761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41764
41765
41766 fi
41767
41768 fi
41769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41770 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41771
41772 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41773 for ac_func in isnan
41774 do :
41775 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41776 if test "x$ac_cv_func_isnan" = xyes; then :
41777 cat >>confdefs.h <<_ACEOF
41778 #define HAVE_ISNAN 1
41779 _ACEOF
41780
41781 fi
41782 done
41783
41784 else
41785
41786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41787 $as_echo_n "checking for _isnan declaration... " >&6; }
41788 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41789 if ${glibcxx_cv_func__isnan_use+:} false; then :
41790 $as_echo_n "(cached) " >&6
41791 else
41792
41793
41794 ac_ext=cpp
41795 ac_cpp='$CXXCPP $CPPFLAGS'
41796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41799
41800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41801 /* end confdefs.h. */
41802 #include <math.h>
41803 #ifdef HAVE_IEEEFP_H
41804 #include <ieeefp.h>
41805 #endif
41806
41807 int
41808 main ()
41809 {
41810 _isnan(0);
41811 ;
41812 return 0;
41813 }
41814 _ACEOF
41815 if ac_fn_cxx_try_compile "$LINENO"; then :
41816 glibcxx_cv_func__isnan_use=yes
41817 else
41818 glibcxx_cv_func__isnan_use=no
41819 fi
41820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41821 ac_ext=c
41822 ac_cpp='$CPP $CPPFLAGS'
41823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41826
41827
41828 fi
41829
41830 fi
41831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41832 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41833
41834 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41835 for ac_func in _isnan
41836 do :
41837 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41838 if test "x$ac_cv_func__isnan" = xyes; then :
41839 cat >>confdefs.h <<_ACEOF
41840 #define HAVE__ISNAN 1
41841 _ACEOF
41842
41843 fi
41844 done
41845
41846 fi
41847 fi
41848
41849
41850
41851
41852
41853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41854 $as_echo_n "checking for finite declaration... " >&6; }
41855 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41856 if ${glibcxx_cv_func_finite_use+:} false; then :
41857 $as_echo_n "(cached) " >&6
41858 else
41859
41860
41861 ac_ext=cpp
41862 ac_cpp='$CXXCPP $CPPFLAGS'
41863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41866
41867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41868 /* end confdefs.h. */
41869 #include <math.h>
41870 #ifdef HAVE_IEEEFP_H
41871 #include <ieeefp.h>
41872 #endif
41873
41874 int
41875 main ()
41876 {
41877 finite(0);
41878 ;
41879 return 0;
41880 }
41881 _ACEOF
41882 if ac_fn_cxx_try_compile "$LINENO"; then :
41883 glibcxx_cv_func_finite_use=yes
41884 else
41885 glibcxx_cv_func_finite_use=no
41886 fi
41887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41888 ac_ext=c
41889 ac_cpp='$CPP $CPPFLAGS'
41890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41893
41894
41895 fi
41896
41897 fi
41898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41899 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41900
41901 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41902 for ac_func in finite
41903 do :
41904 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41905 if test "x$ac_cv_func_finite" = xyes; then :
41906 cat >>confdefs.h <<_ACEOF
41907 #define HAVE_FINITE 1
41908 _ACEOF
41909
41910 fi
41911 done
41912
41913 else
41914
41915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41916 $as_echo_n "checking for _finite declaration... " >&6; }
41917 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41918 if ${glibcxx_cv_func__finite_use+:} false; then :
41919 $as_echo_n "(cached) " >&6
41920 else
41921
41922
41923 ac_ext=cpp
41924 ac_cpp='$CXXCPP $CPPFLAGS'
41925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41928
41929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41930 /* end confdefs.h. */
41931 #include <math.h>
41932 #ifdef HAVE_IEEEFP_H
41933 #include <ieeefp.h>
41934 #endif
41935
41936 int
41937 main ()
41938 {
41939 _finite(0);
41940 ;
41941 return 0;
41942 }
41943 _ACEOF
41944 if ac_fn_cxx_try_compile "$LINENO"; then :
41945 glibcxx_cv_func__finite_use=yes
41946 else
41947 glibcxx_cv_func__finite_use=no
41948 fi
41949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41950 ac_ext=c
41951 ac_cpp='$CPP $CPPFLAGS'
41952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41955
41956
41957 fi
41958
41959 fi
41960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41961 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41962
41963 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41964 for ac_func in _finite
41965 do :
41966 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41967 if test "x$ac_cv_func__finite" = xyes; then :
41968 cat >>confdefs.h <<_ACEOF
41969 #define HAVE__FINITE 1
41970 _ACEOF
41971
41972 fi
41973 done
41974
41975 fi
41976 fi
41977
41978
41979
41980
41981
41982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41983 $as_echo_n "checking for sincos declaration... " >&6; }
41984 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41985 if ${glibcxx_cv_func_sincos_use+:} false; then :
41986 $as_echo_n "(cached) " >&6
41987 else
41988
41989
41990 ac_ext=cpp
41991 ac_cpp='$CXXCPP $CPPFLAGS'
41992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41995
41996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41997 /* end confdefs.h. */
41998 #include <math.h>
41999 int
42000 main ()
42001 {
42002 sincos(0, 0, 0);
42003 ;
42004 return 0;
42005 }
42006 _ACEOF
42007 if ac_fn_cxx_try_compile "$LINENO"; then :
42008 glibcxx_cv_func_sincos_use=yes
42009 else
42010 glibcxx_cv_func_sincos_use=no
42011 fi
42012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42013 ac_ext=c
42014 ac_cpp='$CPP $CPPFLAGS'
42015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42018
42019
42020 fi
42021
42022 fi
42023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42024 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42025
42026 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42027 for ac_func in sincos
42028 do :
42029 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42030 if test "x$ac_cv_func_sincos" = xyes; then :
42031 cat >>confdefs.h <<_ACEOF
42032 #define HAVE_SINCOS 1
42033 _ACEOF
42034
42035 fi
42036 done
42037
42038 else
42039
42040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42041 $as_echo_n "checking for _sincos declaration... " >&6; }
42042 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42043 if ${glibcxx_cv_func__sincos_use+:} false; then :
42044 $as_echo_n "(cached) " >&6
42045 else
42046
42047
42048 ac_ext=cpp
42049 ac_cpp='$CXXCPP $CPPFLAGS'
42050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42053
42054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42055 /* end confdefs.h. */
42056 #include <math.h>
42057 int
42058 main ()
42059 {
42060 _sincos(0, 0, 0);
42061 ;
42062 return 0;
42063 }
42064 _ACEOF
42065 if ac_fn_cxx_try_compile "$LINENO"; then :
42066 glibcxx_cv_func__sincos_use=yes
42067 else
42068 glibcxx_cv_func__sincos_use=no
42069 fi
42070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42071 ac_ext=c
42072 ac_cpp='$CPP $CPPFLAGS'
42073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42076
42077
42078 fi
42079
42080 fi
42081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42082 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42083
42084 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42085 for ac_func in _sincos
42086 do :
42087 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42088 if test "x$ac_cv_func__sincos" = xyes; then :
42089 cat >>confdefs.h <<_ACEOF
42090 #define HAVE__SINCOS 1
42091 _ACEOF
42092
42093 fi
42094 done
42095
42096 fi
42097 fi
42098
42099
42100
42101
42102
42103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42104 $as_echo_n "checking for fpclass declaration... " >&6; }
42105 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42106 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42107 $as_echo_n "(cached) " >&6
42108 else
42109
42110
42111 ac_ext=cpp
42112 ac_cpp='$CXXCPP $CPPFLAGS'
42113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42116
42117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42118 /* end confdefs.h. */
42119 #include <math.h>
42120 #ifdef HAVE_IEEEFP_H
42121 #include <ieeefp.h>
42122 #endif
42123
42124 int
42125 main ()
42126 {
42127 fpclass(0);
42128 ;
42129 return 0;
42130 }
42131 _ACEOF
42132 if ac_fn_cxx_try_compile "$LINENO"; then :
42133 glibcxx_cv_func_fpclass_use=yes
42134 else
42135 glibcxx_cv_func_fpclass_use=no
42136 fi
42137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42138 ac_ext=c
42139 ac_cpp='$CPP $CPPFLAGS'
42140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42143
42144
42145 fi
42146
42147 fi
42148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42149 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42150
42151 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42152 for ac_func in fpclass
42153 do :
42154 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42155 if test "x$ac_cv_func_fpclass" = xyes; then :
42156 cat >>confdefs.h <<_ACEOF
42157 #define HAVE_FPCLASS 1
42158 _ACEOF
42159
42160 fi
42161 done
42162
42163 else
42164
42165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42166 $as_echo_n "checking for _fpclass declaration... " >&6; }
42167 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42168 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42169 $as_echo_n "(cached) " >&6
42170 else
42171
42172
42173 ac_ext=cpp
42174 ac_cpp='$CXXCPP $CPPFLAGS'
42175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42178
42179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42180 /* end confdefs.h. */
42181 #include <math.h>
42182 #ifdef HAVE_IEEEFP_H
42183 #include <ieeefp.h>
42184 #endif
42185
42186 int
42187 main ()
42188 {
42189 _fpclass(0);
42190 ;
42191 return 0;
42192 }
42193 _ACEOF
42194 if ac_fn_cxx_try_compile "$LINENO"; then :
42195 glibcxx_cv_func__fpclass_use=yes
42196 else
42197 glibcxx_cv_func__fpclass_use=no
42198 fi
42199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42200 ac_ext=c
42201 ac_cpp='$CPP $CPPFLAGS'
42202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42205
42206
42207 fi
42208
42209 fi
42210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42211 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42212
42213 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42214 for ac_func in _fpclass
42215 do :
42216 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42217 if test "x$ac_cv_func__fpclass" = xyes; then :
42218 cat >>confdefs.h <<_ACEOF
42219 #define HAVE__FPCLASS 1
42220 _ACEOF
42221
42222 fi
42223 done
42224
42225 fi
42226 fi
42227
42228
42229
42230
42231
42232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42233 $as_echo_n "checking for qfpclass declaration... " >&6; }
42234 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42235 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42236 $as_echo_n "(cached) " >&6
42237 else
42238
42239
42240 ac_ext=cpp
42241 ac_cpp='$CXXCPP $CPPFLAGS'
42242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42245
42246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42247 /* end confdefs.h. */
42248 #include <math.h>
42249 #ifdef HAVE_IEEEFP_H
42250 #include <ieeefp.h>
42251 #endif
42252
42253 int
42254 main ()
42255 {
42256 qfpclass(0);
42257 ;
42258 return 0;
42259 }
42260 _ACEOF
42261 if ac_fn_cxx_try_compile "$LINENO"; then :
42262 glibcxx_cv_func_qfpclass_use=yes
42263 else
42264 glibcxx_cv_func_qfpclass_use=no
42265 fi
42266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42267 ac_ext=c
42268 ac_cpp='$CPP $CPPFLAGS'
42269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42272
42273
42274 fi
42275
42276 fi
42277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42278 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42279
42280 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42281 for ac_func in qfpclass
42282 do :
42283 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42284 if test "x$ac_cv_func_qfpclass" = xyes; then :
42285 cat >>confdefs.h <<_ACEOF
42286 #define HAVE_QFPCLASS 1
42287 _ACEOF
42288
42289 fi
42290 done
42291
42292 else
42293
42294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42295 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42296 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42297 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42298 $as_echo_n "(cached) " >&6
42299 else
42300
42301
42302 ac_ext=cpp
42303 ac_cpp='$CXXCPP $CPPFLAGS'
42304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42307
42308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42309 /* end confdefs.h. */
42310 #include <math.h>
42311 #ifdef HAVE_IEEEFP_H
42312 #include <ieeefp.h>
42313 #endif
42314
42315 int
42316 main ()
42317 {
42318 _qfpclass(0);
42319 ;
42320 return 0;
42321 }
42322 _ACEOF
42323 if ac_fn_cxx_try_compile "$LINENO"; then :
42324 glibcxx_cv_func__qfpclass_use=yes
42325 else
42326 glibcxx_cv_func__qfpclass_use=no
42327 fi
42328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42329 ac_ext=c
42330 ac_cpp='$CPP $CPPFLAGS'
42331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42334
42335
42336 fi
42337
42338 fi
42339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42340 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42341
42342 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42343 for ac_func in _qfpclass
42344 do :
42345 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42346 if test "x$ac_cv_func__qfpclass" = xyes; then :
42347 cat >>confdefs.h <<_ACEOF
42348 #define HAVE__QFPCLASS 1
42349 _ACEOF
42350
42351 fi
42352 done
42353
42354 fi
42355 fi
42356
42357
42358
42359
42360
42361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42362 $as_echo_n "checking for hypot declaration... " >&6; }
42363 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42364 if ${glibcxx_cv_func_hypot_use+:} false; then :
42365 $as_echo_n "(cached) " >&6
42366 else
42367
42368
42369 ac_ext=cpp
42370 ac_cpp='$CXXCPP $CPPFLAGS'
42371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42374
42375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42376 /* end confdefs.h. */
42377 #include <math.h>
42378 int
42379 main ()
42380 {
42381 hypot(0, 0);
42382 ;
42383 return 0;
42384 }
42385 _ACEOF
42386 if ac_fn_cxx_try_compile "$LINENO"; then :
42387 glibcxx_cv_func_hypot_use=yes
42388 else
42389 glibcxx_cv_func_hypot_use=no
42390 fi
42391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42392 ac_ext=c
42393 ac_cpp='$CPP $CPPFLAGS'
42394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42397
42398
42399 fi
42400
42401 fi
42402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42403 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42404
42405 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42406 for ac_func in hypot
42407 do :
42408 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42409 if test "x$ac_cv_func_hypot" = xyes; then :
42410 cat >>confdefs.h <<_ACEOF
42411 #define HAVE_HYPOT 1
42412 _ACEOF
42413
42414 fi
42415 done
42416
42417 else
42418
42419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42420 $as_echo_n "checking for _hypot declaration... " >&6; }
42421 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42422 if ${glibcxx_cv_func__hypot_use+:} false; then :
42423 $as_echo_n "(cached) " >&6
42424 else
42425
42426
42427 ac_ext=cpp
42428 ac_cpp='$CXXCPP $CPPFLAGS'
42429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42432
42433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42434 /* end confdefs.h. */
42435 #include <math.h>
42436 int
42437 main ()
42438 {
42439 _hypot(0, 0);
42440 ;
42441 return 0;
42442 }
42443 _ACEOF
42444 if ac_fn_cxx_try_compile "$LINENO"; then :
42445 glibcxx_cv_func__hypot_use=yes
42446 else
42447 glibcxx_cv_func__hypot_use=no
42448 fi
42449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42450 ac_ext=c
42451 ac_cpp='$CPP $CPPFLAGS'
42452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42455
42456
42457 fi
42458
42459 fi
42460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42461 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42462
42463 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42464 for ac_func in _hypot
42465 do :
42466 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42467 if test "x$ac_cv_func__hypot" = xyes; then :
42468 cat >>confdefs.h <<_ACEOF
42469 #define HAVE__HYPOT 1
42470 _ACEOF
42471
42472 fi
42473 done
42474
42475 fi
42476 fi
42477
42478
42479
42480
42481
42482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42483 $as_echo_n "checking for float trig functions... " >&6; }
42484 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42485 $as_echo_n "(cached) " >&6
42486 else
42487
42488
42489 ac_ext=cpp
42490 ac_cpp='$CXXCPP $CPPFLAGS'
42491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42494
42495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42496 /* end confdefs.h. */
42497 #include <math.h>
42498 int
42499 main ()
42500 {
42501 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42502 ;
42503 return 0;
42504 }
42505 _ACEOF
42506 if ac_fn_cxx_try_compile "$LINENO"; then :
42507 glibcxx_cv_func_float_trig_use=yes
42508 else
42509 glibcxx_cv_func_float_trig_use=no
42510 fi
42511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42512 ac_ext=c
42513 ac_cpp='$CPP $CPPFLAGS'
42514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42517
42518 fi
42519
42520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42521 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42522 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42523 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42524 do :
42525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42527 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42528 cat >>confdefs.h <<_ACEOF
42529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42530 _ACEOF
42531
42532 fi
42533 done
42534
42535 else
42536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42537 $as_echo_n "checking for _float trig functions... " >&6; }
42538 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42539 $as_echo_n "(cached) " >&6
42540 else
42541
42542
42543 ac_ext=cpp
42544 ac_cpp='$CXXCPP $CPPFLAGS'
42545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42548
42549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42550 /* end confdefs.h. */
42551 #include <math.h>
42552 int
42553 main ()
42554 {
42555 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42556 ;
42557 return 0;
42558 }
42559 _ACEOF
42560 if ac_fn_cxx_try_compile "$LINENO"; then :
42561 glibcxx_cv_func__float_trig_use=yes
42562 else
42563 glibcxx_cv_func__float_trig_use=no
42564 fi
42565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42566 ac_ext=c
42567 ac_cpp='$CPP $CPPFLAGS'
42568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42571
42572 fi
42573
42574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42575 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42576 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42577 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42578 do :
42579 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42580 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42581 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42582 cat >>confdefs.h <<_ACEOF
42583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42584 _ACEOF
42585
42586 fi
42587 done
42588
42589 fi
42590 fi
42591
42592
42593
42594
42595
42596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42597 $as_echo_n "checking for float round functions... " >&6; }
42598 if ${glibcxx_cv_func_float_round_use+:} false; then :
42599 $as_echo_n "(cached) " >&6
42600 else
42601
42602
42603 ac_ext=cpp
42604 ac_cpp='$CXXCPP $CPPFLAGS'
42605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42608
42609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42610 /* end confdefs.h. */
42611 #include <math.h>
42612 int
42613 main ()
42614 {
42615 ceilf (0); floorf (0);
42616 ;
42617 return 0;
42618 }
42619 _ACEOF
42620 if ac_fn_cxx_try_compile "$LINENO"; then :
42621 glibcxx_cv_func_float_round_use=yes
42622 else
42623 glibcxx_cv_func_float_round_use=no
42624 fi
42625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42626 ac_ext=c
42627 ac_cpp='$CPP $CPPFLAGS'
42628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42631
42632 fi
42633
42634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42635 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42636 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42637 for ac_func in ceilf floorf
42638 do :
42639 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42640 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42641 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42642 cat >>confdefs.h <<_ACEOF
42643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42644 _ACEOF
42645
42646 fi
42647 done
42648
42649 else
42650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42651 $as_echo_n "checking for _float round functions... " >&6; }
42652 if ${glibcxx_cv_func__float_round_use+:} false; then :
42653 $as_echo_n "(cached) " >&6
42654 else
42655
42656
42657 ac_ext=cpp
42658 ac_cpp='$CXXCPP $CPPFLAGS'
42659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42662
42663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42664 /* end confdefs.h. */
42665 #include <math.h>
42666 int
42667 main ()
42668 {
42669 _ceilf (0); _floorf (0);
42670 ;
42671 return 0;
42672 }
42673 _ACEOF
42674 if ac_fn_cxx_try_compile "$LINENO"; then :
42675 glibcxx_cv_func__float_round_use=yes
42676 else
42677 glibcxx_cv_func__float_round_use=no
42678 fi
42679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42680 ac_ext=c
42681 ac_cpp='$CPP $CPPFLAGS'
42682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42685
42686 fi
42687
42688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42689 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42690 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42691 for ac_func in _ceilf _floorf
42692 do :
42693 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42694 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42695 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42696 cat >>confdefs.h <<_ACEOF
42697 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42698 _ACEOF
42699
42700 fi
42701 done
42702
42703 fi
42704 fi
42705
42706
42707
42708
42709
42710
42711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42712 $as_echo_n "checking for expf declaration... " >&6; }
42713 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42714 if ${glibcxx_cv_func_expf_use+:} false; then :
42715 $as_echo_n "(cached) " >&6
42716 else
42717
42718
42719 ac_ext=cpp
42720 ac_cpp='$CXXCPP $CPPFLAGS'
42721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42724
42725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42726 /* end confdefs.h. */
42727 #include <math.h>
42728 #ifdef HAVE_IEEEFP_H
42729 #include <ieeefp.h>
42730 #endif
42731
42732 int
42733 main ()
42734 {
42735 expf(0);
42736 ;
42737 return 0;
42738 }
42739 _ACEOF
42740 if ac_fn_cxx_try_compile "$LINENO"; then :
42741 glibcxx_cv_func_expf_use=yes
42742 else
42743 glibcxx_cv_func_expf_use=no
42744 fi
42745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42746 ac_ext=c
42747 ac_cpp='$CPP $CPPFLAGS'
42748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42751
42752
42753 fi
42754
42755 fi
42756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42757 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42758
42759 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42760 for ac_func in expf
42761 do :
42762 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42763 if test "x$ac_cv_func_expf" = xyes; then :
42764 cat >>confdefs.h <<_ACEOF
42765 #define HAVE_EXPF 1
42766 _ACEOF
42767
42768 fi
42769 done
42770
42771 else
42772
42773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42774 $as_echo_n "checking for _expf declaration... " >&6; }
42775 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42776 if ${glibcxx_cv_func__expf_use+:} false; then :
42777 $as_echo_n "(cached) " >&6
42778 else
42779
42780
42781 ac_ext=cpp
42782 ac_cpp='$CXXCPP $CPPFLAGS'
42783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42786
42787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42788 /* end confdefs.h. */
42789 #include <math.h>
42790 #ifdef HAVE_IEEEFP_H
42791 #include <ieeefp.h>
42792 #endif
42793
42794 int
42795 main ()
42796 {
42797 _expf(0);
42798 ;
42799 return 0;
42800 }
42801 _ACEOF
42802 if ac_fn_cxx_try_compile "$LINENO"; then :
42803 glibcxx_cv_func__expf_use=yes
42804 else
42805 glibcxx_cv_func__expf_use=no
42806 fi
42807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42808 ac_ext=c
42809 ac_cpp='$CPP $CPPFLAGS'
42810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42813
42814
42815 fi
42816
42817 fi
42818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42819 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42820
42821 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42822 for ac_func in _expf
42823 do :
42824 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42825 if test "x$ac_cv_func__expf" = xyes; then :
42826 cat >>confdefs.h <<_ACEOF
42827 #define HAVE__EXPF 1
42828 _ACEOF
42829
42830 fi
42831 done
42832
42833 fi
42834 fi
42835
42836
42837
42838
42839
42840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42841 $as_echo_n "checking for isnanf declaration... " >&6; }
42842 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42843 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42844 $as_echo_n "(cached) " >&6
42845 else
42846
42847
42848 ac_ext=cpp
42849 ac_cpp='$CXXCPP $CPPFLAGS'
42850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42853
42854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42855 /* end confdefs.h. */
42856 #include <math.h>
42857 #ifdef HAVE_IEEEFP_H
42858 #include <ieeefp.h>
42859 #endif
42860
42861 int
42862 main ()
42863 {
42864 isnanf(0);
42865 ;
42866 return 0;
42867 }
42868 _ACEOF
42869 if ac_fn_cxx_try_compile "$LINENO"; then :
42870 glibcxx_cv_func_isnanf_use=yes
42871 else
42872 glibcxx_cv_func_isnanf_use=no
42873 fi
42874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42875 ac_ext=c
42876 ac_cpp='$CPP $CPPFLAGS'
42877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42880
42881
42882 fi
42883
42884 fi
42885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42886 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42887
42888 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42889 for ac_func in isnanf
42890 do :
42891 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42892 if test "x$ac_cv_func_isnanf" = xyes; then :
42893 cat >>confdefs.h <<_ACEOF
42894 #define HAVE_ISNANF 1
42895 _ACEOF
42896
42897 fi
42898 done
42899
42900 else
42901
42902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42903 $as_echo_n "checking for _isnanf declaration... " >&6; }
42904 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42905 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42906 $as_echo_n "(cached) " >&6
42907 else
42908
42909
42910 ac_ext=cpp
42911 ac_cpp='$CXXCPP $CPPFLAGS'
42912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42915
42916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42917 /* end confdefs.h. */
42918 #include <math.h>
42919 #ifdef HAVE_IEEEFP_H
42920 #include <ieeefp.h>
42921 #endif
42922
42923 int
42924 main ()
42925 {
42926 _isnanf(0);
42927 ;
42928 return 0;
42929 }
42930 _ACEOF
42931 if ac_fn_cxx_try_compile "$LINENO"; then :
42932 glibcxx_cv_func__isnanf_use=yes
42933 else
42934 glibcxx_cv_func__isnanf_use=no
42935 fi
42936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42937 ac_ext=c
42938 ac_cpp='$CPP $CPPFLAGS'
42939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42942
42943
42944 fi
42945
42946 fi
42947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42948 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42949
42950 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42951 for ac_func in _isnanf
42952 do :
42953 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42954 if test "x$ac_cv_func__isnanf" = xyes; then :
42955 cat >>confdefs.h <<_ACEOF
42956 #define HAVE__ISNANF 1
42957 _ACEOF
42958
42959 fi
42960 done
42961
42962 fi
42963 fi
42964
42965
42966
42967
42968
42969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42970 $as_echo_n "checking for isinff declaration... " >&6; }
42971 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42972 if ${glibcxx_cv_func_isinff_use+:} false; then :
42973 $as_echo_n "(cached) " >&6
42974 else
42975
42976
42977 ac_ext=cpp
42978 ac_cpp='$CXXCPP $CPPFLAGS'
42979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42982
42983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42984 /* end confdefs.h. */
42985 #include <math.h>
42986 #ifdef HAVE_IEEEFP_H
42987 #include <ieeefp.h>
42988 #endif
42989
42990 int
42991 main ()
42992 {
42993 isinff(0);
42994 ;
42995 return 0;
42996 }
42997 _ACEOF
42998 if ac_fn_cxx_try_compile "$LINENO"; then :
42999 glibcxx_cv_func_isinff_use=yes
43000 else
43001 glibcxx_cv_func_isinff_use=no
43002 fi
43003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43004 ac_ext=c
43005 ac_cpp='$CPP $CPPFLAGS'
43006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43009
43010
43011 fi
43012
43013 fi
43014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43015 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43016
43017 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43018 for ac_func in isinff
43019 do :
43020 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43021 if test "x$ac_cv_func_isinff" = xyes; then :
43022 cat >>confdefs.h <<_ACEOF
43023 #define HAVE_ISINFF 1
43024 _ACEOF
43025
43026 fi
43027 done
43028
43029 else
43030
43031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43032 $as_echo_n "checking for _isinff declaration... " >&6; }
43033 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43034 if ${glibcxx_cv_func__isinff_use+:} false; then :
43035 $as_echo_n "(cached) " >&6
43036 else
43037
43038
43039 ac_ext=cpp
43040 ac_cpp='$CXXCPP $CPPFLAGS'
43041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43044
43045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43046 /* end confdefs.h. */
43047 #include <math.h>
43048 #ifdef HAVE_IEEEFP_H
43049 #include <ieeefp.h>
43050 #endif
43051
43052 int
43053 main ()
43054 {
43055 _isinff(0);
43056 ;
43057 return 0;
43058 }
43059 _ACEOF
43060 if ac_fn_cxx_try_compile "$LINENO"; then :
43061 glibcxx_cv_func__isinff_use=yes
43062 else
43063 glibcxx_cv_func__isinff_use=no
43064 fi
43065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43066 ac_ext=c
43067 ac_cpp='$CPP $CPPFLAGS'
43068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43071
43072
43073 fi
43074
43075 fi
43076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43077 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43078
43079 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43080 for ac_func in _isinff
43081 do :
43082 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43083 if test "x$ac_cv_func__isinff" = xyes; then :
43084 cat >>confdefs.h <<_ACEOF
43085 #define HAVE__ISINFF 1
43086 _ACEOF
43087
43088 fi
43089 done
43090
43091 fi
43092 fi
43093
43094
43095
43096
43097
43098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43099 $as_echo_n "checking for atan2f declaration... " >&6; }
43100 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43101 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43102 $as_echo_n "(cached) " >&6
43103 else
43104
43105
43106 ac_ext=cpp
43107 ac_cpp='$CXXCPP $CPPFLAGS'
43108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43111
43112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43113 /* end confdefs.h. */
43114 #include <math.h>
43115 int
43116 main ()
43117 {
43118 atan2f(0, 0);
43119 ;
43120 return 0;
43121 }
43122 _ACEOF
43123 if ac_fn_cxx_try_compile "$LINENO"; then :
43124 glibcxx_cv_func_atan2f_use=yes
43125 else
43126 glibcxx_cv_func_atan2f_use=no
43127 fi
43128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43129 ac_ext=c
43130 ac_cpp='$CPP $CPPFLAGS'
43131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43134
43135
43136 fi
43137
43138 fi
43139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43140 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43141
43142 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43143 for ac_func in atan2f
43144 do :
43145 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43146 if test "x$ac_cv_func_atan2f" = xyes; then :
43147 cat >>confdefs.h <<_ACEOF
43148 #define HAVE_ATAN2F 1
43149 _ACEOF
43150
43151 fi
43152 done
43153
43154 else
43155
43156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43157 $as_echo_n "checking for _atan2f declaration... " >&6; }
43158 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43159 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43160 $as_echo_n "(cached) " >&6
43161 else
43162
43163
43164 ac_ext=cpp
43165 ac_cpp='$CXXCPP $CPPFLAGS'
43166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43169
43170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43171 /* end confdefs.h. */
43172 #include <math.h>
43173 int
43174 main ()
43175 {
43176 _atan2f(0, 0);
43177 ;
43178 return 0;
43179 }
43180 _ACEOF
43181 if ac_fn_cxx_try_compile "$LINENO"; then :
43182 glibcxx_cv_func__atan2f_use=yes
43183 else
43184 glibcxx_cv_func__atan2f_use=no
43185 fi
43186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43187 ac_ext=c
43188 ac_cpp='$CPP $CPPFLAGS'
43189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43192
43193
43194 fi
43195
43196 fi
43197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43198 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43199
43200 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43201 for ac_func in _atan2f
43202 do :
43203 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43204 if test "x$ac_cv_func__atan2f" = xyes; then :
43205 cat >>confdefs.h <<_ACEOF
43206 #define HAVE__ATAN2F 1
43207 _ACEOF
43208
43209 fi
43210 done
43211
43212 fi
43213 fi
43214
43215
43216
43217
43218
43219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43220 $as_echo_n "checking for fabsf declaration... " >&6; }
43221 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43222 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43223 $as_echo_n "(cached) " >&6
43224 else
43225
43226
43227 ac_ext=cpp
43228 ac_cpp='$CXXCPP $CPPFLAGS'
43229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43232
43233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43234 /* end confdefs.h. */
43235 #include <math.h>
43236 #ifdef HAVE_IEEEFP_H
43237 #include <ieeefp.h>
43238 #endif
43239
43240 int
43241 main ()
43242 {
43243 fabsf(0);
43244 ;
43245 return 0;
43246 }
43247 _ACEOF
43248 if ac_fn_cxx_try_compile "$LINENO"; then :
43249 glibcxx_cv_func_fabsf_use=yes
43250 else
43251 glibcxx_cv_func_fabsf_use=no
43252 fi
43253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43254 ac_ext=c
43255 ac_cpp='$CPP $CPPFLAGS'
43256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43259
43260
43261 fi
43262
43263 fi
43264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43265 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43266
43267 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43268 for ac_func in fabsf
43269 do :
43270 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43271 if test "x$ac_cv_func_fabsf" = xyes; then :
43272 cat >>confdefs.h <<_ACEOF
43273 #define HAVE_FABSF 1
43274 _ACEOF
43275
43276 fi
43277 done
43278
43279 else
43280
43281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43282 $as_echo_n "checking for _fabsf declaration... " >&6; }
43283 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43284 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43285 $as_echo_n "(cached) " >&6
43286 else
43287
43288
43289 ac_ext=cpp
43290 ac_cpp='$CXXCPP $CPPFLAGS'
43291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43294
43295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43296 /* end confdefs.h. */
43297 #include <math.h>
43298 #ifdef HAVE_IEEEFP_H
43299 #include <ieeefp.h>
43300 #endif
43301
43302 int
43303 main ()
43304 {
43305 _fabsf(0);
43306 ;
43307 return 0;
43308 }
43309 _ACEOF
43310 if ac_fn_cxx_try_compile "$LINENO"; then :
43311 glibcxx_cv_func__fabsf_use=yes
43312 else
43313 glibcxx_cv_func__fabsf_use=no
43314 fi
43315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43316 ac_ext=c
43317 ac_cpp='$CPP $CPPFLAGS'
43318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43321
43322
43323 fi
43324
43325 fi
43326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43327 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43328
43329 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43330 for ac_func in _fabsf
43331 do :
43332 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43333 if test "x$ac_cv_func__fabsf" = xyes; then :
43334 cat >>confdefs.h <<_ACEOF
43335 #define HAVE__FABSF 1
43336 _ACEOF
43337
43338 fi
43339 done
43340
43341 fi
43342 fi
43343
43344
43345
43346
43347
43348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43349 $as_echo_n "checking for fmodf declaration... " >&6; }
43350 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43351 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43352 $as_echo_n "(cached) " >&6
43353 else
43354
43355
43356 ac_ext=cpp
43357 ac_cpp='$CXXCPP $CPPFLAGS'
43358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43361
43362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43363 /* end confdefs.h. */
43364 #include <math.h>
43365 int
43366 main ()
43367 {
43368 fmodf(0, 0);
43369 ;
43370 return 0;
43371 }
43372 _ACEOF
43373 if ac_fn_cxx_try_compile "$LINENO"; then :
43374 glibcxx_cv_func_fmodf_use=yes
43375 else
43376 glibcxx_cv_func_fmodf_use=no
43377 fi
43378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43379 ac_ext=c
43380 ac_cpp='$CPP $CPPFLAGS'
43381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43384
43385
43386 fi
43387
43388 fi
43389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43390 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43391
43392 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43393 for ac_func in fmodf
43394 do :
43395 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43396 if test "x$ac_cv_func_fmodf" = xyes; then :
43397 cat >>confdefs.h <<_ACEOF
43398 #define HAVE_FMODF 1
43399 _ACEOF
43400
43401 fi
43402 done
43403
43404 else
43405
43406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43407 $as_echo_n "checking for _fmodf declaration... " >&6; }
43408 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43409 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43410 $as_echo_n "(cached) " >&6
43411 else
43412
43413
43414 ac_ext=cpp
43415 ac_cpp='$CXXCPP $CPPFLAGS'
43416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43419
43420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43421 /* end confdefs.h. */
43422 #include <math.h>
43423 int
43424 main ()
43425 {
43426 _fmodf(0, 0);
43427 ;
43428 return 0;
43429 }
43430 _ACEOF
43431 if ac_fn_cxx_try_compile "$LINENO"; then :
43432 glibcxx_cv_func__fmodf_use=yes
43433 else
43434 glibcxx_cv_func__fmodf_use=no
43435 fi
43436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43437 ac_ext=c
43438 ac_cpp='$CPP $CPPFLAGS'
43439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43442
43443
43444 fi
43445
43446 fi
43447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43448 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43449
43450 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43451 for ac_func in _fmodf
43452 do :
43453 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43454 if test "x$ac_cv_func__fmodf" = xyes; then :
43455 cat >>confdefs.h <<_ACEOF
43456 #define HAVE__FMODF 1
43457 _ACEOF
43458
43459 fi
43460 done
43461
43462 fi
43463 fi
43464
43465
43466
43467
43468
43469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43470 $as_echo_n "checking for frexpf declaration... " >&6; }
43471 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43472 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43473 $as_echo_n "(cached) " >&6
43474 else
43475
43476
43477 ac_ext=cpp
43478 ac_cpp='$CXXCPP $CPPFLAGS'
43479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43482
43483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43484 /* end confdefs.h. */
43485 #include <math.h>
43486 int
43487 main ()
43488 {
43489 frexpf(0, 0);
43490 ;
43491 return 0;
43492 }
43493 _ACEOF
43494 if ac_fn_cxx_try_compile "$LINENO"; then :
43495 glibcxx_cv_func_frexpf_use=yes
43496 else
43497 glibcxx_cv_func_frexpf_use=no
43498 fi
43499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43500 ac_ext=c
43501 ac_cpp='$CPP $CPPFLAGS'
43502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43505
43506
43507 fi
43508
43509 fi
43510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43511 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43512
43513 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43514 for ac_func in frexpf
43515 do :
43516 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43517 if test "x$ac_cv_func_frexpf" = xyes; then :
43518 cat >>confdefs.h <<_ACEOF
43519 #define HAVE_FREXPF 1
43520 _ACEOF
43521
43522 fi
43523 done
43524
43525 else
43526
43527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43528 $as_echo_n "checking for _frexpf declaration... " >&6; }
43529 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43530 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43531 $as_echo_n "(cached) " >&6
43532 else
43533
43534
43535 ac_ext=cpp
43536 ac_cpp='$CXXCPP $CPPFLAGS'
43537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43540
43541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43542 /* end confdefs.h. */
43543 #include <math.h>
43544 int
43545 main ()
43546 {
43547 _frexpf(0, 0);
43548 ;
43549 return 0;
43550 }
43551 _ACEOF
43552 if ac_fn_cxx_try_compile "$LINENO"; then :
43553 glibcxx_cv_func__frexpf_use=yes
43554 else
43555 glibcxx_cv_func__frexpf_use=no
43556 fi
43557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43558 ac_ext=c
43559 ac_cpp='$CPP $CPPFLAGS'
43560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43563
43564
43565 fi
43566
43567 fi
43568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43569 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43570
43571 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43572 for ac_func in _frexpf
43573 do :
43574 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43575 if test "x$ac_cv_func__frexpf" = xyes; then :
43576 cat >>confdefs.h <<_ACEOF
43577 #define HAVE__FREXPF 1
43578 _ACEOF
43579
43580 fi
43581 done
43582
43583 fi
43584 fi
43585
43586
43587
43588
43589
43590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43591 $as_echo_n "checking for hypotf declaration... " >&6; }
43592 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43593 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43594 $as_echo_n "(cached) " >&6
43595 else
43596
43597
43598 ac_ext=cpp
43599 ac_cpp='$CXXCPP $CPPFLAGS'
43600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43603
43604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43605 /* end confdefs.h. */
43606 #include <math.h>
43607 int
43608 main ()
43609 {
43610 hypotf(0, 0);
43611 ;
43612 return 0;
43613 }
43614 _ACEOF
43615 if ac_fn_cxx_try_compile "$LINENO"; then :
43616 glibcxx_cv_func_hypotf_use=yes
43617 else
43618 glibcxx_cv_func_hypotf_use=no
43619 fi
43620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43621 ac_ext=c
43622 ac_cpp='$CPP $CPPFLAGS'
43623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43626
43627
43628 fi
43629
43630 fi
43631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43632 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43633
43634 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43635 for ac_func in hypotf
43636 do :
43637 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43638 if test "x$ac_cv_func_hypotf" = xyes; then :
43639 cat >>confdefs.h <<_ACEOF
43640 #define HAVE_HYPOTF 1
43641 _ACEOF
43642
43643 fi
43644 done
43645
43646 else
43647
43648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43649 $as_echo_n "checking for _hypotf declaration... " >&6; }
43650 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43651 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43652 $as_echo_n "(cached) " >&6
43653 else
43654
43655
43656 ac_ext=cpp
43657 ac_cpp='$CXXCPP $CPPFLAGS'
43658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43661
43662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43663 /* end confdefs.h. */
43664 #include <math.h>
43665 int
43666 main ()
43667 {
43668 _hypotf(0, 0);
43669 ;
43670 return 0;
43671 }
43672 _ACEOF
43673 if ac_fn_cxx_try_compile "$LINENO"; then :
43674 glibcxx_cv_func__hypotf_use=yes
43675 else
43676 glibcxx_cv_func__hypotf_use=no
43677 fi
43678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43679 ac_ext=c
43680 ac_cpp='$CPP $CPPFLAGS'
43681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43684
43685
43686 fi
43687
43688 fi
43689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43690 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43691
43692 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43693 for ac_func in _hypotf
43694 do :
43695 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43696 if test "x$ac_cv_func__hypotf" = xyes; then :
43697 cat >>confdefs.h <<_ACEOF
43698 #define HAVE__HYPOTF 1
43699 _ACEOF
43700
43701 fi
43702 done
43703
43704 fi
43705 fi
43706
43707
43708
43709
43710
43711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43712 $as_echo_n "checking for ldexpf declaration... " >&6; }
43713 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43714 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43715 $as_echo_n "(cached) " >&6
43716 else
43717
43718
43719 ac_ext=cpp
43720 ac_cpp='$CXXCPP $CPPFLAGS'
43721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43724
43725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43726 /* end confdefs.h. */
43727 #include <math.h>
43728 int
43729 main ()
43730 {
43731 ldexpf(0, 0);
43732 ;
43733 return 0;
43734 }
43735 _ACEOF
43736 if ac_fn_cxx_try_compile "$LINENO"; then :
43737 glibcxx_cv_func_ldexpf_use=yes
43738 else
43739 glibcxx_cv_func_ldexpf_use=no
43740 fi
43741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43742 ac_ext=c
43743 ac_cpp='$CPP $CPPFLAGS'
43744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43747
43748
43749 fi
43750
43751 fi
43752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43753 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43754
43755 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43756 for ac_func in ldexpf
43757 do :
43758 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43759 if test "x$ac_cv_func_ldexpf" = xyes; then :
43760 cat >>confdefs.h <<_ACEOF
43761 #define HAVE_LDEXPF 1
43762 _ACEOF
43763
43764 fi
43765 done
43766
43767 else
43768
43769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43770 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43771 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43772 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43773 $as_echo_n "(cached) " >&6
43774 else
43775
43776
43777 ac_ext=cpp
43778 ac_cpp='$CXXCPP $CPPFLAGS'
43779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43782
43783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43784 /* end confdefs.h. */
43785 #include <math.h>
43786 int
43787 main ()
43788 {
43789 _ldexpf(0, 0);
43790 ;
43791 return 0;
43792 }
43793 _ACEOF
43794 if ac_fn_cxx_try_compile "$LINENO"; then :
43795 glibcxx_cv_func__ldexpf_use=yes
43796 else
43797 glibcxx_cv_func__ldexpf_use=no
43798 fi
43799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43800 ac_ext=c
43801 ac_cpp='$CPP $CPPFLAGS'
43802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43805
43806
43807 fi
43808
43809 fi
43810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43811 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43812
43813 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43814 for ac_func in _ldexpf
43815 do :
43816 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43817 if test "x$ac_cv_func__ldexpf" = xyes; then :
43818 cat >>confdefs.h <<_ACEOF
43819 #define HAVE__LDEXPF 1
43820 _ACEOF
43821
43822 fi
43823 done
43824
43825 fi
43826 fi
43827
43828
43829
43830
43831
43832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43833 $as_echo_n "checking for logf declaration... " >&6; }
43834 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43835 if ${glibcxx_cv_func_logf_use+:} false; then :
43836 $as_echo_n "(cached) " >&6
43837 else
43838
43839
43840 ac_ext=cpp
43841 ac_cpp='$CXXCPP $CPPFLAGS'
43842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43845
43846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43847 /* end confdefs.h. */
43848 #include <math.h>
43849 #ifdef HAVE_IEEEFP_H
43850 #include <ieeefp.h>
43851 #endif
43852
43853 int
43854 main ()
43855 {
43856 logf(0);
43857 ;
43858 return 0;
43859 }
43860 _ACEOF
43861 if ac_fn_cxx_try_compile "$LINENO"; then :
43862 glibcxx_cv_func_logf_use=yes
43863 else
43864 glibcxx_cv_func_logf_use=no
43865 fi
43866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43867 ac_ext=c
43868 ac_cpp='$CPP $CPPFLAGS'
43869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43872
43873
43874 fi
43875
43876 fi
43877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43878 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43879
43880 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43881 for ac_func in logf
43882 do :
43883 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43884 if test "x$ac_cv_func_logf" = xyes; then :
43885 cat >>confdefs.h <<_ACEOF
43886 #define HAVE_LOGF 1
43887 _ACEOF
43888
43889 fi
43890 done
43891
43892 else
43893
43894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43895 $as_echo_n "checking for _logf declaration... " >&6; }
43896 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43897 if ${glibcxx_cv_func__logf_use+:} false; then :
43898 $as_echo_n "(cached) " >&6
43899 else
43900
43901
43902 ac_ext=cpp
43903 ac_cpp='$CXXCPP $CPPFLAGS'
43904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43907
43908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43909 /* end confdefs.h. */
43910 #include <math.h>
43911 #ifdef HAVE_IEEEFP_H
43912 #include <ieeefp.h>
43913 #endif
43914
43915 int
43916 main ()
43917 {
43918 _logf(0);
43919 ;
43920 return 0;
43921 }
43922 _ACEOF
43923 if ac_fn_cxx_try_compile "$LINENO"; then :
43924 glibcxx_cv_func__logf_use=yes
43925 else
43926 glibcxx_cv_func__logf_use=no
43927 fi
43928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43929 ac_ext=c
43930 ac_cpp='$CPP $CPPFLAGS'
43931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43934
43935
43936 fi
43937
43938 fi
43939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43940 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43941
43942 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43943 for ac_func in _logf
43944 do :
43945 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43946 if test "x$ac_cv_func__logf" = xyes; then :
43947 cat >>confdefs.h <<_ACEOF
43948 #define HAVE__LOGF 1
43949 _ACEOF
43950
43951 fi
43952 done
43953
43954 fi
43955 fi
43956
43957
43958
43959
43960
43961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43962 $as_echo_n "checking for log10f declaration... " >&6; }
43963 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43964 if ${glibcxx_cv_func_log10f_use+:} false; then :
43965 $as_echo_n "(cached) " >&6
43966 else
43967
43968
43969 ac_ext=cpp
43970 ac_cpp='$CXXCPP $CPPFLAGS'
43971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43974
43975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43976 /* end confdefs.h. */
43977 #include <math.h>
43978 #ifdef HAVE_IEEEFP_H
43979 #include <ieeefp.h>
43980 #endif
43981
43982 int
43983 main ()
43984 {
43985 log10f(0);
43986 ;
43987 return 0;
43988 }
43989 _ACEOF
43990 if ac_fn_cxx_try_compile "$LINENO"; then :
43991 glibcxx_cv_func_log10f_use=yes
43992 else
43993 glibcxx_cv_func_log10f_use=no
43994 fi
43995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43996 ac_ext=c
43997 ac_cpp='$CPP $CPPFLAGS'
43998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44001
44002
44003 fi
44004
44005 fi
44006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44007 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44008
44009 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44010 for ac_func in log10f
44011 do :
44012 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44013 if test "x$ac_cv_func_log10f" = xyes; then :
44014 cat >>confdefs.h <<_ACEOF
44015 #define HAVE_LOG10F 1
44016 _ACEOF
44017
44018 fi
44019 done
44020
44021 else
44022
44023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44024 $as_echo_n "checking for _log10f declaration... " >&6; }
44025 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44026 if ${glibcxx_cv_func__log10f_use+:} false; then :
44027 $as_echo_n "(cached) " >&6
44028 else
44029
44030
44031 ac_ext=cpp
44032 ac_cpp='$CXXCPP $CPPFLAGS'
44033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44036
44037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44038 /* end confdefs.h. */
44039 #include <math.h>
44040 #ifdef HAVE_IEEEFP_H
44041 #include <ieeefp.h>
44042 #endif
44043
44044 int
44045 main ()
44046 {
44047 _log10f(0);
44048 ;
44049 return 0;
44050 }
44051 _ACEOF
44052 if ac_fn_cxx_try_compile "$LINENO"; then :
44053 glibcxx_cv_func__log10f_use=yes
44054 else
44055 glibcxx_cv_func__log10f_use=no
44056 fi
44057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44058 ac_ext=c
44059 ac_cpp='$CPP $CPPFLAGS'
44060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44063
44064
44065 fi
44066
44067 fi
44068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44069 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44070
44071 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44072 for ac_func in _log10f
44073 do :
44074 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44075 if test "x$ac_cv_func__log10f" = xyes; then :
44076 cat >>confdefs.h <<_ACEOF
44077 #define HAVE__LOG10F 1
44078 _ACEOF
44079
44080 fi
44081 done
44082
44083 fi
44084 fi
44085
44086
44087
44088
44089
44090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44091 $as_echo_n "checking for modff declaration... " >&6; }
44092 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44093 if ${glibcxx_cv_func_modff_use+:} false; then :
44094 $as_echo_n "(cached) " >&6
44095 else
44096
44097
44098 ac_ext=cpp
44099 ac_cpp='$CXXCPP $CPPFLAGS'
44100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44103
44104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44105 /* end confdefs.h. */
44106 #include <math.h>
44107 int
44108 main ()
44109 {
44110 modff(0, 0);
44111 ;
44112 return 0;
44113 }
44114 _ACEOF
44115 if ac_fn_cxx_try_compile "$LINENO"; then :
44116 glibcxx_cv_func_modff_use=yes
44117 else
44118 glibcxx_cv_func_modff_use=no
44119 fi
44120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44121 ac_ext=c
44122 ac_cpp='$CPP $CPPFLAGS'
44123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44126
44127
44128 fi
44129
44130 fi
44131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44132 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44133
44134 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44135 for ac_func in modff
44136 do :
44137 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44138 if test "x$ac_cv_func_modff" = xyes; then :
44139 cat >>confdefs.h <<_ACEOF
44140 #define HAVE_MODFF 1
44141 _ACEOF
44142
44143 fi
44144 done
44145
44146 else
44147
44148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44149 $as_echo_n "checking for _modff declaration... " >&6; }
44150 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44151 if ${glibcxx_cv_func__modff_use+:} false; then :
44152 $as_echo_n "(cached) " >&6
44153 else
44154
44155
44156 ac_ext=cpp
44157 ac_cpp='$CXXCPP $CPPFLAGS'
44158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44161
44162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44163 /* end confdefs.h. */
44164 #include <math.h>
44165 int
44166 main ()
44167 {
44168 _modff(0, 0);
44169 ;
44170 return 0;
44171 }
44172 _ACEOF
44173 if ac_fn_cxx_try_compile "$LINENO"; then :
44174 glibcxx_cv_func__modff_use=yes
44175 else
44176 glibcxx_cv_func__modff_use=no
44177 fi
44178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44179 ac_ext=c
44180 ac_cpp='$CPP $CPPFLAGS'
44181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44184
44185
44186 fi
44187
44188 fi
44189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44190 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44191
44192 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44193 for ac_func in _modff
44194 do :
44195 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44196 if test "x$ac_cv_func__modff" = xyes; then :
44197 cat >>confdefs.h <<_ACEOF
44198 #define HAVE__MODFF 1
44199 _ACEOF
44200
44201 fi
44202 done
44203
44204 fi
44205 fi
44206
44207
44208
44209
44210
44211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44212 $as_echo_n "checking for modf declaration... " >&6; }
44213 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44214 if ${glibcxx_cv_func_modf_use+:} false; then :
44215 $as_echo_n "(cached) " >&6
44216 else
44217
44218
44219 ac_ext=cpp
44220 ac_cpp='$CXXCPP $CPPFLAGS'
44221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44224
44225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44226 /* end confdefs.h. */
44227 #include <math.h>
44228 int
44229 main ()
44230 {
44231 modf(0, 0);
44232 ;
44233 return 0;
44234 }
44235 _ACEOF
44236 if ac_fn_cxx_try_compile "$LINENO"; then :
44237 glibcxx_cv_func_modf_use=yes
44238 else
44239 glibcxx_cv_func_modf_use=no
44240 fi
44241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44242 ac_ext=c
44243 ac_cpp='$CPP $CPPFLAGS'
44244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44247
44248
44249 fi
44250
44251 fi
44252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44253 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44254
44255 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44256 for ac_func in modf
44257 do :
44258 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44259 if test "x$ac_cv_func_modf" = xyes; then :
44260 cat >>confdefs.h <<_ACEOF
44261 #define HAVE_MODF 1
44262 _ACEOF
44263
44264 fi
44265 done
44266
44267 else
44268
44269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44270 $as_echo_n "checking for _modf declaration... " >&6; }
44271 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44272 if ${glibcxx_cv_func__modf_use+:} false; then :
44273 $as_echo_n "(cached) " >&6
44274 else
44275
44276
44277 ac_ext=cpp
44278 ac_cpp='$CXXCPP $CPPFLAGS'
44279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44282
44283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44284 /* end confdefs.h. */
44285 #include <math.h>
44286 int
44287 main ()
44288 {
44289 _modf(0, 0);
44290 ;
44291 return 0;
44292 }
44293 _ACEOF
44294 if ac_fn_cxx_try_compile "$LINENO"; then :
44295 glibcxx_cv_func__modf_use=yes
44296 else
44297 glibcxx_cv_func__modf_use=no
44298 fi
44299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44300 ac_ext=c
44301 ac_cpp='$CPP $CPPFLAGS'
44302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44305
44306
44307 fi
44308
44309 fi
44310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44311 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44312
44313 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44314 for ac_func in _modf
44315 do :
44316 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44317 if test "x$ac_cv_func__modf" = xyes; then :
44318 cat >>confdefs.h <<_ACEOF
44319 #define HAVE__MODF 1
44320 _ACEOF
44321
44322 fi
44323 done
44324
44325 fi
44326 fi
44327
44328
44329
44330
44331
44332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44333 $as_echo_n "checking for powf declaration... " >&6; }
44334 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44335 if ${glibcxx_cv_func_powf_use+:} false; then :
44336 $as_echo_n "(cached) " >&6
44337 else
44338
44339
44340 ac_ext=cpp
44341 ac_cpp='$CXXCPP $CPPFLAGS'
44342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44345
44346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44347 /* end confdefs.h. */
44348 #include <math.h>
44349 int
44350 main ()
44351 {
44352 powf(0, 0);
44353 ;
44354 return 0;
44355 }
44356 _ACEOF
44357 if ac_fn_cxx_try_compile "$LINENO"; then :
44358 glibcxx_cv_func_powf_use=yes
44359 else
44360 glibcxx_cv_func_powf_use=no
44361 fi
44362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44363 ac_ext=c
44364 ac_cpp='$CPP $CPPFLAGS'
44365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44368
44369
44370 fi
44371
44372 fi
44373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44374 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44375
44376 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44377 for ac_func in powf
44378 do :
44379 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44380 if test "x$ac_cv_func_powf" = xyes; then :
44381 cat >>confdefs.h <<_ACEOF
44382 #define HAVE_POWF 1
44383 _ACEOF
44384
44385 fi
44386 done
44387
44388 else
44389
44390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44391 $as_echo_n "checking for _powf declaration... " >&6; }
44392 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44393 if ${glibcxx_cv_func__powf_use+:} false; then :
44394 $as_echo_n "(cached) " >&6
44395 else
44396
44397
44398 ac_ext=cpp
44399 ac_cpp='$CXXCPP $CPPFLAGS'
44400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44403
44404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44405 /* end confdefs.h. */
44406 #include <math.h>
44407 int
44408 main ()
44409 {
44410 _powf(0, 0);
44411 ;
44412 return 0;
44413 }
44414 _ACEOF
44415 if ac_fn_cxx_try_compile "$LINENO"; then :
44416 glibcxx_cv_func__powf_use=yes
44417 else
44418 glibcxx_cv_func__powf_use=no
44419 fi
44420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44421 ac_ext=c
44422 ac_cpp='$CPP $CPPFLAGS'
44423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44426
44427
44428 fi
44429
44430 fi
44431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44432 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44433
44434 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44435 for ac_func in _powf
44436 do :
44437 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44438 if test "x$ac_cv_func__powf" = xyes; then :
44439 cat >>confdefs.h <<_ACEOF
44440 #define HAVE__POWF 1
44441 _ACEOF
44442
44443 fi
44444 done
44445
44446 fi
44447 fi
44448
44449
44450
44451
44452
44453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44454 $as_echo_n "checking for sqrtf declaration... " >&6; }
44455 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44456 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44457 $as_echo_n "(cached) " >&6
44458 else
44459
44460
44461 ac_ext=cpp
44462 ac_cpp='$CXXCPP $CPPFLAGS'
44463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44466
44467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44468 /* end confdefs.h. */
44469 #include <math.h>
44470 #ifdef HAVE_IEEEFP_H
44471 #include <ieeefp.h>
44472 #endif
44473
44474 int
44475 main ()
44476 {
44477 sqrtf(0);
44478 ;
44479 return 0;
44480 }
44481 _ACEOF
44482 if ac_fn_cxx_try_compile "$LINENO"; then :
44483 glibcxx_cv_func_sqrtf_use=yes
44484 else
44485 glibcxx_cv_func_sqrtf_use=no
44486 fi
44487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44488 ac_ext=c
44489 ac_cpp='$CPP $CPPFLAGS'
44490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44493
44494
44495 fi
44496
44497 fi
44498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44499 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44500
44501 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44502 for ac_func in sqrtf
44503 do :
44504 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44505 if test "x$ac_cv_func_sqrtf" = xyes; then :
44506 cat >>confdefs.h <<_ACEOF
44507 #define HAVE_SQRTF 1
44508 _ACEOF
44509
44510 fi
44511 done
44512
44513 else
44514
44515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44516 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44517 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44518 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44519 $as_echo_n "(cached) " >&6
44520 else
44521
44522
44523 ac_ext=cpp
44524 ac_cpp='$CXXCPP $CPPFLAGS'
44525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44528
44529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44530 /* end confdefs.h. */
44531 #include <math.h>
44532 #ifdef HAVE_IEEEFP_H
44533 #include <ieeefp.h>
44534 #endif
44535
44536 int
44537 main ()
44538 {
44539 _sqrtf(0);
44540 ;
44541 return 0;
44542 }
44543 _ACEOF
44544 if ac_fn_cxx_try_compile "$LINENO"; then :
44545 glibcxx_cv_func__sqrtf_use=yes
44546 else
44547 glibcxx_cv_func__sqrtf_use=no
44548 fi
44549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44550 ac_ext=c
44551 ac_cpp='$CPP $CPPFLAGS'
44552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44555
44556
44557 fi
44558
44559 fi
44560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44561 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44562
44563 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44564 for ac_func in _sqrtf
44565 do :
44566 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44567 if test "x$ac_cv_func__sqrtf" = xyes; then :
44568 cat >>confdefs.h <<_ACEOF
44569 #define HAVE__SQRTF 1
44570 _ACEOF
44571
44572 fi
44573 done
44574
44575 fi
44576 fi
44577
44578
44579
44580
44581
44582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44583 $as_echo_n "checking for sincosf declaration... " >&6; }
44584 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44585 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44586 $as_echo_n "(cached) " >&6
44587 else
44588
44589
44590 ac_ext=cpp
44591 ac_cpp='$CXXCPP $CPPFLAGS'
44592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44595
44596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44597 /* end confdefs.h. */
44598 #include <math.h>
44599 int
44600 main ()
44601 {
44602 sincosf(0, 0, 0);
44603 ;
44604 return 0;
44605 }
44606 _ACEOF
44607 if ac_fn_cxx_try_compile "$LINENO"; then :
44608 glibcxx_cv_func_sincosf_use=yes
44609 else
44610 glibcxx_cv_func_sincosf_use=no
44611 fi
44612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44613 ac_ext=c
44614 ac_cpp='$CPP $CPPFLAGS'
44615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44618
44619
44620 fi
44621
44622 fi
44623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44624 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44625
44626 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44627 for ac_func in sincosf
44628 do :
44629 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44630 if test "x$ac_cv_func_sincosf" = xyes; then :
44631 cat >>confdefs.h <<_ACEOF
44632 #define HAVE_SINCOSF 1
44633 _ACEOF
44634
44635 fi
44636 done
44637
44638 else
44639
44640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44641 $as_echo_n "checking for _sincosf declaration... " >&6; }
44642 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44643 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44644 $as_echo_n "(cached) " >&6
44645 else
44646
44647
44648 ac_ext=cpp
44649 ac_cpp='$CXXCPP $CPPFLAGS'
44650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44653
44654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44655 /* end confdefs.h. */
44656 #include <math.h>
44657 int
44658 main ()
44659 {
44660 _sincosf(0, 0, 0);
44661 ;
44662 return 0;
44663 }
44664 _ACEOF
44665 if ac_fn_cxx_try_compile "$LINENO"; then :
44666 glibcxx_cv_func__sincosf_use=yes
44667 else
44668 glibcxx_cv_func__sincosf_use=no
44669 fi
44670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44671 ac_ext=c
44672 ac_cpp='$CPP $CPPFLAGS'
44673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44676
44677
44678 fi
44679
44680 fi
44681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44682 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44683
44684 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44685 for ac_func in _sincosf
44686 do :
44687 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44688 if test "x$ac_cv_func__sincosf" = xyes; then :
44689 cat >>confdefs.h <<_ACEOF
44690 #define HAVE__SINCOSF 1
44691 _ACEOF
44692
44693 fi
44694 done
44695
44696 fi
44697 fi
44698
44699
44700
44701
44702
44703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44704 $as_echo_n "checking for finitef declaration... " >&6; }
44705 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44706 if ${glibcxx_cv_func_finitef_use+:} false; then :
44707 $as_echo_n "(cached) " >&6
44708 else
44709
44710
44711 ac_ext=cpp
44712 ac_cpp='$CXXCPP $CPPFLAGS'
44713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44716
44717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44718 /* end confdefs.h. */
44719 #include <math.h>
44720 #ifdef HAVE_IEEEFP_H
44721 #include <ieeefp.h>
44722 #endif
44723
44724 int
44725 main ()
44726 {
44727 finitef(0);
44728 ;
44729 return 0;
44730 }
44731 _ACEOF
44732 if ac_fn_cxx_try_compile "$LINENO"; then :
44733 glibcxx_cv_func_finitef_use=yes
44734 else
44735 glibcxx_cv_func_finitef_use=no
44736 fi
44737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44738 ac_ext=c
44739 ac_cpp='$CPP $CPPFLAGS'
44740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44743
44744
44745 fi
44746
44747 fi
44748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44749 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44750
44751 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44752 for ac_func in finitef
44753 do :
44754 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44755 if test "x$ac_cv_func_finitef" = xyes; then :
44756 cat >>confdefs.h <<_ACEOF
44757 #define HAVE_FINITEF 1
44758 _ACEOF
44759
44760 fi
44761 done
44762
44763 else
44764
44765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44766 $as_echo_n "checking for _finitef declaration... " >&6; }
44767 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44768 if ${glibcxx_cv_func__finitef_use+:} false; then :
44769 $as_echo_n "(cached) " >&6
44770 else
44771
44772
44773 ac_ext=cpp
44774 ac_cpp='$CXXCPP $CPPFLAGS'
44775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44778
44779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44780 /* end confdefs.h. */
44781 #include <math.h>
44782 #ifdef HAVE_IEEEFP_H
44783 #include <ieeefp.h>
44784 #endif
44785
44786 int
44787 main ()
44788 {
44789 _finitef(0);
44790 ;
44791 return 0;
44792 }
44793 _ACEOF
44794 if ac_fn_cxx_try_compile "$LINENO"; then :
44795 glibcxx_cv_func__finitef_use=yes
44796 else
44797 glibcxx_cv_func__finitef_use=no
44798 fi
44799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44800 ac_ext=c
44801 ac_cpp='$CPP $CPPFLAGS'
44802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44805
44806
44807 fi
44808
44809 fi
44810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44811 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44812
44813 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44814 for ac_func in _finitef
44815 do :
44816 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44817 if test "x$ac_cv_func__finitef" = xyes; then :
44818 cat >>confdefs.h <<_ACEOF
44819 #define HAVE__FINITEF 1
44820 _ACEOF
44821
44822 fi
44823 done
44824
44825 fi
44826 fi
44827
44828
44829
44830
44831
44832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44833 $as_echo_n "checking for long double trig functions... " >&6; }
44834 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44835 $as_echo_n "(cached) " >&6
44836 else
44837
44838
44839 ac_ext=cpp
44840 ac_cpp='$CXXCPP $CPPFLAGS'
44841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44844
44845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44846 /* end confdefs.h. */
44847 #include <math.h>
44848 int
44849 main ()
44850 {
44851 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44852 ;
44853 return 0;
44854 }
44855 _ACEOF
44856 if ac_fn_cxx_try_compile "$LINENO"; then :
44857 glibcxx_cv_func_long_double_trig_use=yes
44858 else
44859 glibcxx_cv_func_long_double_trig_use=no
44860 fi
44861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44862 ac_ext=c
44863 ac_cpp='$CPP $CPPFLAGS'
44864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44867
44868 fi
44869
44870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44871 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44872 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44873 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44874 do :
44875 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44876 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44877 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44878 cat >>confdefs.h <<_ACEOF
44879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44880 _ACEOF
44881
44882 fi
44883 done
44884
44885 else
44886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44887 $as_echo_n "checking for _long double trig functions... " >&6; }
44888 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44889 $as_echo_n "(cached) " >&6
44890 else
44891
44892
44893 ac_ext=cpp
44894 ac_cpp='$CXXCPP $CPPFLAGS'
44895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44898
44899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44900 /* end confdefs.h. */
44901 #include <math.h>
44902 int
44903 main ()
44904 {
44905 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44906 ;
44907 return 0;
44908 }
44909 _ACEOF
44910 if ac_fn_cxx_try_compile "$LINENO"; then :
44911 glibcxx_cv_func__long_double_trig_use=yes
44912 else
44913 glibcxx_cv_func__long_double_trig_use=no
44914 fi
44915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44916 ac_ext=c
44917 ac_cpp='$CPP $CPPFLAGS'
44918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44921
44922 fi
44923
44924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44925 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44926 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44927 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44928 do :
44929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44931 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44932 cat >>confdefs.h <<_ACEOF
44933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44934 _ACEOF
44935
44936 fi
44937 done
44938
44939 fi
44940 fi
44941
44942
44943
44944
44945
44946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44947 $as_echo_n "checking for long double round functions... " >&6; }
44948 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44949 $as_echo_n "(cached) " >&6
44950 else
44951
44952
44953 ac_ext=cpp
44954 ac_cpp='$CXXCPP $CPPFLAGS'
44955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44958
44959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44960 /* end confdefs.h. */
44961 #include <math.h>
44962 int
44963 main ()
44964 {
44965 ceill (0); floorl (0);
44966 ;
44967 return 0;
44968 }
44969 _ACEOF
44970 if ac_fn_cxx_try_compile "$LINENO"; then :
44971 glibcxx_cv_func_long_double_round_use=yes
44972 else
44973 glibcxx_cv_func_long_double_round_use=no
44974 fi
44975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44976 ac_ext=c
44977 ac_cpp='$CPP $CPPFLAGS'
44978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44981
44982 fi
44983
44984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44985 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44986 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44987 for ac_func in ceill floorl
44988 do :
44989 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44991 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44992 cat >>confdefs.h <<_ACEOF
44993 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44994 _ACEOF
44995
44996 fi
44997 done
44998
44999 else
45000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45001 $as_echo_n "checking for _long double round functions... " >&6; }
45002 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45003 $as_echo_n "(cached) " >&6
45004 else
45005
45006
45007 ac_ext=cpp
45008 ac_cpp='$CXXCPP $CPPFLAGS'
45009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45012
45013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45014 /* end confdefs.h. */
45015 #include <math.h>
45016 int
45017 main ()
45018 {
45019 _ceill (0); _floorl (0);
45020 ;
45021 return 0;
45022 }
45023 _ACEOF
45024 if ac_fn_cxx_try_compile "$LINENO"; then :
45025 glibcxx_cv_func__long_double_round_use=yes
45026 else
45027 glibcxx_cv_func__long_double_round_use=no
45028 fi
45029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45030 ac_ext=c
45031 ac_cpp='$CPP $CPPFLAGS'
45032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45035
45036 fi
45037
45038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45039 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45040 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45041 for ac_func in _ceill _floorl
45042 do :
45043 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45044 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45045 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45046 cat >>confdefs.h <<_ACEOF
45047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45048 _ACEOF
45049
45050 fi
45051 done
45052
45053 fi
45054 fi
45055
45056
45057
45058
45059
45060
45061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45062 $as_echo_n "checking for isnanl declaration... " >&6; }
45063 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45064 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45065 $as_echo_n "(cached) " >&6
45066 else
45067
45068
45069 ac_ext=cpp
45070 ac_cpp='$CXXCPP $CPPFLAGS'
45071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45074
45075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45076 /* end confdefs.h. */
45077 #include <math.h>
45078 #ifdef HAVE_IEEEFP_H
45079 #include <ieeefp.h>
45080 #endif
45081
45082 int
45083 main ()
45084 {
45085 isnanl(0);
45086 ;
45087 return 0;
45088 }
45089 _ACEOF
45090 if ac_fn_cxx_try_compile "$LINENO"; then :
45091 glibcxx_cv_func_isnanl_use=yes
45092 else
45093 glibcxx_cv_func_isnanl_use=no
45094 fi
45095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45096 ac_ext=c
45097 ac_cpp='$CPP $CPPFLAGS'
45098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45101
45102
45103 fi
45104
45105 fi
45106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45107 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45108
45109 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45110 for ac_func in isnanl
45111 do :
45112 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45113 if test "x$ac_cv_func_isnanl" = xyes; then :
45114 cat >>confdefs.h <<_ACEOF
45115 #define HAVE_ISNANL 1
45116 _ACEOF
45117
45118 fi
45119 done
45120
45121 else
45122
45123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45124 $as_echo_n "checking for _isnanl declaration... " >&6; }
45125 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45126 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45127 $as_echo_n "(cached) " >&6
45128 else
45129
45130
45131 ac_ext=cpp
45132 ac_cpp='$CXXCPP $CPPFLAGS'
45133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45136
45137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45138 /* end confdefs.h. */
45139 #include <math.h>
45140 #ifdef HAVE_IEEEFP_H
45141 #include <ieeefp.h>
45142 #endif
45143
45144 int
45145 main ()
45146 {
45147 _isnanl(0);
45148 ;
45149 return 0;
45150 }
45151 _ACEOF
45152 if ac_fn_cxx_try_compile "$LINENO"; then :
45153 glibcxx_cv_func__isnanl_use=yes
45154 else
45155 glibcxx_cv_func__isnanl_use=no
45156 fi
45157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45158 ac_ext=c
45159 ac_cpp='$CPP $CPPFLAGS'
45160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45163
45164
45165 fi
45166
45167 fi
45168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45169 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45170
45171 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45172 for ac_func in _isnanl
45173 do :
45174 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45175 if test "x$ac_cv_func__isnanl" = xyes; then :
45176 cat >>confdefs.h <<_ACEOF
45177 #define HAVE__ISNANL 1
45178 _ACEOF
45179
45180 fi
45181 done
45182
45183 fi
45184 fi
45185
45186
45187
45188
45189
45190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45191 $as_echo_n "checking for isinfl declaration... " >&6; }
45192 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45193 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45194 $as_echo_n "(cached) " >&6
45195 else
45196
45197
45198 ac_ext=cpp
45199 ac_cpp='$CXXCPP $CPPFLAGS'
45200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45203
45204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45205 /* end confdefs.h. */
45206 #include <math.h>
45207 #ifdef HAVE_IEEEFP_H
45208 #include <ieeefp.h>
45209 #endif
45210
45211 int
45212 main ()
45213 {
45214 isinfl(0);
45215 ;
45216 return 0;
45217 }
45218 _ACEOF
45219 if ac_fn_cxx_try_compile "$LINENO"; then :
45220 glibcxx_cv_func_isinfl_use=yes
45221 else
45222 glibcxx_cv_func_isinfl_use=no
45223 fi
45224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45225 ac_ext=c
45226 ac_cpp='$CPP $CPPFLAGS'
45227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45230
45231
45232 fi
45233
45234 fi
45235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45236 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45237
45238 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45239 for ac_func in isinfl
45240 do :
45241 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45242 if test "x$ac_cv_func_isinfl" = xyes; then :
45243 cat >>confdefs.h <<_ACEOF
45244 #define HAVE_ISINFL 1
45245 _ACEOF
45246
45247 fi
45248 done
45249
45250 else
45251
45252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45253 $as_echo_n "checking for _isinfl declaration... " >&6; }
45254 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45255 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45256 $as_echo_n "(cached) " >&6
45257 else
45258
45259
45260 ac_ext=cpp
45261 ac_cpp='$CXXCPP $CPPFLAGS'
45262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45265
45266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45267 /* end confdefs.h. */
45268 #include <math.h>
45269 #ifdef HAVE_IEEEFP_H
45270 #include <ieeefp.h>
45271 #endif
45272
45273 int
45274 main ()
45275 {
45276 _isinfl(0);
45277 ;
45278 return 0;
45279 }
45280 _ACEOF
45281 if ac_fn_cxx_try_compile "$LINENO"; then :
45282 glibcxx_cv_func__isinfl_use=yes
45283 else
45284 glibcxx_cv_func__isinfl_use=no
45285 fi
45286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45287 ac_ext=c
45288 ac_cpp='$CPP $CPPFLAGS'
45289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45292
45293
45294 fi
45295
45296 fi
45297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45298 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45299
45300 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45301 for ac_func in _isinfl
45302 do :
45303 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45304 if test "x$ac_cv_func__isinfl" = xyes; then :
45305 cat >>confdefs.h <<_ACEOF
45306 #define HAVE__ISINFL 1
45307 _ACEOF
45308
45309 fi
45310 done
45311
45312 fi
45313 fi
45314
45315
45316
45317
45318
45319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45320 $as_echo_n "checking for atan2l declaration... " >&6; }
45321 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45322 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45323 $as_echo_n "(cached) " >&6
45324 else
45325
45326
45327 ac_ext=cpp
45328 ac_cpp='$CXXCPP $CPPFLAGS'
45329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45332
45333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45334 /* end confdefs.h. */
45335 #include <math.h>
45336 int
45337 main ()
45338 {
45339 atan2l(0, 0);
45340 ;
45341 return 0;
45342 }
45343 _ACEOF
45344 if ac_fn_cxx_try_compile "$LINENO"; then :
45345 glibcxx_cv_func_atan2l_use=yes
45346 else
45347 glibcxx_cv_func_atan2l_use=no
45348 fi
45349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45350 ac_ext=c
45351 ac_cpp='$CPP $CPPFLAGS'
45352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45355
45356
45357 fi
45358
45359 fi
45360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45361 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45362
45363 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45364 for ac_func in atan2l
45365 do :
45366 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45367 if test "x$ac_cv_func_atan2l" = xyes; then :
45368 cat >>confdefs.h <<_ACEOF
45369 #define HAVE_ATAN2L 1
45370 _ACEOF
45371
45372 fi
45373 done
45374
45375 else
45376
45377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45378 $as_echo_n "checking for _atan2l declaration... " >&6; }
45379 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45380 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45381 $as_echo_n "(cached) " >&6
45382 else
45383
45384
45385 ac_ext=cpp
45386 ac_cpp='$CXXCPP $CPPFLAGS'
45387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45390
45391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45392 /* end confdefs.h. */
45393 #include <math.h>
45394 int
45395 main ()
45396 {
45397 _atan2l(0, 0);
45398 ;
45399 return 0;
45400 }
45401 _ACEOF
45402 if ac_fn_cxx_try_compile "$LINENO"; then :
45403 glibcxx_cv_func__atan2l_use=yes
45404 else
45405 glibcxx_cv_func__atan2l_use=no
45406 fi
45407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45408 ac_ext=c
45409 ac_cpp='$CPP $CPPFLAGS'
45410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45413
45414
45415 fi
45416
45417 fi
45418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45419 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45420
45421 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45422 for ac_func in _atan2l
45423 do :
45424 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45425 if test "x$ac_cv_func__atan2l" = xyes; then :
45426 cat >>confdefs.h <<_ACEOF
45427 #define HAVE__ATAN2L 1
45428 _ACEOF
45429
45430 fi
45431 done
45432
45433 fi
45434 fi
45435
45436
45437
45438
45439
45440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45441 $as_echo_n "checking for expl declaration... " >&6; }
45442 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45443 if ${glibcxx_cv_func_expl_use+:} false; then :
45444 $as_echo_n "(cached) " >&6
45445 else
45446
45447
45448 ac_ext=cpp
45449 ac_cpp='$CXXCPP $CPPFLAGS'
45450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45453
45454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45455 /* end confdefs.h. */
45456 #include <math.h>
45457 #ifdef HAVE_IEEEFP_H
45458 #include <ieeefp.h>
45459 #endif
45460
45461 int
45462 main ()
45463 {
45464 expl(0);
45465 ;
45466 return 0;
45467 }
45468 _ACEOF
45469 if ac_fn_cxx_try_compile "$LINENO"; then :
45470 glibcxx_cv_func_expl_use=yes
45471 else
45472 glibcxx_cv_func_expl_use=no
45473 fi
45474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45475 ac_ext=c
45476 ac_cpp='$CPP $CPPFLAGS'
45477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45480
45481
45482 fi
45483
45484 fi
45485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45486 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45487
45488 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45489 for ac_func in expl
45490 do :
45491 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45492 if test "x$ac_cv_func_expl" = xyes; then :
45493 cat >>confdefs.h <<_ACEOF
45494 #define HAVE_EXPL 1
45495 _ACEOF
45496
45497 fi
45498 done
45499
45500 else
45501
45502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45503 $as_echo_n "checking for _expl declaration... " >&6; }
45504 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45505 if ${glibcxx_cv_func__expl_use+:} false; then :
45506 $as_echo_n "(cached) " >&6
45507 else
45508
45509
45510 ac_ext=cpp
45511 ac_cpp='$CXXCPP $CPPFLAGS'
45512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45515
45516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45517 /* end confdefs.h. */
45518 #include <math.h>
45519 #ifdef HAVE_IEEEFP_H
45520 #include <ieeefp.h>
45521 #endif
45522
45523 int
45524 main ()
45525 {
45526 _expl(0);
45527 ;
45528 return 0;
45529 }
45530 _ACEOF
45531 if ac_fn_cxx_try_compile "$LINENO"; then :
45532 glibcxx_cv_func__expl_use=yes
45533 else
45534 glibcxx_cv_func__expl_use=no
45535 fi
45536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45537 ac_ext=c
45538 ac_cpp='$CPP $CPPFLAGS'
45539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45542
45543
45544 fi
45545
45546 fi
45547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45548 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45549
45550 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45551 for ac_func in _expl
45552 do :
45553 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45554 if test "x$ac_cv_func__expl" = xyes; then :
45555 cat >>confdefs.h <<_ACEOF
45556 #define HAVE__EXPL 1
45557 _ACEOF
45558
45559 fi
45560 done
45561
45562 fi
45563 fi
45564
45565
45566
45567
45568
45569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45570 $as_echo_n "checking for fabsl declaration... " >&6; }
45571 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45572 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45573 $as_echo_n "(cached) " >&6
45574 else
45575
45576
45577 ac_ext=cpp
45578 ac_cpp='$CXXCPP $CPPFLAGS'
45579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45582
45583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45584 /* end confdefs.h. */
45585 #include <math.h>
45586 #ifdef HAVE_IEEEFP_H
45587 #include <ieeefp.h>
45588 #endif
45589
45590 int
45591 main ()
45592 {
45593 fabsl(0);
45594 ;
45595 return 0;
45596 }
45597 _ACEOF
45598 if ac_fn_cxx_try_compile "$LINENO"; then :
45599 glibcxx_cv_func_fabsl_use=yes
45600 else
45601 glibcxx_cv_func_fabsl_use=no
45602 fi
45603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45604 ac_ext=c
45605 ac_cpp='$CPP $CPPFLAGS'
45606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45609
45610
45611 fi
45612
45613 fi
45614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45615 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45616
45617 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45618 for ac_func in fabsl
45619 do :
45620 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45621 if test "x$ac_cv_func_fabsl" = xyes; then :
45622 cat >>confdefs.h <<_ACEOF
45623 #define HAVE_FABSL 1
45624 _ACEOF
45625
45626 fi
45627 done
45628
45629 else
45630
45631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45632 $as_echo_n "checking for _fabsl declaration... " >&6; }
45633 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45634 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45635 $as_echo_n "(cached) " >&6
45636 else
45637
45638
45639 ac_ext=cpp
45640 ac_cpp='$CXXCPP $CPPFLAGS'
45641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45644
45645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45646 /* end confdefs.h. */
45647 #include <math.h>
45648 #ifdef HAVE_IEEEFP_H
45649 #include <ieeefp.h>
45650 #endif
45651
45652 int
45653 main ()
45654 {
45655 _fabsl(0);
45656 ;
45657 return 0;
45658 }
45659 _ACEOF
45660 if ac_fn_cxx_try_compile "$LINENO"; then :
45661 glibcxx_cv_func__fabsl_use=yes
45662 else
45663 glibcxx_cv_func__fabsl_use=no
45664 fi
45665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45666 ac_ext=c
45667 ac_cpp='$CPP $CPPFLAGS'
45668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45671
45672
45673 fi
45674
45675 fi
45676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45677 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45678
45679 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45680 for ac_func in _fabsl
45681 do :
45682 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45683 if test "x$ac_cv_func__fabsl" = xyes; then :
45684 cat >>confdefs.h <<_ACEOF
45685 #define HAVE__FABSL 1
45686 _ACEOF
45687
45688 fi
45689 done
45690
45691 fi
45692 fi
45693
45694
45695
45696
45697
45698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45699 $as_echo_n "checking for fmodl declaration... " >&6; }
45700 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45701 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45702 $as_echo_n "(cached) " >&6
45703 else
45704
45705
45706 ac_ext=cpp
45707 ac_cpp='$CXXCPP $CPPFLAGS'
45708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45711
45712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45713 /* end confdefs.h. */
45714 #include <math.h>
45715 int
45716 main ()
45717 {
45718 fmodl(0, 0);
45719 ;
45720 return 0;
45721 }
45722 _ACEOF
45723 if ac_fn_cxx_try_compile "$LINENO"; then :
45724 glibcxx_cv_func_fmodl_use=yes
45725 else
45726 glibcxx_cv_func_fmodl_use=no
45727 fi
45728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45729 ac_ext=c
45730 ac_cpp='$CPP $CPPFLAGS'
45731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45734
45735
45736 fi
45737
45738 fi
45739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45740 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45741
45742 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45743 for ac_func in fmodl
45744 do :
45745 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45746 if test "x$ac_cv_func_fmodl" = xyes; then :
45747 cat >>confdefs.h <<_ACEOF
45748 #define HAVE_FMODL 1
45749 _ACEOF
45750
45751 fi
45752 done
45753
45754 else
45755
45756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45757 $as_echo_n "checking for _fmodl declaration... " >&6; }
45758 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45759 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45760 $as_echo_n "(cached) " >&6
45761 else
45762
45763
45764 ac_ext=cpp
45765 ac_cpp='$CXXCPP $CPPFLAGS'
45766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45769
45770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45771 /* end confdefs.h. */
45772 #include <math.h>
45773 int
45774 main ()
45775 {
45776 _fmodl(0, 0);
45777 ;
45778 return 0;
45779 }
45780 _ACEOF
45781 if ac_fn_cxx_try_compile "$LINENO"; then :
45782 glibcxx_cv_func__fmodl_use=yes
45783 else
45784 glibcxx_cv_func__fmodl_use=no
45785 fi
45786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45787 ac_ext=c
45788 ac_cpp='$CPP $CPPFLAGS'
45789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45792
45793
45794 fi
45795
45796 fi
45797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45798 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45799
45800 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45801 for ac_func in _fmodl
45802 do :
45803 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45804 if test "x$ac_cv_func__fmodl" = xyes; then :
45805 cat >>confdefs.h <<_ACEOF
45806 #define HAVE__FMODL 1
45807 _ACEOF
45808
45809 fi
45810 done
45811
45812 fi
45813 fi
45814
45815
45816
45817
45818
45819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45820 $as_echo_n "checking for frexpl declaration... " >&6; }
45821 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45822 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45823 $as_echo_n "(cached) " >&6
45824 else
45825
45826
45827 ac_ext=cpp
45828 ac_cpp='$CXXCPP $CPPFLAGS'
45829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45832
45833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45834 /* end confdefs.h. */
45835 #include <math.h>
45836 int
45837 main ()
45838 {
45839 frexpl(0, 0);
45840 ;
45841 return 0;
45842 }
45843 _ACEOF
45844 if ac_fn_cxx_try_compile "$LINENO"; then :
45845 glibcxx_cv_func_frexpl_use=yes
45846 else
45847 glibcxx_cv_func_frexpl_use=no
45848 fi
45849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45850 ac_ext=c
45851 ac_cpp='$CPP $CPPFLAGS'
45852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45855
45856
45857 fi
45858
45859 fi
45860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45861 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45862
45863 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45864 for ac_func in frexpl
45865 do :
45866 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45867 if test "x$ac_cv_func_frexpl" = xyes; then :
45868 cat >>confdefs.h <<_ACEOF
45869 #define HAVE_FREXPL 1
45870 _ACEOF
45871
45872 fi
45873 done
45874
45875 else
45876
45877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45878 $as_echo_n "checking for _frexpl declaration... " >&6; }
45879 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45880 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45881 $as_echo_n "(cached) " >&6
45882 else
45883
45884
45885 ac_ext=cpp
45886 ac_cpp='$CXXCPP $CPPFLAGS'
45887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45890
45891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45892 /* end confdefs.h. */
45893 #include <math.h>
45894 int
45895 main ()
45896 {
45897 _frexpl(0, 0);
45898 ;
45899 return 0;
45900 }
45901 _ACEOF
45902 if ac_fn_cxx_try_compile "$LINENO"; then :
45903 glibcxx_cv_func__frexpl_use=yes
45904 else
45905 glibcxx_cv_func__frexpl_use=no
45906 fi
45907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45908 ac_ext=c
45909 ac_cpp='$CPP $CPPFLAGS'
45910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45913
45914
45915 fi
45916
45917 fi
45918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45919 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45920
45921 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45922 for ac_func in _frexpl
45923 do :
45924 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45925 if test "x$ac_cv_func__frexpl" = xyes; then :
45926 cat >>confdefs.h <<_ACEOF
45927 #define HAVE__FREXPL 1
45928 _ACEOF
45929
45930 fi
45931 done
45932
45933 fi
45934 fi
45935
45936
45937
45938
45939
45940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45941 $as_echo_n "checking for hypotl declaration... " >&6; }
45942 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45943 if ${glibcxx_cv_func_hypotl_use+:} false; then :
45944 $as_echo_n "(cached) " >&6
45945 else
45946
45947
45948 ac_ext=cpp
45949 ac_cpp='$CXXCPP $CPPFLAGS'
45950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45953
45954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45955 /* end confdefs.h. */
45956 #include <math.h>
45957 int
45958 main ()
45959 {
45960 hypotl(0, 0);
45961 ;
45962 return 0;
45963 }
45964 _ACEOF
45965 if ac_fn_cxx_try_compile "$LINENO"; then :
45966 glibcxx_cv_func_hypotl_use=yes
45967 else
45968 glibcxx_cv_func_hypotl_use=no
45969 fi
45970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45971 ac_ext=c
45972 ac_cpp='$CPP $CPPFLAGS'
45973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45976
45977
45978 fi
45979
45980 fi
45981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45982 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45983
45984 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45985 for ac_func in hypotl
45986 do :
45987 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45988 if test "x$ac_cv_func_hypotl" = xyes; then :
45989 cat >>confdefs.h <<_ACEOF
45990 #define HAVE_HYPOTL 1
45991 _ACEOF
45992
45993 fi
45994 done
45995
45996 else
45997
45998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45999 $as_echo_n "checking for _hypotl declaration... " >&6; }
46000 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46001 if ${glibcxx_cv_func__hypotl_use+:} false; then :
46002 $as_echo_n "(cached) " >&6
46003 else
46004
46005
46006 ac_ext=cpp
46007 ac_cpp='$CXXCPP $CPPFLAGS'
46008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46011
46012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46013 /* end confdefs.h. */
46014 #include <math.h>
46015 int
46016 main ()
46017 {
46018 _hypotl(0, 0);
46019 ;
46020 return 0;
46021 }
46022 _ACEOF
46023 if ac_fn_cxx_try_compile "$LINENO"; then :
46024 glibcxx_cv_func__hypotl_use=yes
46025 else
46026 glibcxx_cv_func__hypotl_use=no
46027 fi
46028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46029 ac_ext=c
46030 ac_cpp='$CPP $CPPFLAGS'
46031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46034
46035
46036 fi
46037
46038 fi
46039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46040 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46041
46042 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46043 for ac_func in _hypotl
46044 do :
46045 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46046 if test "x$ac_cv_func__hypotl" = xyes; then :
46047 cat >>confdefs.h <<_ACEOF
46048 #define HAVE__HYPOTL 1
46049 _ACEOF
46050
46051 fi
46052 done
46053
46054 fi
46055 fi
46056
46057
46058
46059
46060
46061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46062 $as_echo_n "checking for ldexpl declaration... " >&6; }
46063 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46064 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46065 $as_echo_n "(cached) " >&6
46066 else
46067
46068
46069 ac_ext=cpp
46070 ac_cpp='$CXXCPP $CPPFLAGS'
46071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46074
46075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46076 /* end confdefs.h. */
46077 #include <math.h>
46078 int
46079 main ()
46080 {
46081 ldexpl(0, 0);
46082 ;
46083 return 0;
46084 }
46085 _ACEOF
46086 if ac_fn_cxx_try_compile "$LINENO"; then :
46087 glibcxx_cv_func_ldexpl_use=yes
46088 else
46089 glibcxx_cv_func_ldexpl_use=no
46090 fi
46091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46092 ac_ext=c
46093 ac_cpp='$CPP $CPPFLAGS'
46094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46097
46098
46099 fi
46100
46101 fi
46102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46103 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46104
46105 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46106 for ac_func in ldexpl
46107 do :
46108 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46109 if test "x$ac_cv_func_ldexpl" = xyes; then :
46110 cat >>confdefs.h <<_ACEOF
46111 #define HAVE_LDEXPL 1
46112 _ACEOF
46113
46114 fi
46115 done
46116
46117 else
46118
46119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46120 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46121 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46122 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46123 $as_echo_n "(cached) " >&6
46124 else
46125
46126
46127 ac_ext=cpp
46128 ac_cpp='$CXXCPP $CPPFLAGS'
46129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46132
46133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46134 /* end confdefs.h. */
46135 #include <math.h>
46136 int
46137 main ()
46138 {
46139 _ldexpl(0, 0);
46140 ;
46141 return 0;
46142 }
46143 _ACEOF
46144 if ac_fn_cxx_try_compile "$LINENO"; then :
46145 glibcxx_cv_func__ldexpl_use=yes
46146 else
46147 glibcxx_cv_func__ldexpl_use=no
46148 fi
46149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46150 ac_ext=c
46151 ac_cpp='$CPP $CPPFLAGS'
46152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46155
46156
46157 fi
46158
46159 fi
46160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46161 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46162
46163 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46164 for ac_func in _ldexpl
46165 do :
46166 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46167 if test "x$ac_cv_func__ldexpl" = xyes; then :
46168 cat >>confdefs.h <<_ACEOF
46169 #define HAVE__LDEXPL 1
46170 _ACEOF
46171
46172 fi
46173 done
46174
46175 fi
46176 fi
46177
46178
46179
46180
46181
46182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46183 $as_echo_n "checking for logl declaration... " >&6; }
46184 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46185 if ${glibcxx_cv_func_logl_use+:} false; then :
46186 $as_echo_n "(cached) " >&6
46187 else
46188
46189
46190 ac_ext=cpp
46191 ac_cpp='$CXXCPP $CPPFLAGS'
46192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46195
46196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46197 /* end confdefs.h. */
46198 #include <math.h>
46199 #ifdef HAVE_IEEEFP_H
46200 #include <ieeefp.h>
46201 #endif
46202
46203 int
46204 main ()
46205 {
46206 logl(0);
46207 ;
46208 return 0;
46209 }
46210 _ACEOF
46211 if ac_fn_cxx_try_compile "$LINENO"; then :
46212 glibcxx_cv_func_logl_use=yes
46213 else
46214 glibcxx_cv_func_logl_use=no
46215 fi
46216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46217 ac_ext=c
46218 ac_cpp='$CPP $CPPFLAGS'
46219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46222
46223
46224 fi
46225
46226 fi
46227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46228 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46229
46230 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46231 for ac_func in logl
46232 do :
46233 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46234 if test "x$ac_cv_func_logl" = xyes; then :
46235 cat >>confdefs.h <<_ACEOF
46236 #define HAVE_LOGL 1
46237 _ACEOF
46238
46239 fi
46240 done
46241
46242 else
46243
46244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46245 $as_echo_n "checking for _logl declaration... " >&6; }
46246 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46247 if ${glibcxx_cv_func__logl_use+:} false; then :
46248 $as_echo_n "(cached) " >&6
46249 else
46250
46251
46252 ac_ext=cpp
46253 ac_cpp='$CXXCPP $CPPFLAGS'
46254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46257
46258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46259 /* end confdefs.h. */
46260 #include <math.h>
46261 #ifdef HAVE_IEEEFP_H
46262 #include <ieeefp.h>
46263 #endif
46264
46265 int
46266 main ()
46267 {
46268 _logl(0);
46269 ;
46270 return 0;
46271 }
46272 _ACEOF
46273 if ac_fn_cxx_try_compile "$LINENO"; then :
46274 glibcxx_cv_func__logl_use=yes
46275 else
46276 glibcxx_cv_func__logl_use=no
46277 fi
46278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46279 ac_ext=c
46280 ac_cpp='$CPP $CPPFLAGS'
46281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46284
46285
46286 fi
46287
46288 fi
46289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46290 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46291
46292 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46293 for ac_func in _logl
46294 do :
46295 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46296 if test "x$ac_cv_func__logl" = xyes; then :
46297 cat >>confdefs.h <<_ACEOF
46298 #define HAVE__LOGL 1
46299 _ACEOF
46300
46301 fi
46302 done
46303
46304 fi
46305 fi
46306
46307
46308
46309
46310
46311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46312 $as_echo_n "checking for log10l declaration... " >&6; }
46313 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46314 if ${glibcxx_cv_func_log10l_use+:} false; then :
46315 $as_echo_n "(cached) " >&6
46316 else
46317
46318
46319 ac_ext=cpp
46320 ac_cpp='$CXXCPP $CPPFLAGS'
46321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46324
46325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46326 /* end confdefs.h. */
46327 #include <math.h>
46328 #ifdef HAVE_IEEEFP_H
46329 #include <ieeefp.h>
46330 #endif
46331
46332 int
46333 main ()
46334 {
46335 log10l(0);
46336 ;
46337 return 0;
46338 }
46339 _ACEOF
46340 if ac_fn_cxx_try_compile "$LINENO"; then :
46341 glibcxx_cv_func_log10l_use=yes
46342 else
46343 glibcxx_cv_func_log10l_use=no
46344 fi
46345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46346 ac_ext=c
46347 ac_cpp='$CPP $CPPFLAGS'
46348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46351
46352
46353 fi
46354
46355 fi
46356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46357 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46358
46359 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46360 for ac_func in log10l
46361 do :
46362 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46363 if test "x$ac_cv_func_log10l" = xyes; then :
46364 cat >>confdefs.h <<_ACEOF
46365 #define HAVE_LOG10L 1
46366 _ACEOF
46367
46368 fi
46369 done
46370
46371 else
46372
46373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46374 $as_echo_n "checking for _log10l declaration... " >&6; }
46375 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46376 if ${glibcxx_cv_func__log10l_use+:} false; then :
46377 $as_echo_n "(cached) " >&6
46378 else
46379
46380
46381 ac_ext=cpp
46382 ac_cpp='$CXXCPP $CPPFLAGS'
46383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46386
46387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46388 /* end confdefs.h. */
46389 #include <math.h>
46390 #ifdef HAVE_IEEEFP_H
46391 #include <ieeefp.h>
46392 #endif
46393
46394 int
46395 main ()
46396 {
46397 _log10l(0);
46398 ;
46399 return 0;
46400 }
46401 _ACEOF
46402 if ac_fn_cxx_try_compile "$LINENO"; then :
46403 glibcxx_cv_func__log10l_use=yes
46404 else
46405 glibcxx_cv_func__log10l_use=no
46406 fi
46407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408 ac_ext=c
46409 ac_cpp='$CPP $CPPFLAGS'
46410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46413
46414
46415 fi
46416
46417 fi
46418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46419 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46420
46421 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46422 for ac_func in _log10l
46423 do :
46424 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46425 if test "x$ac_cv_func__log10l" = xyes; then :
46426 cat >>confdefs.h <<_ACEOF
46427 #define HAVE__LOG10L 1
46428 _ACEOF
46429
46430 fi
46431 done
46432
46433 fi
46434 fi
46435
46436
46437
46438
46439
46440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46441 $as_echo_n "checking for modfl declaration... " >&6; }
46442 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46443 if ${glibcxx_cv_func_modfl_use+:} false; then :
46444 $as_echo_n "(cached) " >&6
46445 else
46446
46447
46448 ac_ext=cpp
46449 ac_cpp='$CXXCPP $CPPFLAGS'
46450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46453
46454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46455 /* end confdefs.h. */
46456 #include <math.h>
46457 int
46458 main ()
46459 {
46460 modfl(0, 0);
46461 ;
46462 return 0;
46463 }
46464 _ACEOF
46465 if ac_fn_cxx_try_compile "$LINENO"; then :
46466 glibcxx_cv_func_modfl_use=yes
46467 else
46468 glibcxx_cv_func_modfl_use=no
46469 fi
46470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46471 ac_ext=c
46472 ac_cpp='$CPP $CPPFLAGS'
46473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46476
46477
46478 fi
46479
46480 fi
46481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46482 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46483
46484 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46485 for ac_func in modfl
46486 do :
46487 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46488 if test "x$ac_cv_func_modfl" = xyes; then :
46489 cat >>confdefs.h <<_ACEOF
46490 #define HAVE_MODFL 1
46491 _ACEOF
46492
46493 fi
46494 done
46495
46496 else
46497
46498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46499 $as_echo_n "checking for _modfl declaration... " >&6; }
46500 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46501 if ${glibcxx_cv_func__modfl_use+:} false; then :
46502 $as_echo_n "(cached) " >&6
46503 else
46504
46505
46506 ac_ext=cpp
46507 ac_cpp='$CXXCPP $CPPFLAGS'
46508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46511
46512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46513 /* end confdefs.h. */
46514 #include <math.h>
46515 int
46516 main ()
46517 {
46518 _modfl(0, 0);
46519 ;
46520 return 0;
46521 }
46522 _ACEOF
46523 if ac_fn_cxx_try_compile "$LINENO"; then :
46524 glibcxx_cv_func__modfl_use=yes
46525 else
46526 glibcxx_cv_func__modfl_use=no
46527 fi
46528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46529 ac_ext=c
46530 ac_cpp='$CPP $CPPFLAGS'
46531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46534
46535
46536 fi
46537
46538 fi
46539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46540 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46541
46542 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46543 for ac_func in _modfl
46544 do :
46545 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46546 if test "x$ac_cv_func__modfl" = xyes; then :
46547 cat >>confdefs.h <<_ACEOF
46548 #define HAVE__MODFL 1
46549 _ACEOF
46550
46551 fi
46552 done
46553
46554 fi
46555 fi
46556
46557
46558
46559
46560
46561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46562 $as_echo_n "checking for powl declaration... " >&6; }
46563 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46564 if ${glibcxx_cv_func_powl_use+:} false; then :
46565 $as_echo_n "(cached) " >&6
46566 else
46567
46568
46569 ac_ext=cpp
46570 ac_cpp='$CXXCPP $CPPFLAGS'
46571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46574
46575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46576 /* end confdefs.h. */
46577 #include <math.h>
46578 int
46579 main ()
46580 {
46581 powl(0, 0);
46582 ;
46583 return 0;
46584 }
46585 _ACEOF
46586 if ac_fn_cxx_try_compile "$LINENO"; then :
46587 glibcxx_cv_func_powl_use=yes
46588 else
46589 glibcxx_cv_func_powl_use=no
46590 fi
46591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46592 ac_ext=c
46593 ac_cpp='$CPP $CPPFLAGS'
46594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46597
46598
46599 fi
46600
46601 fi
46602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46603 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46604
46605 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46606 for ac_func in powl
46607 do :
46608 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46609 if test "x$ac_cv_func_powl" = xyes; then :
46610 cat >>confdefs.h <<_ACEOF
46611 #define HAVE_POWL 1
46612 _ACEOF
46613
46614 fi
46615 done
46616
46617 else
46618
46619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46620 $as_echo_n "checking for _powl declaration... " >&6; }
46621 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46622 if ${glibcxx_cv_func__powl_use+:} false; then :
46623 $as_echo_n "(cached) " >&6
46624 else
46625
46626
46627 ac_ext=cpp
46628 ac_cpp='$CXXCPP $CPPFLAGS'
46629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46632
46633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46634 /* end confdefs.h. */
46635 #include <math.h>
46636 int
46637 main ()
46638 {
46639 _powl(0, 0);
46640 ;
46641 return 0;
46642 }
46643 _ACEOF
46644 if ac_fn_cxx_try_compile "$LINENO"; then :
46645 glibcxx_cv_func__powl_use=yes
46646 else
46647 glibcxx_cv_func__powl_use=no
46648 fi
46649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46650 ac_ext=c
46651 ac_cpp='$CPP $CPPFLAGS'
46652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46655
46656
46657 fi
46658
46659 fi
46660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46661 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46662
46663 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46664 for ac_func in _powl
46665 do :
46666 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46667 if test "x$ac_cv_func__powl" = xyes; then :
46668 cat >>confdefs.h <<_ACEOF
46669 #define HAVE__POWL 1
46670 _ACEOF
46671
46672 fi
46673 done
46674
46675 fi
46676 fi
46677
46678
46679
46680
46681
46682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46683 $as_echo_n "checking for sqrtl declaration... " >&6; }
46684 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46685 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46686 $as_echo_n "(cached) " >&6
46687 else
46688
46689
46690 ac_ext=cpp
46691 ac_cpp='$CXXCPP $CPPFLAGS'
46692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46695
46696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46697 /* end confdefs.h. */
46698 #include <math.h>
46699 #ifdef HAVE_IEEEFP_H
46700 #include <ieeefp.h>
46701 #endif
46702
46703 int
46704 main ()
46705 {
46706 sqrtl(0);
46707 ;
46708 return 0;
46709 }
46710 _ACEOF
46711 if ac_fn_cxx_try_compile "$LINENO"; then :
46712 glibcxx_cv_func_sqrtl_use=yes
46713 else
46714 glibcxx_cv_func_sqrtl_use=no
46715 fi
46716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46717 ac_ext=c
46718 ac_cpp='$CPP $CPPFLAGS'
46719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46722
46723
46724 fi
46725
46726 fi
46727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46728 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46729
46730 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46731 for ac_func in sqrtl
46732 do :
46733 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46734 if test "x$ac_cv_func_sqrtl" = xyes; then :
46735 cat >>confdefs.h <<_ACEOF
46736 #define HAVE_SQRTL 1
46737 _ACEOF
46738
46739 fi
46740 done
46741
46742 else
46743
46744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46745 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46746 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46747 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46748 $as_echo_n "(cached) " >&6
46749 else
46750
46751
46752 ac_ext=cpp
46753 ac_cpp='$CXXCPP $CPPFLAGS'
46754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46757
46758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46759 /* end confdefs.h. */
46760 #include <math.h>
46761 #ifdef HAVE_IEEEFP_H
46762 #include <ieeefp.h>
46763 #endif
46764
46765 int
46766 main ()
46767 {
46768 _sqrtl(0);
46769 ;
46770 return 0;
46771 }
46772 _ACEOF
46773 if ac_fn_cxx_try_compile "$LINENO"; then :
46774 glibcxx_cv_func__sqrtl_use=yes
46775 else
46776 glibcxx_cv_func__sqrtl_use=no
46777 fi
46778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46779 ac_ext=c
46780 ac_cpp='$CPP $CPPFLAGS'
46781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46784
46785
46786 fi
46787
46788 fi
46789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46790 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46791
46792 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46793 for ac_func in _sqrtl
46794 do :
46795 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46796 if test "x$ac_cv_func__sqrtl" = xyes; then :
46797 cat >>confdefs.h <<_ACEOF
46798 #define HAVE__SQRTL 1
46799 _ACEOF
46800
46801 fi
46802 done
46803
46804 fi
46805 fi
46806
46807
46808
46809
46810
46811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46812 $as_echo_n "checking for sincosl declaration... " >&6; }
46813 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46814 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46815 $as_echo_n "(cached) " >&6
46816 else
46817
46818
46819 ac_ext=cpp
46820 ac_cpp='$CXXCPP $CPPFLAGS'
46821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46824
46825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46826 /* end confdefs.h. */
46827 #include <math.h>
46828 int
46829 main ()
46830 {
46831 sincosl(0, 0, 0);
46832 ;
46833 return 0;
46834 }
46835 _ACEOF
46836 if ac_fn_cxx_try_compile "$LINENO"; then :
46837 glibcxx_cv_func_sincosl_use=yes
46838 else
46839 glibcxx_cv_func_sincosl_use=no
46840 fi
46841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46842 ac_ext=c
46843 ac_cpp='$CPP $CPPFLAGS'
46844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46847
46848
46849 fi
46850
46851 fi
46852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46853 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46854
46855 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46856 for ac_func in sincosl
46857 do :
46858 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46859 if test "x$ac_cv_func_sincosl" = xyes; then :
46860 cat >>confdefs.h <<_ACEOF
46861 #define HAVE_SINCOSL 1
46862 _ACEOF
46863
46864 fi
46865 done
46866
46867 else
46868
46869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46870 $as_echo_n "checking for _sincosl declaration... " >&6; }
46871 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46872 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46873 $as_echo_n "(cached) " >&6
46874 else
46875
46876
46877 ac_ext=cpp
46878 ac_cpp='$CXXCPP $CPPFLAGS'
46879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46882
46883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46884 /* end confdefs.h. */
46885 #include <math.h>
46886 int
46887 main ()
46888 {
46889 _sincosl(0, 0, 0);
46890 ;
46891 return 0;
46892 }
46893 _ACEOF
46894 if ac_fn_cxx_try_compile "$LINENO"; then :
46895 glibcxx_cv_func__sincosl_use=yes
46896 else
46897 glibcxx_cv_func__sincosl_use=no
46898 fi
46899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46900 ac_ext=c
46901 ac_cpp='$CPP $CPPFLAGS'
46902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46905
46906
46907 fi
46908
46909 fi
46910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46911 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46912
46913 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46914 for ac_func in _sincosl
46915 do :
46916 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46917 if test "x$ac_cv_func__sincosl" = xyes; then :
46918 cat >>confdefs.h <<_ACEOF
46919 #define HAVE__SINCOSL 1
46920 _ACEOF
46921
46922 fi
46923 done
46924
46925 fi
46926 fi
46927
46928
46929
46930
46931
46932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46933 $as_echo_n "checking for finitel declaration... " >&6; }
46934 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46935 if ${glibcxx_cv_func_finitel_use+:} false; then :
46936 $as_echo_n "(cached) " >&6
46937 else
46938
46939
46940 ac_ext=cpp
46941 ac_cpp='$CXXCPP $CPPFLAGS'
46942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46945
46946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46947 /* end confdefs.h. */
46948 #include <math.h>
46949 #ifdef HAVE_IEEEFP_H
46950 #include <ieeefp.h>
46951 #endif
46952
46953 int
46954 main ()
46955 {
46956 finitel(0);
46957 ;
46958 return 0;
46959 }
46960 _ACEOF
46961 if ac_fn_cxx_try_compile "$LINENO"; then :
46962 glibcxx_cv_func_finitel_use=yes
46963 else
46964 glibcxx_cv_func_finitel_use=no
46965 fi
46966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46967 ac_ext=c
46968 ac_cpp='$CPP $CPPFLAGS'
46969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46972
46973
46974 fi
46975
46976 fi
46977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46978 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46979
46980 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46981 for ac_func in finitel
46982 do :
46983 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46984 if test "x$ac_cv_func_finitel" = xyes; then :
46985 cat >>confdefs.h <<_ACEOF
46986 #define HAVE_FINITEL 1
46987 _ACEOF
46988
46989 fi
46990 done
46991
46992 else
46993
46994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46995 $as_echo_n "checking for _finitel declaration... " >&6; }
46996 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46997 if ${glibcxx_cv_func__finitel_use+:} false; then :
46998 $as_echo_n "(cached) " >&6
46999 else
47000
47001
47002 ac_ext=cpp
47003 ac_cpp='$CXXCPP $CPPFLAGS'
47004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47007
47008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47009 /* end confdefs.h. */
47010 #include <math.h>
47011 #ifdef HAVE_IEEEFP_H
47012 #include <ieeefp.h>
47013 #endif
47014
47015 int
47016 main ()
47017 {
47018 _finitel(0);
47019 ;
47020 return 0;
47021 }
47022 _ACEOF
47023 if ac_fn_cxx_try_compile "$LINENO"; then :
47024 glibcxx_cv_func__finitel_use=yes
47025 else
47026 glibcxx_cv_func__finitel_use=no
47027 fi
47028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47029 ac_ext=c
47030 ac_cpp='$CPP $CPPFLAGS'
47031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47034
47035
47036 fi
47037
47038 fi
47039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47040 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47041
47042 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47043 for ac_func in _finitel
47044 do :
47045 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47046 if test "x$ac_cv_func__finitel" = xyes; then :
47047 cat >>confdefs.h <<_ACEOF
47048 #define HAVE__FINITEL 1
47049 _ACEOF
47050
47051 fi
47052 done
47053
47054 fi
47055 fi
47056
47057
47058
47059
47060 LIBS="$ac_save_LIBS"
47061 CXXFLAGS="$ac_save_CXXFLAGS"
47062
47063
47064 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47065 ac_save_CXXFLAGS="$CXXFLAGS"
47066 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47067
47068
47069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47070 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47071 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47072 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47073 $as_echo_n "(cached) " >&6
47074 else
47075
47076
47077 ac_ext=cpp
47078 ac_cpp='$CXXCPP $CPPFLAGS'
47079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47082
47083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47084 /* end confdefs.h. */
47085 #include <stdlib.h>
47086 int
47087 main ()
47088 {
47089 at_quick_exit(0);
47090 ;
47091 return 0;
47092 }
47093 _ACEOF
47094 if ac_fn_cxx_try_compile "$LINENO"; then :
47095 glibcxx_cv_func_at_quick_exit_use=yes
47096 else
47097 glibcxx_cv_func_at_quick_exit_use=no
47098 fi
47099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47100 ac_ext=c
47101 ac_cpp='$CPP $CPPFLAGS'
47102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47105
47106
47107 fi
47108
47109 fi
47110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47111 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47112 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47113 for ac_func in at_quick_exit
47114 do :
47115 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47116 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47117 cat >>confdefs.h <<_ACEOF
47118 #define HAVE_AT_QUICK_EXIT 1
47119 _ACEOF
47120
47121 fi
47122 done
47123
47124 fi
47125
47126
47127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47128 $as_echo_n "checking for quick_exit declaration... " >&6; }
47129 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47130 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47131 $as_echo_n "(cached) " >&6
47132 else
47133
47134
47135 ac_ext=cpp
47136 ac_cpp='$CXXCPP $CPPFLAGS'
47137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47140
47141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47142 /* end confdefs.h. */
47143 #include <stdlib.h>
47144 int
47145 main ()
47146 {
47147 quick_exit(0);
47148 ;
47149 return 0;
47150 }
47151 _ACEOF
47152 if ac_fn_cxx_try_compile "$LINENO"; then :
47153 glibcxx_cv_func_quick_exit_use=yes
47154 else
47155 glibcxx_cv_func_quick_exit_use=no
47156 fi
47157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47158 ac_ext=c
47159 ac_cpp='$CPP $CPPFLAGS'
47160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47163
47164
47165 fi
47166
47167 fi
47168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47169 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47170 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47171 for ac_func in quick_exit
47172 do :
47173 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47174 if test "x$ac_cv_func_quick_exit" = xyes; then :
47175 cat >>confdefs.h <<_ACEOF
47176 #define HAVE_QUICK_EXIT 1
47177 _ACEOF
47178
47179 fi
47180 done
47181
47182 fi
47183
47184
47185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47186 $as_echo_n "checking for strtold declaration... " >&6; }
47187 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47188 if ${glibcxx_cv_func_strtold_use+:} false; then :
47189 $as_echo_n "(cached) " >&6
47190 else
47191
47192
47193 ac_ext=cpp
47194 ac_cpp='$CXXCPP $CPPFLAGS'
47195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47198
47199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47200 /* end confdefs.h. */
47201 #include <stdlib.h>
47202 int
47203 main ()
47204 {
47205 strtold(0, 0);
47206 ;
47207 return 0;
47208 }
47209 _ACEOF
47210 if ac_fn_cxx_try_compile "$LINENO"; then :
47211 glibcxx_cv_func_strtold_use=yes
47212 else
47213 glibcxx_cv_func_strtold_use=no
47214 fi
47215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47216 ac_ext=c
47217 ac_cpp='$CPP $CPPFLAGS'
47218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47221
47222
47223 fi
47224
47225 fi
47226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47227 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47228 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47229 for ac_func in strtold
47230 do :
47231 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47232 if test "x$ac_cv_func_strtold" = xyes; then :
47233 cat >>confdefs.h <<_ACEOF
47234 #define HAVE_STRTOLD 1
47235 _ACEOF
47236
47237 fi
47238 done
47239
47240 fi
47241
47242
47243
47244
47245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47246 $as_echo_n "checking for strtof declaration... " >&6; }
47247 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47248 if ${glibcxx_cv_func_strtof_use+:} false; then :
47249 $as_echo_n "(cached) " >&6
47250 else
47251
47252
47253 ac_ext=cpp
47254 ac_cpp='$CXXCPP $CPPFLAGS'
47255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47258
47259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47260 /* end confdefs.h. */
47261 #include <stdlib.h>
47262 int
47263 main ()
47264 {
47265 strtof(0, 0);
47266 ;
47267 return 0;
47268 }
47269 _ACEOF
47270 if ac_fn_cxx_try_compile "$LINENO"; then :
47271 glibcxx_cv_func_strtof_use=yes
47272 else
47273 glibcxx_cv_func_strtof_use=no
47274 fi
47275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47276 ac_ext=c
47277 ac_cpp='$CPP $CPPFLAGS'
47278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47281
47282
47283 fi
47284
47285 fi
47286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47287 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47288 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47289 for ac_func in strtof
47290 do :
47291 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47292 if test "x$ac_cv_func_strtof" = xyes; then :
47293 cat >>confdefs.h <<_ACEOF
47294 #define HAVE_STRTOF 1
47295 _ACEOF
47296
47297 fi
47298 done
47299
47300 fi
47301
47302
47303
47304
47305 CXXFLAGS="$ac_save_CXXFLAGS"
47306
47307 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
47308
47309 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47310
47311 # We don't yet support AIX's TLS ABI.
47312 #GCC_CHECK_TLS
47313
47314
47315
47316
47317
47318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47319 $as_echo_n "checking for iconv... " >&6; }
47320 if ${am_cv_func_iconv+:} false; then :
47321 $as_echo_n "(cached) " >&6
47322 else
47323
47324 am_cv_func_iconv="no, consider installing GNU libiconv"
47325 am_cv_lib_iconv=no
47326 am_save_CPPFLAGS="$CPPFLAGS"
47327 CPPFLAGS="$CPPFLAGS $INCICONV"
47328 if test x$gcc_no_link = xyes; then
47329 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47330 fi
47331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47332 /* end confdefs.h. */
47333 #include <stdlib.h>
47334 #include <iconv.h>
47335 int
47336 main ()
47337 {
47338 iconv_t cd = iconv_open("","");
47339 iconv(cd,NULL,NULL,NULL,NULL);
47340 iconv_close(cd);
47341 ;
47342 return 0;
47343 }
47344 _ACEOF
47345 if ac_fn_c_try_link "$LINENO"; then :
47346 am_cv_func_iconv=yes
47347 fi
47348 rm -f core conftest.err conftest.$ac_objext \
47349 conftest$ac_exeext conftest.$ac_ext
47350 CPPFLAGS="$am_save_CPPFLAGS"
47351
47352 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47353 for _libs in .libs _libs; do
47354 am_save_CPPFLAGS="$CPPFLAGS"
47355 am_save_LIBS="$LIBS"
47356 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47357 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47358 if test x$gcc_no_link = xyes; then
47359 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47360 fi
47361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47362 /* end confdefs.h. */
47363 #include <stdlib.h>
47364 #include <iconv.h>
47365 int
47366 main ()
47367 {
47368 iconv_t cd = iconv_open("","");
47369 iconv(cd,NULL,NULL,NULL,NULL);
47370 iconv_close(cd);
47371 ;
47372 return 0;
47373 }
47374 _ACEOF
47375 if ac_fn_c_try_link "$LINENO"; then :
47376 INCICONV="-I../libiconv/include"
47377 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47378 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47379 am_cv_lib_iconv=yes
47380 am_cv_func_iconv=yes
47381 fi
47382 rm -f core conftest.err conftest.$ac_objext \
47383 conftest$ac_exeext conftest.$ac_ext
47384 CPPFLAGS="$am_save_CPPFLAGS"
47385 LIBS="$am_save_LIBS"
47386 if test "$am_cv_func_iconv" = "yes"; then
47387 break
47388 fi
47389 done
47390 fi
47391
47392 if test "$am_cv_func_iconv" != yes; then
47393 am_save_CPPFLAGS="$CPPFLAGS"
47394 am_save_LIBS="$LIBS"
47395 CPPFLAGS="$LIBS $INCICONV"
47396 LIBS="$LIBS $LIBICONV"
47397 if test x$gcc_no_link = xyes; then
47398 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47399 fi
47400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47401 /* end confdefs.h. */
47402 #include <stdlib.h>
47403 #include <iconv.h>
47404 int
47405 main ()
47406 {
47407 iconv_t cd = iconv_open("","");
47408 iconv(cd,NULL,NULL,NULL,NULL);
47409 iconv_close(cd);
47410 ;
47411 return 0;
47412 }
47413 _ACEOF
47414 if ac_fn_c_try_link "$LINENO"; then :
47415 am_cv_lib_iconv=yes
47416 am_cv_func_iconv=yes
47417 fi
47418 rm -f core conftest.err conftest.$ac_objext \
47419 conftest$ac_exeext conftest.$ac_ext
47420 CPPFLAGS="$am_save_CPPFLAGS"
47421 LIBS="$am_save_LIBS"
47422 fi
47423
47424 fi
47425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47426 $as_echo "$am_cv_func_iconv" >&6; }
47427 if test "$am_cv_func_iconv" = yes; then
47428
47429 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47430
47431 fi
47432 if test "$am_cv_lib_iconv" = yes; then
47433
47434 for element in $INCICONV; do
47435 haveit=
47436 for x in $CPPFLAGS; do
47437
47438 acl_save_prefix="$prefix"
47439 prefix="$acl_final_prefix"
47440 acl_save_exec_prefix="$exec_prefix"
47441 exec_prefix="$acl_final_exec_prefix"
47442 eval x=\"$x\"
47443 exec_prefix="$acl_save_exec_prefix"
47444 prefix="$acl_save_prefix"
47445
47446 if test "X$x" = "X$element"; then
47447 haveit=yes
47448 break
47449 fi
47450 done
47451 if test -z "$haveit"; then
47452 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47453 fi
47454 done
47455
47456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47457 $as_echo_n "checking how to link with libiconv... " >&6; }
47458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47459 $as_echo "$LIBICONV" >&6; }
47460 else
47461 LIBICONV=
47462 LTLIBICONV=
47463 fi
47464
47465
47466
47467 if test "$am_cv_func_iconv" = yes; then
47468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47469 $as_echo_n "checking for iconv declaration... " >&6; }
47470 if ${am_cv_proto_iconv+:} false; then :
47471 $as_echo_n "(cached) " >&6
47472 else
47473
47474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47475 /* end confdefs.h. */
47476
47477 #include <stdlib.h>
47478 #include <iconv.h>
47479 extern
47480 #ifdef __cplusplus
47481 "C"
47482 #endif
47483 #if defined(__STDC__) || defined(__cplusplus)
47484 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47485 #else
47486 size_t iconv();
47487 #endif
47488
47489 int
47490 main ()
47491 {
47492
47493 ;
47494 return 0;
47495 }
47496 _ACEOF
47497 if ac_fn_c_try_compile "$LINENO"; then :
47498 am_cv_proto_iconv_arg1=""
47499 else
47500 am_cv_proto_iconv_arg1="const"
47501 fi
47502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47503 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);"
47504 fi
47505
47506 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47508 }$am_cv_proto_iconv" >&5
47509 $as_echo "${ac_t:-
47510 }$am_cv_proto_iconv" >&6; }
47511
47512 cat >>confdefs.h <<_ACEOF
47513 #define ICONV_CONST $am_cv_proto_iconv_arg1
47514 _ACEOF
47515
47516 fi
47517
47518 ;;
47519
47520 *-darwin*)
47521 # Darwin versions vary, but the linker should work in a cross environment,
47522 # so we just check for all the features here.
47523 # Check for available headers.
47524
47525 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47526
47527 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47528 ac_save_CXXFLAGS="$CXXFLAGS"
47529 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47530
47531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47532 $as_echo_n "checking for sin in -lm... " >&6; }
47533 if ${ac_cv_lib_m_sin+:} false; then :
47534 $as_echo_n "(cached) " >&6
47535 else
47536 ac_check_lib_save_LIBS=$LIBS
47537 LIBS="-lm $LIBS"
47538 if test x$gcc_no_link = xyes; then
47539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47540 fi
47541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47542 /* end confdefs.h. */
47543
47544 /* Override any GCC internal prototype to avoid an error.
47545 Use char because int might match the return type of a GCC
47546 builtin and then its argument prototype would still apply. */
47547 #ifdef __cplusplus
47548 extern "C"
47549 #endif
47550 char sin ();
47551 int
47552 main ()
47553 {
47554 return sin ();
47555 ;
47556 return 0;
47557 }
47558 _ACEOF
47559 if ac_fn_c_try_link "$LINENO"; then :
47560 ac_cv_lib_m_sin=yes
47561 else
47562 ac_cv_lib_m_sin=no
47563 fi
47564 rm -f core conftest.err conftest.$ac_objext \
47565 conftest$ac_exeext conftest.$ac_ext
47566 LIBS=$ac_check_lib_save_LIBS
47567 fi
47568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47569 $as_echo "$ac_cv_lib_m_sin" >&6; }
47570 if test "x$ac_cv_lib_m_sin" = xyes; then :
47571 libm="-lm"
47572 fi
47573
47574 ac_save_LIBS="$LIBS"
47575 LIBS="$LIBS $libm"
47576
47577
47578
47579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47580 $as_echo_n "checking for isinf declaration... " >&6; }
47581 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47582 if ${glibcxx_cv_func_isinf_use+:} false; then :
47583 $as_echo_n "(cached) " >&6
47584 else
47585
47586
47587 ac_ext=cpp
47588 ac_cpp='$CXXCPP $CPPFLAGS'
47589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47592
47593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47594 /* end confdefs.h. */
47595 #include <math.h>
47596 #ifdef HAVE_IEEEFP_H
47597 #include <ieeefp.h>
47598 #endif
47599
47600 int
47601 main ()
47602 {
47603 isinf(0);
47604 ;
47605 return 0;
47606 }
47607 _ACEOF
47608 if ac_fn_cxx_try_compile "$LINENO"; then :
47609 glibcxx_cv_func_isinf_use=yes
47610 else
47611 glibcxx_cv_func_isinf_use=no
47612 fi
47613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47614 ac_ext=c
47615 ac_cpp='$CPP $CPPFLAGS'
47616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47619
47620
47621 fi
47622
47623 fi
47624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47625 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47626
47627 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47628 for ac_func in isinf
47629 do :
47630 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47631 if test "x$ac_cv_func_isinf" = xyes; then :
47632 cat >>confdefs.h <<_ACEOF
47633 #define HAVE_ISINF 1
47634 _ACEOF
47635
47636 fi
47637 done
47638
47639 else
47640
47641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47642 $as_echo_n "checking for _isinf declaration... " >&6; }
47643 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47644 if ${glibcxx_cv_func__isinf_use+:} false; then :
47645 $as_echo_n "(cached) " >&6
47646 else
47647
47648
47649 ac_ext=cpp
47650 ac_cpp='$CXXCPP $CPPFLAGS'
47651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47654
47655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47656 /* end confdefs.h. */
47657 #include <math.h>
47658 #ifdef HAVE_IEEEFP_H
47659 #include <ieeefp.h>
47660 #endif
47661
47662 int
47663 main ()
47664 {
47665 _isinf(0);
47666 ;
47667 return 0;
47668 }
47669 _ACEOF
47670 if ac_fn_cxx_try_compile "$LINENO"; then :
47671 glibcxx_cv_func__isinf_use=yes
47672 else
47673 glibcxx_cv_func__isinf_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__isinf_use" >&5
47687 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47688
47689 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47690 for ac_func in _isinf
47691 do :
47692 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47693 if test "x$ac_cv_func__isinf" = xyes; then :
47694 cat >>confdefs.h <<_ACEOF
47695 #define HAVE__ISINF 1
47696 _ACEOF
47697
47698 fi
47699 done
47700
47701 fi
47702 fi
47703
47704
47705
47706
47707
47708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47709 $as_echo_n "checking for isnan declaration... " >&6; }
47710 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47711 if ${glibcxx_cv_func_isnan_use+:} false; then :
47712 $as_echo_n "(cached) " >&6
47713 else
47714
47715
47716 ac_ext=cpp
47717 ac_cpp='$CXXCPP $CPPFLAGS'
47718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47721
47722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47723 /* end confdefs.h. */
47724 #include <math.h>
47725 #ifdef HAVE_IEEEFP_H
47726 #include <ieeefp.h>
47727 #endif
47728
47729 int
47730 main ()
47731 {
47732 isnan(0);
47733 ;
47734 return 0;
47735 }
47736 _ACEOF
47737 if ac_fn_cxx_try_compile "$LINENO"; then :
47738 glibcxx_cv_func_isnan_use=yes
47739 else
47740 glibcxx_cv_func_isnan_use=no
47741 fi
47742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47743 ac_ext=c
47744 ac_cpp='$CPP $CPPFLAGS'
47745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47748
47749
47750 fi
47751
47752 fi
47753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47754 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47755
47756 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47757 for ac_func in isnan
47758 do :
47759 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47760 if test "x$ac_cv_func_isnan" = xyes; then :
47761 cat >>confdefs.h <<_ACEOF
47762 #define HAVE_ISNAN 1
47763 _ACEOF
47764
47765 fi
47766 done
47767
47768 else
47769
47770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47771 $as_echo_n "checking for _isnan declaration... " >&6; }
47772 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47773 if ${glibcxx_cv_func__isnan_use+:} false; then :
47774 $as_echo_n "(cached) " >&6
47775 else
47776
47777
47778 ac_ext=cpp
47779 ac_cpp='$CXXCPP $CPPFLAGS'
47780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47783
47784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47785 /* end confdefs.h. */
47786 #include <math.h>
47787 #ifdef HAVE_IEEEFP_H
47788 #include <ieeefp.h>
47789 #endif
47790
47791 int
47792 main ()
47793 {
47794 _isnan(0);
47795 ;
47796 return 0;
47797 }
47798 _ACEOF
47799 if ac_fn_cxx_try_compile "$LINENO"; then :
47800 glibcxx_cv_func__isnan_use=yes
47801 else
47802 glibcxx_cv_func__isnan_use=no
47803 fi
47804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47805 ac_ext=c
47806 ac_cpp='$CPP $CPPFLAGS'
47807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47810
47811
47812 fi
47813
47814 fi
47815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47816 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47817
47818 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47819 for ac_func in _isnan
47820 do :
47821 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47822 if test "x$ac_cv_func__isnan" = xyes; then :
47823 cat >>confdefs.h <<_ACEOF
47824 #define HAVE__ISNAN 1
47825 _ACEOF
47826
47827 fi
47828 done
47829
47830 fi
47831 fi
47832
47833
47834
47835
47836
47837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47838 $as_echo_n "checking for finite declaration... " >&6; }
47839 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47840 if ${glibcxx_cv_func_finite_use+:} false; then :
47841 $as_echo_n "(cached) " >&6
47842 else
47843
47844
47845 ac_ext=cpp
47846 ac_cpp='$CXXCPP $CPPFLAGS'
47847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47850
47851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47852 /* end confdefs.h. */
47853 #include <math.h>
47854 #ifdef HAVE_IEEEFP_H
47855 #include <ieeefp.h>
47856 #endif
47857
47858 int
47859 main ()
47860 {
47861 finite(0);
47862 ;
47863 return 0;
47864 }
47865 _ACEOF
47866 if ac_fn_cxx_try_compile "$LINENO"; then :
47867 glibcxx_cv_func_finite_use=yes
47868 else
47869 glibcxx_cv_func_finite_use=no
47870 fi
47871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47872 ac_ext=c
47873 ac_cpp='$CPP $CPPFLAGS'
47874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47877
47878
47879 fi
47880
47881 fi
47882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47883 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47884
47885 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47886 for ac_func in finite
47887 do :
47888 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47889 if test "x$ac_cv_func_finite" = xyes; then :
47890 cat >>confdefs.h <<_ACEOF
47891 #define HAVE_FINITE 1
47892 _ACEOF
47893
47894 fi
47895 done
47896
47897 else
47898
47899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47900 $as_echo_n "checking for _finite declaration... " >&6; }
47901 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47902 if ${glibcxx_cv_func__finite_use+:} false; then :
47903 $as_echo_n "(cached) " >&6
47904 else
47905
47906
47907 ac_ext=cpp
47908 ac_cpp='$CXXCPP $CPPFLAGS'
47909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47912
47913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47914 /* end confdefs.h. */
47915 #include <math.h>
47916 #ifdef HAVE_IEEEFP_H
47917 #include <ieeefp.h>
47918 #endif
47919
47920 int
47921 main ()
47922 {
47923 _finite(0);
47924 ;
47925 return 0;
47926 }
47927 _ACEOF
47928 if ac_fn_cxx_try_compile "$LINENO"; then :
47929 glibcxx_cv_func__finite_use=yes
47930 else
47931 glibcxx_cv_func__finite_use=no
47932 fi
47933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47934 ac_ext=c
47935 ac_cpp='$CPP $CPPFLAGS'
47936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47939
47940
47941 fi
47942
47943 fi
47944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47945 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47946
47947 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47948 for ac_func in _finite
47949 do :
47950 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47951 if test "x$ac_cv_func__finite" = xyes; then :
47952 cat >>confdefs.h <<_ACEOF
47953 #define HAVE__FINITE 1
47954 _ACEOF
47955
47956 fi
47957 done
47958
47959 fi
47960 fi
47961
47962
47963
47964
47965
47966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47967 $as_echo_n "checking for sincos declaration... " >&6; }
47968 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47969 if ${glibcxx_cv_func_sincos_use+:} false; then :
47970 $as_echo_n "(cached) " >&6
47971 else
47972
47973
47974 ac_ext=cpp
47975 ac_cpp='$CXXCPP $CPPFLAGS'
47976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47979
47980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47981 /* end confdefs.h. */
47982 #include <math.h>
47983 int
47984 main ()
47985 {
47986 sincos(0, 0, 0);
47987 ;
47988 return 0;
47989 }
47990 _ACEOF
47991 if ac_fn_cxx_try_compile "$LINENO"; then :
47992 glibcxx_cv_func_sincos_use=yes
47993 else
47994 glibcxx_cv_func_sincos_use=no
47995 fi
47996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47997 ac_ext=c
47998 ac_cpp='$CPP $CPPFLAGS'
47999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48002
48003
48004 fi
48005
48006 fi
48007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48008 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48009
48010 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48011 for ac_func in sincos
48012 do :
48013 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48014 if test "x$ac_cv_func_sincos" = xyes; then :
48015 cat >>confdefs.h <<_ACEOF
48016 #define HAVE_SINCOS 1
48017 _ACEOF
48018
48019 fi
48020 done
48021
48022 else
48023
48024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48025 $as_echo_n "checking for _sincos declaration... " >&6; }
48026 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48027 if ${glibcxx_cv_func__sincos_use+:} false; then :
48028 $as_echo_n "(cached) " >&6
48029 else
48030
48031
48032 ac_ext=cpp
48033 ac_cpp='$CXXCPP $CPPFLAGS'
48034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48037
48038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48039 /* end confdefs.h. */
48040 #include <math.h>
48041 int
48042 main ()
48043 {
48044 _sincos(0, 0, 0);
48045 ;
48046 return 0;
48047 }
48048 _ACEOF
48049 if ac_fn_cxx_try_compile "$LINENO"; then :
48050 glibcxx_cv_func__sincos_use=yes
48051 else
48052 glibcxx_cv_func__sincos_use=no
48053 fi
48054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48055 ac_ext=c
48056 ac_cpp='$CPP $CPPFLAGS'
48057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48060
48061
48062 fi
48063
48064 fi
48065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48066 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48067
48068 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48069 for ac_func in _sincos
48070 do :
48071 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48072 if test "x$ac_cv_func__sincos" = xyes; then :
48073 cat >>confdefs.h <<_ACEOF
48074 #define HAVE__SINCOS 1
48075 _ACEOF
48076
48077 fi
48078 done
48079
48080 fi
48081 fi
48082
48083
48084
48085
48086
48087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48088 $as_echo_n "checking for fpclass declaration... " >&6; }
48089 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48090 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48091 $as_echo_n "(cached) " >&6
48092 else
48093
48094
48095 ac_ext=cpp
48096 ac_cpp='$CXXCPP $CPPFLAGS'
48097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48100
48101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48102 /* end confdefs.h. */
48103 #include <math.h>
48104 #ifdef HAVE_IEEEFP_H
48105 #include <ieeefp.h>
48106 #endif
48107
48108 int
48109 main ()
48110 {
48111 fpclass(0);
48112 ;
48113 return 0;
48114 }
48115 _ACEOF
48116 if ac_fn_cxx_try_compile "$LINENO"; then :
48117 glibcxx_cv_func_fpclass_use=yes
48118 else
48119 glibcxx_cv_func_fpclass_use=no
48120 fi
48121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48122 ac_ext=c
48123 ac_cpp='$CPP $CPPFLAGS'
48124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48127
48128
48129 fi
48130
48131 fi
48132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48133 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48134
48135 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48136 for ac_func in fpclass
48137 do :
48138 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48139 if test "x$ac_cv_func_fpclass" = xyes; then :
48140 cat >>confdefs.h <<_ACEOF
48141 #define HAVE_FPCLASS 1
48142 _ACEOF
48143
48144 fi
48145 done
48146
48147 else
48148
48149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48150 $as_echo_n "checking for _fpclass declaration... " >&6; }
48151 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48152 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48153 $as_echo_n "(cached) " >&6
48154 else
48155
48156
48157 ac_ext=cpp
48158 ac_cpp='$CXXCPP $CPPFLAGS'
48159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48162
48163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48164 /* end confdefs.h. */
48165 #include <math.h>
48166 #ifdef HAVE_IEEEFP_H
48167 #include <ieeefp.h>
48168 #endif
48169
48170 int
48171 main ()
48172 {
48173 _fpclass(0);
48174 ;
48175 return 0;
48176 }
48177 _ACEOF
48178 if ac_fn_cxx_try_compile "$LINENO"; then :
48179 glibcxx_cv_func__fpclass_use=yes
48180 else
48181 glibcxx_cv_func__fpclass_use=no
48182 fi
48183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48184 ac_ext=c
48185 ac_cpp='$CPP $CPPFLAGS'
48186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48189
48190
48191 fi
48192
48193 fi
48194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48195 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48196
48197 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48198 for ac_func in _fpclass
48199 do :
48200 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48201 if test "x$ac_cv_func__fpclass" = xyes; then :
48202 cat >>confdefs.h <<_ACEOF
48203 #define HAVE__FPCLASS 1
48204 _ACEOF
48205
48206 fi
48207 done
48208
48209 fi
48210 fi
48211
48212
48213
48214
48215
48216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48217 $as_echo_n "checking for qfpclass declaration... " >&6; }
48218 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48219 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48220 $as_echo_n "(cached) " >&6
48221 else
48222
48223
48224 ac_ext=cpp
48225 ac_cpp='$CXXCPP $CPPFLAGS'
48226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48229
48230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48231 /* end confdefs.h. */
48232 #include <math.h>
48233 #ifdef HAVE_IEEEFP_H
48234 #include <ieeefp.h>
48235 #endif
48236
48237 int
48238 main ()
48239 {
48240 qfpclass(0);
48241 ;
48242 return 0;
48243 }
48244 _ACEOF
48245 if ac_fn_cxx_try_compile "$LINENO"; then :
48246 glibcxx_cv_func_qfpclass_use=yes
48247 else
48248 glibcxx_cv_func_qfpclass_use=no
48249 fi
48250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48251 ac_ext=c
48252 ac_cpp='$CPP $CPPFLAGS'
48253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48256
48257
48258 fi
48259
48260 fi
48261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48262 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48263
48264 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48265 for ac_func in qfpclass
48266 do :
48267 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48268 if test "x$ac_cv_func_qfpclass" = xyes; then :
48269 cat >>confdefs.h <<_ACEOF
48270 #define HAVE_QFPCLASS 1
48271 _ACEOF
48272
48273 fi
48274 done
48275
48276 else
48277
48278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48279 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48280 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48281 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48282 $as_echo_n "(cached) " >&6
48283 else
48284
48285
48286 ac_ext=cpp
48287 ac_cpp='$CXXCPP $CPPFLAGS'
48288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48291
48292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48293 /* end confdefs.h. */
48294 #include <math.h>
48295 #ifdef HAVE_IEEEFP_H
48296 #include <ieeefp.h>
48297 #endif
48298
48299 int
48300 main ()
48301 {
48302 _qfpclass(0);
48303 ;
48304 return 0;
48305 }
48306 _ACEOF
48307 if ac_fn_cxx_try_compile "$LINENO"; then :
48308 glibcxx_cv_func__qfpclass_use=yes
48309 else
48310 glibcxx_cv_func__qfpclass_use=no
48311 fi
48312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48313 ac_ext=c
48314 ac_cpp='$CPP $CPPFLAGS'
48315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48318
48319
48320 fi
48321
48322 fi
48323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48324 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48325
48326 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48327 for ac_func in _qfpclass
48328 do :
48329 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48330 if test "x$ac_cv_func__qfpclass" = xyes; then :
48331 cat >>confdefs.h <<_ACEOF
48332 #define HAVE__QFPCLASS 1
48333 _ACEOF
48334
48335 fi
48336 done
48337
48338 fi
48339 fi
48340
48341
48342
48343
48344
48345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48346 $as_echo_n "checking for hypot declaration... " >&6; }
48347 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48348 if ${glibcxx_cv_func_hypot_use+:} false; then :
48349 $as_echo_n "(cached) " >&6
48350 else
48351
48352
48353 ac_ext=cpp
48354 ac_cpp='$CXXCPP $CPPFLAGS'
48355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48358
48359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48360 /* end confdefs.h. */
48361 #include <math.h>
48362 int
48363 main ()
48364 {
48365 hypot(0, 0);
48366 ;
48367 return 0;
48368 }
48369 _ACEOF
48370 if ac_fn_cxx_try_compile "$LINENO"; then :
48371 glibcxx_cv_func_hypot_use=yes
48372 else
48373 glibcxx_cv_func_hypot_use=no
48374 fi
48375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48376 ac_ext=c
48377 ac_cpp='$CPP $CPPFLAGS'
48378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48381
48382
48383 fi
48384
48385 fi
48386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48387 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48388
48389 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48390 for ac_func in hypot
48391 do :
48392 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48393 if test "x$ac_cv_func_hypot" = xyes; then :
48394 cat >>confdefs.h <<_ACEOF
48395 #define HAVE_HYPOT 1
48396 _ACEOF
48397
48398 fi
48399 done
48400
48401 else
48402
48403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48404 $as_echo_n "checking for _hypot declaration... " >&6; }
48405 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48406 if ${glibcxx_cv_func__hypot_use+:} false; then :
48407 $as_echo_n "(cached) " >&6
48408 else
48409
48410
48411 ac_ext=cpp
48412 ac_cpp='$CXXCPP $CPPFLAGS'
48413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48416
48417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48418 /* end confdefs.h. */
48419 #include <math.h>
48420 int
48421 main ()
48422 {
48423 _hypot(0, 0);
48424 ;
48425 return 0;
48426 }
48427 _ACEOF
48428 if ac_fn_cxx_try_compile "$LINENO"; then :
48429 glibcxx_cv_func__hypot_use=yes
48430 else
48431 glibcxx_cv_func__hypot_use=no
48432 fi
48433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48434 ac_ext=c
48435 ac_cpp='$CPP $CPPFLAGS'
48436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48439
48440
48441 fi
48442
48443 fi
48444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48445 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48446
48447 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48448 for ac_func in _hypot
48449 do :
48450 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48451 if test "x$ac_cv_func__hypot" = xyes; then :
48452 cat >>confdefs.h <<_ACEOF
48453 #define HAVE__HYPOT 1
48454 _ACEOF
48455
48456 fi
48457 done
48458
48459 fi
48460 fi
48461
48462
48463
48464
48465
48466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48467 $as_echo_n "checking for float trig functions... " >&6; }
48468 if ${glibcxx_cv_func_float_trig_use+:} false; then :
48469 $as_echo_n "(cached) " >&6
48470 else
48471
48472
48473 ac_ext=cpp
48474 ac_cpp='$CXXCPP $CPPFLAGS'
48475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48478
48479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48480 /* end confdefs.h. */
48481 #include <math.h>
48482 int
48483 main ()
48484 {
48485 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48486 ;
48487 return 0;
48488 }
48489 _ACEOF
48490 if ac_fn_cxx_try_compile "$LINENO"; then :
48491 glibcxx_cv_func_float_trig_use=yes
48492 else
48493 glibcxx_cv_func_float_trig_use=no
48494 fi
48495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48496 ac_ext=c
48497 ac_cpp='$CPP $CPPFLAGS'
48498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48501
48502 fi
48503
48504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48505 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48506 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48507 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48508 do :
48509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48511 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48512 cat >>confdefs.h <<_ACEOF
48513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48514 _ACEOF
48515
48516 fi
48517 done
48518
48519 else
48520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48521 $as_echo_n "checking for _float trig functions... " >&6; }
48522 if ${glibcxx_cv_func__float_trig_use+:} false; then :
48523 $as_echo_n "(cached) " >&6
48524 else
48525
48526
48527 ac_ext=cpp
48528 ac_cpp='$CXXCPP $CPPFLAGS'
48529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48532
48533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48534 /* end confdefs.h. */
48535 #include <math.h>
48536 int
48537 main ()
48538 {
48539 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48540 ;
48541 return 0;
48542 }
48543 _ACEOF
48544 if ac_fn_cxx_try_compile "$LINENO"; then :
48545 glibcxx_cv_func__float_trig_use=yes
48546 else
48547 glibcxx_cv_func__float_trig_use=no
48548 fi
48549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48550 ac_ext=c
48551 ac_cpp='$CPP $CPPFLAGS'
48552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48555
48556 fi
48557
48558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48559 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48560 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48561 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48562 do :
48563 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48564 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48565 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48566 cat >>confdefs.h <<_ACEOF
48567 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48568 _ACEOF
48569
48570 fi
48571 done
48572
48573 fi
48574 fi
48575
48576
48577
48578
48579
48580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48581 $as_echo_n "checking for float round functions... " >&6; }
48582 if ${glibcxx_cv_func_float_round_use+:} false; then :
48583 $as_echo_n "(cached) " >&6
48584 else
48585
48586
48587 ac_ext=cpp
48588 ac_cpp='$CXXCPP $CPPFLAGS'
48589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48592
48593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48594 /* end confdefs.h. */
48595 #include <math.h>
48596 int
48597 main ()
48598 {
48599 ceilf (0); floorf (0);
48600 ;
48601 return 0;
48602 }
48603 _ACEOF
48604 if ac_fn_cxx_try_compile "$LINENO"; then :
48605 glibcxx_cv_func_float_round_use=yes
48606 else
48607 glibcxx_cv_func_float_round_use=no
48608 fi
48609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48610 ac_ext=c
48611 ac_cpp='$CPP $CPPFLAGS'
48612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48615
48616 fi
48617
48618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48619 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48620 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48621 for ac_func in ceilf floorf
48622 do :
48623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48625 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48626 cat >>confdefs.h <<_ACEOF
48627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48628 _ACEOF
48629
48630 fi
48631 done
48632
48633 else
48634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48635 $as_echo_n "checking for _float round functions... " >&6; }
48636 if ${glibcxx_cv_func__float_round_use+:} false; then :
48637 $as_echo_n "(cached) " >&6
48638 else
48639
48640
48641 ac_ext=cpp
48642 ac_cpp='$CXXCPP $CPPFLAGS'
48643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48646
48647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48648 /* end confdefs.h. */
48649 #include <math.h>
48650 int
48651 main ()
48652 {
48653 _ceilf (0); _floorf (0);
48654 ;
48655 return 0;
48656 }
48657 _ACEOF
48658 if ac_fn_cxx_try_compile "$LINENO"; then :
48659 glibcxx_cv_func__float_round_use=yes
48660 else
48661 glibcxx_cv_func__float_round_use=no
48662 fi
48663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48664 ac_ext=c
48665 ac_cpp='$CPP $CPPFLAGS'
48666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48669
48670 fi
48671
48672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48673 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48674 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48675 for ac_func in _ceilf _floorf
48676 do :
48677 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48678 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48679 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48680 cat >>confdefs.h <<_ACEOF
48681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48682 _ACEOF
48683
48684 fi
48685 done
48686
48687 fi
48688 fi
48689
48690
48691
48692
48693
48694
48695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48696 $as_echo_n "checking for expf declaration... " >&6; }
48697 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48698 if ${glibcxx_cv_func_expf_use+:} false; then :
48699 $as_echo_n "(cached) " >&6
48700 else
48701
48702
48703 ac_ext=cpp
48704 ac_cpp='$CXXCPP $CPPFLAGS'
48705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48708
48709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48710 /* end confdefs.h. */
48711 #include <math.h>
48712 #ifdef HAVE_IEEEFP_H
48713 #include <ieeefp.h>
48714 #endif
48715
48716 int
48717 main ()
48718 {
48719 expf(0);
48720 ;
48721 return 0;
48722 }
48723 _ACEOF
48724 if ac_fn_cxx_try_compile "$LINENO"; then :
48725 glibcxx_cv_func_expf_use=yes
48726 else
48727 glibcxx_cv_func_expf_use=no
48728 fi
48729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48730 ac_ext=c
48731 ac_cpp='$CPP $CPPFLAGS'
48732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48735
48736
48737 fi
48738
48739 fi
48740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48741 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48742
48743 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48744 for ac_func in expf
48745 do :
48746 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48747 if test "x$ac_cv_func_expf" = xyes; then :
48748 cat >>confdefs.h <<_ACEOF
48749 #define HAVE_EXPF 1
48750 _ACEOF
48751
48752 fi
48753 done
48754
48755 else
48756
48757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48758 $as_echo_n "checking for _expf declaration... " >&6; }
48759 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48760 if ${glibcxx_cv_func__expf_use+:} false; then :
48761 $as_echo_n "(cached) " >&6
48762 else
48763
48764
48765 ac_ext=cpp
48766 ac_cpp='$CXXCPP $CPPFLAGS'
48767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48770
48771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48772 /* end confdefs.h. */
48773 #include <math.h>
48774 #ifdef HAVE_IEEEFP_H
48775 #include <ieeefp.h>
48776 #endif
48777
48778 int
48779 main ()
48780 {
48781 _expf(0);
48782 ;
48783 return 0;
48784 }
48785 _ACEOF
48786 if ac_fn_cxx_try_compile "$LINENO"; then :
48787 glibcxx_cv_func__expf_use=yes
48788 else
48789 glibcxx_cv_func__expf_use=no
48790 fi
48791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48792 ac_ext=c
48793 ac_cpp='$CPP $CPPFLAGS'
48794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48797
48798
48799 fi
48800
48801 fi
48802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48803 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48804
48805 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48806 for ac_func in _expf
48807 do :
48808 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48809 if test "x$ac_cv_func__expf" = xyes; then :
48810 cat >>confdefs.h <<_ACEOF
48811 #define HAVE__EXPF 1
48812 _ACEOF
48813
48814 fi
48815 done
48816
48817 fi
48818 fi
48819
48820
48821
48822
48823
48824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48825 $as_echo_n "checking for isnanf declaration... " >&6; }
48826 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48827 if ${glibcxx_cv_func_isnanf_use+:} false; then :
48828 $as_echo_n "(cached) " >&6
48829 else
48830
48831
48832 ac_ext=cpp
48833 ac_cpp='$CXXCPP $CPPFLAGS'
48834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48837
48838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48839 /* end confdefs.h. */
48840 #include <math.h>
48841 #ifdef HAVE_IEEEFP_H
48842 #include <ieeefp.h>
48843 #endif
48844
48845 int
48846 main ()
48847 {
48848 isnanf(0);
48849 ;
48850 return 0;
48851 }
48852 _ACEOF
48853 if ac_fn_cxx_try_compile "$LINENO"; then :
48854 glibcxx_cv_func_isnanf_use=yes
48855 else
48856 glibcxx_cv_func_isnanf_use=no
48857 fi
48858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48859 ac_ext=c
48860 ac_cpp='$CPP $CPPFLAGS'
48861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48864
48865
48866 fi
48867
48868 fi
48869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48870 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48871
48872 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48873 for ac_func in isnanf
48874 do :
48875 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48876 if test "x$ac_cv_func_isnanf" = xyes; then :
48877 cat >>confdefs.h <<_ACEOF
48878 #define HAVE_ISNANF 1
48879 _ACEOF
48880
48881 fi
48882 done
48883
48884 else
48885
48886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48887 $as_echo_n "checking for _isnanf declaration... " >&6; }
48888 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48889 if ${glibcxx_cv_func__isnanf_use+:} false; then :
48890 $as_echo_n "(cached) " >&6
48891 else
48892
48893
48894 ac_ext=cpp
48895 ac_cpp='$CXXCPP $CPPFLAGS'
48896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48899
48900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48901 /* end confdefs.h. */
48902 #include <math.h>
48903 #ifdef HAVE_IEEEFP_H
48904 #include <ieeefp.h>
48905 #endif
48906
48907 int
48908 main ()
48909 {
48910 _isnanf(0);
48911 ;
48912 return 0;
48913 }
48914 _ACEOF
48915 if ac_fn_cxx_try_compile "$LINENO"; then :
48916 glibcxx_cv_func__isnanf_use=yes
48917 else
48918 glibcxx_cv_func__isnanf_use=no
48919 fi
48920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48921 ac_ext=c
48922 ac_cpp='$CPP $CPPFLAGS'
48923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48926
48927
48928 fi
48929
48930 fi
48931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48932 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48933
48934 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48935 for ac_func in _isnanf
48936 do :
48937 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48938 if test "x$ac_cv_func__isnanf" = xyes; then :
48939 cat >>confdefs.h <<_ACEOF
48940 #define HAVE__ISNANF 1
48941 _ACEOF
48942
48943 fi
48944 done
48945
48946 fi
48947 fi
48948
48949
48950
48951
48952
48953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48954 $as_echo_n "checking for isinff declaration... " >&6; }
48955 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48956 if ${glibcxx_cv_func_isinff_use+:} false; then :
48957 $as_echo_n "(cached) " >&6
48958 else
48959
48960
48961 ac_ext=cpp
48962 ac_cpp='$CXXCPP $CPPFLAGS'
48963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48966
48967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48968 /* end confdefs.h. */
48969 #include <math.h>
48970 #ifdef HAVE_IEEEFP_H
48971 #include <ieeefp.h>
48972 #endif
48973
48974 int
48975 main ()
48976 {
48977 isinff(0);
48978 ;
48979 return 0;
48980 }
48981 _ACEOF
48982 if ac_fn_cxx_try_compile "$LINENO"; then :
48983 glibcxx_cv_func_isinff_use=yes
48984 else
48985 glibcxx_cv_func_isinff_use=no
48986 fi
48987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48988 ac_ext=c
48989 ac_cpp='$CPP $CPPFLAGS'
48990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48993
48994
48995 fi
48996
48997 fi
48998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48999 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49000
49001 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49002 for ac_func in isinff
49003 do :
49004 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49005 if test "x$ac_cv_func_isinff" = xyes; then :
49006 cat >>confdefs.h <<_ACEOF
49007 #define HAVE_ISINFF 1
49008 _ACEOF
49009
49010 fi
49011 done
49012
49013 else
49014
49015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49016 $as_echo_n "checking for _isinff declaration... " >&6; }
49017 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49018 if ${glibcxx_cv_func__isinff_use+:} false; then :
49019 $as_echo_n "(cached) " >&6
49020 else
49021
49022
49023 ac_ext=cpp
49024 ac_cpp='$CXXCPP $CPPFLAGS'
49025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49028
49029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49030 /* end confdefs.h. */
49031 #include <math.h>
49032 #ifdef HAVE_IEEEFP_H
49033 #include <ieeefp.h>
49034 #endif
49035
49036 int
49037 main ()
49038 {
49039 _isinff(0);
49040 ;
49041 return 0;
49042 }
49043 _ACEOF
49044 if ac_fn_cxx_try_compile "$LINENO"; then :
49045 glibcxx_cv_func__isinff_use=yes
49046 else
49047 glibcxx_cv_func__isinff_use=no
49048 fi
49049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49050 ac_ext=c
49051 ac_cpp='$CPP $CPPFLAGS'
49052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49055
49056
49057 fi
49058
49059 fi
49060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49061 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49062
49063 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49064 for ac_func in _isinff
49065 do :
49066 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49067 if test "x$ac_cv_func__isinff" = xyes; then :
49068 cat >>confdefs.h <<_ACEOF
49069 #define HAVE__ISINFF 1
49070 _ACEOF
49071
49072 fi
49073 done
49074
49075 fi
49076 fi
49077
49078
49079
49080
49081
49082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49083 $as_echo_n "checking for atan2f declaration... " >&6; }
49084 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49085 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49086 $as_echo_n "(cached) " >&6
49087 else
49088
49089
49090 ac_ext=cpp
49091 ac_cpp='$CXXCPP $CPPFLAGS'
49092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49095
49096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49097 /* end confdefs.h. */
49098 #include <math.h>
49099 int
49100 main ()
49101 {
49102 atan2f(0, 0);
49103 ;
49104 return 0;
49105 }
49106 _ACEOF
49107 if ac_fn_cxx_try_compile "$LINENO"; then :
49108 glibcxx_cv_func_atan2f_use=yes
49109 else
49110 glibcxx_cv_func_atan2f_use=no
49111 fi
49112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49113 ac_ext=c
49114 ac_cpp='$CPP $CPPFLAGS'
49115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49118
49119
49120 fi
49121
49122 fi
49123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49124 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49125
49126 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49127 for ac_func in atan2f
49128 do :
49129 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49130 if test "x$ac_cv_func_atan2f" = xyes; then :
49131 cat >>confdefs.h <<_ACEOF
49132 #define HAVE_ATAN2F 1
49133 _ACEOF
49134
49135 fi
49136 done
49137
49138 else
49139
49140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49141 $as_echo_n "checking for _atan2f declaration... " >&6; }
49142 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49143 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49144 $as_echo_n "(cached) " >&6
49145 else
49146
49147
49148 ac_ext=cpp
49149 ac_cpp='$CXXCPP $CPPFLAGS'
49150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49153
49154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49155 /* end confdefs.h. */
49156 #include <math.h>
49157 int
49158 main ()
49159 {
49160 _atan2f(0, 0);
49161 ;
49162 return 0;
49163 }
49164 _ACEOF
49165 if ac_fn_cxx_try_compile "$LINENO"; then :
49166 glibcxx_cv_func__atan2f_use=yes
49167 else
49168 glibcxx_cv_func__atan2f_use=no
49169 fi
49170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49171 ac_ext=c
49172 ac_cpp='$CPP $CPPFLAGS'
49173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49176
49177
49178 fi
49179
49180 fi
49181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49182 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49183
49184 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49185 for ac_func in _atan2f
49186 do :
49187 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49188 if test "x$ac_cv_func__atan2f" = xyes; then :
49189 cat >>confdefs.h <<_ACEOF
49190 #define HAVE__ATAN2F 1
49191 _ACEOF
49192
49193 fi
49194 done
49195
49196 fi
49197 fi
49198
49199
49200
49201
49202
49203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49204 $as_echo_n "checking for fabsf declaration... " >&6; }
49205 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49206 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49207 $as_echo_n "(cached) " >&6
49208 else
49209
49210
49211 ac_ext=cpp
49212 ac_cpp='$CXXCPP $CPPFLAGS'
49213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49216
49217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49218 /* end confdefs.h. */
49219 #include <math.h>
49220 #ifdef HAVE_IEEEFP_H
49221 #include <ieeefp.h>
49222 #endif
49223
49224 int
49225 main ()
49226 {
49227 fabsf(0);
49228 ;
49229 return 0;
49230 }
49231 _ACEOF
49232 if ac_fn_cxx_try_compile "$LINENO"; then :
49233 glibcxx_cv_func_fabsf_use=yes
49234 else
49235 glibcxx_cv_func_fabsf_use=no
49236 fi
49237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49238 ac_ext=c
49239 ac_cpp='$CPP $CPPFLAGS'
49240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49243
49244
49245 fi
49246
49247 fi
49248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49249 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49250
49251 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49252 for ac_func in fabsf
49253 do :
49254 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49255 if test "x$ac_cv_func_fabsf" = xyes; then :
49256 cat >>confdefs.h <<_ACEOF
49257 #define HAVE_FABSF 1
49258 _ACEOF
49259
49260 fi
49261 done
49262
49263 else
49264
49265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49266 $as_echo_n "checking for _fabsf declaration... " >&6; }
49267 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49268 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49269 $as_echo_n "(cached) " >&6
49270 else
49271
49272
49273 ac_ext=cpp
49274 ac_cpp='$CXXCPP $CPPFLAGS'
49275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49278
49279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49280 /* end confdefs.h. */
49281 #include <math.h>
49282 #ifdef HAVE_IEEEFP_H
49283 #include <ieeefp.h>
49284 #endif
49285
49286 int
49287 main ()
49288 {
49289 _fabsf(0);
49290 ;
49291 return 0;
49292 }
49293 _ACEOF
49294 if ac_fn_cxx_try_compile "$LINENO"; then :
49295 glibcxx_cv_func__fabsf_use=yes
49296 else
49297 glibcxx_cv_func__fabsf_use=no
49298 fi
49299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49300 ac_ext=c
49301 ac_cpp='$CPP $CPPFLAGS'
49302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49305
49306
49307 fi
49308
49309 fi
49310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49311 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49312
49313 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49314 for ac_func in _fabsf
49315 do :
49316 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49317 if test "x$ac_cv_func__fabsf" = xyes; then :
49318 cat >>confdefs.h <<_ACEOF
49319 #define HAVE__FABSF 1
49320 _ACEOF
49321
49322 fi
49323 done
49324
49325 fi
49326 fi
49327
49328
49329
49330
49331
49332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49333 $as_echo_n "checking for fmodf declaration... " >&6; }
49334 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49335 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49336 $as_echo_n "(cached) " >&6
49337 else
49338
49339
49340 ac_ext=cpp
49341 ac_cpp='$CXXCPP $CPPFLAGS'
49342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49345
49346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49347 /* end confdefs.h. */
49348 #include <math.h>
49349 int
49350 main ()
49351 {
49352 fmodf(0, 0);
49353 ;
49354 return 0;
49355 }
49356 _ACEOF
49357 if ac_fn_cxx_try_compile "$LINENO"; then :
49358 glibcxx_cv_func_fmodf_use=yes
49359 else
49360 glibcxx_cv_func_fmodf_use=no
49361 fi
49362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49363 ac_ext=c
49364 ac_cpp='$CPP $CPPFLAGS'
49365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49368
49369
49370 fi
49371
49372 fi
49373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49374 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49375
49376 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49377 for ac_func in fmodf
49378 do :
49379 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49380 if test "x$ac_cv_func_fmodf" = xyes; then :
49381 cat >>confdefs.h <<_ACEOF
49382 #define HAVE_FMODF 1
49383 _ACEOF
49384
49385 fi
49386 done
49387
49388 else
49389
49390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49391 $as_echo_n "checking for _fmodf declaration... " >&6; }
49392 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49393 if ${glibcxx_cv_func__fmodf_use+:} false; then :
49394 $as_echo_n "(cached) " >&6
49395 else
49396
49397
49398 ac_ext=cpp
49399 ac_cpp='$CXXCPP $CPPFLAGS'
49400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49403
49404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49405 /* end confdefs.h. */
49406 #include <math.h>
49407 int
49408 main ()
49409 {
49410 _fmodf(0, 0);
49411 ;
49412 return 0;
49413 }
49414 _ACEOF
49415 if ac_fn_cxx_try_compile "$LINENO"; then :
49416 glibcxx_cv_func__fmodf_use=yes
49417 else
49418 glibcxx_cv_func__fmodf_use=no
49419 fi
49420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49421 ac_ext=c
49422 ac_cpp='$CPP $CPPFLAGS'
49423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49426
49427
49428 fi
49429
49430 fi
49431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49432 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49433
49434 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49435 for ac_func in _fmodf
49436 do :
49437 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49438 if test "x$ac_cv_func__fmodf" = xyes; then :
49439 cat >>confdefs.h <<_ACEOF
49440 #define HAVE__FMODF 1
49441 _ACEOF
49442
49443 fi
49444 done
49445
49446 fi
49447 fi
49448
49449
49450
49451
49452
49453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49454 $as_echo_n "checking for frexpf declaration... " >&6; }
49455 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49456 if ${glibcxx_cv_func_frexpf_use+:} false; then :
49457 $as_echo_n "(cached) " >&6
49458 else
49459
49460
49461 ac_ext=cpp
49462 ac_cpp='$CXXCPP $CPPFLAGS'
49463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49466
49467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49468 /* end confdefs.h. */
49469 #include <math.h>
49470 int
49471 main ()
49472 {
49473 frexpf(0, 0);
49474 ;
49475 return 0;
49476 }
49477 _ACEOF
49478 if ac_fn_cxx_try_compile "$LINENO"; then :
49479 glibcxx_cv_func_frexpf_use=yes
49480 else
49481 glibcxx_cv_func_frexpf_use=no
49482 fi
49483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49484 ac_ext=c
49485 ac_cpp='$CPP $CPPFLAGS'
49486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49489
49490
49491 fi
49492
49493 fi
49494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49495 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49496
49497 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49498 for ac_func in frexpf
49499 do :
49500 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49501 if test "x$ac_cv_func_frexpf" = xyes; then :
49502 cat >>confdefs.h <<_ACEOF
49503 #define HAVE_FREXPF 1
49504 _ACEOF
49505
49506 fi
49507 done
49508
49509 else
49510
49511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49512 $as_echo_n "checking for _frexpf declaration... " >&6; }
49513 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49514 if ${glibcxx_cv_func__frexpf_use+:} false; then :
49515 $as_echo_n "(cached) " >&6
49516 else
49517
49518
49519 ac_ext=cpp
49520 ac_cpp='$CXXCPP $CPPFLAGS'
49521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49524
49525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49526 /* end confdefs.h. */
49527 #include <math.h>
49528 int
49529 main ()
49530 {
49531 _frexpf(0, 0);
49532 ;
49533 return 0;
49534 }
49535 _ACEOF
49536 if ac_fn_cxx_try_compile "$LINENO"; then :
49537 glibcxx_cv_func__frexpf_use=yes
49538 else
49539 glibcxx_cv_func__frexpf_use=no
49540 fi
49541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49542 ac_ext=c
49543 ac_cpp='$CPP $CPPFLAGS'
49544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49547
49548
49549 fi
49550
49551 fi
49552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49553 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49554
49555 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49556 for ac_func in _frexpf
49557 do :
49558 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49559 if test "x$ac_cv_func__frexpf" = xyes; then :
49560 cat >>confdefs.h <<_ACEOF
49561 #define HAVE__FREXPF 1
49562 _ACEOF
49563
49564 fi
49565 done
49566
49567 fi
49568 fi
49569
49570
49571
49572
49573
49574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49575 $as_echo_n "checking for hypotf declaration... " >&6; }
49576 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49577 if ${glibcxx_cv_func_hypotf_use+:} false; then :
49578 $as_echo_n "(cached) " >&6
49579 else
49580
49581
49582 ac_ext=cpp
49583 ac_cpp='$CXXCPP $CPPFLAGS'
49584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49587
49588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49589 /* end confdefs.h. */
49590 #include <math.h>
49591 int
49592 main ()
49593 {
49594 hypotf(0, 0);
49595 ;
49596 return 0;
49597 }
49598 _ACEOF
49599 if ac_fn_cxx_try_compile "$LINENO"; then :
49600 glibcxx_cv_func_hypotf_use=yes
49601 else
49602 glibcxx_cv_func_hypotf_use=no
49603 fi
49604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49605 ac_ext=c
49606 ac_cpp='$CPP $CPPFLAGS'
49607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49610
49611
49612 fi
49613
49614 fi
49615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49616 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49617
49618 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49619 for ac_func in hypotf
49620 do :
49621 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49622 if test "x$ac_cv_func_hypotf" = xyes; then :
49623 cat >>confdefs.h <<_ACEOF
49624 #define HAVE_HYPOTF 1
49625 _ACEOF
49626
49627 fi
49628 done
49629
49630 else
49631
49632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49633 $as_echo_n "checking for _hypotf declaration... " >&6; }
49634 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49635 if ${glibcxx_cv_func__hypotf_use+:} false; then :
49636 $as_echo_n "(cached) " >&6
49637 else
49638
49639
49640 ac_ext=cpp
49641 ac_cpp='$CXXCPP $CPPFLAGS'
49642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49645
49646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49647 /* end confdefs.h. */
49648 #include <math.h>
49649 int
49650 main ()
49651 {
49652 _hypotf(0, 0);
49653 ;
49654 return 0;
49655 }
49656 _ACEOF
49657 if ac_fn_cxx_try_compile "$LINENO"; then :
49658 glibcxx_cv_func__hypotf_use=yes
49659 else
49660 glibcxx_cv_func__hypotf_use=no
49661 fi
49662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49663 ac_ext=c
49664 ac_cpp='$CPP $CPPFLAGS'
49665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49668
49669
49670 fi
49671
49672 fi
49673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49674 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49675
49676 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49677 for ac_func in _hypotf
49678 do :
49679 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49680 if test "x$ac_cv_func__hypotf" = xyes; then :
49681 cat >>confdefs.h <<_ACEOF
49682 #define HAVE__HYPOTF 1
49683 _ACEOF
49684
49685 fi
49686 done
49687
49688 fi
49689 fi
49690
49691
49692
49693
49694
49695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49696 $as_echo_n "checking for ldexpf declaration... " >&6; }
49697 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49698 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
49699 $as_echo_n "(cached) " >&6
49700 else
49701
49702
49703 ac_ext=cpp
49704 ac_cpp='$CXXCPP $CPPFLAGS'
49705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49708
49709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49710 /* end confdefs.h. */
49711 #include <math.h>
49712 int
49713 main ()
49714 {
49715 ldexpf(0, 0);
49716 ;
49717 return 0;
49718 }
49719 _ACEOF
49720 if ac_fn_cxx_try_compile "$LINENO"; then :
49721 glibcxx_cv_func_ldexpf_use=yes
49722 else
49723 glibcxx_cv_func_ldexpf_use=no
49724 fi
49725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49726 ac_ext=c
49727 ac_cpp='$CPP $CPPFLAGS'
49728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49731
49732
49733 fi
49734
49735 fi
49736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49737 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49738
49739 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49740 for ac_func in ldexpf
49741 do :
49742 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49743 if test "x$ac_cv_func_ldexpf" = xyes; then :
49744 cat >>confdefs.h <<_ACEOF
49745 #define HAVE_LDEXPF 1
49746 _ACEOF
49747
49748 fi
49749 done
49750
49751 else
49752
49753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49754 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49755 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49756 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
49757 $as_echo_n "(cached) " >&6
49758 else
49759
49760
49761 ac_ext=cpp
49762 ac_cpp='$CXXCPP $CPPFLAGS'
49763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49766
49767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49768 /* end confdefs.h. */
49769 #include <math.h>
49770 int
49771 main ()
49772 {
49773 _ldexpf(0, 0);
49774 ;
49775 return 0;
49776 }
49777 _ACEOF
49778 if ac_fn_cxx_try_compile "$LINENO"; then :
49779 glibcxx_cv_func__ldexpf_use=yes
49780 else
49781 glibcxx_cv_func__ldexpf_use=no
49782 fi
49783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49784 ac_ext=c
49785 ac_cpp='$CPP $CPPFLAGS'
49786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49789
49790
49791 fi
49792
49793 fi
49794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49795 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49796
49797 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49798 for ac_func in _ldexpf
49799 do :
49800 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49801 if test "x$ac_cv_func__ldexpf" = xyes; then :
49802 cat >>confdefs.h <<_ACEOF
49803 #define HAVE__LDEXPF 1
49804 _ACEOF
49805
49806 fi
49807 done
49808
49809 fi
49810 fi
49811
49812
49813
49814
49815
49816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49817 $as_echo_n "checking for logf declaration... " >&6; }
49818 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49819 if ${glibcxx_cv_func_logf_use+:} false; then :
49820 $as_echo_n "(cached) " >&6
49821 else
49822
49823
49824 ac_ext=cpp
49825 ac_cpp='$CXXCPP $CPPFLAGS'
49826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49829
49830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49831 /* end confdefs.h. */
49832 #include <math.h>
49833 #ifdef HAVE_IEEEFP_H
49834 #include <ieeefp.h>
49835 #endif
49836
49837 int
49838 main ()
49839 {
49840 logf(0);
49841 ;
49842 return 0;
49843 }
49844 _ACEOF
49845 if ac_fn_cxx_try_compile "$LINENO"; then :
49846 glibcxx_cv_func_logf_use=yes
49847 else
49848 glibcxx_cv_func_logf_use=no
49849 fi
49850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49851 ac_ext=c
49852 ac_cpp='$CPP $CPPFLAGS'
49853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49856
49857
49858 fi
49859
49860 fi
49861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49862 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49863
49864 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49865 for ac_func in logf
49866 do :
49867 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49868 if test "x$ac_cv_func_logf" = xyes; then :
49869 cat >>confdefs.h <<_ACEOF
49870 #define HAVE_LOGF 1
49871 _ACEOF
49872
49873 fi
49874 done
49875
49876 else
49877
49878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49879 $as_echo_n "checking for _logf declaration... " >&6; }
49880 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49881 if ${glibcxx_cv_func__logf_use+:} false; then :
49882 $as_echo_n "(cached) " >&6
49883 else
49884
49885
49886 ac_ext=cpp
49887 ac_cpp='$CXXCPP $CPPFLAGS'
49888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49891
49892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49893 /* end confdefs.h. */
49894 #include <math.h>
49895 #ifdef HAVE_IEEEFP_H
49896 #include <ieeefp.h>
49897 #endif
49898
49899 int
49900 main ()
49901 {
49902 _logf(0);
49903 ;
49904 return 0;
49905 }
49906 _ACEOF
49907 if ac_fn_cxx_try_compile "$LINENO"; then :
49908 glibcxx_cv_func__logf_use=yes
49909 else
49910 glibcxx_cv_func__logf_use=no
49911 fi
49912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49913 ac_ext=c
49914 ac_cpp='$CPP $CPPFLAGS'
49915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49918
49919
49920 fi
49921
49922 fi
49923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49924 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49925
49926 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49927 for ac_func in _logf
49928 do :
49929 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49930 if test "x$ac_cv_func__logf" = xyes; then :
49931 cat >>confdefs.h <<_ACEOF
49932 #define HAVE__LOGF 1
49933 _ACEOF
49934
49935 fi
49936 done
49937
49938 fi
49939 fi
49940
49941
49942
49943
49944
49945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49946 $as_echo_n "checking for log10f declaration... " >&6; }
49947 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49948 if ${glibcxx_cv_func_log10f_use+:} false; then :
49949 $as_echo_n "(cached) " >&6
49950 else
49951
49952
49953 ac_ext=cpp
49954 ac_cpp='$CXXCPP $CPPFLAGS'
49955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49958
49959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49960 /* end confdefs.h. */
49961 #include <math.h>
49962 #ifdef HAVE_IEEEFP_H
49963 #include <ieeefp.h>
49964 #endif
49965
49966 int
49967 main ()
49968 {
49969 log10f(0);
49970 ;
49971 return 0;
49972 }
49973 _ACEOF
49974 if ac_fn_cxx_try_compile "$LINENO"; then :
49975 glibcxx_cv_func_log10f_use=yes
49976 else
49977 glibcxx_cv_func_log10f_use=no
49978 fi
49979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49980 ac_ext=c
49981 ac_cpp='$CPP $CPPFLAGS'
49982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49985
49986
49987 fi
49988
49989 fi
49990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49991 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49992
49993 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49994 for ac_func in log10f
49995 do :
49996 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49997 if test "x$ac_cv_func_log10f" = xyes; then :
49998 cat >>confdefs.h <<_ACEOF
49999 #define HAVE_LOG10F 1
50000 _ACEOF
50001
50002 fi
50003 done
50004
50005 else
50006
50007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50008 $as_echo_n "checking for _log10f declaration... " >&6; }
50009 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50010 if ${glibcxx_cv_func__log10f_use+:} false; then :
50011 $as_echo_n "(cached) " >&6
50012 else
50013
50014
50015 ac_ext=cpp
50016 ac_cpp='$CXXCPP $CPPFLAGS'
50017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50020
50021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50022 /* end confdefs.h. */
50023 #include <math.h>
50024 #ifdef HAVE_IEEEFP_H
50025 #include <ieeefp.h>
50026 #endif
50027
50028 int
50029 main ()
50030 {
50031 _log10f(0);
50032 ;
50033 return 0;
50034 }
50035 _ACEOF
50036 if ac_fn_cxx_try_compile "$LINENO"; then :
50037 glibcxx_cv_func__log10f_use=yes
50038 else
50039 glibcxx_cv_func__log10f_use=no
50040 fi
50041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50042 ac_ext=c
50043 ac_cpp='$CPP $CPPFLAGS'
50044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50047
50048
50049 fi
50050
50051 fi
50052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50053 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50054
50055 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50056 for ac_func in _log10f
50057 do :
50058 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50059 if test "x$ac_cv_func__log10f" = xyes; then :
50060 cat >>confdefs.h <<_ACEOF
50061 #define HAVE__LOG10F 1
50062 _ACEOF
50063
50064 fi
50065 done
50066
50067 fi
50068 fi
50069
50070
50071
50072
50073
50074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50075 $as_echo_n "checking for modff declaration... " >&6; }
50076 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50077 if ${glibcxx_cv_func_modff_use+:} false; then :
50078 $as_echo_n "(cached) " >&6
50079 else
50080
50081
50082 ac_ext=cpp
50083 ac_cpp='$CXXCPP $CPPFLAGS'
50084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50087
50088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50089 /* end confdefs.h. */
50090 #include <math.h>
50091 int
50092 main ()
50093 {
50094 modff(0, 0);
50095 ;
50096 return 0;
50097 }
50098 _ACEOF
50099 if ac_fn_cxx_try_compile "$LINENO"; then :
50100 glibcxx_cv_func_modff_use=yes
50101 else
50102 glibcxx_cv_func_modff_use=no
50103 fi
50104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50105 ac_ext=c
50106 ac_cpp='$CPP $CPPFLAGS'
50107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50110
50111
50112 fi
50113
50114 fi
50115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50116 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50117
50118 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50119 for ac_func in modff
50120 do :
50121 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50122 if test "x$ac_cv_func_modff" = xyes; then :
50123 cat >>confdefs.h <<_ACEOF
50124 #define HAVE_MODFF 1
50125 _ACEOF
50126
50127 fi
50128 done
50129
50130 else
50131
50132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50133 $as_echo_n "checking for _modff declaration... " >&6; }
50134 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50135 if ${glibcxx_cv_func__modff_use+:} false; then :
50136 $as_echo_n "(cached) " >&6
50137 else
50138
50139
50140 ac_ext=cpp
50141 ac_cpp='$CXXCPP $CPPFLAGS'
50142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50145
50146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50147 /* end confdefs.h. */
50148 #include <math.h>
50149 int
50150 main ()
50151 {
50152 _modff(0, 0);
50153 ;
50154 return 0;
50155 }
50156 _ACEOF
50157 if ac_fn_cxx_try_compile "$LINENO"; then :
50158 glibcxx_cv_func__modff_use=yes
50159 else
50160 glibcxx_cv_func__modff_use=no
50161 fi
50162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50163 ac_ext=c
50164 ac_cpp='$CPP $CPPFLAGS'
50165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50168
50169
50170 fi
50171
50172 fi
50173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50174 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50175
50176 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50177 for ac_func in _modff
50178 do :
50179 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50180 if test "x$ac_cv_func__modff" = xyes; then :
50181 cat >>confdefs.h <<_ACEOF
50182 #define HAVE__MODFF 1
50183 _ACEOF
50184
50185 fi
50186 done
50187
50188 fi
50189 fi
50190
50191
50192
50193
50194
50195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50196 $as_echo_n "checking for modf declaration... " >&6; }
50197 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50198 if ${glibcxx_cv_func_modf_use+:} false; then :
50199 $as_echo_n "(cached) " >&6
50200 else
50201
50202
50203 ac_ext=cpp
50204 ac_cpp='$CXXCPP $CPPFLAGS'
50205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50208
50209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50210 /* end confdefs.h. */
50211 #include <math.h>
50212 int
50213 main ()
50214 {
50215 modf(0, 0);
50216 ;
50217 return 0;
50218 }
50219 _ACEOF
50220 if ac_fn_cxx_try_compile "$LINENO"; then :
50221 glibcxx_cv_func_modf_use=yes
50222 else
50223 glibcxx_cv_func_modf_use=no
50224 fi
50225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50226 ac_ext=c
50227 ac_cpp='$CPP $CPPFLAGS'
50228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50231
50232
50233 fi
50234
50235 fi
50236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50237 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50238
50239 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50240 for ac_func in modf
50241 do :
50242 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50243 if test "x$ac_cv_func_modf" = xyes; then :
50244 cat >>confdefs.h <<_ACEOF
50245 #define HAVE_MODF 1
50246 _ACEOF
50247
50248 fi
50249 done
50250
50251 else
50252
50253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50254 $as_echo_n "checking for _modf declaration... " >&6; }
50255 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50256 if ${glibcxx_cv_func__modf_use+:} false; then :
50257 $as_echo_n "(cached) " >&6
50258 else
50259
50260
50261 ac_ext=cpp
50262 ac_cpp='$CXXCPP $CPPFLAGS'
50263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50266
50267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50268 /* end confdefs.h. */
50269 #include <math.h>
50270 int
50271 main ()
50272 {
50273 _modf(0, 0);
50274 ;
50275 return 0;
50276 }
50277 _ACEOF
50278 if ac_fn_cxx_try_compile "$LINENO"; then :
50279 glibcxx_cv_func__modf_use=yes
50280 else
50281 glibcxx_cv_func__modf_use=no
50282 fi
50283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50284 ac_ext=c
50285 ac_cpp='$CPP $CPPFLAGS'
50286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50289
50290
50291 fi
50292
50293 fi
50294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50295 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50296
50297 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50298 for ac_func in _modf
50299 do :
50300 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50301 if test "x$ac_cv_func__modf" = xyes; then :
50302 cat >>confdefs.h <<_ACEOF
50303 #define HAVE__MODF 1
50304 _ACEOF
50305
50306 fi
50307 done
50308
50309 fi
50310 fi
50311
50312
50313
50314
50315
50316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50317 $as_echo_n "checking for powf declaration... " >&6; }
50318 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50319 if ${glibcxx_cv_func_powf_use+:} false; then :
50320 $as_echo_n "(cached) " >&6
50321 else
50322
50323
50324 ac_ext=cpp
50325 ac_cpp='$CXXCPP $CPPFLAGS'
50326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50329
50330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50331 /* end confdefs.h. */
50332 #include <math.h>
50333 int
50334 main ()
50335 {
50336 powf(0, 0);
50337 ;
50338 return 0;
50339 }
50340 _ACEOF
50341 if ac_fn_cxx_try_compile "$LINENO"; then :
50342 glibcxx_cv_func_powf_use=yes
50343 else
50344 glibcxx_cv_func_powf_use=no
50345 fi
50346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50347 ac_ext=c
50348 ac_cpp='$CPP $CPPFLAGS'
50349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50352
50353
50354 fi
50355
50356 fi
50357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50358 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50359
50360 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50361 for ac_func in powf
50362 do :
50363 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50364 if test "x$ac_cv_func_powf" = xyes; then :
50365 cat >>confdefs.h <<_ACEOF
50366 #define HAVE_POWF 1
50367 _ACEOF
50368
50369 fi
50370 done
50371
50372 else
50373
50374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50375 $as_echo_n "checking for _powf declaration... " >&6; }
50376 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50377 if ${glibcxx_cv_func__powf_use+:} false; then :
50378 $as_echo_n "(cached) " >&6
50379 else
50380
50381
50382 ac_ext=cpp
50383 ac_cpp='$CXXCPP $CPPFLAGS'
50384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50387
50388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50389 /* end confdefs.h. */
50390 #include <math.h>
50391 int
50392 main ()
50393 {
50394 _powf(0, 0);
50395 ;
50396 return 0;
50397 }
50398 _ACEOF
50399 if ac_fn_cxx_try_compile "$LINENO"; then :
50400 glibcxx_cv_func__powf_use=yes
50401 else
50402 glibcxx_cv_func__powf_use=no
50403 fi
50404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50405 ac_ext=c
50406 ac_cpp='$CPP $CPPFLAGS'
50407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50410
50411
50412 fi
50413
50414 fi
50415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50416 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50417
50418 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50419 for ac_func in _powf
50420 do :
50421 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50422 if test "x$ac_cv_func__powf" = xyes; then :
50423 cat >>confdefs.h <<_ACEOF
50424 #define HAVE__POWF 1
50425 _ACEOF
50426
50427 fi
50428 done
50429
50430 fi
50431 fi
50432
50433
50434
50435
50436
50437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50438 $as_echo_n "checking for sqrtf declaration... " >&6; }
50439 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50440 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
50441 $as_echo_n "(cached) " >&6
50442 else
50443
50444
50445 ac_ext=cpp
50446 ac_cpp='$CXXCPP $CPPFLAGS'
50447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50450
50451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50452 /* end confdefs.h. */
50453 #include <math.h>
50454 #ifdef HAVE_IEEEFP_H
50455 #include <ieeefp.h>
50456 #endif
50457
50458 int
50459 main ()
50460 {
50461 sqrtf(0);
50462 ;
50463 return 0;
50464 }
50465 _ACEOF
50466 if ac_fn_cxx_try_compile "$LINENO"; then :
50467 glibcxx_cv_func_sqrtf_use=yes
50468 else
50469 glibcxx_cv_func_sqrtf_use=no
50470 fi
50471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50472 ac_ext=c
50473 ac_cpp='$CPP $CPPFLAGS'
50474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50477
50478
50479 fi
50480
50481 fi
50482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50483 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50484
50485 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50486 for ac_func in sqrtf
50487 do :
50488 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50489 if test "x$ac_cv_func_sqrtf" = xyes; then :
50490 cat >>confdefs.h <<_ACEOF
50491 #define HAVE_SQRTF 1
50492 _ACEOF
50493
50494 fi
50495 done
50496
50497 else
50498
50499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50500 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50501 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50502 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
50503 $as_echo_n "(cached) " >&6
50504 else
50505
50506
50507 ac_ext=cpp
50508 ac_cpp='$CXXCPP $CPPFLAGS'
50509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50512
50513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50514 /* end confdefs.h. */
50515 #include <math.h>
50516 #ifdef HAVE_IEEEFP_H
50517 #include <ieeefp.h>
50518 #endif
50519
50520 int
50521 main ()
50522 {
50523 _sqrtf(0);
50524 ;
50525 return 0;
50526 }
50527 _ACEOF
50528 if ac_fn_cxx_try_compile "$LINENO"; then :
50529 glibcxx_cv_func__sqrtf_use=yes
50530 else
50531 glibcxx_cv_func__sqrtf_use=no
50532 fi
50533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50534 ac_ext=c
50535 ac_cpp='$CPP $CPPFLAGS'
50536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50539
50540
50541 fi
50542
50543 fi
50544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50545 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50546
50547 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50548 for ac_func in _sqrtf
50549 do :
50550 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50551 if test "x$ac_cv_func__sqrtf" = xyes; then :
50552 cat >>confdefs.h <<_ACEOF
50553 #define HAVE__SQRTF 1
50554 _ACEOF
50555
50556 fi
50557 done
50558
50559 fi
50560 fi
50561
50562
50563
50564
50565
50566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50567 $as_echo_n "checking for sincosf declaration... " >&6; }
50568 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50569 if ${glibcxx_cv_func_sincosf_use+:} false; then :
50570 $as_echo_n "(cached) " >&6
50571 else
50572
50573
50574 ac_ext=cpp
50575 ac_cpp='$CXXCPP $CPPFLAGS'
50576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50579
50580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50581 /* end confdefs.h. */
50582 #include <math.h>
50583 int
50584 main ()
50585 {
50586 sincosf(0, 0, 0);
50587 ;
50588 return 0;
50589 }
50590 _ACEOF
50591 if ac_fn_cxx_try_compile "$LINENO"; then :
50592 glibcxx_cv_func_sincosf_use=yes
50593 else
50594 glibcxx_cv_func_sincosf_use=no
50595 fi
50596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50597 ac_ext=c
50598 ac_cpp='$CPP $CPPFLAGS'
50599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50602
50603
50604 fi
50605
50606 fi
50607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50608 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50609
50610 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50611 for ac_func in sincosf
50612 do :
50613 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50614 if test "x$ac_cv_func_sincosf" = xyes; then :
50615 cat >>confdefs.h <<_ACEOF
50616 #define HAVE_SINCOSF 1
50617 _ACEOF
50618
50619 fi
50620 done
50621
50622 else
50623
50624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50625 $as_echo_n "checking for _sincosf declaration... " >&6; }
50626 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50627 if ${glibcxx_cv_func__sincosf_use+:} false; then :
50628 $as_echo_n "(cached) " >&6
50629 else
50630
50631
50632 ac_ext=cpp
50633 ac_cpp='$CXXCPP $CPPFLAGS'
50634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50637
50638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50639 /* end confdefs.h. */
50640 #include <math.h>
50641 int
50642 main ()
50643 {
50644 _sincosf(0, 0, 0);
50645 ;
50646 return 0;
50647 }
50648 _ACEOF
50649 if ac_fn_cxx_try_compile "$LINENO"; then :
50650 glibcxx_cv_func__sincosf_use=yes
50651 else
50652 glibcxx_cv_func__sincosf_use=no
50653 fi
50654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50655 ac_ext=c
50656 ac_cpp='$CPP $CPPFLAGS'
50657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50660
50661
50662 fi
50663
50664 fi
50665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50666 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50667
50668 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50669 for ac_func in _sincosf
50670 do :
50671 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50672 if test "x$ac_cv_func__sincosf" = xyes; then :
50673 cat >>confdefs.h <<_ACEOF
50674 #define HAVE__SINCOSF 1
50675 _ACEOF
50676
50677 fi
50678 done
50679
50680 fi
50681 fi
50682
50683
50684
50685
50686
50687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50688 $as_echo_n "checking for finitef declaration... " >&6; }
50689 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50690 if ${glibcxx_cv_func_finitef_use+:} false; then :
50691 $as_echo_n "(cached) " >&6
50692 else
50693
50694
50695 ac_ext=cpp
50696 ac_cpp='$CXXCPP $CPPFLAGS'
50697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50700
50701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50702 /* end confdefs.h. */
50703 #include <math.h>
50704 #ifdef HAVE_IEEEFP_H
50705 #include <ieeefp.h>
50706 #endif
50707
50708 int
50709 main ()
50710 {
50711 finitef(0);
50712 ;
50713 return 0;
50714 }
50715 _ACEOF
50716 if ac_fn_cxx_try_compile "$LINENO"; then :
50717 glibcxx_cv_func_finitef_use=yes
50718 else
50719 glibcxx_cv_func_finitef_use=no
50720 fi
50721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50722 ac_ext=c
50723 ac_cpp='$CPP $CPPFLAGS'
50724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50727
50728
50729 fi
50730
50731 fi
50732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50733 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50734
50735 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50736 for ac_func in finitef
50737 do :
50738 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50739 if test "x$ac_cv_func_finitef" = xyes; then :
50740 cat >>confdefs.h <<_ACEOF
50741 #define HAVE_FINITEF 1
50742 _ACEOF
50743
50744 fi
50745 done
50746
50747 else
50748
50749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50750 $as_echo_n "checking for _finitef declaration... " >&6; }
50751 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50752 if ${glibcxx_cv_func__finitef_use+:} false; then :
50753 $as_echo_n "(cached) " >&6
50754 else
50755
50756
50757 ac_ext=cpp
50758 ac_cpp='$CXXCPP $CPPFLAGS'
50759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50762
50763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50764 /* end confdefs.h. */
50765 #include <math.h>
50766 #ifdef HAVE_IEEEFP_H
50767 #include <ieeefp.h>
50768 #endif
50769
50770 int
50771 main ()
50772 {
50773 _finitef(0);
50774 ;
50775 return 0;
50776 }
50777 _ACEOF
50778 if ac_fn_cxx_try_compile "$LINENO"; then :
50779 glibcxx_cv_func__finitef_use=yes
50780 else
50781 glibcxx_cv_func__finitef_use=no
50782 fi
50783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50784 ac_ext=c
50785 ac_cpp='$CPP $CPPFLAGS'
50786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50789
50790
50791 fi
50792
50793 fi
50794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50795 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50796
50797 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50798 for ac_func in _finitef
50799 do :
50800 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50801 if test "x$ac_cv_func__finitef" = xyes; then :
50802 cat >>confdefs.h <<_ACEOF
50803 #define HAVE__FINITEF 1
50804 _ACEOF
50805
50806 fi
50807 done
50808
50809 fi
50810 fi
50811
50812
50813
50814
50815
50816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50817 $as_echo_n "checking for long double trig functions... " >&6; }
50818 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
50819 $as_echo_n "(cached) " >&6
50820 else
50821
50822
50823 ac_ext=cpp
50824 ac_cpp='$CXXCPP $CPPFLAGS'
50825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50828
50829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50830 /* end confdefs.h. */
50831 #include <math.h>
50832 int
50833 main ()
50834 {
50835 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50836 ;
50837 return 0;
50838 }
50839 _ACEOF
50840 if ac_fn_cxx_try_compile "$LINENO"; then :
50841 glibcxx_cv_func_long_double_trig_use=yes
50842 else
50843 glibcxx_cv_func_long_double_trig_use=no
50844 fi
50845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50846 ac_ext=c
50847 ac_cpp='$CPP $CPPFLAGS'
50848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50851
50852 fi
50853
50854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50855 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50856 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50857 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50858 do :
50859 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50860 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50861 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50862 cat >>confdefs.h <<_ACEOF
50863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50864 _ACEOF
50865
50866 fi
50867 done
50868
50869 else
50870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50871 $as_echo_n "checking for _long double trig functions... " >&6; }
50872 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
50873 $as_echo_n "(cached) " >&6
50874 else
50875
50876
50877 ac_ext=cpp
50878 ac_cpp='$CXXCPP $CPPFLAGS'
50879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50882
50883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50884 /* end confdefs.h. */
50885 #include <math.h>
50886 int
50887 main ()
50888 {
50889 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50890 ;
50891 return 0;
50892 }
50893 _ACEOF
50894 if ac_fn_cxx_try_compile "$LINENO"; then :
50895 glibcxx_cv_func__long_double_trig_use=yes
50896 else
50897 glibcxx_cv_func__long_double_trig_use=no
50898 fi
50899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50900 ac_ext=c
50901 ac_cpp='$CPP $CPPFLAGS'
50902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50905
50906 fi
50907
50908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50909 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50910 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50911 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50912 do :
50913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50915 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50916 cat >>confdefs.h <<_ACEOF
50917 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50918 _ACEOF
50919
50920 fi
50921 done
50922
50923 fi
50924 fi
50925
50926
50927
50928
50929
50930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50931 $as_echo_n "checking for long double round functions... " >&6; }
50932 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
50933 $as_echo_n "(cached) " >&6
50934 else
50935
50936
50937 ac_ext=cpp
50938 ac_cpp='$CXXCPP $CPPFLAGS'
50939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50942
50943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50944 /* end confdefs.h. */
50945 #include <math.h>
50946 int
50947 main ()
50948 {
50949 ceill (0); floorl (0);
50950 ;
50951 return 0;
50952 }
50953 _ACEOF
50954 if ac_fn_cxx_try_compile "$LINENO"; then :
50955 glibcxx_cv_func_long_double_round_use=yes
50956 else
50957 glibcxx_cv_func_long_double_round_use=no
50958 fi
50959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50960 ac_ext=c
50961 ac_cpp='$CPP $CPPFLAGS'
50962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50965
50966 fi
50967
50968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50969 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50970 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50971 for ac_func in ceill floorl
50972 do :
50973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50975 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50976 cat >>confdefs.h <<_ACEOF
50977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50978 _ACEOF
50979
50980 fi
50981 done
50982
50983 else
50984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50985 $as_echo_n "checking for _long double round functions... " >&6; }
50986 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
50987 $as_echo_n "(cached) " >&6
50988 else
50989
50990
50991 ac_ext=cpp
50992 ac_cpp='$CXXCPP $CPPFLAGS'
50993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50996
50997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50998 /* end confdefs.h. */
50999 #include <math.h>
51000 int
51001 main ()
51002 {
51003 _ceill (0); _floorl (0);
51004 ;
51005 return 0;
51006 }
51007 _ACEOF
51008 if ac_fn_cxx_try_compile "$LINENO"; then :
51009 glibcxx_cv_func__long_double_round_use=yes
51010 else
51011 glibcxx_cv_func__long_double_round_use=no
51012 fi
51013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51014 ac_ext=c
51015 ac_cpp='$CPP $CPPFLAGS'
51016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51019
51020 fi
51021
51022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51023 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51024 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51025 for ac_func in _ceill _floorl
51026 do :
51027 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51028 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51029 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51030 cat >>confdefs.h <<_ACEOF
51031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51032 _ACEOF
51033
51034 fi
51035 done
51036
51037 fi
51038 fi
51039
51040
51041
51042
51043
51044
51045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51046 $as_echo_n "checking for isnanl declaration... " >&6; }
51047 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51048 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51049 $as_echo_n "(cached) " >&6
51050 else
51051
51052
51053 ac_ext=cpp
51054 ac_cpp='$CXXCPP $CPPFLAGS'
51055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51058
51059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51060 /* end confdefs.h. */
51061 #include <math.h>
51062 #ifdef HAVE_IEEEFP_H
51063 #include <ieeefp.h>
51064 #endif
51065
51066 int
51067 main ()
51068 {
51069 isnanl(0);
51070 ;
51071 return 0;
51072 }
51073 _ACEOF
51074 if ac_fn_cxx_try_compile "$LINENO"; then :
51075 glibcxx_cv_func_isnanl_use=yes
51076 else
51077 glibcxx_cv_func_isnanl_use=no
51078 fi
51079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51080 ac_ext=c
51081 ac_cpp='$CPP $CPPFLAGS'
51082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51085
51086
51087 fi
51088
51089 fi
51090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51091 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51092
51093 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51094 for ac_func in isnanl
51095 do :
51096 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51097 if test "x$ac_cv_func_isnanl" = xyes; then :
51098 cat >>confdefs.h <<_ACEOF
51099 #define HAVE_ISNANL 1
51100 _ACEOF
51101
51102 fi
51103 done
51104
51105 else
51106
51107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51108 $as_echo_n "checking for _isnanl declaration... " >&6; }
51109 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51110 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51111 $as_echo_n "(cached) " >&6
51112 else
51113
51114
51115 ac_ext=cpp
51116 ac_cpp='$CXXCPP $CPPFLAGS'
51117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51120
51121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51122 /* end confdefs.h. */
51123 #include <math.h>
51124 #ifdef HAVE_IEEEFP_H
51125 #include <ieeefp.h>
51126 #endif
51127
51128 int
51129 main ()
51130 {
51131 _isnanl(0);
51132 ;
51133 return 0;
51134 }
51135 _ACEOF
51136 if ac_fn_cxx_try_compile "$LINENO"; then :
51137 glibcxx_cv_func__isnanl_use=yes
51138 else
51139 glibcxx_cv_func__isnanl_use=no
51140 fi
51141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51142 ac_ext=c
51143 ac_cpp='$CPP $CPPFLAGS'
51144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51147
51148
51149 fi
51150
51151 fi
51152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51153 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51154
51155 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51156 for ac_func in _isnanl
51157 do :
51158 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51159 if test "x$ac_cv_func__isnanl" = xyes; then :
51160 cat >>confdefs.h <<_ACEOF
51161 #define HAVE__ISNANL 1
51162 _ACEOF
51163
51164 fi
51165 done
51166
51167 fi
51168 fi
51169
51170
51171
51172
51173
51174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51175 $as_echo_n "checking for isinfl declaration... " >&6; }
51176 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51177 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51178 $as_echo_n "(cached) " >&6
51179 else
51180
51181
51182 ac_ext=cpp
51183 ac_cpp='$CXXCPP $CPPFLAGS'
51184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51187
51188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51189 /* end confdefs.h. */
51190 #include <math.h>
51191 #ifdef HAVE_IEEEFP_H
51192 #include <ieeefp.h>
51193 #endif
51194
51195 int
51196 main ()
51197 {
51198 isinfl(0);
51199 ;
51200 return 0;
51201 }
51202 _ACEOF
51203 if ac_fn_cxx_try_compile "$LINENO"; then :
51204 glibcxx_cv_func_isinfl_use=yes
51205 else
51206 glibcxx_cv_func_isinfl_use=no
51207 fi
51208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51209 ac_ext=c
51210 ac_cpp='$CPP $CPPFLAGS'
51211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51214
51215
51216 fi
51217
51218 fi
51219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51220 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51221
51222 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51223 for ac_func in isinfl
51224 do :
51225 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51226 if test "x$ac_cv_func_isinfl" = xyes; then :
51227 cat >>confdefs.h <<_ACEOF
51228 #define HAVE_ISINFL 1
51229 _ACEOF
51230
51231 fi
51232 done
51233
51234 else
51235
51236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51237 $as_echo_n "checking for _isinfl declaration... " >&6; }
51238 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51239 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51240 $as_echo_n "(cached) " >&6
51241 else
51242
51243
51244 ac_ext=cpp
51245 ac_cpp='$CXXCPP $CPPFLAGS'
51246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51249
51250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51251 /* end confdefs.h. */
51252 #include <math.h>
51253 #ifdef HAVE_IEEEFP_H
51254 #include <ieeefp.h>
51255 #endif
51256
51257 int
51258 main ()
51259 {
51260 _isinfl(0);
51261 ;
51262 return 0;
51263 }
51264 _ACEOF
51265 if ac_fn_cxx_try_compile "$LINENO"; then :
51266 glibcxx_cv_func__isinfl_use=yes
51267 else
51268 glibcxx_cv_func__isinfl_use=no
51269 fi
51270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51271 ac_ext=c
51272 ac_cpp='$CPP $CPPFLAGS'
51273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51276
51277
51278 fi
51279
51280 fi
51281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51282 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51283
51284 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51285 for ac_func in _isinfl
51286 do :
51287 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51288 if test "x$ac_cv_func__isinfl" = xyes; then :
51289 cat >>confdefs.h <<_ACEOF
51290 #define HAVE__ISINFL 1
51291 _ACEOF
51292
51293 fi
51294 done
51295
51296 fi
51297 fi
51298
51299
51300
51301
51302
51303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51304 $as_echo_n "checking for atan2l declaration... " >&6; }
51305 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51306 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51307 $as_echo_n "(cached) " >&6
51308 else
51309
51310
51311 ac_ext=cpp
51312 ac_cpp='$CXXCPP $CPPFLAGS'
51313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51316
51317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51318 /* end confdefs.h. */
51319 #include <math.h>
51320 int
51321 main ()
51322 {
51323 atan2l(0, 0);
51324 ;
51325 return 0;
51326 }
51327 _ACEOF
51328 if ac_fn_cxx_try_compile "$LINENO"; then :
51329 glibcxx_cv_func_atan2l_use=yes
51330 else
51331 glibcxx_cv_func_atan2l_use=no
51332 fi
51333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51334 ac_ext=c
51335 ac_cpp='$CPP $CPPFLAGS'
51336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51339
51340
51341 fi
51342
51343 fi
51344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51345 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51346
51347 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51348 for ac_func in atan2l
51349 do :
51350 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51351 if test "x$ac_cv_func_atan2l" = xyes; then :
51352 cat >>confdefs.h <<_ACEOF
51353 #define HAVE_ATAN2L 1
51354 _ACEOF
51355
51356 fi
51357 done
51358
51359 else
51360
51361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51362 $as_echo_n "checking for _atan2l declaration... " >&6; }
51363 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51364 if ${glibcxx_cv_func__atan2l_use+:} false; then :
51365 $as_echo_n "(cached) " >&6
51366 else
51367
51368
51369 ac_ext=cpp
51370 ac_cpp='$CXXCPP $CPPFLAGS'
51371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51374
51375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51376 /* end confdefs.h. */
51377 #include <math.h>
51378 int
51379 main ()
51380 {
51381 _atan2l(0, 0);
51382 ;
51383 return 0;
51384 }
51385 _ACEOF
51386 if ac_fn_cxx_try_compile "$LINENO"; then :
51387 glibcxx_cv_func__atan2l_use=yes
51388 else
51389 glibcxx_cv_func__atan2l_use=no
51390 fi
51391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51392 ac_ext=c
51393 ac_cpp='$CPP $CPPFLAGS'
51394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51397
51398
51399 fi
51400
51401 fi
51402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51403 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51404
51405 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51406 for ac_func in _atan2l
51407 do :
51408 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51409 if test "x$ac_cv_func__atan2l" = xyes; then :
51410 cat >>confdefs.h <<_ACEOF
51411 #define HAVE__ATAN2L 1
51412 _ACEOF
51413
51414 fi
51415 done
51416
51417 fi
51418 fi
51419
51420
51421
51422
51423
51424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51425 $as_echo_n "checking for expl declaration... " >&6; }
51426 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51427 if ${glibcxx_cv_func_expl_use+:} false; then :
51428 $as_echo_n "(cached) " >&6
51429 else
51430
51431
51432 ac_ext=cpp
51433 ac_cpp='$CXXCPP $CPPFLAGS'
51434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51437
51438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51439 /* end confdefs.h. */
51440 #include <math.h>
51441 #ifdef HAVE_IEEEFP_H
51442 #include <ieeefp.h>
51443 #endif
51444
51445 int
51446 main ()
51447 {
51448 expl(0);
51449 ;
51450 return 0;
51451 }
51452 _ACEOF
51453 if ac_fn_cxx_try_compile "$LINENO"; then :
51454 glibcxx_cv_func_expl_use=yes
51455 else
51456 glibcxx_cv_func_expl_use=no
51457 fi
51458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51459 ac_ext=c
51460 ac_cpp='$CPP $CPPFLAGS'
51461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51464
51465
51466 fi
51467
51468 fi
51469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51470 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51471
51472 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51473 for ac_func in expl
51474 do :
51475 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51476 if test "x$ac_cv_func_expl" = xyes; then :
51477 cat >>confdefs.h <<_ACEOF
51478 #define HAVE_EXPL 1
51479 _ACEOF
51480
51481 fi
51482 done
51483
51484 else
51485
51486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51487 $as_echo_n "checking for _expl declaration... " >&6; }
51488 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51489 if ${glibcxx_cv_func__expl_use+:} false; then :
51490 $as_echo_n "(cached) " >&6
51491 else
51492
51493
51494 ac_ext=cpp
51495 ac_cpp='$CXXCPP $CPPFLAGS'
51496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51499
51500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51501 /* end confdefs.h. */
51502 #include <math.h>
51503 #ifdef HAVE_IEEEFP_H
51504 #include <ieeefp.h>
51505 #endif
51506
51507 int
51508 main ()
51509 {
51510 _expl(0);
51511 ;
51512 return 0;
51513 }
51514 _ACEOF
51515 if ac_fn_cxx_try_compile "$LINENO"; then :
51516 glibcxx_cv_func__expl_use=yes
51517 else
51518 glibcxx_cv_func__expl_use=no
51519 fi
51520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51521 ac_ext=c
51522 ac_cpp='$CPP $CPPFLAGS'
51523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51526
51527
51528 fi
51529
51530 fi
51531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51532 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51533
51534 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51535 for ac_func in _expl
51536 do :
51537 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51538 if test "x$ac_cv_func__expl" = xyes; then :
51539 cat >>confdefs.h <<_ACEOF
51540 #define HAVE__EXPL 1
51541 _ACEOF
51542
51543 fi
51544 done
51545
51546 fi
51547 fi
51548
51549
51550
51551
51552
51553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51554 $as_echo_n "checking for fabsl declaration... " >&6; }
51555 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51556 if ${glibcxx_cv_func_fabsl_use+:} false; then :
51557 $as_echo_n "(cached) " >&6
51558 else
51559
51560
51561 ac_ext=cpp
51562 ac_cpp='$CXXCPP $CPPFLAGS'
51563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51566
51567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51568 /* end confdefs.h. */
51569 #include <math.h>
51570 #ifdef HAVE_IEEEFP_H
51571 #include <ieeefp.h>
51572 #endif
51573
51574 int
51575 main ()
51576 {
51577 fabsl(0);
51578 ;
51579 return 0;
51580 }
51581 _ACEOF
51582 if ac_fn_cxx_try_compile "$LINENO"; then :
51583 glibcxx_cv_func_fabsl_use=yes
51584 else
51585 glibcxx_cv_func_fabsl_use=no
51586 fi
51587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51588 ac_ext=c
51589 ac_cpp='$CPP $CPPFLAGS'
51590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51593
51594
51595 fi
51596
51597 fi
51598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51599 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51600
51601 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51602 for ac_func in fabsl
51603 do :
51604 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51605 if test "x$ac_cv_func_fabsl" = xyes; then :
51606 cat >>confdefs.h <<_ACEOF
51607 #define HAVE_FABSL 1
51608 _ACEOF
51609
51610 fi
51611 done
51612
51613 else
51614
51615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51616 $as_echo_n "checking for _fabsl declaration... " >&6; }
51617 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51618 if ${glibcxx_cv_func__fabsl_use+:} false; then :
51619 $as_echo_n "(cached) " >&6
51620 else
51621
51622
51623 ac_ext=cpp
51624 ac_cpp='$CXXCPP $CPPFLAGS'
51625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51628
51629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51630 /* end confdefs.h. */
51631 #include <math.h>
51632 #ifdef HAVE_IEEEFP_H
51633 #include <ieeefp.h>
51634 #endif
51635
51636 int
51637 main ()
51638 {
51639 _fabsl(0);
51640 ;
51641 return 0;
51642 }
51643 _ACEOF
51644 if ac_fn_cxx_try_compile "$LINENO"; then :
51645 glibcxx_cv_func__fabsl_use=yes
51646 else
51647 glibcxx_cv_func__fabsl_use=no
51648 fi
51649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51650 ac_ext=c
51651 ac_cpp='$CPP $CPPFLAGS'
51652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51655
51656
51657 fi
51658
51659 fi
51660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51661 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51662
51663 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51664 for ac_func in _fabsl
51665 do :
51666 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51667 if test "x$ac_cv_func__fabsl" = xyes; then :
51668 cat >>confdefs.h <<_ACEOF
51669 #define HAVE__FABSL 1
51670 _ACEOF
51671
51672 fi
51673 done
51674
51675 fi
51676 fi
51677
51678
51679
51680
51681
51682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51683 $as_echo_n "checking for fmodl declaration... " >&6; }
51684 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51685 if ${glibcxx_cv_func_fmodl_use+:} false; then :
51686 $as_echo_n "(cached) " >&6
51687 else
51688
51689
51690 ac_ext=cpp
51691 ac_cpp='$CXXCPP $CPPFLAGS'
51692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51695
51696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51697 /* end confdefs.h. */
51698 #include <math.h>
51699 int
51700 main ()
51701 {
51702 fmodl(0, 0);
51703 ;
51704 return 0;
51705 }
51706 _ACEOF
51707 if ac_fn_cxx_try_compile "$LINENO"; then :
51708 glibcxx_cv_func_fmodl_use=yes
51709 else
51710 glibcxx_cv_func_fmodl_use=no
51711 fi
51712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51713 ac_ext=c
51714 ac_cpp='$CPP $CPPFLAGS'
51715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51718
51719
51720 fi
51721
51722 fi
51723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51724 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51725
51726 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51727 for ac_func in fmodl
51728 do :
51729 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51730 if test "x$ac_cv_func_fmodl" = xyes; then :
51731 cat >>confdefs.h <<_ACEOF
51732 #define HAVE_FMODL 1
51733 _ACEOF
51734
51735 fi
51736 done
51737
51738 else
51739
51740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51741 $as_echo_n "checking for _fmodl declaration... " >&6; }
51742 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51743 if ${glibcxx_cv_func__fmodl_use+:} false; then :
51744 $as_echo_n "(cached) " >&6
51745 else
51746
51747
51748 ac_ext=cpp
51749 ac_cpp='$CXXCPP $CPPFLAGS'
51750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51753
51754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51755 /* end confdefs.h. */
51756 #include <math.h>
51757 int
51758 main ()
51759 {
51760 _fmodl(0, 0);
51761 ;
51762 return 0;
51763 }
51764 _ACEOF
51765 if ac_fn_cxx_try_compile "$LINENO"; then :
51766 glibcxx_cv_func__fmodl_use=yes
51767 else
51768 glibcxx_cv_func__fmodl_use=no
51769 fi
51770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51771 ac_ext=c
51772 ac_cpp='$CPP $CPPFLAGS'
51773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51776
51777
51778 fi
51779
51780 fi
51781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51782 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51783
51784 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51785 for ac_func in _fmodl
51786 do :
51787 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51788 if test "x$ac_cv_func__fmodl" = xyes; then :
51789 cat >>confdefs.h <<_ACEOF
51790 #define HAVE__FMODL 1
51791 _ACEOF
51792
51793 fi
51794 done
51795
51796 fi
51797 fi
51798
51799
51800
51801
51802
51803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51804 $as_echo_n "checking for frexpl declaration... " >&6; }
51805 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51806 if ${glibcxx_cv_func_frexpl_use+:} false; then :
51807 $as_echo_n "(cached) " >&6
51808 else
51809
51810
51811 ac_ext=cpp
51812 ac_cpp='$CXXCPP $CPPFLAGS'
51813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51816
51817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51818 /* end confdefs.h. */
51819 #include <math.h>
51820 int
51821 main ()
51822 {
51823 frexpl(0, 0);
51824 ;
51825 return 0;
51826 }
51827 _ACEOF
51828 if ac_fn_cxx_try_compile "$LINENO"; then :
51829 glibcxx_cv_func_frexpl_use=yes
51830 else
51831 glibcxx_cv_func_frexpl_use=no
51832 fi
51833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51834 ac_ext=c
51835 ac_cpp='$CPP $CPPFLAGS'
51836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51839
51840
51841 fi
51842
51843 fi
51844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51845 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51846
51847 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51848 for ac_func in frexpl
51849 do :
51850 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51851 if test "x$ac_cv_func_frexpl" = xyes; then :
51852 cat >>confdefs.h <<_ACEOF
51853 #define HAVE_FREXPL 1
51854 _ACEOF
51855
51856 fi
51857 done
51858
51859 else
51860
51861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51862 $as_echo_n "checking for _frexpl declaration... " >&6; }
51863 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51864 if ${glibcxx_cv_func__frexpl_use+:} false; then :
51865 $as_echo_n "(cached) " >&6
51866 else
51867
51868
51869 ac_ext=cpp
51870 ac_cpp='$CXXCPP $CPPFLAGS'
51871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51874
51875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51876 /* end confdefs.h. */
51877 #include <math.h>
51878 int
51879 main ()
51880 {
51881 _frexpl(0, 0);
51882 ;
51883 return 0;
51884 }
51885 _ACEOF
51886 if ac_fn_cxx_try_compile "$LINENO"; then :
51887 glibcxx_cv_func__frexpl_use=yes
51888 else
51889 glibcxx_cv_func__frexpl_use=no
51890 fi
51891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51892 ac_ext=c
51893 ac_cpp='$CPP $CPPFLAGS'
51894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51897
51898
51899 fi
51900
51901 fi
51902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51903 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51904
51905 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51906 for ac_func in _frexpl
51907 do :
51908 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51909 if test "x$ac_cv_func__frexpl" = xyes; then :
51910 cat >>confdefs.h <<_ACEOF
51911 #define HAVE__FREXPL 1
51912 _ACEOF
51913
51914 fi
51915 done
51916
51917 fi
51918 fi
51919
51920
51921
51922
51923
51924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51925 $as_echo_n "checking for hypotl declaration... " >&6; }
51926 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51927 if ${glibcxx_cv_func_hypotl_use+:} false; then :
51928 $as_echo_n "(cached) " >&6
51929 else
51930
51931
51932 ac_ext=cpp
51933 ac_cpp='$CXXCPP $CPPFLAGS'
51934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51937
51938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51939 /* end confdefs.h. */
51940 #include <math.h>
51941 int
51942 main ()
51943 {
51944 hypotl(0, 0);
51945 ;
51946 return 0;
51947 }
51948 _ACEOF
51949 if ac_fn_cxx_try_compile "$LINENO"; then :
51950 glibcxx_cv_func_hypotl_use=yes
51951 else
51952 glibcxx_cv_func_hypotl_use=no
51953 fi
51954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51955 ac_ext=c
51956 ac_cpp='$CPP $CPPFLAGS'
51957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51960
51961
51962 fi
51963
51964 fi
51965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51966 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51967
51968 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51969 for ac_func in hypotl
51970 do :
51971 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51972 if test "x$ac_cv_func_hypotl" = xyes; then :
51973 cat >>confdefs.h <<_ACEOF
51974 #define HAVE_HYPOTL 1
51975 _ACEOF
51976
51977 fi
51978 done
51979
51980 else
51981
51982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51983 $as_echo_n "checking for _hypotl declaration... " >&6; }
51984 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51985 if ${glibcxx_cv_func__hypotl_use+:} false; then :
51986 $as_echo_n "(cached) " >&6
51987 else
51988
51989
51990 ac_ext=cpp
51991 ac_cpp='$CXXCPP $CPPFLAGS'
51992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51995
51996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51997 /* end confdefs.h. */
51998 #include <math.h>
51999 int
52000 main ()
52001 {
52002 _hypotl(0, 0);
52003 ;
52004 return 0;
52005 }
52006 _ACEOF
52007 if ac_fn_cxx_try_compile "$LINENO"; then :
52008 glibcxx_cv_func__hypotl_use=yes
52009 else
52010 glibcxx_cv_func__hypotl_use=no
52011 fi
52012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52013 ac_ext=c
52014 ac_cpp='$CPP $CPPFLAGS'
52015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52018
52019
52020 fi
52021
52022 fi
52023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52024 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52025
52026 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52027 for ac_func in _hypotl
52028 do :
52029 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52030 if test "x$ac_cv_func__hypotl" = xyes; then :
52031 cat >>confdefs.h <<_ACEOF
52032 #define HAVE__HYPOTL 1
52033 _ACEOF
52034
52035 fi
52036 done
52037
52038 fi
52039 fi
52040
52041
52042
52043
52044
52045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52046 $as_echo_n "checking for ldexpl declaration... " >&6; }
52047 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52048 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52049 $as_echo_n "(cached) " >&6
52050 else
52051
52052
52053 ac_ext=cpp
52054 ac_cpp='$CXXCPP $CPPFLAGS'
52055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52058
52059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52060 /* end confdefs.h. */
52061 #include <math.h>
52062 int
52063 main ()
52064 {
52065 ldexpl(0, 0);
52066 ;
52067 return 0;
52068 }
52069 _ACEOF
52070 if ac_fn_cxx_try_compile "$LINENO"; then :
52071 glibcxx_cv_func_ldexpl_use=yes
52072 else
52073 glibcxx_cv_func_ldexpl_use=no
52074 fi
52075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52076 ac_ext=c
52077 ac_cpp='$CPP $CPPFLAGS'
52078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52081
52082
52083 fi
52084
52085 fi
52086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52087 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52088
52089 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52090 for ac_func in ldexpl
52091 do :
52092 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52093 if test "x$ac_cv_func_ldexpl" = xyes; then :
52094 cat >>confdefs.h <<_ACEOF
52095 #define HAVE_LDEXPL 1
52096 _ACEOF
52097
52098 fi
52099 done
52100
52101 else
52102
52103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52104 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52105 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52106 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52107 $as_echo_n "(cached) " >&6
52108 else
52109
52110
52111 ac_ext=cpp
52112 ac_cpp='$CXXCPP $CPPFLAGS'
52113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52116
52117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52118 /* end confdefs.h. */
52119 #include <math.h>
52120 int
52121 main ()
52122 {
52123 _ldexpl(0, 0);
52124 ;
52125 return 0;
52126 }
52127 _ACEOF
52128 if ac_fn_cxx_try_compile "$LINENO"; then :
52129 glibcxx_cv_func__ldexpl_use=yes
52130 else
52131 glibcxx_cv_func__ldexpl_use=no
52132 fi
52133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52134 ac_ext=c
52135 ac_cpp='$CPP $CPPFLAGS'
52136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52139
52140
52141 fi
52142
52143 fi
52144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52145 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52146
52147 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52148 for ac_func in _ldexpl
52149 do :
52150 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52151 if test "x$ac_cv_func__ldexpl" = xyes; then :
52152 cat >>confdefs.h <<_ACEOF
52153 #define HAVE__LDEXPL 1
52154 _ACEOF
52155
52156 fi
52157 done
52158
52159 fi
52160 fi
52161
52162
52163
52164
52165
52166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52167 $as_echo_n "checking for logl declaration... " >&6; }
52168 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52169 if ${glibcxx_cv_func_logl_use+:} false; then :
52170 $as_echo_n "(cached) " >&6
52171 else
52172
52173
52174 ac_ext=cpp
52175 ac_cpp='$CXXCPP $CPPFLAGS'
52176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52179
52180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52181 /* end confdefs.h. */
52182 #include <math.h>
52183 #ifdef HAVE_IEEEFP_H
52184 #include <ieeefp.h>
52185 #endif
52186
52187 int
52188 main ()
52189 {
52190 logl(0);
52191 ;
52192 return 0;
52193 }
52194 _ACEOF
52195 if ac_fn_cxx_try_compile "$LINENO"; then :
52196 glibcxx_cv_func_logl_use=yes
52197 else
52198 glibcxx_cv_func_logl_use=no
52199 fi
52200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52201 ac_ext=c
52202 ac_cpp='$CPP $CPPFLAGS'
52203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52206
52207
52208 fi
52209
52210 fi
52211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52212 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52213
52214 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52215 for ac_func in logl
52216 do :
52217 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52218 if test "x$ac_cv_func_logl" = xyes; then :
52219 cat >>confdefs.h <<_ACEOF
52220 #define HAVE_LOGL 1
52221 _ACEOF
52222
52223 fi
52224 done
52225
52226 else
52227
52228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52229 $as_echo_n "checking for _logl declaration... " >&6; }
52230 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52231 if ${glibcxx_cv_func__logl_use+:} false; then :
52232 $as_echo_n "(cached) " >&6
52233 else
52234
52235
52236 ac_ext=cpp
52237 ac_cpp='$CXXCPP $CPPFLAGS'
52238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52241
52242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52243 /* end confdefs.h. */
52244 #include <math.h>
52245 #ifdef HAVE_IEEEFP_H
52246 #include <ieeefp.h>
52247 #endif
52248
52249 int
52250 main ()
52251 {
52252 _logl(0);
52253 ;
52254 return 0;
52255 }
52256 _ACEOF
52257 if ac_fn_cxx_try_compile "$LINENO"; then :
52258 glibcxx_cv_func__logl_use=yes
52259 else
52260 glibcxx_cv_func__logl_use=no
52261 fi
52262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52263 ac_ext=c
52264 ac_cpp='$CPP $CPPFLAGS'
52265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52268
52269
52270 fi
52271
52272 fi
52273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52274 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52275
52276 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52277 for ac_func in _logl
52278 do :
52279 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52280 if test "x$ac_cv_func__logl" = xyes; then :
52281 cat >>confdefs.h <<_ACEOF
52282 #define HAVE__LOGL 1
52283 _ACEOF
52284
52285 fi
52286 done
52287
52288 fi
52289 fi
52290
52291
52292
52293
52294
52295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52296 $as_echo_n "checking for log10l declaration... " >&6; }
52297 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52298 if ${glibcxx_cv_func_log10l_use+:} false; then :
52299 $as_echo_n "(cached) " >&6
52300 else
52301
52302
52303 ac_ext=cpp
52304 ac_cpp='$CXXCPP $CPPFLAGS'
52305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52308
52309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52310 /* end confdefs.h. */
52311 #include <math.h>
52312 #ifdef HAVE_IEEEFP_H
52313 #include <ieeefp.h>
52314 #endif
52315
52316 int
52317 main ()
52318 {
52319 log10l(0);
52320 ;
52321 return 0;
52322 }
52323 _ACEOF
52324 if ac_fn_cxx_try_compile "$LINENO"; then :
52325 glibcxx_cv_func_log10l_use=yes
52326 else
52327 glibcxx_cv_func_log10l_use=no
52328 fi
52329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52330 ac_ext=c
52331 ac_cpp='$CPP $CPPFLAGS'
52332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52335
52336
52337 fi
52338
52339 fi
52340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52341 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52342
52343 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52344 for ac_func in log10l
52345 do :
52346 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52347 if test "x$ac_cv_func_log10l" = xyes; then :
52348 cat >>confdefs.h <<_ACEOF
52349 #define HAVE_LOG10L 1
52350 _ACEOF
52351
52352 fi
52353 done
52354
52355 else
52356
52357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52358 $as_echo_n "checking for _log10l declaration... " >&6; }
52359 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52360 if ${glibcxx_cv_func__log10l_use+:} false; then :
52361 $as_echo_n "(cached) " >&6
52362 else
52363
52364
52365 ac_ext=cpp
52366 ac_cpp='$CXXCPP $CPPFLAGS'
52367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52370
52371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52372 /* end confdefs.h. */
52373 #include <math.h>
52374 #ifdef HAVE_IEEEFP_H
52375 #include <ieeefp.h>
52376 #endif
52377
52378 int
52379 main ()
52380 {
52381 _log10l(0);
52382 ;
52383 return 0;
52384 }
52385 _ACEOF
52386 if ac_fn_cxx_try_compile "$LINENO"; then :
52387 glibcxx_cv_func__log10l_use=yes
52388 else
52389 glibcxx_cv_func__log10l_use=no
52390 fi
52391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52392 ac_ext=c
52393 ac_cpp='$CPP $CPPFLAGS'
52394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52397
52398
52399 fi
52400
52401 fi
52402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52403 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52404
52405 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52406 for ac_func in _log10l
52407 do :
52408 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52409 if test "x$ac_cv_func__log10l" = xyes; then :
52410 cat >>confdefs.h <<_ACEOF
52411 #define HAVE__LOG10L 1
52412 _ACEOF
52413
52414 fi
52415 done
52416
52417 fi
52418 fi
52419
52420
52421
52422
52423
52424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52425 $as_echo_n "checking for modfl declaration... " >&6; }
52426 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52427 if ${glibcxx_cv_func_modfl_use+:} false; then :
52428 $as_echo_n "(cached) " >&6
52429 else
52430
52431
52432 ac_ext=cpp
52433 ac_cpp='$CXXCPP $CPPFLAGS'
52434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52437
52438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52439 /* end confdefs.h. */
52440 #include <math.h>
52441 int
52442 main ()
52443 {
52444 modfl(0, 0);
52445 ;
52446 return 0;
52447 }
52448 _ACEOF
52449 if ac_fn_cxx_try_compile "$LINENO"; then :
52450 glibcxx_cv_func_modfl_use=yes
52451 else
52452 glibcxx_cv_func_modfl_use=no
52453 fi
52454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52455 ac_ext=c
52456 ac_cpp='$CPP $CPPFLAGS'
52457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52460
52461
52462 fi
52463
52464 fi
52465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52466 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52467
52468 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52469 for ac_func in modfl
52470 do :
52471 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52472 if test "x$ac_cv_func_modfl" = xyes; then :
52473 cat >>confdefs.h <<_ACEOF
52474 #define HAVE_MODFL 1
52475 _ACEOF
52476
52477 fi
52478 done
52479
52480 else
52481
52482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52483 $as_echo_n "checking for _modfl declaration... " >&6; }
52484 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52485 if ${glibcxx_cv_func__modfl_use+:} false; then :
52486 $as_echo_n "(cached) " >&6
52487 else
52488
52489
52490 ac_ext=cpp
52491 ac_cpp='$CXXCPP $CPPFLAGS'
52492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52495
52496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52497 /* end confdefs.h. */
52498 #include <math.h>
52499 int
52500 main ()
52501 {
52502 _modfl(0, 0);
52503 ;
52504 return 0;
52505 }
52506 _ACEOF
52507 if ac_fn_cxx_try_compile "$LINENO"; then :
52508 glibcxx_cv_func__modfl_use=yes
52509 else
52510 glibcxx_cv_func__modfl_use=no
52511 fi
52512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52513 ac_ext=c
52514 ac_cpp='$CPP $CPPFLAGS'
52515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52518
52519
52520 fi
52521
52522 fi
52523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52524 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52525
52526 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52527 for ac_func in _modfl
52528 do :
52529 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52530 if test "x$ac_cv_func__modfl" = xyes; then :
52531 cat >>confdefs.h <<_ACEOF
52532 #define HAVE__MODFL 1
52533 _ACEOF
52534
52535 fi
52536 done
52537
52538 fi
52539 fi
52540
52541
52542
52543
52544
52545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52546 $as_echo_n "checking for powl declaration... " >&6; }
52547 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52548 if ${glibcxx_cv_func_powl_use+:} false; then :
52549 $as_echo_n "(cached) " >&6
52550 else
52551
52552
52553 ac_ext=cpp
52554 ac_cpp='$CXXCPP $CPPFLAGS'
52555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52558
52559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52560 /* end confdefs.h. */
52561 #include <math.h>
52562 int
52563 main ()
52564 {
52565 powl(0, 0);
52566 ;
52567 return 0;
52568 }
52569 _ACEOF
52570 if ac_fn_cxx_try_compile "$LINENO"; then :
52571 glibcxx_cv_func_powl_use=yes
52572 else
52573 glibcxx_cv_func_powl_use=no
52574 fi
52575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52576 ac_ext=c
52577 ac_cpp='$CPP $CPPFLAGS'
52578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52581
52582
52583 fi
52584
52585 fi
52586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52587 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52588
52589 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52590 for ac_func in powl
52591 do :
52592 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52593 if test "x$ac_cv_func_powl" = xyes; then :
52594 cat >>confdefs.h <<_ACEOF
52595 #define HAVE_POWL 1
52596 _ACEOF
52597
52598 fi
52599 done
52600
52601 else
52602
52603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52604 $as_echo_n "checking for _powl declaration... " >&6; }
52605 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52606 if ${glibcxx_cv_func__powl_use+:} false; then :
52607 $as_echo_n "(cached) " >&6
52608 else
52609
52610
52611 ac_ext=cpp
52612 ac_cpp='$CXXCPP $CPPFLAGS'
52613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52616
52617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52618 /* end confdefs.h. */
52619 #include <math.h>
52620 int
52621 main ()
52622 {
52623 _powl(0, 0);
52624 ;
52625 return 0;
52626 }
52627 _ACEOF
52628 if ac_fn_cxx_try_compile "$LINENO"; then :
52629 glibcxx_cv_func__powl_use=yes
52630 else
52631 glibcxx_cv_func__powl_use=no
52632 fi
52633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52634 ac_ext=c
52635 ac_cpp='$CPP $CPPFLAGS'
52636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52639
52640
52641 fi
52642
52643 fi
52644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52645 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52646
52647 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52648 for ac_func in _powl
52649 do :
52650 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52651 if test "x$ac_cv_func__powl" = xyes; then :
52652 cat >>confdefs.h <<_ACEOF
52653 #define HAVE__POWL 1
52654 _ACEOF
52655
52656 fi
52657 done
52658
52659 fi
52660 fi
52661
52662
52663
52664
52665
52666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52667 $as_echo_n "checking for sqrtl declaration... " >&6; }
52668 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52669 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
52670 $as_echo_n "(cached) " >&6
52671 else
52672
52673
52674 ac_ext=cpp
52675 ac_cpp='$CXXCPP $CPPFLAGS'
52676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52679
52680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52681 /* end confdefs.h. */
52682 #include <math.h>
52683 #ifdef HAVE_IEEEFP_H
52684 #include <ieeefp.h>
52685 #endif
52686
52687 int
52688 main ()
52689 {
52690 sqrtl(0);
52691 ;
52692 return 0;
52693 }
52694 _ACEOF
52695 if ac_fn_cxx_try_compile "$LINENO"; then :
52696 glibcxx_cv_func_sqrtl_use=yes
52697 else
52698 glibcxx_cv_func_sqrtl_use=no
52699 fi
52700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52701 ac_ext=c
52702 ac_cpp='$CPP $CPPFLAGS'
52703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52706
52707
52708 fi
52709
52710 fi
52711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52712 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52713
52714 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52715 for ac_func in sqrtl
52716 do :
52717 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52718 if test "x$ac_cv_func_sqrtl" = xyes; then :
52719 cat >>confdefs.h <<_ACEOF
52720 #define HAVE_SQRTL 1
52721 _ACEOF
52722
52723 fi
52724 done
52725
52726 else
52727
52728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52729 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52730 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52731 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
52732 $as_echo_n "(cached) " >&6
52733 else
52734
52735
52736 ac_ext=cpp
52737 ac_cpp='$CXXCPP $CPPFLAGS'
52738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52741
52742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52743 /* end confdefs.h. */
52744 #include <math.h>
52745 #ifdef HAVE_IEEEFP_H
52746 #include <ieeefp.h>
52747 #endif
52748
52749 int
52750 main ()
52751 {
52752 _sqrtl(0);
52753 ;
52754 return 0;
52755 }
52756 _ACEOF
52757 if ac_fn_cxx_try_compile "$LINENO"; then :
52758 glibcxx_cv_func__sqrtl_use=yes
52759 else
52760 glibcxx_cv_func__sqrtl_use=no
52761 fi
52762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52763 ac_ext=c
52764 ac_cpp='$CPP $CPPFLAGS'
52765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52768
52769
52770 fi
52771
52772 fi
52773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52774 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52775
52776 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52777 for ac_func in _sqrtl
52778 do :
52779 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52780 if test "x$ac_cv_func__sqrtl" = xyes; then :
52781 cat >>confdefs.h <<_ACEOF
52782 #define HAVE__SQRTL 1
52783 _ACEOF
52784
52785 fi
52786 done
52787
52788 fi
52789 fi
52790
52791
52792
52793
52794
52795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52796 $as_echo_n "checking for sincosl declaration... " >&6; }
52797 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52798 if ${glibcxx_cv_func_sincosl_use+:} false; then :
52799 $as_echo_n "(cached) " >&6
52800 else
52801
52802
52803 ac_ext=cpp
52804 ac_cpp='$CXXCPP $CPPFLAGS'
52805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52808
52809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52810 /* end confdefs.h. */
52811 #include <math.h>
52812 int
52813 main ()
52814 {
52815 sincosl(0, 0, 0);
52816 ;
52817 return 0;
52818 }
52819 _ACEOF
52820 if ac_fn_cxx_try_compile "$LINENO"; then :
52821 glibcxx_cv_func_sincosl_use=yes
52822 else
52823 glibcxx_cv_func_sincosl_use=no
52824 fi
52825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52826 ac_ext=c
52827 ac_cpp='$CPP $CPPFLAGS'
52828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52831
52832
52833 fi
52834
52835 fi
52836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52837 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52838
52839 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52840 for ac_func in sincosl
52841 do :
52842 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52843 if test "x$ac_cv_func_sincosl" = xyes; then :
52844 cat >>confdefs.h <<_ACEOF
52845 #define HAVE_SINCOSL 1
52846 _ACEOF
52847
52848 fi
52849 done
52850
52851 else
52852
52853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52854 $as_echo_n "checking for _sincosl declaration... " >&6; }
52855 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52856 if ${glibcxx_cv_func__sincosl_use+:} false; then :
52857 $as_echo_n "(cached) " >&6
52858 else
52859
52860
52861 ac_ext=cpp
52862 ac_cpp='$CXXCPP $CPPFLAGS'
52863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52866
52867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52868 /* end confdefs.h. */
52869 #include <math.h>
52870 int
52871 main ()
52872 {
52873 _sincosl(0, 0, 0);
52874 ;
52875 return 0;
52876 }
52877 _ACEOF
52878 if ac_fn_cxx_try_compile "$LINENO"; then :
52879 glibcxx_cv_func__sincosl_use=yes
52880 else
52881 glibcxx_cv_func__sincosl_use=no
52882 fi
52883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52884 ac_ext=c
52885 ac_cpp='$CPP $CPPFLAGS'
52886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52889
52890
52891 fi
52892
52893 fi
52894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52895 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52896
52897 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52898 for ac_func in _sincosl
52899 do :
52900 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52901 if test "x$ac_cv_func__sincosl" = xyes; then :
52902 cat >>confdefs.h <<_ACEOF
52903 #define HAVE__SINCOSL 1
52904 _ACEOF
52905
52906 fi
52907 done
52908
52909 fi
52910 fi
52911
52912
52913
52914
52915
52916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52917 $as_echo_n "checking for finitel declaration... " >&6; }
52918 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52919 if ${glibcxx_cv_func_finitel_use+:} false; then :
52920 $as_echo_n "(cached) " >&6
52921 else
52922
52923
52924 ac_ext=cpp
52925 ac_cpp='$CXXCPP $CPPFLAGS'
52926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52929
52930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52931 /* end confdefs.h. */
52932 #include <math.h>
52933 #ifdef HAVE_IEEEFP_H
52934 #include <ieeefp.h>
52935 #endif
52936
52937 int
52938 main ()
52939 {
52940 finitel(0);
52941 ;
52942 return 0;
52943 }
52944 _ACEOF
52945 if ac_fn_cxx_try_compile "$LINENO"; then :
52946 glibcxx_cv_func_finitel_use=yes
52947 else
52948 glibcxx_cv_func_finitel_use=no
52949 fi
52950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52951 ac_ext=c
52952 ac_cpp='$CPP $CPPFLAGS'
52953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52956
52957
52958 fi
52959
52960 fi
52961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52962 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52963
52964 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52965 for ac_func in finitel
52966 do :
52967 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52968 if test "x$ac_cv_func_finitel" = xyes; then :
52969 cat >>confdefs.h <<_ACEOF
52970 #define HAVE_FINITEL 1
52971 _ACEOF
52972
52973 fi
52974 done
52975
52976 else
52977
52978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52979 $as_echo_n "checking for _finitel declaration... " >&6; }
52980 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52981 if ${glibcxx_cv_func__finitel_use+:} false; then :
52982 $as_echo_n "(cached) " >&6
52983 else
52984
52985
52986 ac_ext=cpp
52987 ac_cpp='$CXXCPP $CPPFLAGS'
52988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52991
52992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52993 /* end confdefs.h. */
52994 #include <math.h>
52995 #ifdef HAVE_IEEEFP_H
52996 #include <ieeefp.h>
52997 #endif
52998
52999 int
53000 main ()
53001 {
53002 _finitel(0);
53003 ;
53004 return 0;
53005 }
53006 _ACEOF
53007 if ac_fn_cxx_try_compile "$LINENO"; then :
53008 glibcxx_cv_func__finitel_use=yes
53009 else
53010 glibcxx_cv_func__finitel_use=no
53011 fi
53012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53013 ac_ext=c
53014 ac_cpp='$CPP $CPPFLAGS'
53015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53018
53019
53020 fi
53021
53022 fi
53023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53024 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53025
53026 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53027 for ac_func in _finitel
53028 do :
53029 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53030 if test "x$ac_cv_func__finitel" = xyes; then :
53031 cat >>confdefs.h <<_ACEOF
53032 #define HAVE__FINITEL 1
53033 _ACEOF
53034
53035 fi
53036 done
53037
53038 fi
53039 fi
53040
53041
53042
53043
53044 LIBS="$ac_save_LIBS"
53045 CXXFLAGS="$ac_save_CXXFLAGS"
53046
53047
53048 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53049 ac_save_CXXFLAGS="$CXXFLAGS"
53050 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53051
53052
53053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53054 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53055 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53056 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53057 $as_echo_n "(cached) " >&6
53058 else
53059
53060
53061 ac_ext=cpp
53062 ac_cpp='$CXXCPP $CPPFLAGS'
53063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53066
53067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53068 /* end confdefs.h. */
53069 #include <stdlib.h>
53070 int
53071 main ()
53072 {
53073 at_quick_exit(0);
53074 ;
53075 return 0;
53076 }
53077 _ACEOF
53078 if ac_fn_cxx_try_compile "$LINENO"; then :
53079 glibcxx_cv_func_at_quick_exit_use=yes
53080 else
53081 glibcxx_cv_func_at_quick_exit_use=no
53082 fi
53083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53084 ac_ext=c
53085 ac_cpp='$CPP $CPPFLAGS'
53086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53089
53090
53091 fi
53092
53093 fi
53094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53095 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53096 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53097 for ac_func in at_quick_exit
53098 do :
53099 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53100 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53101 cat >>confdefs.h <<_ACEOF
53102 #define HAVE_AT_QUICK_EXIT 1
53103 _ACEOF
53104
53105 fi
53106 done
53107
53108 fi
53109
53110
53111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53112 $as_echo_n "checking for quick_exit declaration... " >&6; }
53113 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53114 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53115 $as_echo_n "(cached) " >&6
53116 else
53117
53118
53119 ac_ext=cpp
53120 ac_cpp='$CXXCPP $CPPFLAGS'
53121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53124
53125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53126 /* end confdefs.h. */
53127 #include <stdlib.h>
53128 int
53129 main ()
53130 {
53131 quick_exit(0);
53132 ;
53133 return 0;
53134 }
53135 _ACEOF
53136 if ac_fn_cxx_try_compile "$LINENO"; then :
53137 glibcxx_cv_func_quick_exit_use=yes
53138 else
53139 glibcxx_cv_func_quick_exit_use=no
53140 fi
53141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53142 ac_ext=c
53143 ac_cpp='$CPP $CPPFLAGS'
53144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53147
53148
53149 fi
53150
53151 fi
53152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53153 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53154 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53155 for ac_func in quick_exit
53156 do :
53157 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53158 if test "x$ac_cv_func_quick_exit" = xyes; then :
53159 cat >>confdefs.h <<_ACEOF
53160 #define HAVE_QUICK_EXIT 1
53161 _ACEOF
53162
53163 fi
53164 done
53165
53166 fi
53167
53168
53169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53170 $as_echo_n "checking for strtold declaration... " >&6; }
53171 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53172 if ${glibcxx_cv_func_strtold_use+:} false; then :
53173 $as_echo_n "(cached) " >&6
53174 else
53175
53176
53177 ac_ext=cpp
53178 ac_cpp='$CXXCPP $CPPFLAGS'
53179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53182
53183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53184 /* end confdefs.h. */
53185 #include <stdlib.h>
53186 int
53187 main ()
53188 {
53189 strtold(0, 0);
53190 ;
53191 return 0;
53192 }
53193 _ACEOF
53194 if ac_fn_cxx_try_compile "$LINENO"; then :
53195 glibcxx_cv_func_strtold_use=yes
53196 else
53197 glibcxx_cv_func_strtold_use=no
53198 fi
53199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53200 ac_ext=c
53201 ac_cpp='$CPP $CPPFLAGS'
53202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53205
53206
53207 fi
53208
53209 fi
53210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53211 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53212 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53213 for ac_func in strtold
53214 do :
53215 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53216 if test "x$ac_cv_func_strtold" = xyes; then :
53217 cat >>confdefs.h <<_ACEOF
53218 #define HAVE_STRTOLD 1
53219 _ACEOF
53220
53221 fi
53222 done
53223
53224 fi
53225
53226
53227
53228
53229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53230 $as_echo_n "checking for strtof declaration... " >&6; }
53231 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53232 if ${glibcxx_cv_func_strtof_use+:} false; then :
53233 $as_echo_n "(cached) " >&6
53234 else
53235
53236
53237 ac_ext=cpp
53238 ac_cpp='$CXXCPP $CPPFLAGS'
53239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53242
53243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53244 /* end confdefs.h. */
53245 #include <stdlib.h>
53246 int
53247 main ()
53248 {
53249 strtof(0, 0);
53250 ;
53251 return 0;
53252 }
53253 _ACEOF
53254 if ac_fn_cxx_try_compile "$LINENO"; then :
53255 glibcxx_cv_func_strtof_use=yes
53256 else
53257 glibcxx_cv_func_strtof_use=no
53258 fi
53259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53260 ac_ext=c
53261 ac_cpp='$CPP $CPPFLAGS'
53262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53265
53266
53267 fi
53268
53269 fi
53270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53271 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53272 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53273 for ac_func in strtof
53274 do :
53275 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53276 if test "x$ac_cv_func_strtof" = xyes; then :
53277 cat >>confdefs.h <<_ACEOF
53278 #define HAVE_STRTOF 1
53279 _ACEOF
53280
53281 fi
53282 done
53283
53284 fi
53285
53286
53287
53288
53289 CXXFLAGS="$ac_save_CXXFLAGS"
53290
53291 ;;
53292
53293 *djgpp)
53294 # GLIBCXX_CHECK_MATH_SUPPORT
53295 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53296
53297 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53298
53299 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53300
53301 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53302
53303 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53304
53305 ;;
53306
53307 *-freebsd*)
53308 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53309
53310
53311 # If we're not using GNU ld, then there's no point in even trying these
53312 # tests. Check for that first. We should have already tested for gld
53313 # by now (in libtool), but require it now just to be safe...
53314 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53315 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53316
53317
53318
53319 # The name set by libtool depends on the version of libtool. Shame on us
53320 # for depending on an impl detail, but c'est la vie. Older versions used
53321 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53322 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53323 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53324 # set (hence we're using an older libtool), then set it.
53325 if test x${with_gnu_ld+set} != xset; then
53326 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53327 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53328 with_gnu_ld=no
53329 else
53330 with_gnu_ld=$ac_cv_prog_gnu_ld
53331 fi
53332 fi
53333
53334 # Start by getting the version number. I think the libtool test already
53335 # does some of this, but throws away the result.
53336 glibcxx_ld_is_gold=no
53337 if test x"$with_gnu_ld" = x"yes"; then
53338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53339 $as_echo_n "checking for ld version... " >&6; }
53340
53341 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53342 glibcxx_ld_is_gold=yes
53343 fi
53344 ldver=`$LD --version 2>/dev/null |
53345 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'`
53346
53347 glibcxx_gnu_ld_version=`echo $ldver | \
53348 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53350 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53351 fi
53352
53353 # Set --gc-sections.
53354 glibcxx_have_gc_sections=no
53355 if test "$glibcxx_ld_is_gold" = "yes"; then
53356 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53357 glibcxx_have_gc_sections=yes
53358 fi
53359 else
53360 glibcxx_gcsections_min_ld=21602
53361 if test x"$with_gnu_ld" = x"yes" &&
53362 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53363 glibcxx_have_gc_sections=yes
53364 fi
53365 fi
53366 if test "$glibcxx_have_gc_sections" = "yes"; then
53367 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53368 # NB: This flag only works reliably after 2.16.1. Configure tests
53369 # for this are difficult, so hard wire a value that should work.
53370
53371 ac_test_CFLAGS="${CFLAGS+set}"
53372 ac_save_CFLAGS="$CFLAGS"
53373 CFLAGS='-Wl,--gc-sections'
53374
53375 # Check for -Wl,--gc-sections
53376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53377 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53378 if test x$gcc_no_link = xyes; then
53379 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53380 fi
53381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53382 /* end confdefs.h. */
53383 int one(void) { return 1; }
53384 int two(void) { return 2; }
53385
53386 int
53387 main ()
53388 {
53389 two();
53390 ;
53391 return 0;
53392 }
53393 _ACEOF
53394 if ac_fn_c_try_link "$LINENO"; then :
53395 ac_gcsections=yes
53396 else
53397 ac_gcsections=no
53398 fi
53399 rm -f core conftest.err conftest.$ac_objext \
53400 conftest$ac_exeext conftest.$ac_ext
53401 if test "$ac_gcsections" = "yes"; then
53402 rm -f conftest.c
53403 touch conftest.c
53404 if $CC -c conftest.c; then
53405 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53406 grep "Warning: gc-sections option ignored" > /dev/null; then
53407 ac_gcsections=no
53408 fi
53409 fi
53410 rm -f conftest.c conftest.o conftest
53411 fi
53412 if test "$ac_gcsections" = "yes"; then
53413 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53414 fi
53415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53416 $as_echo "$ac_gcsections" >&6; }
53417
53418 if test "$ac_test_CFLAGS" = set; then
53419 CFLAGS="$ac_save_CFLAGS"
53420 else
53421 # this is the suspicious part
53422 CFLAGS=''
53423 fi
53424 fi
53425
53426 # Set -z,relro.
53427 # Note this is only for shared objects.
53428 ac_ld_relro=no
53429 if test x"$with_gnu_ld" = x"yes"; then
53430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53431 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53432 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53433 if test -n "$cxx_z_relo"; then
53434 OPT_LDFLAGS="-Wl,-z,relro"
53435 ac_ld_relro=yes
53436 fi
53437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53438 $as_echo "$ac_ld_relro" >&6; }
53439 fi
53440
53441 # Set linker optimization flags.
53442 if test x"$with_gnu_ld" = x"yes"; then
53443 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53444 fi
53445
53446
53447
53448
53449 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53450
53451 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53452
53453 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53454
53455 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53456
53457 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53458
53459 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53460
53461 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53462
53463 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53464
53465 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53466
53467
53468 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53469
53470 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53471
53472 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53473
53474 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53475
53476 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53477
53478 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53479
53480 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53481
53482 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53483
53484 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53485
53486 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53487
53488 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53489
53490 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53491
53492 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53493
53494 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53495
53496 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53497
53498 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53499
53500 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53501
53502 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53503
53504 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53505
53506 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53507
53508 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53509
53510 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53511
53512 if test x"long_double_math_on_this_cpu" = x"yes"; then
53513 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53514
53515 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53516
53517 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53518
53519 fi
53520 for ac_func in __cxa_thread_atexit
53521 do :
53522 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53523 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
53524 cat >>confdefs.h <<_ACEOF
53525 #define HAVE___CXA_THREAD_ATEXIT 1
53526 _ACEOF
53527
53528 fi
53529 done
53530
53531 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53532 do :
53533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53535 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53536 cat >>confdefs.h <<_ACEOF
53537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53538 _ACEOF
53539
53540 fi
53541 done
53542
53543 ;;
53544
53545 *-fuchsia*)
53546 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53547
53548 ;;
53549
53550 *-hpux*)
53551 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53552
53553
53554 # If we're not using GNU ld, then there's no point in even trying these
53555 # tests. Check for that first. We should have already tested for gld
53556 # by now (in libtool), but require it now just to be safe...
53557 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53558 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53559
53560
53561
53562 # The name set by libtool depends on the version of libtool. Shame on us
53563 # for depending on an impl detail, but c'est la vie. Older versions used
53564 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53565 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53566 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53567 # set (hence we're using an older libtool), then set it.
53568 if test x${with_gnu_ld+set} != xset; then
53569 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53570 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53571 with_gnu_ld=no
53572 else
53573 with_gnu_ld=$ac_cv_prog_gnu_ld
53574 fi
53575 fi
53576
53577 # Start by getting the version number. I think the libtool test already
53578 # does some of this, but throws away the result.
53579 glibcxx_ld_is_gold=no
53580 if test x"$with_gnu_ld" = x"yes"; then
53581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53582 $as_echo_n "checking for ld version... " >&6; }
53583
53584 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53585 glibcxx_ld_is_gold=yes
53586 fi
53587 ldver=`$LD --version 2>/dev/null |
53588 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'`
53589
53590 glibcxx_gnu_ld_version=`echo $ldver | \
53591 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53593 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53594 fi
53595
53596 # Set --gc-sections.
53597 glibcxx_have_gc_sections=no
53598 if test "$glibcxx_ld_is_gold" = "yes"; then
53599 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53600 glibcxx_have_gc_sections=yes
53601 fi
53602 else
53603 glibcxx_gcsections_min_ld=21602
53604 if test x"$with_gnu_ld" = x"yes" &&
53605 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53606 glibcxx_have_gc_sections=yes
53607 fi
53608 fi
53609 if test "$glibcxx_have_gc_sections" = "yes"; then
53610 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53611 # NB: This flag only works reliably after 2.16.1. Configure tests
53612 # for this are difficult, so hard wire a value that should work.
53613
53614 ac_test_CFLAGS="${CFLAGS+set}"
53615 ac_save_CFLAGS="$CFLAGS"
53616 CFLAGS='-Wl,--gc-sections'
53617
53618 # Check for -Wl,--gc-sections
53619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53620 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53621 if test x$gcc_no_link = xyes; then
53622 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53623 fi
53624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53625 /* end confdefs.h. */
53626 int one(void) { return 1; }
53627 int two(void) { return 2; }
53628
53629 int
53630 main ()
53631 {
53632 two();
53633 ;
53634 return 0;
53635 }
53636 _ACEOF
53637 if ac_fn_c_try_link "$LINENO"; then :
53638 ac_gcsections=yes
53639 else
53640 ac_gcsections=no
53641 fi
53642 rm -f core conftest.err conftest.$ac_objext \
53643 conftest$ac_exeext conftest.$ac_ext
53644 if test "$ac_gcsections" = "yes"; then
53645 rm -f conftest.c
53646 touch conftest.c
53647 if $CC -c conftest.c; then
53648 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53649 grep "Warning: gc-sections option ignored" > /dev/null; then
53650 ac_gcsections=no
53651 fi
53652 fi
53653 rm -f conftest.c conftest.o conftest
53654 fi
53655 if test "$ac_gcsections" = "yes"; then
53656 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53657 fi
53658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53659 $as_echo "$ac_gcsections" >&6; }
53660
53661 if test "$ac_test_CFLAGS" = set; then
53662 CFLAGS="$ac_save_CFLAGS"
53663 else
53664 # this is the suspicious part
53665 CFLAGS=''
53666 fi
53667 fi
53668
53669 # Set -z,relro.
53670 # Note this is only for shared objects.
53671 ac_ld_relro=no
53672 if test x"$with_gnu_ld" = x"yes"; then
53673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53674 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53675 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53676 if test -n "$cxx_z_relo"; then
53677 OPT_LDFLAGS="-Wl,-z,relro"
53678 ac_ld_relro=yes
53679 fi
53680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53681 $as_echo "$ac_ld_relro" >&6; }
53682 fi
53683
53684 # Set linker optimization flags.
53685 if test x"$with_gnu_ld" = x"yes"; then
53686 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53687 fi
53688
53689
53690
53691
53692
53693 # GLIBCXX_CHECK_MATH_SUPPORT
53694 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53695
53696 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53697
53698 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53699
53700 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53701
53702 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53703
53704 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53705
53706 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53707
53708 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53709
53710 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53711
53712 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53713
53714 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53715
53716 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53717
53718 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53719
53720 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53721
53722 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53723
53724 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53725
53726 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53727
53728 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53729
53730 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53731
53732 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53733
53734 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53735
53736
53737 # GLIBCXX_CHECK_STDLIB_SUPPORT
53738 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53739
53740
53741
53742
53743 # Check whether --enable-tls was given.
53744 if test "${enable_tls+set}" = set; then :
53745 enableval=$enable_tls;
53746 case "$enableval" in
53747 yes|no) ;;
53748 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53749 esac
53750
53751 else
53752 enable_tls=yes
53753 fi
53754
53755
53756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53757 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53758 if ${gcc_cv_have_tls+:} false; then :
53759 $as_echo_n "(cached) " >&6
53760 else
53761
53762 if test "$cross_compiling" = yes; then :
53763 if test x$gcc_no_link = xyes; then
53764 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53765 fi
53766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53767 /* end confdefs.h. */
53768 __thread int a; int b; int main() { return a = b; }
53769 _ACEOF
53770 if ac_fn_c_try_link "$LINENO"; then :
53771 chktls_save_LDFLAGS="$LDFLAGS"
53772 case $host in
53773 *-*-linux*)
53774 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53775 ;;
53776 esac
53777 chktls_save_CFLAGS="$CFLAGS"
53778 CFLAGS="-fPIC $CFLAGS"
53779 if test x$gcc_no_link = xyes; then
53780 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53781 fi
53782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53783 /* end confdefs.h. */
53784 int f() { return 0; }
53785 _ACEOF
53786 if ac_fn_c_try_link "$LINENO"; then :
53787 if test x$gcc_no_link = xyes; then
53788 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53789 fi
53790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53791 /* end confdefs.h. */
53792 __thread int a; int b; int f() { return a = b; }
53793 _ACEOF
53794 if ac_fn_c_try_link "$LINENO"; then :
53795 gcc_cv_have_tls=yes
53796 else
53797 gcc_cv_have_tls=no
53798 fi
53799 rm -f core conftest.err conftest.$ac_objext \
53800 conftest$ac_exeext conftest.$ac_ext
53801 else
53802 gcc_cv_have_tls=yes
53803 fi
53804 rm -f core conftest.err conftest.$ac_objext \
53805 conftest$ac_exeext conftest.$ac_ext
53806 CFLAGS="$chktls_save_CFLAGS"
53807 LDFLAGS="$chktls_save_LDFLAGS"
53808 else
53809 gcc_cv_have_tls=no
53810 fi
53811 rm -f core conftest.err conftest.$ac_objext \
53812 conftest$ac_exeext conftest.$ac_ext
53813
53814
53815 else
53816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53817 /* end confdefs.h. */
53818 __thread int a; int b; int main() { return a = b; }
53819 _ACEOF
53820 if ac_fn_c_try_run "$LINENO"; then :
53821 chktls_save_LDFLAGS="$LDFLAGS"
53822 LDFLAGS="-static $LDFLAGS"
53823 if test x$gcc_no_link = xyes; then
53824 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53825 fi
53826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53827 /* end confdefs.h. */
53828 int main() { return 0; }
53829 _ACEOF
53830 if ac_fn_c_try_link "$LINENO"; then :
53831 if test "$cross_compiling" = yes; then :
53832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53834 as_fn_error $? "cannot run test program while cross compiling
53835 See \`config.log' for more details" "$LINENO" 5; }
53836 else
53837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53838 /* end confdefs.h. */
53839 __thread int a; int b; int main() { return a = b; }
53840 _ACEOF
53841 if ac_fn_c_try_run "$LINENO"; then :
53842 gcc_cv_have_tls=yes
53843 else
53844 gcc_cv_have_tls=no
53845 fi
53846 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53847 conftest.$ac_objext conftest.beam conftest.$ac_ext
53848 fi
53849
53850 else
53851 gcc_cv_have_tls=yes
53852 fi
53853 rm -f core conftest.err conftest.$ac_objext \
53854 conftest$ac_exeext conftest.$ac_ext
53855 LDFLAGS="$chktls_save_LDFLAGS"
53856 if test $gcc_cv_have_tls = yes; then
53857 chktls_save_CFLAGS="$CFLAGS"
53858 thread_CFLAGS=failed
53859 for flag in '' '-pthread' '-lpthread'; do
53860 CFLAGS="$flag $chktls_save_CFLAGS"
53861 if test x$gcc_no_link = xyes; then
53862 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53863 fi
53864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53865 /* end confdefs.h. */
53866 #include <pthread.h>
53867 void *g(void *d) { return NULL; }
53868 int
53869 main ()
53870 {
53871 pthread_t t; pthread_create(&t,NULL,g,NULL);
53872 ;
53873 return 0;
53874 }
53875 _ACEOF
53876 if ac_fn_c_try_link "$LINENO"; then :
53877 thread_CFLAGS="$flag"
53878 fi
53879 rm -f core conftest.err conftest.$ac_objext \
53880 conftest$ac_exeext conftest.$ac_ext
53881 if test "X$thread_CFLAGS" != Xfailed; then
53882 break
53883 fi
53884 done
53885 CFLAGS="$chktls_save_CFLAGS"
53886 if test "X$thread_CFLAGS" != Xfailed; then
53887 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53888 if test "$cross_compiling" = yes; then :
53889 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53891 as_fn_error $? "cannot run test program while cross compiling
53892 See \`config.log' for more details" "$LINENO" 5; }
53893 else
53894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53895 /* end confdefs.h. */
53896 #include <pthread.h>
53897 __thread int a;
53898 static int *volatile a_in_other_thread;
53899 static void *
53900 thread_func (void *arg)
53901 {
53902 a_in_other_thread = &a;
53903 return (void *)0;
53904 }
53905 int
53906 main ()
53907 {
53908 pthread_t thread;
53909 void *thread_retval;
53910 int *volatile a_in_main_thread;
53911 a_in_main_thread = &a;
53912 if (pthread_create (&thread, (pthread_attr_t *)0,
53913 thread_func, (void *)0))
53914 return 0;
53915 if (pthread_join (thread, &thread_retval))
53916 return 0;
53917 return (a_in_other_thread == a_in_main_thread);
53918 ;
53919 return 0;
53920 }
53921 _ACEOF
53922 if ac_fn_c_try_run "$LINENO"; then :
53923 gcc_cv_have_tls=yes
53924 else
53925 gcc_cv_have_tls=no
53926 fi
53927 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53928 conftest.$ac_objext conftest.beam conftest.$ac_ext
53929 fi
53930
53931 CFLAGS="$chktls_save_CFLAGS"
53932 fi
53933 fi
53934 else
53935 gcc_cv_have_tls=no
53936 fi
53937 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53938 conftest.$ac_objext conftest.beam conftest.$ac_ext
53939 fi
53940
53941 fi
53942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53943 $as_echo "$gcc_cv_have_tls" >&6; }
53944 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53945
53946 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53947
53948 fi
53949 case "$target" in
53950 *-hpux10*)
53951 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53952
53953 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53954
53955 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53956
53957 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53958
53959 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53960
53961 ;;
53962 esac
53963 ;;
53964 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
53965
53966 # All these tests are for C++; save the language and the compiler flags.
53967 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53968 # found in GLIBCXX_CONFIGURE.
53969
53970 ac_ext=cpp
53971 ac_cpp='$CXXCPP $CPPFLAGS'
53972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53975
53976 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53977 ac_save_CXXFLAGS="$CXXFLAGS"
53978
53979 # Check for -ffunction-sections -fdata-sections
53980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53981 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53982 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53984 /* end confdefs.h. */
53985 int foo; void bar() { };
53986 int
53987 main ()
53988 {
53989
53990 ;
53991 return 0;
53992 }
53993 _ACEOF
53994 if ac_fn_cxx_try_compile "$LINENO"; then :
53995 ac_fdsections=yes
53996 else
53997 ac_fdsections=no
53998 fi
53999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54000 if test "$ac_test_CXXFLAGS" = set; then
54001 CXXFLAGS="$ac_save_CXXFLAGS"
54002 else
54003 # this is the suspicious part
54004 CXXFLAGS=''
54005 fi
54006 if test x"$ac_fdsections" = x"yes"; then
54007 SECTION_FLAGS='-ffunction-sections -fdata-sections'
54008 fi
54009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
54010 $as_echo "$ac_fdsections" >&6; }
54011
54012 ac_ext=c
54013 ac_cpp='$CPP $CPPFLAGS'
54014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54017
54018
54019
54020
54021 # If we're not using GNU ld, then there's no point in even trying these
54022 # tests. Check for that first. We should have already tested for gld
54023 # by now (in libtool), but require it now just to be safe...
54024 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54025 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54026
54027
54028
54029 # The name set by libtool depends on the version of libtool. Shame on us
54030 # for depending on an impl detail, but c'est la vie. Older versions used
54031 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54032 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54033 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54034 # set (hence we're using an older libtool), then set it.
54035 if test x${with_gnu_ld+set} != xset; then
54036 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54037 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54038 with_gnu_ld=no
54039 else
54040 with_gnu_ld=$ac_cv_prog_gnu_ld
54041 fi
54042 fi
54043
54044 # Start by getting the version number. I think the libtool test already
54045 # does some of this, but throws away the result.
54046 glibcxx_ld_is_gold=no
54047 if test x"$with_gnu_ld" = x"yes"; then
54048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54049 $as_echo_n "checking for ld version... " >&6; }
54050
54051 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54052 glibcxx_ld_is_gold=yes
54053 fi
54054 ldver=`$LD --version 2>/dev/null |
54055 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'`
54056
54057 glibcxx_gnu_ld_version=`echo $ldver | \
54058 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54060 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54061 fi
54062
54063 # Set --gc-sections.
54064 glibcxx_have_gc_sections=no
54065 if test "$glibcxx_ld_is_gold" = "yes"; then
54066 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54067 glibcxx_have_gc_sections=yes
54068 fi
54069 else
54070 glibcxx_gcsections_min_ld=21602
54071 if test x"$with_gnu_ld" = x"yes" &&
54072 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54073 glibcxx_have_gc_sections=yes
54074 fi
54075 fi
54076 if test "$glibcxx_have_gc_sections" = "yes"; then
54077 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54078 # NB: This flag only works reliably after 2.16.1. Configure tests
54079 # for this are difficult, so hard wire a value that should work.
54080
54081 ac_test_CFLAGS="${CFLAGS+set}"
54082 ac_save_CFLAGS="$CFLAGS"
54083 CFLAGS='-Wl,--gc-sections'
54084
54085 # Check for -Wl,--gc-sections
54086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54087 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54088 if test x$gcc_no_link = xyes; then
54089 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54090 fi
54091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54092 /* end confdefs.h. */
54093 int one(void) { return 1; }
54094 int two(void) { return 2; }
54095
54096 int
54097 main ()
54098 {
54099 two();
54100 ;
54101 return 0;
54102 }
54103 _ACEOF
54104 if ac_fn_c_try_link "$LINENO"; then :
54105 ac_gcsections=yes
54106 else
54107 ac_gcsections=no
54108 fi
54109 rm -f core conftest.err conftest.$ac_objext \
54110 conftest$ac_exeext conftest.$ac_ext
54111 if test "$ac_gcsections" = "yes"; then
54112 rm -f conftest.c
54113 touch conftest.c
54114 if $CC -c conftest.c; then
54115 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54116 grep "Warning: gc-sections option ignored" > /dev/null; then
54117 ac_gcsections=no
54118 fi
54119 fi
54120 rm -f conftest.c conftest.o conftest
54121 fi
54122 if test "$ac_gcsections" = "yes"; then
54123 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54124 fi
54125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54126 $as_echo "$ac_gcsections" >&6; }
54127
54128 if test "$ac_test_CFLAGS" = set; then
54129 CFLAGS="$ac_save_CFLAGS"
54130 else
54131 # this is the suspicious part
54132 CFLAGS=''
54133 fi
54134 fi
54135
54136 # Set -z,relro.
54137 # Note this is only for shared objects.
54138 ac_ld_relro=no
54139 if test x"$with_gnu_ld" = x"yes"; then
54140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54141 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54142 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54143 if test -n "$cxx_z_relo"; then
54144 OPT_LDFLAGS="-Wl,-z,relro"
54145 ac_ld_relro=yes
54146 fi
54147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54148 $as_echo "$ac_ld_relro" >&6; }
54149 fi
54150
54151 # Set linker optimization flags.
54152 if test x"$with_gnu_ld" = x"yes"; then
54153 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54154 fi
54155
54156
54157
54158
54159
54160 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54161 ac_save_CXXFLAGS="$CXXFLAGS"
54162 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54163
54164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54165 $as_echo_n "checking for sin in -lm... " >&6; }
54166 if ${ac_cv_lib_m_sin+:} false; then :
54167 $as_echo_n "(cached) " >&6
54168 else
54169 ac_check_lib_save_LIBS=$LIBS
54170 LIBS="-lm $LIBS"
54171 if test x$gcc_no_link = xyes; then
54172 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54173 fi
54174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54175 /* end confdefs.h. */
54176
54177 /* Override any GCC internal prototype to avoid an error.
54178 Use char because int might match the return type of a GCC
54179 builtin and then its argument prototype would still apply. */
54180 #ifdef __cplusplus
54181 extern "C"
54182 #endif
54183 char sin ();
54184 int
54185 main ()
54186 {
54187 return sin ();
54188 ;
54189 return 0;
54190 }
54191 _ACEOF
54192 if ac_fn_c_try_link "$LINENO"; then :
54193 ac_cv_lib_m_sin=yes
54194 else
54195 ac_cv_lib_m_sin=no
54196 fi
54197 rm -f core conftest.err conftest.$ac_objext \
54198 conftest$ac_exeext conftest.$ac_ext
54199 LIBS=$ac_check_lib_save_LIBS
54200 fi
54201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54202 $as_echo "$ac_cv_lib_m_sin" >&6; }
54203 if test "x$ac_cv_lib_m_sin" = xyes; then :
54204 libm="-lm"
54205 fi
54206
54207 ac_save_LIBS="$LIBS"
54208 LIBS="$LIBS $libm"
54209
54210
54211
54212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54213 $as_echo_n "checking for isinf declaration... " >&6; }
54214 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54215 if ${glibcxx_cv_func_isinf_use+:} false; then :
54216 $as_echo_n "(cached) " >&6
54217 else
54218
54219
54220 ac_ext=cpp
54221 ac_cpp='$CXXCPP $CPPFLAGS'
54222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54225
54226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54227 /* end confdefs.h. */
54228 #include <math.h>
54229 #ifdef HAVE_IEEEFP_H
54230 #include <ieeefp.h>
54231 #endif
54232
54233 int
54234 main ()
54235 {
54236 isinf(0);
54237 ;
54238 return 0;
54239 }
54240 _ACEOF
54241 if ac_fn_cxx_try_compile "$LINENO"; then :
54242 glibcxx_cv_func_isinf_use=yes
54243 else
54244 glibcxx_cv_func_isinf_use=no
54245 fi
54246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54247 ac_ext=c
54248 ac_cpp='$CPP $CPPFLAGS'
54249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54252
54253
54254 fi
54255
54256 fi
54257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54258 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54259
54260 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54261 for ac_func in isinf
54262 do :
54263 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54264 if test "x$ac_cv_func_isinf" = xyes; then :
54265 cat >>confdefs.h <<_ACEOF
54266 #define HAVE_ISINF 1
54267 _ACEOF
54268
54269 fi
54270 done
54271
54272 else
54273
54274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54275 $as_echo_n "checking for _isinf declaration... " >&6; }
54276 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54277 if ${glibcxx_cv_func__isinf_use+:} false; then :
54278 $as_echo_n "(cached) " >&6
54279 else
54280
54281
54282 ac_ext=cpp
54283 ac_cpp='$CXXCPP $CPPFLAGS'
54284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54287
54288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54289 /* end confdefs.h. */
54290 #include <math.h>
54291 #ifdef HAVE_IEEEFP_H
54292 #include <ieeefp.h>
54293 #endif
54294
54295 int
54296 main ()
54297 {
54298 _isinf(0);
54299 ;
54300 return 0;
54301 }
54302 _ACEOF
54303 if ac_fn_cxx_try_compile "$LINENO"; then :
54304 glibcxx_cv_func__isinf_use=yes
54305 else
54306 glibcxx_cv_func__isinf_use=no
54307 fi
54308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54309 ac_ext=c
54310 ac_cpp='$CPP $CPPFLAGS'
54311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54314
54315
54316 fi
54317
54318 fi
54319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54320 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54321
54322 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54323 for ac_func in _isinf
54324 do :
54325 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54326 if test "x$ac_cv_func__isinf" = xyes; then :
54327 cat >>confdefs.h <<_ACEOF
54328 #define HAVE__ISINF 1
54329 _ACEOF
54330
54331 fi
54332 done
54333
54334 fi
54335 fi
54336
54337
54338
54339
54340
54341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54342 $as_echo_n "checking for isnan declaration... " >&6; }
54343 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54344 if ${glibcxx_cv_func_isnan_use+:} false; then :
54345 $as_echo_n "(cached) " >&6
54346 else
54347
54348
54349 ac_ext=cpp
54350 ac_cpp='$CXXCPP $CPPFLAGS'
54351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54354
54355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54356 /* end confdefs.h. */
54357 #include <math.h>
54358 #ifdef HAVE_IEEEFP_H
54359 #include <ieeefp.h>
54360 #endif
54361
54362 int
54363 main ()
54364 {
54365 isnan(0);
54366 ;
54367 return 0;
54368 }
54369 _ACEOF
54370 if ac_fn_cxx_try_compile "$LINENO"; then :
54371 glibcxx_cv_func_isnan_use=yes
54372 else
54373 glibcxx_cv_func_isnan_use=no
54374 fi
54375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54376 ac_ext=c
54377 ac_cpp='$CPP $CPPFLAGS'
54378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54381
54382
54383 fi
54384
54385 fi
54386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54387 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54388
54389 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54390 for ac_func in isnan
54391 do :
54392 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54393 if test "x$ac_cv_func_isnan" = xyes; then :
54394 cat >>confdefs.h <<_ACEOF
54395 #define HAVE_ISNAN 1
54396 _ACEOF
54397
54398 fi
54399 done
54400
54401 else
54402
54403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54404 $as_echo_n "checking for _isnan declaration... " >&6; }
54405 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54406 if ${glibcxx_cv_func__isnan_use+:} false; then :
54407 $as_echo_n "(cached) " >&6
54408 else
54409
54410
54411 ac_ext=cpp
54412 ac_cpp='$CXXCPP $CPPFLAGS'
54413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54416
54417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54418 /* end confdefs.h. */
54419 #include <math.h>
54420 #ifdef HAVE_IEEEFP_H
54421 #include <ieeefp.h>
54422 #endif
54423
54424 int
54425 main ()
54426 {
54427 _isnan(0);
54428 ;
54429 return 0;
54430 }
54431 _ACEOF
54432 if ac_fn_cxx_try_compile "$LINENO"; then :
54433 glibcxx_cv_func__isnan_use=yes
54434 else
54435 glibcxx_cv_func__isnan_use=no
54436 fi
54437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54438 ac_ext=c
54439 ac_cpp='$CPP $CPPFLAGS'
54440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54443
54444
54445 fi
54446
54447 fi
54448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54449 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54450
54451 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54452 for ac_func in _isnan
54453 do :
54454 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54455 if test "x$ac_cv_func__isnan" = xyes; then :
54456 cat >>confdefs.h <<_ACEOF
54457 #define HAVE__ISNAN 1
54458 _ACEOF
54459
54460 fi
54461 done
54462
54463 fi
54464 fi
54465
54466
54467
54468
54469
54470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54471 $as_echo_n "checking for finite declaration... " >&6; }
54472 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54473 if ${glibcxx_cv_func_finite_use+:} false; then :
54474 $as_echo_n "(cached) " >&6
54475 else
54476
54477
54478 ac_ext=cpp
54479 ac_cpp='$CXXCPP $CPPFLAGS'
54480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54483
54484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54485 /* end confdefs.h. */
54486 #include <math.h>
54487 #ifdef HAVE_IEEEFP_H
54488 #include <ieeefp.h>
54489 #endif
54490
54491 int
54492 main ()
54493 {
54494 finite(0);
54495 ;
54496 return 0;
54497 }
54498 _ACEOF
54499 if ac_fn_cxx_try_compile "$LINENO"; then :
54500 glibcxx_cv_func_finite_use=yes
54501 else
54502 glibcxx_cv_func_finite_use=no
54503 fi
54504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54505 ac_ext=c
54506 ac_cpp='$CPP $CPPFLAGS'
54507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54510
54511
54512 fi
54513
54514 fi
54515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54516 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54517
54518 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54519 for ac_func in finite
54520 do :
54521 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54522 if test "x$ac_cv_func_finite" = xyes; then :
54523 cat >>confdefs.h <<_ACEOF
54524 #define HAVE_FINITE 1
54525 _ACEOF
54526
54527 fi
54528 done
54529
54530 else
54531
54532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54533 $as_echo_n "checking for _finite declaration... " >&6; }
54534 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54535 if ${glibcxx_cv_func__finite_use+:} false; then :
54536 $as_echo_n "(cached) " >&6
54537 else
54538
54539
54540 ac_ext=cpp
54541 ac_cpp='$CXXCPP $CPPFLAGS'
54542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54545
54546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54547 /* end confdefs.h. */
54548 #include <math.h>
54549 #ifdef HAVE_IEEEFP_H
54550 #include <ieeefp.h>
54551 #endif
54552
54553 int
54554 main ()
54555 {
54556 _finite(0);
54557 ;
54558 return 0;
54559 }
54560 _ACEOF
54561 if ac_fn_cxx_try_compile "$LINENO"; then :
54562 glibcxx_cv_func__finite_use=yes
54563 else
54564 glibcxx_cv_func__finite_use=no
54565 fi
54566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54567 ac_ext=c
54568 ac_cpp='$CPP $CPPFLAGS'
54569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54572
54573
54574 fi
54575
54576 fi
54577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54578 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54579
54580 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54581 for ac_func in _finite
54582 do :
54583 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54584 if test "x$ac_cv_func__finite" = xyes; then :
54585 cat >>confdefs.h <<_ACEOF
54586 #define HAVE__FINITE 1
54587 _ACEOF
54588
54589 fi
54590 done
54591
54592 fi
54593 fi
54594
54595
54596
54597
54598
54599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54600 $as_echo_n "checking for sincos declaration... " >&6; }
54601 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54602 if ${glibcxx_cv_func_sincos_use+:} false; then :
54603 $as_echo_n "(cached) " >&6
54604 else
54605
54606
54607 ac_ext=cpp
54608 ac_cpp='$CXXCPP $CPPFLAGS'
54609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54612
54613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54614 /* end confdefs.h. */
54615 #include <math.h>
54616 int
54617 main ()
54618 {
54619 sincos(0, 0, 0);
54620 ;
54621 return 0;
54622 }
54623 _ACEOF
54624 if ac_fn_cxx_try_compile "$LINENO"; then :
54625 glibcxx_cv_func_sincos_use=yes
54626 else
54627 glibcxx_cv_func_sincos_use=no
54628 fi
54629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54630 ac_ext=c
54631 ac_cpp='$CPP $CPPFLAGS'
54632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54635
54636
54637 fi
54638
54639 fi
54640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54641 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54642
54643 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54644 for ac_func in sincos
54645 do :
54646 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54647 if test "x$ac_cv_func_sincos" = xyes; then :
54648 cat >>confdefs.h <<_ACEOF
54649 #define HAVE_SINCOS 1
54650 _ACEOF
54651
54652 fi
54653 done
54654
54655 else
54656
54657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54658 $as_echo_n "checking for _sincos declaration... " >&6; }
54659 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54660 if ${glibcxx_cv_func__sincos_use+:} false; then :
54661 $as_echo_n "(cached) " >&6
54662 else
54663
54664
54665 ac_ext=cpp
54666 ac_cpp='$CXXCPP $CPPFLAGS'
54667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54670
54671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54672 /* end confdefs.h. */
54673 #include <math.h>
54674 int
54675 main ()
54676 {
54677 _sincos(0, 0, 0);
54678 ;
54679 return 0;
54680 }
54681 _ACEOF
54682 if ac_fn_cxx_try_compile "$LINENO"; then :
54683 glibcxx_cv_func__sincos_use=yes
54684 else
54685 glibcxx_cv_func__sincos_use=no
54686 fi
54687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54688 ac_ext=c
54689 ac_cpp='$CPP $CPPFLAGS'
54690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54693
54694
54695 fi
54696
54697 fi
54698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54699 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54700
54701 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54702 for ac_func in _sincos
54703 do :
54704 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54705 if test "x$ac_cv_func__sincos" = xyes; then :
54706 cat >>confdefs.h <<_ACEOF
54707 #define HAVE__SINCOS 1
54708 _ACEOF
54709
54710 fi
54711 done
54712
54713 fi
54714 fi
54715
54716
54717
54718
54719
54720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54721 $as_echo_n "checking for fpclass declaration... " >&6; }
54722 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54723 if ${glibcxx_cv_func_fpclass_use+:} false; then :
54724 $as_echo_n "(cached) " >&6
54725 else
54726
54727
54728 ac_ext=cpp
54729 ac_cpp='$CXXCPP $CPPFLAGS'
54730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54733
54734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54735 /* end confdefs.h. */
54736 #include <math.h>
54737 #ifdef HAVE_IEEEFP_H
54738 #include <ieeefp.h>
54739 #endif
54740
54741 int
54742 main ()
54743 {
54744 fpclass(0);
54745 ;
54746 return 0;
54747 }
54748 _ACEOF
54749 if ac_fn_cxx_try_compile "$LINENO"; then :
54750 glibcxx_cv_func_fpclass_use=yes
54751 else
54752 glibcxx_cv_func_fpclass_use=no
54753 fi
54754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54755 ac_ext=c
54756 ac_cpp='$CPP $CPPFLAGS'
54757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54760
54761
54762 fi
54763
54764 fi
54765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54766 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54767
54768 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54769 for ac_func in fpclass
54770 do :
54771 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54772 if test "x$ac_cv_func_fpclass" = xyes; then :
54773 cat >>confdefs.h <<_ACEOF
54774 #define HAVE_FPCLASS 1
54775 _ACEOF
54776
54777 fi
54778 done
54779
54780 else
54781
54782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54783 $as_echo_n "checking for _fpclass declaration... " >&6; }
54784 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54785 if ${glibcxx_cv_func__fpclass_use+:} false; then :
54786 $as_echo_n "(cached) " >&6
54787 else
54788
54789
54790 ac_ext=cpp
54791 ac_cpp='$CXXCPP $CPPFLAGS'
54792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54795
54796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54797 /* end confdefs.h. */
54798 #include <math.h>
54799 #ifdef HAVE_IEEEFP_H
54800 #include <ieeefp.h>
54801 #endif
54802
54803 int
54804 main ()
54805 {
54806 _fpclass(0);
54807 ;
54808 return 0;
54809 }
54810 _ACEOF
54811 if ac_fn_cxx_try_compile "$LINENO"; then :
54812 glibcxx_cv_func__fpclass_use=yes
54813 else
54814 glibcxx_cv_func__fpclass_use=no
54815 fi
54816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54817 ac_ext=c
54818 ac_cpp='$CPP $CPPFLAGS'
54819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54822
54823
54824 fi
54825
54826 fi
54827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54828 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54829
54830 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54831 for ac_func in _fpclass
54832 do :
54833 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54834 if test "x$ac_cv_func__fpclass" = xyes; then :
54835 cat >>confdefs.h <<_ACEOF
54836 #define HAVE__FPCLASS 1
54837 _ACEOF
54838
54839 fi
54840 done
54841
54842 fi
54843 fi
54844
54845
54846
54847
54848
54849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54850 $as_echo_n "checking for qfpclass declaration... " >&6; }
54851 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54852 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
54853 $as_echo_n "(cached) " >&6
54854 else
54855
54856
54857 ac_ext=cpp
54858 ac_cpp='$CXXCPP $CPPFLAGS'
54859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54862
54863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54864 /* end confdefs.h. */
54865 #include <math.h>
54866 #ifdef HAVE_IEEEFP_H
54867 #include <ieeefp.h>
54868 #endif
54869
54870 int
54871 main ()
54872 {
54873 qfpclass(0);
54874 ;
54875 return 0;
54876 }
54877 _ACEOF
54878 if ac_fn_cxx_try_compile "$LINENO"; then :
54879 glibcxx_cv_func_qfpclass_use=yes
54880 else
54881 glibcxx_cv_func_qfpclass_use=no
54882 fi
54883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54884 ac_ext=c
54885 ac_cpp='$CPP $CPPFLAGS'
54886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54889
54890
54891 fi
54892
54893 fi
54894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54895 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54896
54897 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54898 for ac_func in qfpclass
54899 do :
54900 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54901 if test "x$ac_cv_func_qfpclass" = xyes; then :
54902 cat >>confdefs.h <<_ACEOF
54903 #define HAVE_QFPCLASS 1
54904 _ACEOF
54905
54906 fi
54907 done
54908
54909 else
54910
54911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54912 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54913 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54914 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
54915 $as_echo_n "(cached) " >&6
54916 else
54917
54918
54919 ac_ext=cpp
54920 ac_cpp='$CXXCPP $CPPFLAGS'
54921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54924
54925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54926 /* end confdefs.h. */
54927 #include <math.h>
54928 #ifdef HAVE_IEEEFP_H
54929 #include <ieeefp.h>
54930 #endif
54931
54932 int
54933 main ()
54934 {
54935 _qfpclass(0);
54936 ;
54937 return 0;
54938 }
54939 _ACEOF
54940 if ac_fn_cxx_try_compile "$LINENO"; then :
54941 glibcxx_cv_func__qfpclass_use=yes
54942 else
54943 glibcxx_cv_func__qfpclass_use=no
54944 fi
54945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54946 ac_ext=c
54947 ac_cpp='$CPP $CPPFLAGS'
54948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54951
54952
54953 fi
54954
54955 fi
54956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54957 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54958
54959 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54960 for ac_func in _qfpclass
54961 do :
54962 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54963 if test "x$ac_cv_func__qfpclass" = xyes; then :
54964 cat >>confdefs.h <<_ACEOF
54965 #define HAVE__QFPCLASS 1
54966 _ACEOF
54967
54968 fi
54969 done
54970
54971 fi
54972 fi
54973
54974
54975
54976
54977
54978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54979 $as_echo_n "checking for hypot declaration... " >&6; }
54980 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54981 if ${glibcxx_cv_func_hypot_use+:} false; then :
54982 $as_echo_n "(cached) " >&6
54983 else
54984
54985
54986 ac_ext=cpp
54987 ac_cpp='$CXXCPP $CPPFLAGS'
54988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54991
54992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54993 /* end confdefs.h. */
54994 #include <math.h>
54995 int
54996 main ()
54997 {
54998 hypot(0, 0);
54999 ;
55000 return 0;
55001 }
55002 _ACEOF
55003 if ac_fn_cxx_try_compile "$LINENO"; then :
55004 glibcxx_cv_func_hypot_use=yes
55005 else
55006 glibcxx_cv_func_hypot_use=no
55007 fi
55008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55009 ac_ext=c
55010 ac_cpp='$CPP $CPPFLAGS'
55011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55014
55015
55016 fi
55017
55018 fi
55019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55020 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55021
55022 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55023 for ac_func in hypot
55024 do :
55025 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55026 if test "x$ac_cv_func_hypot" = xyes; then :
55027 cat >>confdefs.h <<_ACEOF
55028 #define HAVE_HYPOT 1
55029 _ACEOF
55030
55031 fi
55032 done
55033
55034 else
55035
55036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55037 $as_echo_n "checking for _hypot declaration... " >&6; }
55038 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55039 if ${glibcxx_cv_func__hypot_use+:} false; then :
55040 $as_echo_n "(cached) " >&6
55041 else
55042
55043
55044 ac_ext=cpp
55045 ac_cpp='$CXXCPP $CPPFLAGS'
55046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55049
55050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55051 /* end confdefs.h. */
55052 #include <math.h>
55053 int
55054 main ()
55055 {
55056 _hypot(0, 0);
55057 ;
55058 return 0;
55059 }
55060 _ACEOF
55061 if ac_fn_cxx_try_compile "$LINENO"; then :
55062 glibcxx_cv_func__hypot_use=yes
55063 else
55064 glibcxx_cv_func__hypot_use=no
55065 fi
55066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55067 ac_ext=c
55068 ac_cpp='$CPP $CPPFLAGS'
55069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55072
55073
55074 fi
55075
55076 fi
55077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55078 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55079
55080 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55081 for ac_func in _hypot
55082 do :
55083 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55084 if test "x$ac_cv_func__hypot" = xyes; then :
55085 cat >>confdefs.h <<_ACEOF
55086 #define HAVE__HYPOT 1
55087 _ACEOF
55088
55089 fi
55090 done
55091
55092 fi
55093 fi
55094
55095
55096
55097
55098
55099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55100 $as_echo_n "checking for float trig functions... " >&6; }
55101 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55102 $as_echo_n "(cached) " >&6
55103 else
55104
55105
55106 ac_ext=cpp
55107 ac_cpp='$CXXCPP $CPPFLAGS'
55108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55111
55112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55113 /* end confdefs.h. */
55114 #include <math.h>
55115 int
55116 main ()
55117 {
55118 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55119 ;
55120 return 0;
55121 }
55122 _ACEOF
55123 if ac_fn_cxx_try_compile "$LINENO"; then :
55124 glibcxx_cv_func_float_trig_use=yes
55125 else
55126 glibcxx_cv_func_float_trig_use=no
55127 fi
55128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55129 ac_ext=c
55130 ac_cpp='$CPP $CPPFLAGS'
55131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55134
55135 fi
55136
55137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55138 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55139 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55140 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55141 do :
55142 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55143 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55144 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55145 cat >>confdefs.h <<_ACEOF
55146 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55147 _ACEOF
55148
55149 fi
55150 done
55151
55152 else
55153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55154 $as_echo_n "checking for _float trig functions... " >&6; }
55155 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55156 $as_echo_n "(cached) " >&6
55157 else
55158
55159
55160 ac_ext=cpp
55161 ac_cpp='$CXXCPP $CPPFLAGS'
55162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55165
55166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55167 /* end confdefs.h. */
55168 #include <math.h>
55169 int
55170 main ()
55171 {
55172 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55173 ;
55174 return 0;
55175 }
55176 _ACEOF
55177 if ac_fn_cxx_try_compile "$LINENO"; then :
55178 glibcxx_cv_func__float_trig_use=yes
55179 else
55180 glibcxx_cv_func__float_trig_use=no
55181 fi
55182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55183 ac_ext=c
55184 ac_cpp='$CPP $CPPFLAGS'
55185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55188
55189 fi
55190
55191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55192 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55193 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55194 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55195 do :
55196 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55197 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55198 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55199 cat >>confdefs.h <<_ACEOF
55200 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55201 _ACEOF
55202
55203 fi
55204 done
55205
55206 fi
55207 fi
55208
55209
55210
55211
55212
55213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55214 $as_echo_n "checking for float round functions... " >&6; }
55215 if ${glibcxx_cv_func_float_round_use+:} false; then :
55216 $as_echo_n "(cached) " >&6
55217 else
55218
55219
55220 ac_ext=cpp
55221 ac_cpp='$CXXCPP $CPPFLAGS'
55222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55225
55226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55227 /* end confdefs.h. */
55228 #include <math.h>
55229 int
55230 main ()
55231 {
55232 ceilf (0); floorf (0);
55233 ;
55234 return 0;
55235 }
55236 _ACEOF
55237 if ac_fn_cxx_try_compile "$LINENO"; then :
55238 glibcxx_cv_func_float_round_use=yes
55239 else
55240 glibcxx_cv_func_float_round_use=no
55241 fi
55242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55243 ac_ext=c
55244 ac_cpp='$CPP $CPPFLAGS'
55245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55248
55249 fi
55250
55251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55252 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55253 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55254 for ac_func in ceilf floorf
55255 do :
55256 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55257 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55258 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55259 cat >>confdefs.h <<_ACEOF
55260 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55261 _ACEOF
55262
55263 fi
55264 done
55265
55266 else
55267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55268 $as_echo_n "checking for _float round functions... " >&6; }
55269 if ${glibcxx_cv_func__float_round_use+:} false; then :
55270 $as_echo_n "(cached) " >&6
55271 else
55272
55273
55274 ac_ext=cpp
55275 ac_cpp='$CXXCPP $CPPFLAGS'
55276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55279
55280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55281 /* end confdefs.h. */
55282 #include <math.h>
55283 int
55284 main ()
55285 {
55286 _ceilf (0); _floorf (0);
55287 ;
55288 return 0;
55289 }
55290 _ACEOF
55291 if ac_fn_cxx_try_compile "$LINENO"; then :
55292 glibcxx_cv_func__float_round_use=yes
55293 else
55294 glibcxx_cv_func__float_round_use=no
55295 fi
55296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55297 ac_ext=c
55298 ac_cpp='$CPP $CPPFLAGS'
55299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55302
55303 fi
55304
55305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55306 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55307 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55308 for ac_func in _ceilf _floorf
55309 do :
55310 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55311 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55312 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55313 cat >>confdefs.h <<_ACEOF
55314 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55315 _ACEOF
55316
55317 fi
55318 done
55319
55320 fi
55321 fi
55322
55323
55324
55325
55326
55327
55328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55329 $as_echo_n "checking for expf declaration... " >&6; }
55330 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55331 if ${glibcxx_cv_func_expf_use+:} false; then :
55332 $as_echo_n "(cached) " >&6
55333 else
55334
55335
55336 ac_ext=cpp
55337 ac_cpp='$CXXCPP $CPPFLAGS'
55338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55341
55342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55343 /* end confdefs.h. */
55344 #include <math.h>
55345 #ifdef HAVE_IEEEFP_H
55346 #include <ieeefp.h>
55347 #endif
55348
55349 int
55350 main ()
55351 {
55352 expf(0);
55353 ;
55354 return 0;
55355 }
55356 _ACEOF
55357 if ac_fn_cxx_try_compile "$LINENO"; then :
55358 glibcxx_cv_func_expf_use=yes
55359 else
55360 glibcxx_cv_func_expf_use=no
55361 fi
55362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55363 ac_ext=c
55364 ac_cpp='$CPP $CPPFLAGS'
55365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55368
55369
55370 fi
55371
55372 fi
55373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55374 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55375
55376 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55377 for ac_func in expf
55378 do :
55379 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55380 if test "x$ac_cv_func_expf" = xyes; then :
55381 cat >>confdefs.h <<_ACEOF
55382 #define HAVE_EXPF 1
55383 _ACEOF
55384
55385 fi
55386 done
55387
55388 else
55389
55390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55391 $as_echo_n "checking for _expf declaration... " >&6; }
55392 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55393 if ${glibcxx_cv_func__expf_use+:} false; then :
55394 $as_echo_n "(cached) " >&6
55395 else
55396
55397
55398 ac_ext=cpp
55399 ac_cpp='$CXXCPP $CPPFLAGS'
55400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55403
55404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55405 /* end confdefs.h. */
55406 #include <math.h>
55407 #ifdef HAVE_IEEEFP_H
55408 #include <ieeefp.h>
55409 #endif
55410
55411 int
55412 main ()
55413 {
55414 _expf(0);
55415 ;
55416 return 0;
55417 }
55418 _ACEOF
55419 if ac_fn_cxx_try_compile "$LINENO"; then :
55420 glibcxx_cv_func__expf_use=yes
55421 else
55422 glibcxx_cv_func__expf_use=no
55423 fi
55424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55425 ac_ext=c
55426 ac_cpp='$CPP $CPPFLAGS'
55427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55430
55431
55432 fi
55433
55434 fi
55435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55436 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55437
55438 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55439 for ac_func in _expf
55440 do :
55441 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55442 if test "x$ac_cv_func__expf" = xyes; then :
55443 cat >>confdefs.h <<_ACEOF
55444 #define HAVE__EXPF 1
55445 _ACEOF
55446
55447 fi
55448 done
55449
55450 fi
55451 fi
55452
55453
55454
55455
55456
55457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55458 $as_echo_n "checking for isnanf declaration... " >&6; }
55459 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55460 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55461 $as_echo_n "(cached) " >&6
55462 else
55463
55464
55465 ac_ext=cpp
55466 ac_cpp='$CXXCPP $CPPFLAGS'
55467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55470
55471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55472 /* end confdefs.h. */
55473 #include <math.h>
55474 #ifdef HAVE_IEEEFP_H
55475 #include <ieeefp.h>
55476 #endif
55477
55478 int
55479 main ()
55480 {
55481 isnanf(0);
55482 ;
55483 return 0;
55484 }
55485 _ACEOF
55486 if ac_fn_cxx_try_compile "$LINENO"; then :
55487 glibcxx_cv_func_isnanf_use=yes
55488 else
55489 glibcxx_cv_func_isnanf_use=no
55490 fi
55491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55492 ac_ext=c
55493 ac_cpp='$CPP $CPPFLAGS'
55494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55497
55498
55499 fi
55500
55501 fi
55502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55503 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55504
55505 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55506 for ac_func in isnanf
55507 do :
55508 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55509 if test "x$ac_cv_func_isnanf" = xyes; then :
55510 cat >>confdefs.h <<_ACEOF
55511 #define HAVE_ISNANF 1
55512 _ACEOF
55513
55514 fi
55515 done
55516
55517 else
55518
55519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55520 $as_echo_n "checking for _isnanf declaration... " >&6; }
55521 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55522 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55523 $as_echo_n "(cached) " >&6
55524 else
55525
55526
55527 ac_ext=cpp
55528 ac_cpp='$CXXCPP $CPPFLAGS'
55529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55532
55533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55534 /* end confdefs.h. */
55535 #include <math.h>
55536 #ifdef HAVE_IEEEFP_H
55537 #include <ieeefp.h>
55538 #endif
55539
55540 int
55541 main ()
55542 {
55543 _isnanf(0);
55544 ;
55545 return 0;
55546 }
55547 _ACEOF
55548 if ac_fn_cxx_try_compile "$LINENO"; then :
55549 glibcxx_cv_func__isnanf_use=yes
55550 else
55551 glibcxx_cv_func__isnanf_use=no
55552 fi
55553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55554 ac_ext=c
55555 ac_cpp='$CPP $CPPFLAGS'
55556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55559
55560
55561 fi
55562
55563 fi
55564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55565 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55566
55567 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55568 for ac_func in _isnanf
55569 do :
55570 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55571 if test "x$ac_cv_func__isnanf" = xyes; then :
55572 cat >>confdefs.h <<_ACEOF
55573 #define HAVE__ISNANF 1
55574 _ACEOF
55575
55576 fi
55577 done
55578
55579 fi
55580 fi
55581
55582
55583
55584
55585
55586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55587 $as_echo_n "checking for isinff declaration... " >&6; }
55588 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55589 if ${glibcxx_cv_func_isinff_use+:} false; then :
55590 $as_echo_n "(cached) " >&6
55591 else
55592
55593
55594 ac_ext=cpp
55595 ac_cpp='$CXXCPP $CPPFLAGS'
55596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55599
55600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55601 /* end confdefs.h. */
55602 #include <math.h>
55603 #ifdef HAVE_IEEEFP_H
55604 #include <ieeefp.h>
55605 #endif
55606
55607 int
55608 main ()
55609 {
55610 isinff(0);
55611 ;
55612 return 0;
55613 }
55614 _ACEOF
55615 if ac_fn_cxx_try_compile "$LINENO"; then :
55616 glibcxx_cv_func_isinff_use=yes
55617 else
55618 glibcxx_cv_func_isinff_use=no
55619 fi
55620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55621 ac_ext=c
55622 ac_cpp='$CPP $CPPFLAGS'
55623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55626
55627
55628 fi
55629
55630 fi
55631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55632 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55633
55634 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55635 for ac_func in isinff
55636 do :
55637 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55638 if test "x$ac_cv_func_isinff" = xyes; then :
55639 cat >>confdefs.h <<_ACEOF
55640 #define HAVE_ISINFF 1
55641 _ACEOF
55642
55643 fi
55644 done
55645
55646 else
55647
55648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55649 $as_echo_n "checking for _isinff declaration... " >&6; }
55650 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55651 if ${glibcxx_cv_func__isinff_use+:} false; then :
55652 $as_echo_n "(cached) " >&6
55653 else
55654
55655
55656 ac_ext=cpp
55657 ac_cpp='$CXXCPP $CPPFLAGS'
55658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55661
55662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55663 /* end confdefs.h. */
55664 #include <math.h>
55665 #ifdef HAVE_IEEEFP_H
55666 #include <ieeefp.h>
55667 #endif
55668
55669 int
55670 main ()
55671 {
55672 _isinff(0);
55673 ;
55674 return 0;
55675 }
55676 _ACEOF
55677 if ac_fn_cxx_try_compile "$LINENO"; then :
55678 glibcxx_cv_func__isinff_use=yes
55679 else
55680 glibcxx_cv_func__isinff_use=no
55681 fi
55682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55683 ac_ext=c
55684 ac_cpp='$CPP $CPPFLAGS'
55685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55688
55689
55690 fi
55691
55692 fi
55693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55694 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55695
55696 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55697 for ac_func in _isinff
55698 do :
55699 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55700 if test "x$ac_cv_func__isinff" = xyes; then :
55701 cat >>confdefs.h <<_ACEOF
55702 #define HAVE__ISINFF 1
55703 _ACEOF
55704
55705 fi
55706 done
55707
55708 fi
55709 fi
55710
55711
55712
55713
55714
55715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55716 $as_echo_n "checking for atan2f declaration... " >&6; }
55717 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55718 if ${glibcxx_cv_func_atan2f_use+:} false; then :
55719 $as_echo_n "(cached) " >&6
55720 else
55721
55722
55723 ac_ext=cpp
55724 ac_cpp='$CXXCPP $CPPFLAGS'
55725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55728
55729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55730 /* end confdefs.h. */
55731 #include <math.h>
55732 int
55733 main ()
55734 {
55735 atan2f(0, 0);
55736 ;
55737 return 0;
55738 }
55739 _ACEOF
55740 if ac_fn_cxx_try_compile "$LINENO"; then :
55741 glibcxx_cv_func_atan2f_use=yes
55742 else
55743 glibcxx_cv_func_atan2f_use=no
55744 fi
55745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55746 ac_ext=c
55747 ac_cpp='$CPP $CPPFLAGS'
55748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55751
55752
55753 fi
55754
55755 fi
55756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55757 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55758
55759 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55760 for ac_func in atan2f
55761 do :
55762 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55763 if test "x$ac_cv_func_atan2f" = xyes; then :
55764 cat >>confdefs.h <<_ACEOF
55765 #define HAVE_ATAN2F 1
55766 _ACEOF
55767
55768 fi
55769 done
55770
55771 else
55772
55773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55774 $as_echo_n "checking for _atan2f declaration... " >&6; }
55775 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55776 if ${glibcxx_cv_func__atan2f_use+:} false; then :
55777 $as_echo_n "(cached) " >&6
55778 else
55779
55780
55781 ac_ext=cpp
55782 ac_cpp='$CXXCPP $CPPFLAGS'
55783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55786
55787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55788 /* end confdefs.h. */
55789 #include <math.h>
55790 int
55791 main ()
55792 {
55793 _atan2f(0, 0);
55794 ;
55795 return 0;
55796 }
55797 _ACEOF
55798 if ac_fn_cxx_try_compile "$LINENO"; then :
55799 glibcxx_cv_func__atan2f_use=yes
55800 else
55801 glibcxx_cv_func__atan2f_use=no
55802 fi
55803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55804 ac_ext=c
55805 ac_cpp='$CPP $CPPFLAGS'
55806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55809
55810
55811 fi
55812
55813 fi
55814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55815 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55816
55817 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55818 for ac_func in _atan2f
55819 do :
55820 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55821 if test "x$ac_cv_func__atan2f" = xyes; then :
55822 cat >>confdefs.h <<_ACEOF
55823 #define HAVE__ATAN2F 1
55824 _ACEOF
55825
55826 fi
55827 done
55828
55829 fi
55830 fi
55831
55832
55833
55834
55835
55836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55837 $as_echo_n "checking for fabsf declaration... " >&6; }
55838 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55839 if ${glibcxx_cv_func_fabsf_use+:} false; then :
55840 $as_echo_n "(cached) " >&6
55841 else
55842
55843
55844 ac_ext=cpp
55845 ac_cpp='$CXXCPP $CPPFLAGS'
55846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55849
55850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55851 /* end confdefs.h. */
55852 #include <math.h>
55853 #ifdef HAVE_IEEEFP_H
55854 #include <ieeefp.h>
55855 #endif
55856
55857 int
55858 main ()
55859 {
55860 fabsf(0);
55861 ;
55862 return 0;
55863 }
55864 _ACEOF
55865 if ac_fn_cxx_try_compile "$LINENO"; then :
55866 glibcxx_cv_func_fabsf_use=yes
55867 else
55868 glibcxx_cv_func_fabsf_use=no
55869 fi
55870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55871 ac_ext=c
55872 ac_cpp='$CPP $CPPFLAGS'
55873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55876
55877
55878 fi
55879
55880 fi
55881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55882 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55883
55884 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55885 for ac_func in fabsf
55886 do :
55887 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55888 if test "x$ac_cv_func_fabsf" = xyes; then :
55889 cat >>confdefs.h <<_ACEOF
55890 #define HAVE_FABSF 1
55891 _ACEOF
55892
55893 fi
55894 done
55895
55896 else
55897
55898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55899 $as_echo_n "checking for _fabsf declaration... " >&6; }
55900 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55901 if ${glibcxx_cv_func__fabsf_use+:} false; then :
55902 $as_echo_n "(cached) " >&6
55903 else
55904
55905
55906 ac_ext=cpp
55907 ac_cpp='$CXXCPP $CPPFLAGS'
55908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55911
55912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55913 /* end confdefs.h. */
55914 #include <math.h>
55915 #ifdef HAVE_IEEEFP_H
55916 #include <ieeefp.h>
55917 #endif
55918
55919 int
55920 main ()
55921 {
55922 _fabsf(0);
55923 ;
55924 return 0;
55925 }
55926 _ACEOF
55927 if ac_fn_cxx_try_compile "$LINENO"; then :
55928 glibcxx_cv_func__fabsf_use=yes
55929 else
55930 glibcxx_cv_func__fabsf_use=no
55931 fi
55932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55933 ac_ext=c
55934 ac_cpp='$CPP $CPPFLAGS'
55935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55938
55939
55940 fi
55941
55942 fi
55943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55944 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55945
55946 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55947 for ac_func in _fabsf
55948 do :
55949 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55950 if test "x$ac_cv_func__fabsf" = xyes; then :
55951 cat >>confdefs.h <<_ACEOF
55952 #define HAVE__FABSF 1
55953 _ACEOF
55954
55955 fi
55956 done
55957
55958 fi
55959 fi
55960
55961
55962
55963
55964
55965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55966 $as_echo_n "checking for fmodf declaration... " >&6; }
55967 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55968 if ${glibcxx_cv_func_fmodf_use+:} false; then :
55969 $as_echo_n "(cached) " >&6
55970 else
55971
55972
55973 ac_ext=cpp
55974 ac_cpp='$CXXCPP $CPPFLAGS'
55975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55978
55979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55980 /* end confdefs.h. */
55981 #include <math.h>
55982 int
55983 main ()
55984 {
55985 fmodf(0, 0);
55986 ;
55987 return 0;
55988 }
55989 _ACEOF
55990 if ac_fn_cxx_try_compile "$LINENO"; then :
55991 glibcxx_cv_func_fmodf_use=yes
55992 else
55993 glibcxx_cv_func_fmodf_use=no
55994 fi
55995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55996 ac_ext=c
55997 ac_cpp='$CPP $CPPFLAGS'
55998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56001
56002
56003 fi
56004
56005 fi
56006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56007 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56008
56009 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56010 for ac_func in fmodf
56011 do :
56012 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56013 if test "x$ac_cv_func_fmodf" = xyes; then :
56014 cat >>confdefs.h <<_ACEOF
56015 #define HAVE_FMODF 1
56016 _ACEOF
56017
56018 fi
56019 done
56020
56021 else
56022
56023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56024 $as_echo_n "checking for _fmodf declaration... " >&6; }
56025 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56026 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56027 $as_echo_n "(cached) " >&6
56028 else
56029
56030
56031 ac_ext=cpp
56032 ac_cpp='$CXXCPP $CPPFLAGS'
56033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56036
56037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56038 /* end confdefs.h. */
56039 #include <math.h>
56040 int
56041 main ()
56042 {
56043 _fmodf(0, 0);
56044 ;
56045 return 0;
56046 }
56047 _ACEOF
56048 if ac_fn_cxx_try_compile "$LINENO"; then :
56049 glibcxx_cv_func__fmodf_use=yes
56050 else
56051 glibcxx_cv_func__fmodf_use=no
56052 fi
56053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56054 ac_ext=c
56055 ac_cpp='$CPP $CPPFLAGS'
56056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56059
56060
56061 fi
56062
56063 fi
56064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56065 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56066
56067 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56068 for ac_func in _fmodf
56069 do :
56070 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56071 if test "x$ac_cv_func__fmodf" = xyes; then :
56072 cat >>confdefs.h <<_ACEOF
56073 #define HAVE__FMODF 1
56074 _ACEOF
56075
56076 fi
56077 done
56078
56079 fi
56080 fi
56081
56082
56083
56084
56085
56086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56087 $as_echo_n "checking for frexpf declaration... " >&6; }
56088 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56089 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56090 $as_echo_n "(cached) " >&6
56091 else
56092
56093
56094 ac_ext=cpp
56095 ac_cpp='$CXXCPP $CPPFLAGS'
56096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56099
56100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56101 /* end confdefs.h. */
56102 #include <math.h>
56103 int
56104 main ()
56105 {
56106 frexpf(0, 0);
56107 ;
56108 return 0;
56109 }
56110 _ACEOF
56111 if ac_fn_cxx_try_compile "$LINENO"; then :
56112 glibcxx_cv_func_frexpf_use=yes
56113 else
56114 glibcxx_cv_func_frexpf_use=no
56115 fi
56116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56117 ac_ext=c
56118 ac_cpp='$CPP $CPPFLAGS'
56119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56122
56123
56124 fi
56125
56126 fi
56127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56128 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56129
56130 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56131 for ac_func in frexpf
56132 do :
56133 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56134 if test "x$ac_cv_func_frexpf" = xyes; then :
56135 cat >>confdefs.h <<_ACEOF
56136 #define HAVE_FREXPF 1
56137 _ACEOF
56138
56139 fi
56140 done
56141
56142 else
56143
56144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56145 $as_echo_n "checking for _frexpf declaration... " >&6; }
56146 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56147 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56148 $as_echo_n "(cached) " >&6
56149 else
56150
56151
56152 ac_ext=cpp
56153 ac_cpp='$CXXCPP $CPPFLAGS'
56154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56157
56158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56159 /* end confdefs.h. */
56160 #include <math.h>
56161 int
56162 main ()
56163 {
56164 _frexpf(0, 0);
56165 ;
56166 return 0;
56167 }
56168 _ACEOF
56169 if ac_fn_cxx_try_compile "$LINENO"; then :
56170 glibcxx_cv_func__frexpf_use=yes
56171 else
56172 glibcxx_cv_func__frexpf_use=no
56173 fi
56174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56175 ac_ext=c
56176 ac_cpp='$CPP $CPPFLAGS'
56177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56180
56181
56182 fi
56183
56184 fi
56185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56186 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56187
56188 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56189 for ac_func in _frexpf
56190 do :
56191 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56192 if test "x$ac_cv_func__frexpf" = xyes; then :
56193 cat >>confdefs.h <<_ACEOF
56194 #define HAVE__FREXPF 1
56195 _ACEOF
56196
56197 fi
56198 done
56199
56200 fi
56201 fi
56202
56203
56204
56205
56206
56207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56208 $as_echo_n "checking for hypotf declaration... " >&6; }
56209 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56210 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56211 $as_echo_n "(cached) " >&6
56212 else
56213
56214
56215 ac_ext=cpp
56216 ac_cpp='$CXXCPP $CPPFLAGS'
56217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56220
56221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56222 /* end confdefs.h. */
56223 #include <math.h>
56224 int
56225 main ()
56226 {
56227 hypotf(0, 0);
56228 ;
56229 return 0;
56230 }
56231 _ACEOF
56232 if ac_fn_cxx_try_compile "$LINENO"; then :
56233 glibcxx_cv_func_hypotf_use=yes
56234 else
56235 glibcxx_cv_func_hypotf_use=no
56236 fi
56237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56238 ac_ext=c
56239 ac_cpp='$CPP $CPPFLAGS'
56240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56243
56244
56245 fi
56246
56247 fi
56248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56249 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56250
56251 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56252 for ac_func in hypotf
56253 do :
56254 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56255 if test "x$ac_cv_func_hypotf" = xyes; then :
56256 cat >>confdefs.h <<_ACEOF
56257 #define HAVE_HYPOTF 1
56258 _ACEOF
56259
56260 fi
56261 done
56262
56263 else
56264
56265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56266 $as_echo_n "checking for _hypotf declaration... " >&6; }
56267 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56268 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56269 $as_echo_n "(cached) " >&6
56270 else
56271
56272
56273 ac_ext=cpp
56274 ac_cpp='$CXXCPP $CPPFLAGS'
56275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56278
56279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56280 /* end confdefs.h. */
56281 #include <math.h>
56282 int
56283 main ()
56284 {
56285 _hypotf(0, 0);
56286 ;
56287 return 0;
56288 }
56289 _ACEOF
56290 if ac_fn_cxx_try_compile "$LINENO"; then :
56291 glibcxx_cv_func__hypotf_use=yes
56292 else
56293 glibcxx_cv_func__hypotf_use=no
56294 fi
56295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56296 ac_ext=c
56297 ac_cpp='$CPP $CPPFLAGS'
56298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56301
56302
56303 fi
56304
56305 fi
56306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56307 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56308
56309 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56310 for ac_func in _hypotf
56311 do :
56312 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56313 if test "x$ac_cv_func__hypotf" = xyes; then :
56314 cat >>confdefs.h <<_ACEOF
56315 #define HAVE__HYPOTF 1
56316 _ACEOF
56317
56318 fi
56319 done
56320
56321 fi
56322 fi
56323
56324
56325
56326
56327
56328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56329 $as_echo_n "checking for ldexpf declaration... " >&6; }
56330 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56331 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56332 $as_echo_n "(cached) " >&6
56333 else
56334
56335
56336 ac_ext=cpp
56337 ac_cpp='$CXXCPP $CPPFLAGS'
56338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56341
56342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56343 /* end confdefs.h. */
56344 #include <math.h>
56345 int
56346 main ()
56347 {
56348 ldexpf(0, 0);
56349 ;
56350 return 0;
56351 }
56352 _ACEOF
56353 if ac_fn_cxx_try_compile "$LINENO"; then :
56354 glibcxx_cv_func_ldexpf_use=yes
56355 else
56356 glibcxx_cv_func_ldexpf_use=no
56357 fi
56358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56359 ac_ext=c
56360 ac_cpp='$CPP $CPPFLAGS'
56361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56364
56365
56366 fi
56367
56368 fi
56369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56370 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56371
56372 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56373 for ac_func in ldexpf
56374 do :
56375 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56376 if test "x$ac_cv_func_ldexpf" = xyes; then :
56377 cat >>confdefs.h <<_ACEOF
56378 #define HAVE_LDEXPF 1
56379 _ACEOF
56380
56381 fi
56382 done
56383
56384 else
56385
56386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56387 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56388 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56389 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56390 $as_echo_n "(cached) " >&6
56391 else
56392
56393
56394 ac_ext=cpp
56395 ac_cpp='$CXXCPP $CPPFLAGS'
56396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56399
56400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56401 /* end confdefs.h. */
56402 #include <math.h>
56403 int
56404 main ()
56405 {
56406 _ldexpf(0, 0);
56407 ;
56408 return 0;
56409 }
56410 _ACEOF
56411 if ac_fn_cxx_try_compile "$LINENO"; then :
56412 glibcxx_cv_func__ldexpf_use=yes
56413 else
56414 glibcxx_cv_func__ldexpf_use=no
56415 fi
56416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56417 ac_ext=c
56418 ac_cpp='$CPP $CPPFLAGS'
56419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56422
56423
56424 fi
56425
56426 fi
56427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56428 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56429
56430 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56431 for ac_func in _ldexpf
56432 do :
56433 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56434 if test "x$ac_cv_func__ldexpf" = xyes; then :
56435 cat >>confdefs.h <<_ACEOF
56436 #define HAVE__LDEXPF 1
56437 _ACEOF
56438
56439 fi
56440 done
56441
56442 fi
56443 fi
56444
56445
56446
56447
56448
56449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56450 $as_echo_n "checking for logf declaration... " >&6; }
56451 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56452 if ${glibcxx_cv_func_logf_use+:} false; then :
56453 $as_echo_n "(cached) " >&6
56454 else
56455
56456
56457 ac_ext=cpp
56458 ac_cpp='$CXXCPP $CPPFLAGS'
56459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56462
56463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56464 /* end confdefs.h. */
56465 #include <math.h>
56466 #ifdef HAVE_IEEEFP_H
56467 #include <ieeefp.h>
56468 #endif
56469
56470 int
56471 main ()
56472 {
56473 logf(0);
56474 ;
56475 return 0;
56476 }
56477 _ACEOF
56478 if ac_fn_cxx_try_compile "$LINENO"; then :
56479 glibcxx_cv_func_logf_use=yes
56480 else
56481 glibcxx_cv_func_logf_use=no
56482 fi
56483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56484 ac_ext=c
56485 ac_cpp='$CPP $CPPFLAGS'
56486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56489
56490
56491 fi
56492
56493 fi
56494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56495 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56496
56497 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56498 for ac_func in logf
56499 do :
56500 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56501 if test "x$ac_cv_func_logf" = xyes; then :
56502 cat >>confdefs.h <<_ACEOF
56503 #define HAVE_LOGF 1
56504 _ACEOF
56505
56506 fi
56507 done
56508
56509 else
56510
56511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56512 $as_echo_n "checking for _logf declaration... " >&6; }
56513 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56514 if ${glibcxx_cv_func__logf_use+:} false; then :
56515 $as_echo_n "(cached) " >&6
56516 else
56517
56518
56519 ac_ext=cpp
56520 ac_cpp='$CXXCPP $CPPFLAGS'
56521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56524
56525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56526 /* end confdefs.h. */
56527 #include <math.h>
56528 #ifdef HAVE_IEEEFP_H
56529 #include <ieeefp.h>
56530 #endif
56531
56532 int
56533 main ()
56534 {
56535 _logf(0);
56536 ;
56537 return 0;
56538 }
56539 _ACEOF
56540 if ac_fn_cxx_try_compile "$LINENO"; then :
56541 glibcxx_cv_func__logf_use=yes
56542 else
56543 glibcxx_cv_func__logf_use=no
56544 fi
56545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56546 ac_ext=c
56547 ac_cpp='$CPP $CPPFLAGS'
56548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56551
56552
56553 fi
56554
56555 fi
56556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56557 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56558
56559 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56560 for ac_func in _logf
56561 do :
56562 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56563 if test "x$ac_cv_func__logf" = xyes; then :
56564 cat >>confdefs.h <<_ACEOF
56565 #define HAVE__LOGF 1
56566 _ACEOF
56567
56568 fi
56569 done
56570
56571 fi
56572 fi
56573
56574
56575
56576
56577
56578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56579 $as_echo_n "checking for log10f declaration... " >&6; }
56580 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56581 if ${glibcxx_cv_func_log10f_use+:} false; then :
56582 $as_echo_n "(cached) " >&6
56583 else
56584
56585
56586 ac_ext=cpp
56587 ac_cpp='$CXXCPP $CPPFLAGS'
56588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56591
56592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56593 /* end confdefs.h. */
56594 #include <math.h>
56595 #ifdef HAVE_IEEEFP_H
56596 #include <ieeefp.h>
56597 #endif
56598
56599 int
56600 main ()
56601 {
56602 log10f(0);
56603 ;
56604 return 0;
56605 }
56606 _ACEOF
56607 if ac_fn_cxx_try_compile "$LINENO"; then :
56608 glibcxx_cv_func_log10f_use=yes
56609 else
56610 glibcxx_cv_func_log10f_use=no
56611 fi
56612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56613 ac_ext=c
56614 ac_cpp='$CPP $CPPFLAGS'
56615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56618
56619
56620 fi
56621
56622 fi
56623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56624 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56625
56626 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56627 for ac_func in log10f
56628 do :
56629 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56630 if test "x$ac_cv_func_log10f" = xyes; then :
56631 cat >>confdefs.h <<_ACEOF
56632 #define HAVE_LOG10F 1
56633 _ACEOF
56634
56635 fi
56636 done
56637
56638 else
56639
56640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56641 $as_echo_n "checking for _log10f declaration... " >&6; }
56642 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56643 if ${glibcxx_cv_func__log10f_use+:} false; then :
56644 $as_echo_n "(cached) " >&6
56645 else
56646
56647
56648 ac_ext=cpp
56649 ac_cpp='$CXXCPP $CPPFLAGS'
56650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56653
56654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56655 /* end confdefs.h. */
56656 #include <math.h>
56657 #ifdef HAVE_IEEEFP_H
56658 #include <ieeefp.h>
56659 #endif
56660
56661 int
56662 main ()
56663 {
56664 _log10f(0);
56665 ;
56666 return 0;
56667 }
56668 _ACEOF
56669 if ac_fn_cxx_try_compile "$LINENO"; then :
56670 glibcxx_cv_func__log10f_use=yes
56671 else
56672 glibcxx_cv_func__log10f_use=no
56673 fi
56674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56675 ac_ext=c
56676 ac_cpp='$CPP $CPPFLAGS'
56677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56680
56681
56682 fi
56683
56684 fi
56685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56686 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56687
56688 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56689 for ac_func in _log10f
56690 do :
56691 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56692 if test "x$ac_cv_func__log10f" = xyes; then :
56693 cat >>confdefs.h <<_ACEOF
56694 #define HAVE__LOG10F 1
56695 _ACEOF
56696
56697 fi
56698 done
56699
56700 fi
56701 fi
56702
56703
56704
56705
56706
56707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56708 $as_echo_n "checking for modff declaration... " >&6; }
56709 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56710 if ${glibcxx_cv_func_modff_use+:} false; then :
56711 $as_echo_n "(cached) " >&6
56712 else
56713
56714
56715 ac_ext=cpp
56716 ac_cpp='$CXXCPP $CPPFLAGS'
56717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56720
56721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56722 /* end confdefs.h. */
56723 #include <math.h>
56724 int
56725 main ()
56726 {
56727 modff(0, 0);
56728 ;
56729 return 0;
56730 }
56731 _ACEOF
56732 if ac_fn_cxx_try_compile "$LINENO"; then :
56733 glibcxx_cv_func_modff_use=yes
56734 else
56735 glibcxx_cv_func_modff_use=no
56736 fi
56737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56738 ac_ext=c
56739 ac_cpp='$CPP $CPPFLAGS'
56740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56743
56744
56745 fi
56746
56747 fi
56748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56749 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56750
56751 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56752 for ac_func in modff
56753 do :
56754 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56755 if test "x$ac_cv_func_modff" = xyes; then :
56756 cat >>confdefs.h <<_ACEOF
56757 #define HAVE_MODFF 1
56758 _ACEOF
56759
56760 fi
56761 done
56762
56763 else
56764
56765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56766 $as_echo_n "checking for _modff declaration... " >&6; }
56767 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56768 if ${glibcxx_cv_func__modff_use+:} false; then :
56769 $as_echo_n "(cached) " >&6
56770 else
56771
56772
56773 ac_ext=cpp
56774 ac_cpp='$CXXCPP $CPPFLAGS'
56775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56778
56779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56780 /* end confdefs.h. */
56781 #include <math.h>
56782 int
56783 main ()
56784 {
56785 _modff(0, 0);
56786 ;
56787 return 0;
56788 }
56789 _ACEOF
56790 if ac_fn_cxx_try_compile "$LINENO"; then :
56791 glibcxx_cv_func__modff_use=yes
56792 else
56793 glibcxx_cv_func__modff_use=no
56794 fi
56795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56796 ac_ext=c
56797 ac_cpp='$CPP $CPPFLAGS'
56798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56801
56802
56803 fi
56804
56805 fi
56806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56807 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56808
56809 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56810 for ac_func in _modff
56811 do :
56812 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56813 if test "x$ac_cv_func__modff" = xyes; then :
56814 cat >>confdefs.h <<_ACEOF
56815 #define HAVE__MODFF 1
56816 _ACEOF
56817
56818 fi
56819 done
56820
56821 fi
56822 fi
56823
56824
56825
56826
56827
56828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56829 $as_echo_n "checking for modf declaration... " >&6; }
56830 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56831 if ${glibcxx_cv_func_modf_use+:} false; then :
56832 $as_echo_n "(cached) " >&6
56833 else
56834
56835
56836 ac_ext=cpp
56837 ac_cpp='$CXXCPP $CPPFLAGS'
56838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56841
56842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56843 /* end confdefs.h. */
56844 #include <math.h>
56845 int
56846 main ()
56847 {
56848 modf(0, 0);
56849 ;
56850 return 0;
56851 }
56852 _ACEOF
56853 if ac_fn_cxx_try_compile "$LINENO"; then :
56854 glibcxx_cv_func_modf_use=yes
56855 else
56856 glibcxx_cv_func_modf_use=no
56857 fi
56858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56859 ac_ext=c
56860 ac_cpp='$CPP $CPPFLAGS'
56861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56864
56865
56866 fi
56867
56868 fi
56869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56870 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56871
56872 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56873 for ac_func in modf
56874 do :
56875 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56876 if test "x$ac_cv_func_modf" = xyes; then :
56877 cat >>confdefs.h <<_ACEOF
56878 #define HAVE_MODF 1
56879 _ACEOF
56880
56881 fi
56882 done
56883
56884 else
56885
56886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56887 $as_echo_n "checking for _modf declaration... " >&6; }
56888 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56889 if ${glibcxx_cv_func__modf_use+:} false; then :
56890 $as_echo_n "(cached) " >&6
56891 else
56892
56893
56894 ac_ext=cpp
56895 ac_cpp='$CXXCPP $CPPFLAGS'
56896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56899
56900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56901 /* end confdefs.h. */
56902 #include <math.h>
56903 int
56904 main ()
56905 {
56906 _modf(0, 0);
56907 ;
56908 return 0;
56909 }
56910 _ACEOF
56911 if ac_fn_cxx_try_compile "$LINENO"; then :
56912 glibcxx_cv_func__modf_use=yes
56913 else
56914 glibcxx_cv_func__modf_use=no
56915 fi
56916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56917 ac_ext=c
56918 ac_cpp='$CPP $CPPFLAGS'
56919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56922
56923
56924 fi
56925
56926 fi
56927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56928 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56929
56930 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56931 for ac_func in _modf
56932 do :
56933 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56934 if test "x$ac_cv_func__modf" = xyes; then :
56935 cat >>confdefs.h <<_ACEOF
56936 #define HAVE__MODF 1
56937 _ACEOF
56938
56939 fi
56940 done
56941
56942 fi
56943 fi
56944
56945
56946
56947
56948
56949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56950 $as_echo_n "checking for powf declaration... " >&6; }
56951 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56952 if ${glibcxx_cv_func_powf_use+:} false; then :
56953 $as_echo_n "(cached) " >&6
56954 else
56955
56956
56957 ac_ext=cpp
56958 ac_cpp='$CXXCPP $CPPFLAGS'
56959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56962
56963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56964 /* end confdefs.h. */
56965 #include <math.h>
56966 int
56967 main ()
56968 {
56969 powf(0, 0);
56970 ;
56971 return 0;
56972 }
56973 _ACEOF
56974 if ac_fn_cxx_try_compile "$LINENO"; then :
56975 glibcxx_cv_func_powf_use=yes
56976 else
56977 glibcxx_cv_func_powf_use=no
56978 fi
56979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56980 ac_ext=c
56981 ac_cpp='$CPP $CPPFLAGS'
56982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56985
56986
56987 fi
56988
56989 fi
56990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56991 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56992
56993 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56994 for ac_func in powf
56995 do :
56996 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56997 if test "x$ac_cv_func_powf" = xyes; then :
56998 cat >>confdefs.h <<_ACEOF
56999 #define HAVE_POWF 1
57000 _ACEOF
57001
57002 fi
57003 done
57004
57005 else
57006
57007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57008 $as_echo_n "checking for _powf declaration... " >&6; }
57009 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57010 if ${glibcxx_cv_func__powf_use+:} false; then :
57011 $as_echo_n "(cached) " >&6
57012 else
57013
57014
57015 ac_ext=cpp
57016 ac_cpp='$CXXCPP $CPPFLAGS'
57017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57020
57021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57022 /* end confdefs.h. */
57023 #include <math.h>
57024 int
57025 main ()
57026 {
57027 _powf(0, 0);
57028 ;
57029 return 0;
57030 }
57031 _ACEOF
57032 if ac_fn_cxx_try_compile "$LINENO"; then :
57033 glibcxx_cv_func__powf_use=yes
57034 else
57035 glibcxx_cv_func__powf_use=no
57036 fi
57037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57038 ac_ext=c
57039 ac_cpp='$CPP $CPPFLAGS'
57040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57043
57044
57045 fi
57046
57047 fi
57048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57049 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57050
57051 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57052 for ac_func in _powf
57053 do :
57054 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57055 if test "x$ac_cv_func__powf" = xyes; then :
57056 cat >>confdefs.h <<_ACEOF
57057 #define HAVE__POWF 1
57058 _ACEOF
57059
57060 fi
57061 done
57062
57063 fi
57064 fi
57065
57066
57067
57068
57069
57070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57071 $as_echo_n "checking for sqrtf declaration... " >&6; }
57072 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57073 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57074 $as_echo_n "(cached) " >&6
57075 else
57076
57077
57078 ac_ext=cpp
57079 ac_cpp='$CXXCPP $CPPFLAGS'
57080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57083
57084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57085 /* end confdefs.h. */
57086 #include <math.h>
57087 #ifdef HAVE_IEEEFP_H
57088 #include <ieeefp.h>
57089 #endif
57090
57091 int
57092 main ()
57093 {
57094 sqrtf(0);
57095 ;
57096 return 0;
57097 }
57098 _ACEOF
57099 if ac_fn_cxx_try_compile "$LINENO"; then :
57100 glibcxx_cv_func_sqrtf_use=yes
57101 else
57102 glibcxx_cv_func_sqrtf_use=no
57103 fi
57104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57105 ac_ext=c
57106 ac_cpp='$CPP $CPPFLAGS'
57107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57110
57111
57112 fi
57113
57114 fi
57115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57116 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57117
57118 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57119 for ac_func in sqrtf
57120 do :
57121 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57122 if test "x$ac_cv_func_sqrtf" = xyes; then :
57123 cat >>confdefs.h <<_ACEOF
57124 #define HAVE_SQRTF 1
57125 _ACEOF
57126
57127 fi
57128 done
57129
57130 else
57131
57132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57133 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57134 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57135 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57136 $as_echo_n "(cached) " >&6
57137 else
57138
57139
57140 ac_ext=cpp
57141 ac_cpp='$CXXCPP $CPPFLAGS'
57142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57145
57146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57147 /* end confdefs.h. */
57148 #include <math.h>
57149 #ifdef HAVE_IEEEFP_H
57150 #include <ieeefp.h>
57151 #endif
57152
57153 int
57154 main ()
57155 {
57156 _sqrtf(0);
57157 ;
57158 return 0;
57159 }
57160 _ACEOF
57161 if ac_fn_cxx_try_compile "$LINENO"; then :
57162 glibcxx_cv_func__sqrtf_use=yes
57163 else
57164 glibcxx_cv_func__sqrtf_use=no
57165 fi
57166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57167 ac_ext=c
57168 ac_cpp='$CPP $CPPFLAGS'
57169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57172
57173
57174 fi
57175
57176 fi
57177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57178 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57179
57180 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57181 for ac_func in _sqrtf
57182 do :
57183 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57184 if test "x$ac_cv_func__sqrtf" = xyes; then :
57185 cat >>confdefs.h <<_ACEOF
57186 #define HAVE__SQRTF 1
57187 _ACEOF
57188
57189 fi
57190 done
57191
57192 fi
57193 fi
57194
57195
57196
57197
57198
57199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57200 $as_echo_n "checking for sincosf declaration... " >&6; }
57201 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57202 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57203 $as_echo_n "(cached) " >&6
57204 else
57205
57206
57207 ac_ext=cpp
57208 ac_cpp='$CXXCPP $CPPFLAGS'
57209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57212
57213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57214 /* end confdefs.h. */
57215 #include <math.h>
57216 int
57217 main ()
57218 {
57219 sincosf(0, 0, 0);
57220 ;
57221 return 0;
57222 }
57223 _ACEOF
57224 if ac_fn_cxx_try_compile "$LINENO"; then :
57225 glibcxx_cv_func_sincosf_use=yes
57226 else
57227 glibcxx_cv_func_sincosf_use=no
57228 fi
57229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57230 ac_ext=c
57231 ac_cpp='$CPP $CPPFLAGS'
57232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57235
57236
57237 fi
57238
57239 fi
57240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57241 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57242
57243 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57244 for ac_func in sincosf
57245 do :
57246 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57247 if test "x$ac_cv_func_sincosf" = xyes; then :
57248 cat >>confdefs.h <<_ACEOF
57249 #define HAVE_SINCOSF 1
57250 _ACEOF
57251
57252 fi
57253 done
57254
57255 else
57256
57257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57258 $as_echo_n "checking for _sincosf declaration... " >&6; }
57259 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57260 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57261 $as_echo_n "(cached) " >&6
57262 else
57263
57264
57265 ac_ext=cpp
57266 ac_cpp='$CXXCPP $CPPFLAGS'
57267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57270
57271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57272 /* end confdefs.h. */
57273 #include <math.h>
57274 int
57275 main ()
57276 {
57277 _sincosf(0, 0, 0);
57278 ;
57279 return 0;
57280 }
57281 _ACEOF
57282 if ac_fn_cxx_try_compile "$LINENO"; then :
57283 glibcxx_cv_func__sincosf_use=yes
57284 else
57285 glibcxx_cv_func__sincosf_use=no
57286 fi
57287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57288 ac_ext=c
57289 ac_cpp='$CPP $CPPFLAGS'
57290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57293
57294
57295 fi
57296
57297 fi
57298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57299 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57300
57301 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57302 for ac_func in _sincosf
57303 do :
57304 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57305 if test "x$ac_cv_func__sincosf" = xyes; then :
57306 cat >>confdefs.h <<_ACEOF
57307 #define HAVE__SINCOSF 1
57308 _ACEOF
57309
57310 fi
57311 done
57312
57313 fi
57314 fi
57315
57316
57317
57318
57319
57320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57321 $as_echo_n "checking for finitef declaration... " >&6; }
57322 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57323 if ${glibcxx_cv_func_finitef_use+:} false; then :
57324 $as_echo_n "(cached) " >&6
57325 else
57326
57327
57328 ac_ext=cpp
57329 ac_cpp='$CXXCPP $CPPFLAGS'
57330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57333
57334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57335 /* end confdefs.h. */
57336 #include <math.h>
57337 #ifdef HAVE_IEEEFP_H
57338 #include <ieeefp.h>
57339 #endif
57340
57341 int
57342 main ()
57343 {
57344 finitef(0);
57345 ;
57346 return 0;
57347 }
57348 _ACEOF
57349 if ac_fn_cxx_try_compile "$LINENO"; then :
57350 glibcxx_cv_func_finitef_use=yes
57351 else
57352 glibcxx_cv_func_finitef_use=no
57353 fi
57354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57355 ac_ext=c
57356 ac_cpp='$CPP $CPPFLAGS'
57357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57360
57361
57362 fi
57363
57364 fi
57365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57366 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57367
57368 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57369 for ac_func in finitef
57370 do :
57371 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57372 if test "x$ac_cv_func_finitef" = xyes; then :
57373 cat >>confdefs.h <<_ACEOF
57374 #define HAVE_FINITEF 1
57375 _ACEOF
57376
57377 fi
57378 done
57379
57380 else
57381
57382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57383 $as_echo_n "checking for _finitef declaration... " >&6; }
57384 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57385 if ${glibcxx_cv_func__finitef_use+:} false; then :
57386 $as_echo_n "(cached) " >&6
57387 else
57388
57389
57390 ac_ext=cpp
57391 ac_cpp='$CXXCPP $CPPFLAGS'
57392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57395
57396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57397 /* end confdefs.h. */
57398 #include <math.h>
57399 #ifdef HAVE_IEEEFP_H
57400 #include <ieeefp.h>
57401 #endif
57402
57403 int
57404 main ()
57405 {
57406 _finitef(0);
57407 ;
57408 return 0;
57409 }
57410 _ACEOF
57411 if ac_fn_cxx_try_compile "$LINENO"; then :
57412 glibcxx_cv_func__finitef_use=yes
57413 else
57414 glibcxx_cv_func__finitef_use=no
57415 fi
57416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57417 ac_ext=c
57418 ac_cpp='$CPP $CPPFLAGS'
57419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57422
57423
57424 fi
57425
57426 fi
57427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57428 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57429
57430 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57431 for ac_func in _finitef
57432 do :
57433 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57434 if test "x$ac_cv_func__finitef" = xyes; then :
57435 cat >>confdefs.h <<_ACEOF
57436 #define HAVE__FINITEF 1
57437 _ACEOF
57438
57439 fi
57440 done
57441
57442 fi
57443 fi
57444
57445
57446
57447
57448
57449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57450 $as_echo_n "checking for long double trig functions... " >&6; }
57451 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57452 $as_echo_n "(cached) " >&6
57453 else
57454
57455
57456 ac_ext=cpp
57457 ac_cpp='$CXXCPP $CPPFLAGS'
57458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57461
57462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57463 /* end confdefs.h. */
57464 #include <math.h>
57465 int
57466 main ()
57467 {
57468 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57469 ;
57470 return 0;
57471 }
57472 _ACEOF
57473 if ac_fn_cxx_try_compile "$LINENO"; then :
57474 glibcxx_cv_func_long_double_trig_use=yes
57475 else
57476 glibcxx_cv_func_long_double_trig_use=no
57477 fi
57478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57479 ac_ext=c
57480 ac_cpp='$CPP $CPPFLAGS'
57481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57484
57485 fi
57486
57487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57488 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57489 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57490 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57491 do :
57492 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57494 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57495 cat >>confdefs.h <<_ACEOF
57496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57497 _ACEOF
57498
57499 fi
57500 done
57501
57502 else
57503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57504 $as_echo_n "checking for _long double trig functions... " >&6; }
57505 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57506 $as_echo_n "(cached) " >&6
57507 else
57508
57509
57510 ac_ext=cpp
57511 ac_cpp='$CXXCPP $CPPFLAGS'
57512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57515
57516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57517 /* end confdefs.h. */
57518 #include <math.h>
57519 int
57520 main ()
57521 {
57522 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57523 ;
57524 return 0;
57525 }
57526 _ACEOF
57527 if ac_fn_cxx_try_compile "$LINENO"; then :
57528 glibcxx_cv_func__long_double_trig_use=yes
57529 else
57530 glibcxx_cv_func__long_double_trig_use=no
57531 fi
57532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57533 ac_ext=c
57534 ac_cpp='$CPP $CPPFLAGS'
57535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57538
57539 fi
57540
57541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57542 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57543 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57544 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57545 do :
57546 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57547 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57548 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57549 cat >>confdefs.h <<_ACEOF
57550 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57551 _ACEOF
57552
57553 fi
57554 done
57555
57556 fi
57557 fi
57558
57559
57560
57561
57562
57563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57564 $as_echo_n "checking for long double round functions... " >&6; }
57565 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57566 $as_echo_n "(cached) " >&6
57567 else
57568
57569
57570 ac_ext=cpp
57571 ac_cpp='$CXXCPP $CPPFLAGS'
57572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57575
57576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57577 /* end confdefs.h. */
57578 #include <math.h>
57579 int
57580 main ()
57581 {
57582 ceill (0); floorl (0);
57583 ;
57584 return 0;
57585 }
57586 _ACEOF
57587 if ac_fn_cxx_try_compile "$LINENO"; then :
57588 glibcxx_cv_func_long_double_round_use=yes
57589 else
57590 glibcxx_cv_func_long_double_round_use=no
57591 fi
57592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57593 ac_ext=c
57594 ac_cpp='$CPP $CPPFLAGS'
57595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57598
57599 fi
57600
57601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57602 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57603 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57604 for ac_func in ceill floorl
57605 do :
57606 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57607 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57608 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57609 cat >>confdefs.h <<_ACEOF
57610 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57611 _ACEOF
57612
57613 fi
57614 done
57615
57616 else
57617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57618 $as_echo_n "checking for _long double round functions... " >&6; }
57619 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57620 $as_echo_n "(cached) " >&6
57621 else
57622
57623
57624 ac_ext=cpp
57625 ac_cpp='$CXXCPP $CPPFLAGS'
57626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57629
57630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57631 /* end confdefs.h. */
57632 #include <math.h>
57633 int
57634 main ()
57635 {
57636 _ceill (0); _floorl (0);
57637 ;
57638 return 0;
57639 }
57640 _ACEOF
57641 if ac_fn_cxx_try_compile "$LINENO"; then :
57642 glibcxx_cv_func__long_double_round_use=yes
57643 else
57644 glibcxx_cv_func__long_double_round_use=no
57645 fi
57646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57647 ac_ext=c
57648 ac_cpp='$CPP $CPPFLAGS'
57649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57652
57653 fi
57654
57655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57656 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57657 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57658 for ac_func in _ceill _floorl
57659 do :
57660 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57661 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57662 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57663 cat >>confdefs.h <<_ACEOF
57664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57665 _ACEOF
57666
57667 fi
57668 done
57669
57670 fi
57671 fi
57672
57673
57674
57675
57676
57677
57678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57679 $as_echo_n "checking for isnanl declaration... " >&6; }
57680 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57681 if ${glibcxx_cv_func_isnanl_use+:} false; then :
57682 $as_echo_n "(cached) " >&6
57683 else
57684
57685
57686 ac_ext=cpp
57687 ac_cpp='$CXXCPP $CPPFLAGS'
57688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57691
57692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57693 /* end confdefs.h. */
57694 #include <math.h>
57695 #ifdef HAVE_IEEEFP_H
57696 #include <ieeefp.h>
57697 #endif
57698
57699 int
57700 main ()
57701 {
57702 isnanl(0);
57703 ;
57704 return 0;
57705 }
57706 _ACEOF
57707 if ac_fn_cxx_try_compile "$LINENO"; then :
57708 glibcxx_cv_func_isnanl_use=yes
57709 else
57710 glibcxx_cv_func_isnanl_use=no
57711 fi
57712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57713 ac_ext=c
57714 ac_cpp='$CPP $CPPFLAGS'
57715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57718
57719
57720 fi
57721
57722 fi
57723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57724 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57725
57726 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57727 for ac_func in isnanl
57728 do :
57729 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57730 if test "x$ac_cv_func_isnanl" = xyes; then :
57731 cat >>confdefs.h <<_ACEOF
57732 #define HAVE_ISNANL 1
57733 _ACEOF
57734
57735 fi
57736 done
57737
57738 else
57739
57740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57741 $as_echo_n "checking for _isnanl declaration... " >&6; }
57742 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57743 if ${glibcxx_cv_func__isnanl_use+:} false; then :
57744 $as_echo_n "(cached) " >&6
57745 else
57746
57747
57748 ac_ext=cpp
57749 ac_cpp='$CXXCPP $CPPFLAGS'
57750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57753
57754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57755 /* end confdefs.h. */
57756 #include <math.h>
57757 #ifdef HAVE_IEEEFP_H
57758 #include <ieeefp.h>
57759 #endif
57760
57761 int
57762 main ()
57763 {
57764 _isnanl(0);
57765 ;
57766 return 0;
57767 }
57768 _ACEOF
57769 if ac_fn_cxx_try_compile "$LINENO"; then :
57770 glibcxx_cv_func__isnanl_use=yes
57771 else
57772 glibcxx_cv_func__isnanl_use=no
57773 fi
57774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57775 ac_ext=c
57776 ac_cpp='$CPP $CPPFLAGS'
57777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57780
57781
57782 fi
57783
57784 fi
57785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57786 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57787
57788 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57789 for ac_func in _isnanl
57790 do :
57791 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57792 if test "x$ac_cv_func__isnanl" = xyes; then :
57793 cat >>confdefs.h <<_ACEOF
57794 #define HAVE__ISNANL 1
57795 _ACEOF
57796
57797 fi
57798 done
57799
57800 fi
57801 fi
57802
57803
57804
57805
57806
57807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57808 $as_echo_n "checking for isinfl declaration... " >&6; }
57809 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57810 if ${glibcxx_cv_func_isinfl_use+:} false; then :
57811 $as_echo_n "(cached) " >&6
57812 else
57813
57814
57815 ac_ext=cpp
57816 ac_cpp='$CXXCPP $CPPFLAGS'
57817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57820
57821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57822 /* end confdefs.h. */
57823 #include <math.h>
57824 #ifdef HAVE_IEEEFP_H
57825 #include <ieeefp.h>
57826 #endif
57827
57828 int
57829 main ()
57830 {
57831 isinfl(0);
57832 ;
57833 return 0;
57834 }
57835 _ACEOF
57836 if ac_fn_cxx_try_compile "$LINENO"; then :
57837 glibcxx_cv_func_isinfl_use=yes
57838 else
57839 glibcxx_cv_func_isinfl_use=no
57840 fi
57841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57842 ac_ext=c
57843 ac_cpp='$CPP $CPPFLAGS'
57844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57847
57848
57849 fi
57850
57851 fi
57852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57853 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57854
57855 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57856 for ac_func in isinfl
57857 do :
57858 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57859 if test "x$ac_cv_func_isinfl" = xyes; then :
57860 cat >>confdefs.h <<_ACEOF
57861 #define HAVE_ISINFL 1
57862 _ACEOF
57863
57864 fi
57865 done
57866
57867 else
57868
57869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57870 $as_echo_n "checking for _isinfl declaration... " >&6; }
57871 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57872 if ${glibcxx_cv_func__isinfl_use+:} false; then :
57873 $as_echo_n "(cached) " >&6
57874 else
57875
57876
57877 ac_ext=cpp
57878 ac_cpp='$CXXCPP $CPPFLAGS'
57879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57882
57883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57884 /* end confdefs.h. */
57885 #include <math.h>
57886 #ifdef HAVE_IEEEFP_H
57887 #include <ieeefp.h>
57888 #endif
57889
57890 int
57891 main ()
57892 {
57893 _isinfl(0);
57894 ;
57895 return 0;
57896 }
57897 _ACEOF
57898 if ac_fn_cxx_try_compile "$LINENO"; then :
57899 glibcxx_cv_func__isinfl_use=yes
57900 else
57901 glibcxx_cv_func__isinfl_use=no
57902 fi
57903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57904 ac_ext=c
57905 ac_cpp='$CPP $CPPFLAGS'
57906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57909
57910
57911 fi
57912
57913 fi
57914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57915 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57916
57917 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57918 for ac_func in _isinfl
57919 do :
57920 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57921 if test "x$ac_cv_func__isinfl" = xyes; then :
57922 cat >>confdefs.h <<_ACEOF
57923 #define HAVE__ISINFL 1
57924 _ACEOF
57925
57926 fi
57927 done
57928
57929 fi
57930 fi
57931
57932
57933
57934
57935
57936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57937 $as_echo_n "checking for atan2l declaration... " >&6; }
57938 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57939 if ${glibcxx_cv_func_atan2l_use+:} false; then :
57940 $as_echo_n "(cached) " >&6
57941 else
57942
57943
57944 ac_ext=cpp
57945 ac_cpp='$CXXCPP $CPPFLAGS'
57946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57949
57950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57951 /* end confdefs.h. */
57952 #include <math.h>
57953 int
57954 main ()
57955 {
57956 atan2l(0, 0);
57957 ;
57958 return 0;
57959 }
57960 _ACEOF
57961 if ac_fn_cxx_try_compile "$LINENO"; then :
57962 glibcxx_cv_func_atan2l_use=yes
57963 else
57964 glibcxx_cv_func_atan2l_use=no
57965 fi
57966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57967 ac_ext=c
57968 ac_cpp='$CPP $CPPFLAGS'
57969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57972
57973
57974 fi
57975
57976 fi
57977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57978 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57979
57980 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57981 for ac_func in atan2l
57982 do :
57983 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57984 if test "x$ac_cv_func_atan2l" = xyes; then :
57985 cat >>confdefs.h <<_ACEOF
57986 #define HAVE_ATAN2L 1
57987 _ACEOF
57988
57989 fi
57990 done
57991
57992 else
57993
57994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57995 $as_echo_n "checking for _atan2l declaration... " >&6; }
57996 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57997 if ${glibcxx_cv_func__atan2l_use+:} false; then :
57998 $as_echo_n "(cached) " >&6
57999 else
58000
58001
58002 ac_ext=cpp
58003 ac_cpp='$CXXCPP $CPPFLAGS'
58004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58007
58008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58009 /* end confdefs.h. */
58010 #include <math.h>
58011 int
58012 main ()
58013 {
58014 _atan2l(0, 0);
58015 ;
58016 return 0;
58017 }
58018 _ACEOF
58019 if ac_fn_cxx_try_compile "$LINENO"; then :
58020 glibcxx_cv_func__atan2l_use=yes
58021 else
58022 glibcxx_cv_func__atan2l_use=no
58023 fi
58024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58025 ac_ext=c
58026 ac_cpp='$CPP $CPPFLAGS'
58027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58030
58031
58032 fi
58033
58034 fi
58035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58036 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58037
58038 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58039 for ac_func in _atan2l
58040 do :
58041 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58042 if test "x$ac_cv_func__atan2l" = xyes; then :
58043 cat >>confdefs.h <<_ACEOF
58044 #define HAVE__ATAN2L 1
58045 _ACEOF
58046
58047 fi
58048 done
58049
58050 fi
58051 fi
58052
58053
58054
58055
58056
58057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58058 $as_echo_n "checking for expl declaration... " >&6; }
58059 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58060 if ${glibcxx_cv_func_expl_use+:} false; then :
58061 $as_echo_n "(cached) " >&6
58062 else
58063
58064
58065 ac_ext=cpp
58066 ac_cpp='$CXXCPP $CPPFLAGS'
58067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58070
58071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58072 /* end confdefs.h. */
58073 #include <math.h>
58074 #ifdef HAVE_IEEEFP_H
58075 #include <ieeefp.h>
58076 #endif
58077
58078 int
58079 main ()
58080 {
58081 expl(0);
58082 ;
58083 return 0;
58084 }
58085 _ACEOF
58086 if ac_fn_cxx_try_compile "$LINENO"; then :
58087 glibcxx_cv_func_expl_use=yes
58088 else
58089 glibcxx_cv_func_expl_use=no
58090 fi
58091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58092 ac_ext=c
58093 ac_cpp='$CPP $CPPFLAGS'
58094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58097
58098
58099 fi
58100
58101 fi
58102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58103 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58104
58105 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58106 for ac_func in expl
58107 do :
58108 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58109 if test "x$ac_cv_func_expl" = xyes; then :
58110 cat >>confdefs.h <<_ACEOF
58111 #define HAVE_EXPL 1
58112 _ACEOF
58113
58114 fi
58115 done
58116
58117 else
58118
58119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58120 $as_echo_n "checking for _expl declaration... " >&6; }
58121 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58122 if ${glibcxx_cv_func__expl_use+:} false; then :
58123 $as_echo_n "(cached) " >&6
58124 else
58125
58126
58127 ac_ext=cpp
58128 ac_cpp='$CXXCPP $CPPFLAGS'
58129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58132
58133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58134 /* end confdefs.h. */
58135 #include <math.h>
58136 #ifdef HAVE_IEEEFP_H
58137 #include <ieeefp.h>
58138 #endif
58139
58140 int
58141 main ()
58142 {
58143 _expl(0);
58144 ;
58145 return 0;
58146 }
58147 _ACEOF
58148 if ac_fn_cxx_try_compile "$LINENO"; then :
58149 glibcxx_cv_func__expl_use=yes
58150 else
58151 glibcxx_cv_func__expl_use=no
58152 fi
58153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58154 ac_ext=c
58155 ac_cpp='$CPP $CPPFLAGS'
58156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58159
58160
58161 fi
58162
58163 fi
58164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58165 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58166
58167 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58168 for ac_func in _expl
58169 do :
58170 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58171 if test "x$ac_cv_func__expl" = xyes; then :
58172 cat >>confdefs.h <<_ACEOF
58173 #define HAVE__EXPL 1
58174 _ACEOF
58175
58176 fi
58177 done
58178
58179 fi
58180 fi
58181
58182
58183
58184
58185
58186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58187 $as_echo_n "checking for fabsl declaration... " >&6; }
58188 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58189 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58190 $as_echo_n "(cached) " >&6
58191 else
58192
58193
58194 ac_ext=cpp
58195 ac_cpp='$CXXCPP $CPPFLAGS'
58196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58199
58200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58201 /* end confdefs.h. */
58202 #include <math.h>
58203 #ifdef HAVE_IEEEFP_H
58204 #include <ieeefp.h>
58205 #endif
58206
58207 int
58208 main ()
58209 {
58210 fabsl(0);
58211 ;
58212 return 0;
58213 }
58214 _ACEOF
58215 if ac_fn_cxx_try_compile "$LINENO"; then :
58216 glibcxx_cv_func_fabsl_use=yes
58217 else
58218 glibcxx_cv_func_fabsl_use=no
58219 fi
58220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58221 ac_ext=c
58222 ac_cpp='$CPP $CPPFLAGS'
58223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58226
58227
58228 fi
58229
58230 fi
58231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58232 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58233
58234 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58235 for ac_func in fabsl
58236 do :
58237 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58238 if test "x$ac_cv_func_fabsl" = xyes; then :
58239 cat >>confdefs.h <<_ACEOF
58240 #define HAVE_FABSL 1
58241 _ACEOF
58242
58243 fi
58244 done
58245
58246 else
58247
58248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58249 $as_echo_n "checking for _fabsl declaration... " >&6; }
58250 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58251 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58252 $as_echo_n "(cached) " >&6
58253 else
58254
58255
58256 ac_ext=cpp
58257 ac_cpp='$CXXCPP $CPPFLAGS'
58258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58261
58262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58263 /* end confdefs.h. */
58264 #include <math.h>
58265 #ifdef HAVE_IEEEFP_H
58266 #include <ieeefp.h>
58267 #endif
58268
58269 int
58270 main ()
58271 {
58272 _fabsl(0);
58273 ;
58274 return 0;
58275 }
58276 _ACEOF
58277 if ac_fn_cxx_try_compile "$LINENO"; then :
58278 glibcxx_cv_func__fabsl_use=yes
58279 else
58280 glibcxx_cv_func__fabsl_use=no
58281 fi
58282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58283 ac_ext=c
58284 ac_cpp='$CPP $CPPFLAGS'
58285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58288
58289
58290 fi
58291
58292 fi
58293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58294 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58295
58296 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58297 for ac_func in _fabsl
58298 do :
58299 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58300 if test "x$ac_cv_func__fabsl" = xyes; then :
58301 cat >>confdefs.h <<_ACEOF
58302 #define HAVE__FABSL 1
58303 _ACEOF
58304
58305 fi
58306 done
58307
58308 fi
58309 fi
58310
58311
58312
58313
58314
58315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58316 $as_echo_n "checking for fmodl declaration... " >&6; }
58317 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58318 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58319 $as_echo_n "(cached) " >&6
58320 else
58321
58322
58323 ac_ext=cpp
58324 ac_cpp='$CXXCPP $CPPFLAGS'
58325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58328
58329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58330 /* end confdefs.h. */
58331 #include <math.h>
58332 int
58333 main ()
58334 {
58335 fmodl(0, 0);
58336 ;
58337 return 0;
58338 }
58339 _ACEOF
58340 if ac_fn_cxx_try_compile "$LINENO"; then :
58341 glibcxx_cv_func_fmodl_use=yes
58342 else
58343 glibcxx_cv_func_fmodl_use=no
58344 fi
58345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58346 ac_ext=c
58347 ac_cpp='$CPP $CPPFLAGS'
58348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58351
58352
58353 fi
58354
58355 fi
58356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58357 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58358
58359 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58360 for ac_func in fmodl
58361 do :
58362 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58363 if test "x$ac_cv_func_fmodl" = xyes; then :
58364 cat >>confdefs.h <<_ACEOF
58365 #define HAVE_FMODL 1
58366 _ACEOF
58367
58368 fi
58369 done
58370
58371 else
58372
58373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58374 $as_echo_n "checking for _fmodl declaration... " >&6; }
58375 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58376 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58377 $as_echo_n "(cached) " >&6
58378 else
58379
58380
58381 ac_ext=cpp
58382 ac_cpp='$CXXCPP $CPPFLAGS'
58383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58386
58387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58388 /* end confdefs.h. */
58389 #include <math.h>
58390 int
58391 main ()
58392 {
58393 _fmodl(0, 0);
58394 ;
58395 return 0;
58396 }
58397 _ACEOF
58398 if ac_fn_cxx_try_compile "$LINENO"; then :
58399 glibcxx_cv_func__fmodl_use=yes
58400 else
58401 glibcxx_cv_func__fmodl_use=no
58402 fi
58403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58404 ac_ext=c
58405 ac_cpp='$CPP $CPPFLAGS'
58406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58409
58410
58411 fi
58412
58413 fi
58414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58415 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58416
58417 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58418 for ac_func in _fmodl
58419 do :
58420 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58421 if test "x$ac_cv_func__fmodl" = xyes; then :
58422 cat >>confdefs.h <<_ACEOF
58423 #define HAVE__FMODL 1
58424 _ACEOF
58425
58426 fi
58427 done
58428
58429 fi
58430 fi
58431
58432
58433
58434
58435
58436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58437 $as_echo_n "checking for frexpl declaration... " >&6; }
58438 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58439 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58440 $as_echo_n "(cached) " >&6
58441 else
58442
58443
58444 ac_ext=cpp
58445 ac_cpp='$CXXCPP $CPPFLAGS'
58446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58449
58450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58451 /* end confdefs.h. */
58452 #include <math.h>
58453 int
58454 main ()
58455 {
58456 frexpl(0, 0);
58457 ;
58458 return 0;
58459 }
58460 _ACEOF
58461 if ac_fn_cxx_try_compile "$LINENO"; then :
58462 glibcxx_cv_func_frexpl_use=yes
58463 else
58464 glibcxx_cv_func_frexpl_use=no
58465 fi
58466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58467 ac_ext=c
58468 ac_cpp='$CPP $CPPFLAGS'
58469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58472
58473
58474 fi
58475
58476 fi
58477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58478 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58479
58480 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58481 for ac_func in frexpl
58482 do :
58483 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58484 if test "x$ac_cv_func_frexpl" = xyes; then :
58485 cat >>confdefs.h <<_ACEOF
58486 #define HAVE_FREXPL 1
58487 _ACEOF
58488
58489 fi
58490 done
58491
58492 else
58493
58494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58495 $as_echo_n "checking for _frexpl declaration... " >&6; }
58496 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58497 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58498 $as_echo_n "(cached) " >&6
58499 else
58500
58501
58502 ac_ext=cpp
58503 ac_cpp='$CXXCPP $CPPFLAGS'
58504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58507
58508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58509 /* end confdefs.h. */
58510 #include <math.h>
58511 int
58512 main ()
58513 {
58514 _frexpl(0, 0);
58515 ;
58516 return 0;
58517 }
58518 _ACEOF
58519 if ac_fn_cxx_try_compile "$LINENO"; then :
58520 glibcxx_cv_func__frexpl_use=yes
58521 else
58522 glibcxx_cv_func__frexpl_use=no
58523 fi
58524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58525 ac_ext=c
58526 ac_cpp='$CPP $CPPFLAGS'
58527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58530
58531
58532 fi
58533
58534 fi
58535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58536 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58537
58538 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58539 for ac_func in _frexpl
58540 do :
58541 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58542 if test "x$ac_cv_func__frexpl" = xyes; then :
58543 cat >>confdefs.h <<_ACEOF
58544 #define HAVE__FREXPL 1
58545 _ACEOF
58546
58547 fi
58548 done
58549
58550 fi
58551 fi
58552
58553
58554
58555
58556
58557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58558 $as_echo_n "checking for hypotl declaration... " >&6; }
58559 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58560 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58561 $as_echo_n "(cached) " >&6
58562 else
58563
58564
58565 ac_ext=cpp
58566 ac_cpp='$CXXCPP $CPPFLAGS'
58567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58570
58571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58572 /* end confdefs.h. */
58573 #include <math.h>
58574 int
58575 main ()
58576 {
58577 hypotl(0, 0);
58578 ;
58579 return 0;
58580 }
58581 _ACEOF
58582 if ac_fn_cxx_try_compile "$LINENO"; then :
58583 glibcxx_cv_func_hypotl_use=yes
58584 else
58585 glibcxx_cv_func_hypotl_use=no
58586 fi
58587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58588 ac_ext=c
58589 ac_cpp='$CPP $CPPFLAGS'
58590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58593
58594
58595 fi
58596
58597 fi
58598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58599 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58600
58601 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58602 for ac_func in hypotl
58603 do :
58604 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58605 if test "x$ac_cv_func_hypotl" = xyes; then :
58606 cat >>confdefs.h <<_ACEOF
58607 #define HAVE_HYPOTL 1
58608 _ACEOF
58609
58610 fi
58611 done
58612
58613 else
58614
58615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58616 $as_echo_n "checking for _hypotl declaration... " >&6; }
58617 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58618 if ${glibcxx_cv_func__hypotl_use+:} false; then :
58619 $as_echo_n "(cached) " >&6
58620 else
58621
58622
58623 ac_ext=cpp
58624 ac_cpp='$CXXCPP $CPPFLAGS'
58625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58628
58629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58630 /* end confdefs.h. */
58631 #include <math.h>
58632 int
58633 main ()
58634 {
58635 _hypotl(0, 0);
58636 ;
58637 return 0;
58638 }
58639 _ACEOF
58640 if ac_fn_cxx_try_compile "$LINENO"; then :
58641 glibcxx_cv_func__hypotl_use=yes
58642 else
58643 glibcxx_cv_func__hypotl_use=no
58644 fi
58645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58646 ac_ext=c
58647 ac_cpp='$CPP $CPPFLAGS'
58648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58651
58652
58653 fi
58654
58655 fi
58656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58657 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58658
58659 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58660 for ac_func in _hypotl
58661 do :
58662 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58663 if test "x$ac_cv_func__hypotl" = xyes; then :
58664 cat >>confdefs.h <<_ACEOF
58665 #define HAVE__HYPOTL 1
58666 _ACEOF
58667
58668 fi
58669 done
58670
58671 fi
58672 fi
58673
58674
58675
58676
58677
58678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58679 $as_echo_n "checking for ldexpl declaration... " >&6; }
58680 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58681 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
58682 $as_echo_n "(cached) " >&6
58683 else
58684
58685
58686 ac_ext=cpp
58687 ac_cpp='$CXXCPP $CPPFLAGS'
58688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58691
58692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58693 /* end confdefs.h. */
58694 #include <math.h>
58695 int
58696 main ()
58697 {
58698 ldexpl(0, 0);
58699 ;
58700 return 0;
58701 }
58702 _ACEOF
58703 if ac_fn_cxx_try_compile "$LINENO"; then :
58704 glibcxx_cv_func_ldexpl_use=yes
58705 else
58706 glibcxx_cv_func_ldexpl_use=no
58707 fi
58708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58709 ac_ext=c
58710 ac_cpp='$CPP $CPPFLAGS'
58711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58714
58715
58716 fi
58717
58718 fi
58719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58720 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58721
58722 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58723 for ac_func in ldexpl
58724 do :
58725 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58726 if test "x$ac_cv_func_ldexpl" = xyes; then :
58727 cat >>confdefs.h <<_ACEOF
58728 #define HAVE_LDEXPL 1
58729 _ACEOF
58730
58731 fi
58732 done
58733
58734 else
58735
58736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58737 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58738 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58739 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
58740 $as_echo_n "(cached) " >&6
58741 else
58742
58743
58744 ac_ext=cpp
58745 ac_cpp='$CXXCPP $CPPFLAGS'
58746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58749
58750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58751 /* end confdefs.h. */
58752 #include <math.h>
58753 int
58754 main ()
58755 {
58756 _ldexpl(0, 0);
58757 ;
58758 return 0;
58759 }
58760 _ACEOF
58761 if ac_fn_cxx_try_compile "$LINENO"; then :
58762 glibcxx_cv_func__ldexpl_use=yes
58763 else
58764 glibcxx_cv_func__ldexpl_use=no
58765 fi
58766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58767 ac_ext=c
58768 ac_cpp='$CPP $CPPFLAGS'
58769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58772
58773
58774 fi
58775
58776 fi
58777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58778 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58779
58780 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58781 for ac_func in _ldexpl
58782 do :
58783 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58784 if test "x$ac_cv_func__ldexpl" = xyes; then :
58785 cat >>confdefs.h <<_ACEOF
58786 #define HAVE__LDEXPL 1
58787 _ACEOF
58788
58789 fi
58790 done
58791
58792 fi
58793 fi
58794
58795
58796
58797
58798
58799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58800 $as_echo_n "checking for logl declaration... " >&6; }
58801 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58802 if ${glibcxx_cv_func_logl_use+:} false; then :
58803 $as_echo_n "(cached) " >&6
58804 else
58805
58806
58807 ac_ext=cpp
58808 ac_cpp='$CXXCPP $CPPFLAGS'
58809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58812
58813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58814 /* end confdefs.h. */
58815 #include <math.h>
58816 #ifdef HAVE_IEEEFP_H
58817 #include <ieeefp.h>
58818 #endif
58819
58820 int
58821 main ()
58822 {
58823 logl(0);
58824 ;
58825 return 0;
58826 }
58827 _ACEOF
58828 if ac_fn_cxx_try_compile "$LINENO"; then :
58829 glibcxx_cv_func_logl_use=yes
58830 else
58831 glibcxx_cv_func_logl_use=no
58832 fi
58833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58834 ac_ext=c
58835 ac_cpp='$CPP $CPPFLAGS'
58836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58839
58840
58841 fi
58842
58843 fi
58844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58845 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58846
58847 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58848 for ac_func in logl
58849 do :
58850 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58851 if test "x$ac_cv_func_logl" = xyes; then :
58852 cat >>confdefs.h <<_ACEOF
58853 #define HAVE_LOGL 1
58854 _ACEOF
58855
58856 fi
58857 done
58858
58859 else
58860
58861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58862 $as_echo_n "checking for _logl declaration... " >&6; }
58863 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58864 if ${glibcxx_cv_func__logl_use+:} false; then :
58865 $as_echo_n "(cached) " >&6
58866 else
58867
58868
58869 ac_ext=cpp
58870 ac_cpp='$CXXCPP $CPPFLAGS'
58871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58874
58875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58876 /* end confdefs.h. */
58877 #include <math.h>
58878 #ifdef HAVE_IEEEFP_H
58879 #include <ieeefp.h>
58880 #endif
58881
58882 int
58883 main ()
58884 {
58885 _logl(0);
58886 ;
58887 return 0;
58888 }
58889 _ACEOF
58890 if ac_fn_cxx_try_compile "$LINENO"; then :
58891 glibcxx_cv_func__logl_use=yes
58892 else
58893 glibcxx_cv_func__logl_use=no
58894 fi
58895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58896 ac_ext=c
58897 ac_cpp='$CPP $CPPFLAGS'
58898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58901
58902
58903 fi
58904
58905 fi
58906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58907 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58908
58909 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58910 for ac_func in _logl
58911 do :
58912 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58913 if test "x$ac_cv_func__logl" = xyes; then :
58914 cat >>confdefs.h <<_ACEOF
58915 #define HAVE__LOGL 1
58916 _ACEOF
58917
58918 fi
58919 done
58920
58921 fi
58922 fi
58923
58924
58925
58926
58927
58928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58929 $as_echo_n "checking for log10l declaration... " >&6; }
58930 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58931 if ${glibcxx_cv_func_log10l_use+:} false; then :
58932 $as_echo_n "(cached) " >&6
58933 else
58934
58935
58936 ac_ext=cpp
58937 ac_cpp='$CXXCPP $CPPFLAGS'
58938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58941
58942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58943 /* end confdefs.h. */
58944 #include <math.h>
58945 #ifdef HAVE_IEEEFP_H
58946 #include <ieeefp.h>
58947 #endif
58948
58949 int
58950 main ()
58951 {
58952 log10l(0);
58953 ;
58954 return 0;
58955 }
58956 _ACEOF
58957 if ac_fn_cxx_try_compile "$LINENO"; then :
58958 glibcxx_cv_func_log10l_use=yes
58959 else
58960 glibcxx_cv_func_log10l_use=no
58961 fi
58962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58963 ac_ext=c
58964 ac_cpp='$CPP $CPPFLAGS'
58965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58968
58969
58970 fi
58971
58972 fi
58973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58974 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58975
58976 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58977 for ac_func in log10l
58978 do :
58979 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58980 if test "x$ac_cv_func_log10l" = xyes; then :
58981 cat >>confdefs.h <<_ACEOF
58982 #define HAVE_LOG10L 1
58983 _ACEOF
58984
58985 fi
58986 done
58987
58988 else
58989
58990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58991 $as_echo_n "checking for _log10l declaration... " >&6; }
58992 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58993 if ${glibcxx_cv_func__log10l_use+:} false; then :
58994 $as_echo_n "(cached) " >&6
58995 else
58996
58997
58998 ac_ext=cpp
58999 ac_cpp='$CXXCPP $CPPFLAGS'
59000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59003
59004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59005 /* end confdefs.h. */
59006 #include <math.h>
59007 #ifdef HAVE_IEEEFP_H
59008 #include <ieeefp.h>
59009 #endif
59010
59011 int
59012 main ()
59013 {
59014 _log10l(0);
59015 ;
59016 return 0;
59017 }
59018 _ACEOF
59019 if ac_fn_cxx_try_compile "$LINENO"; then :
59020 glibcxx_cv_func__log10l_use=yes
59021 else
59022 glibcxx_cv_func__log10l_use=no
59023 fi
59024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59025 ac_ext=c
59026 ac_cpp='$CPP $CPPFLAGS'
59027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59030
59031
59032 fi
59033
59034 fi
59035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59036 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59037
59038 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59039 for ac_func in _log10l
59040 do :
59041 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59042 if test "x$ac_cv_func__log10l" = xyes; then :
59043 cat >>confdefs.h <<_ACEOF
59044 #define HAVE__LOG10L 1
59045 _ACEOF
59046
59047 fi
59048 done
59049
59050 fi
59051 fi
59052
59053
59054
59055
59056
59057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59058 $as_echo_n "checking for modfl declaration... " >&6; }
59059 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59060 if ${glibcxx_cv_func_modfl_use+:} false; then :
59061 $as_echo_n "(cached) " >&6
59062 else
59063
59064
59065 ac_ext=cpp
59066 ac_cpp='$CXXCPP $CPPFLAGS'
59067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59070
59071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59072 /* end confdefs.h. */
59073 #include <math.h>
59074 int
59075 main ()
59076 {
59077 modfl(0, 0);
59078 ;
59079 return 0;
59080 }
59081 _ACEOF
59082 if ac_fn_cxx_try_compile "$LINENO"; then :
59083 glibcxx_cv_func_modfl_use=yes
59084 else
59085 glibcxx_cv_func_modfl_use=no
59086 fi
59087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59088 ac_ext=c
59089 ac_cpp='$CPP $CPPFLAGS'
59090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59093
59094
59095 fi
59096
59097 fi
59098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59099 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59100
59101 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59102 for ac_func in modfl
59103 do :
59104 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59105 if test "x$ac_cv_func_modfl" = xyes; then :
59106 cat >>confdefs.h <<_ACEOF
59107 #define HAVE_MODFL 1
59108 _ACEOF
59109
59110 fi
59111 done
59112
59113 else
59114
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59116 $as_echo_n "checking for _modfl declaration... " >&6; }
59117 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59118 if ${glibcxx_cv_func__modfl_use+:} false; then :
59119 $as_echo_n "(cached) " >&6
59120 else
59121
59122
59123 ac_ext=cpp
59124 ac_cpp='$CXXCPP $CPPFLAGS'
59125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59128
59129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59130 /* end confdefs.h. */
59131 #include <math.h>
59132 int
59133 main ()
59134 {
59135 _modfl(0, 0);
59136 ;
59137 return 0;
59138 }
59139 _ACEOF
59140 if ac_fn_cxx_try_compile "$LINENO"; then :
59141 glibcxx_cv_func__modfl_use=yes
59142 else
59143 glibcxx_cv_func__modfl_use=no
59144 fi
59145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59146 ac_ext=c
59147 ac_cpp='$CPP $CPPFLAGS'
59148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59151
59152
59153 fi
59154
59155 fi
59156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59157 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59158
59159 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59160 for ac_func in _modfl
59161 do :
59162 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59163 if test "x$ac_cv_func__modfl" = xyes; then :
59164 cat >>confdefs.h <<_ACEOF
59165 #define HAVE__MODFL 1
59166 _ACEOF
59167
59168 fi
59169 done
59170
59171 fi
59172 fi
59173
59174
59175
59176
59177
59178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59179 $as_echo_n "checking for powl declaration... " >&6; }
59180 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59181 if ${glibcxx_cv_func_powl_use+:} false; then :
59182 $as_echo_n "(cached) " >&6
59183 else
59184
59185
59186 ac_ext=cpp
59187 ac_cpp='$CXXCPP $CPPFLAGS'
59188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59191
59192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59193 /* end confdefs.h. */
59194 #include <math.h>
59195 int
59196 main ()
59197 {
59198 powl(0, 0);
59199 ;
59200 return 0;
59201 }
59202 _ACEOF
59203 if ac_fn_cxx_try_compile "$LINENO"; then :
59204 glibcxx_cv_func_powl_use=yes
59205 else
59206 glibcxx_cv_func_powl_use=no
59207 fi
59208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59209 ac_ext=c
59210 ac_cpp='$CPP $CPPFLAGS'
59211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59214
59215
59216 fi
59217
59218 fi
59219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59220 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59221
59222 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59223 for ac_func in powl
59224 do :
59225 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59226 if test "x$ac_cv_func_powl" = xyes; then :
59227 cat >>confdefs.h <<_ACEOF
59228 #define HAVE_POWL 1
59229 _ACEOF
59230
59231 fi
59232 done
59233
59234 else
59235
59236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59237 $as_echo_n "checking for _powl declaration... " >&6; }
59238 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59239 if ${glibcxx_cv_func__powl_use+:} false; then :
59240 $as_echo_n "(cached) " >&6
59241 else
59242
59243
59244 ac_ext=cpp
59245 ac_cpp='$CXXCPP $CPPFLAGS'
59246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59249
59250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59251 /* end confdefs.h. */
59252 #include <math.h>
59253 int
59254 main ()
59255 {
59256 _powl(0, 0);
59257 ;
59258 return 0;
59259 }
59260 _ACEOF
59261 if ac_fn_cxx_try_compile "$LINENO"; then :
59262 glibcxx_cv_func__powl_use=yes
59263 else
59264 glibcxx_cv_func__powl_use=no
59265 fi
59266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59267 ac_ext=c
59268 ac_cpp='$CPP $CPPFLAGS'
59269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59272
59273
59274 fi
59275
59276 fi
59277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59278 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59279
59280 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59281 for ac_func in _powl
59282 do :
59283 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59284 if test "x$ac_cv_func__powl" = xyes; then :
59285 cat >>confdefs.h <<_ACEOF
59286 #define HAVE__POWL 1
59287 _ACEOF
59288
59289 fi
59290 done
59291
59292 fi
59293 fi
59294
59295
59296
59297
59298
59299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59300 $as_echo_n "checking for sqrtl declaration... " >&6; }
59301 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59302 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59303 $as_echo_n "(cached) " >&6
59304 else
59305
59306
59307 ac_ext=cpp
59308 ac_cpp='$CXXCPP $CPPFLAGS'
59309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59312
59313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59314 /* end confdefs.h. */
59315 #include <math.h>
59316 #ifdef HAVE_IEEEFP_H
59317 #include <ieeefp.h>
59318 #endif
59319
59320 int
59321 main ()
59322 {
59323 sqrtl(0);
59324 ;
59325 return 0;
59326 }
59327 _ACEOF
59328 if ac_fn_cxx_try_compile "$LINENO"; then :
59329 glibcxx_cv_func_sqrtl_use=yes
59330 else
59331 glibcxx_cv_func_sqrtl_use=no
59332 fi
59333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59334 ac_ext=c
59335 ac_cpp='$CPP $CPPFLAGS'
59336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59339
59340
59341 fi
59342
59343 fi
59344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59345 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59346
59347 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59348 for ac_func in sqrtl
59349 do :
59350 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59351 if test "x$ac_cv_func_sqrtl" = xyes; then :
59352 cat >>confdefs.h <<_ACEOF
59353 #define HAVE_SQRTL 1
59354 _ACEOF
59355
59356 fi
59357 done
59358
59359 else
59360
59361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59362 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59363 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59364 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59365 $as_echo_n "(cached) " >&6
59366 else
59367
59368
59369 ac_ext=cpp
59370 ac_cpp='$CXXCPP $CPPFLAGS'
59371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59374
59375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59376 /* end confdefs.h. */
59377 #include <math.h>
59378 #ifdef HAVE_IEEEFP_H
59379 #include <ieeefp.h>
59380 #endif
59381
59382 int
59383 main ()
59384 {
59385 _sqrtl(0);
59386 ;
59387 return 0;
59388 }
59389 _ACEOF
59390 if ac_fn_cxx_try_compile "$LINENO"; then :
59391 glibcxx_cv_func__sqrtl_use=yes
59392 else
59393 glibcxx_cv_func__sqrtl_use=no
59394 fi
59395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59396 ac_ext=c
59397 ac_cpp='$CPP $CPPFLAGS'
59398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59401
59402
59403 fi
59404
59405 fi
59406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59407 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59408
59409 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59410 for ac_func in _sqrtl
59411 do :
59412 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59413 if test "x$ac_cv_func__sqrtl" = xyes; then :
59414 cat >>confdefs.h <<_ACEOF
59415 #define HAVE__SQRTL 1
59416 _ACEOF
59417
59418 fi
59419 done
59420
59421 fi
59422 fi
59423
59424
59425
59426
59427
59428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59429 $as_echo_n "checking for sincosl declaration... " >&6; }
59430 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59431 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59432 $as_echo_n "(cached) " >&6
59433 else
59434
59435
59436 ac_ext=cpp
59437 ac_cpp='$CXXCPP $CPPFLAGS'
59438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59441
59442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59443 /* end confdefs.h. */
59444 #include <math.h>
59445 int
59446 main ()
59447 {
59448 sincosl(0, 0, 0);
59449 ;
59450 return 0;
59451 }
59452 _ACEOF
59453 if ac_fn_cxx_try_compile "$LINENO"; then :
59454 glibcxx_cv_func_sincosl_use=yes
59455 else
59456 glibcxx_cv_func_sincosl_use=no
59457 fi
59458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59459 ac_ext=c
59460 ac_cpp='$CPP $CPPFLAGS'
59461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59464
59465
59466 fi
59467
59468 fi
59469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59470 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59471
59472 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59473 for ac_func in sincosl
59474 do :
59475 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59476 if test "x$ac_cv_func_sincosl" = xyes; then :
59477 cat >>confdefs.h <<_ACEOF
59478 #define HAVE_SINCOSL 1
59479 _ACEOF
59480
59481 fi
59482 done
59483
59484 else
59485
59486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59487 $as_echo_n "checking for _sincosl declaration... " >&6; }
59488 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59489 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59490 $as_echo_n "(cached) " >&6
59491 else
59492
59493
59494 ac_ext=cpp
59495 ac_cpp='$CXXCPP $CPPFLAGS'
59496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59499
59500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59501 /* end confdefs.h. */
59502 #include <math.h>
59503 int
59504 main ()
59505 {
59506 _sincosl(0, 0, 0);
59507 ;
59508 return 0;
59509 }
59510 _ACEOF
59511 if ac_fn_cxx_try_compile "$LINENO"; then :
59512 glibcxx_cv_func__sincosl_use=yes
59513 else
59514 glibcxx_cv_func__sincosl_use=no
59515 fi
59516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59517 ac_ext=c
59518 ac_cpp='$CPP $CPPFLAGS'
59519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59522
59523
59524 fi
59525
59526 fi
59527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59528 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59529
59530 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59531 for ac_func in _sincosl
59532 do :
59533 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59534 if test "x$ac_cv_func__sincosl" = xyes; then :
59535 cat >>confdefs.h <<_ACEOF
59536 #define HAVE__SINCOSL 1
59537 _ACEOF
59538
59539 fi
59540 done
59541
59542 fi
59543 fi
59544
59545
59546
59547
59548
59549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59550 $as_echo_n "checking for finitel declaration... " >&6; }
59551 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59552 if ${glibcxx_cv_func_finitel_use+:} false; then :
59553 $as_echo_n "(cached) " >&6
59554 else
59555
59556
59557 ac_ext=cpp
59558 ac_cpp='$CXXCPP $CPPFLAGS'
59559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59562
59563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59564 /* end confdefs.h. */
59565 #include <math.h>
59566 #ifdef HAVE_IEEEFP_H
59567 #include <ieeefp.h>
59568 #endif
59569
59570 int
59571 main ()
59572 {
59573 finitel(0);
59574 ;
59575 return 0;
59576 }
59577 _ACEOF
59578 if ac_fn_cxx_try_compile "$LINENO"; then :
59579 glibcxx_cv_func_finitel_use=yes
59580 else
59581 glibcxx_cv_func_finitel_use=no
59582 fi
59583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59584 ac_ext=c
59585 ac_cpp='$CPP $CPPFLAGS'
59586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59589
59590
59591 fi
59592
59593 fi
59594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59595 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59596
59597 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59598 for ac_func in finitel
59599 do :
59600 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59601 if test "x$ac_cv_func_finitel" = xyes; then :
59602 cat >>confdefs.h <<_ACEOF
59603 #define HAVE_FINITEL 1
59604 _ACEOF
59605
59606 fi
59607 done
59608
59609 else
59610
59611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59612 $as_echo_n "checking for _finitel declaration... " >&6; }
59613 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59614 if ${glibcxx_cv_func__finitel_use+:} false; then :
59615 $as_echo_n "(cached) " >&6
59616 else
59617
59618
59619 ac_ext=cpp
59620 ac_cpp='$CXXCPP $CPPFLAGS'
59621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59624
59625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59626 /* end confdefs.h. */
59627 #include <math.h>
59628 #ifdef HAVE_IEEEFP_H
59629 #include <ieeefp.h>
59630 #endif
59631
59632 int
59633 main ()
59634 {
59635 _finitel(0);
59636 ;
59637 return 0;
59638 }
59639 _ACEOF
59640 if ac_fn_cxx_try_compile "$LINENO"; then :
59641 glibcxx_cv_func__finitel_use=yes
59642 else
59643 glibcxx_cv_func__finitel_use=no
59644 fi
59645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59646 ac_ext=c
59647 ac_cpp='$CPP $CPPFLAGS'
59648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59651
59652
59653 fi
59654
59655 fi
59656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59657 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59658
59659 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59660 for ac_func in _finitel
59661 do :
59662 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59663 if test "x$ac_cv_func__finitel" = xyes; then :
59664 cat >>confdefs.h <<_ACEOF
59665 #define HAVE__FINITEL 1
59666 _ACEOF
59667
59668 fi
59669 done
59670
59671 fi
59672 fi
59673
59674
59675
59676
59677 LIBS="$ac_save_LIBS"
59678 CXXFLAGS="$ac_save_CXXFLAGS"
59679
59680
59681 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59682 ac_save_CXXFLAGS="$CXXFLAGS"
59683 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59684
59685
59686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59687 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59688 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59689 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
59690 $as_echo_n "(cached) " >&6
59691 else
59692
59693
59694 ac_ext=cpp
59695 ac_cpp='$CXXCPP $CPPFLAGS'
59696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59699
59700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59701 /* end confdefs.h. */
59702 #include <stdlib.h>
59703 int
59704 main ()
59705 {
59706 at_quick_exit(0);
59707 ;
59708 return 0;
59709 }
59710 _ACEOF
59711 if ac_fn_cxx_try_compile "$LINENO"; then :
59712 glibcxx_cv_func_at_quick_exit_use=yes
59713 else
59714 glibcxx_cv_func_at_quick_exit_use=no
59715 fi
59716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59717 ac_ext=c
59718 ac_cpp='$CPP $CPPFLAGS'
59719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59722
59723
59724 fi
59725
59726 fi
59727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59728 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59729 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59730 for ac_func in at_quick_exit
59731 do :
59732 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59733 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
59734 cat >>confdefs.h <<_ACEOF
59735 #define HAVE_AT_QUICK_EXIT 1
59736 _ACEOF
59737
59738 fi
59739 done
59740
59741 fi
59742
59743
59744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59745 $as_echo_n "checking for quick_exit declaration... " >&6; }
59746 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59747 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
59748 $as_echo_n "(cached) " >&6
59749 else
59750
59751
59752 ac_ext=cpp
59753 ac_cpp='$CXXCPP $CPPFLAGS'
59754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59757
59758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59759 /* end confdefs.h. */
59760 #include <stdlib.h>
59761 int
59762 main ()
59763 {
59764 quick_exit(0);
59765 ;
59766 return 0;
59767 }
59768 _ACEOF
59769 if ac_fn_cxx_try_compile "$LINENO"; then :
59770 glibcxx_cv_func_quick_exit_use=yes
59771 else
59772 glibcxx_cv_func_quick_exit_use=no
59773 fi
59774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59775 ac_ext=c
59776 ac_cpp='$CPP $CPPFLAGS'
59777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59780
59781
59782 fi
59783
59784 fi
59785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59786 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59787 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59788 for ac_func in quick_exit
59789 do :
59790 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59791 if test "x$ac_cv_func_quick_exit" = xyes; then :
59792 cat >>confdefs.h <<_ACEOF
59793 #define HAVE_QUICK_EXIT 1
59794 _ACEOF
59795
59796 fi
59797 done
59798
59799 fi
59800
59801
59802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59803 $as_echo_n "checking for strtold declaration... " >&6; }
59804 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59805 if ${glibcxx_cv_func_strtold_use+:} false; then :
59806 $as_echo_n "(cached) " >&6
59807 else
59808
59809
59810 ac_ext=cpp
59811 ac_cpp='$CXXCPP $CPPFLAGS'
59812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59815
59816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59817 /* end confdefs.h. */
59818 #include <stdlib.h>
59819 int
59820 main ()
59821 {
59822 strtold(0, 0);
59823 ;
59824 return 0;
59825 }
59826 _ACEOF
59827 if ac_fn_cxx_try_compile "$LINENO"; then :
59828 glibcxx_cv_func_strtold_use=yes
59829 else
59830 glibcxx_cv_func_strtold_use=no
59831 fi
59832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59833 ac_ext=c
59834 ac_cpp='$CPP $CPPFLAGS'
59835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59838
59839
59840 fi
59841
59842 fi
59843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59844 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59845 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59846 for ac_func in strtold
59847 do :
59848 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59849 if test "x$ac_cv_func_strtold" = xyes; then :
59850 cat >>confdefs.h <<_ACEOF
59851 #define HAVE_STRTOLD 1
59852 _ACEOF
59853
59854 fi
59855 done
59856
59857 fi
59858
59859
59860
59861
59862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59863 $as_echo_n "checking for strtof declaration... " >&6; }
59864 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59865 if ${glibcxx_cv_func_strtof_use+:} false; then :
59866 $as_echo_n "(cached) " >&6
59867 else
59868
59869
59870 ac_ext=cpp
59871 ac_cpp='$CXXCPP $CPPFLAGS'
59872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59875
59876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59877 /* end confdefs.h. */
59878 #include <stdlib.h>
59879 int
59880 main ()
59881 {
59882 strtof(0, 0);
59883 ;
59884 return 0;
59885 }
59886 _ACEOF
59887 if ac_fn_cxx_try_compile "$LINENO"; then :
59888 glibcxx_cv_func_strtof_use=yes
59889 else
59890 glibcxx_cv_func_strtof_use=no
59891 fi
59892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59893 ac_ext=c
59894 ac_cpp='$CPP $CPPFLAGS'
59895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59898
59899
59900 fi
59901
59902 fi
59903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59904 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59905 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59906 for ac_func in strtof
59907 do :
59908 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59909 if test "x$ac_cv_func_strtof" = xyes; then :
59910 cat >>confdefs.h <<_ACEOF
59911 #define HAVE_STRTOF 1
59912 _ACEOF
59913
59914 fi
59915 done
59916
59917 fi
59918
59919
59920
59921
59922 CXXFLAGS="$ac_save_CXXFLAGS"
59923
59924 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
59925
59926 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59927
59928
59929
59930 # Check whether --enable-tls was given.
59931 if test "${enable_tls+set}" = set; then :
59932 enableval=$enable_tls;
59933 case "$enableval" in
59934 yes|no) ;;
59935 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59936 esac
59937
59938 else
59939 enable_tls=yes
59940 fi
59941
59942
59943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59944 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59945 if ${gcc_cv_have_tls+:} false; then :
59946 $as_echo_n "(cached) " >&6
59947 else
59948
59949 if test "$cross_compiling" = yes; then :
59950 if test x$gcc_no_link = xyes; then
59951 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59952 fi
59953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59954 /* end confdefs.h. */
59955 __thread int a; int b; int main() { return a = b; }
59956 _ACEOF
59957 if ac_fn_c_try_link "$LINENO"; then :
59958 chktls_save_LDFLAGS="$LDFLAGS"
59959 case $host in
59960 *-*-linux*)
59961 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59962 ;;
59963 esac
59964 chktls_save_CFLAGS="$CFLAGS"
59965 CFLAGS="-fPIC $CFLAGS"
59966 if test x$gcc_no_link = xyes; then
59967 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59968 fi
59969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59970 /* end confdefs.h. */
59971 int f() { return 0; }
59972 _ACEOF
59973 if ac_fn_c_try_link "$LINENO"; then :
59974 if test x$gcc_no_link = xyes; then
59975 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59976 fi
59977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59978 /* end confdefs.h. */
59979 __thread int a; int b; int f() { return a = b; }
59980 _ACEOF
59981 if ac_fn_c_try_link "$LINENO"; then :
59982 gcc_cv_have_tls=yes
59983 else
59984 gcc_cv_have_tls=no
59985 fi
59986 rm -f core conftest.err conftest.$ac_objext \
59987 conftest$ac_exeext conftest.$ac_ext
59988 else
59989 gcc_cv_have_tls=yes
59990 fi
59991 rm -f core conftest.err conftest.$ac_objext \
59992 conftest$ac_exeext conftest.$ac_ext
59993 CFLAGS="$chktls_save_CFLAGS"
59994 LDFLAGS="$chktls_save_LDFLAGS"
59995 else
59996 gcc_cv_have_tls=no
59997 fi
59998 rm -f core conftest.err conftest.$ac_objext \
59999 conftest$ac_exeext conftest.$ac_ext
60000
60001
60002 else
60003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60004 /* end confdefs.h. */
60005 __thread int a; int b; int main() { return a = b; }
60006 _ACEOF
60007 if ac_fn_c_try_run "$LINENO"; then :
60008 chktls_save_LDFLAGS="$LDFLAGS"
60009 LDFLAGS="-static $LDFLAGS"
60010 if test x$gcc_no_link = xyes; then
60011 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60012 fi
60013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60014 /* end confdefs.h. */
60015 int main() { return 0; }
60016 _ACEOF
60017 if ac_fn_c_try_link "$LINENO"; then :
60018 if test "$cross_compiling" = yes; then :
60019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60021 as_fn_error $? "cannot run test program while cross compiling
60022 See \`config.log' for more details" "$LINENO" 5; }
60023 else
60024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60025 /* end confdefs.h. */
60026 __thread int a; int b; int main() { return a = b; }
60027 _ACEOF
60028 if ac_fn_c_try_run "$LINENO"; then :
60029 gcc_cv_have_tls=yes
60030 else
60031 gcc_cv_have_tls=no
60032 fi
60033 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60034 conftest.$ac_objext conftest.beam conftest.$ac_ext
60035 fi
60036
60037 else
60038 gcc_cv_have_tls=yes
60039 fi
60040 rm -f core conftest.err conftest.$ac_objext \
60041 conftest$ac_exeext conftest.$ac_ext
60042 LDFLAGS="$chktls_save_LDFLAGS"
60043 if test $gcc_cv_have_tls = yes; then
60044 chktls_save_CFLAGS="$CFLAGS"
60045 thread_CFLAGS=failed
60046 for flag in '' '-pthread' '-lpthread'; do
60047 CFLAGS="$flag $chktls_save_CFLAGS"
60048 if test x$gcc_no_link = xyes; then
60049 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60050 fi
60051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60052 /* end confdefs.h. */
60053 #include <pthread.h>
60054 void *g(void *d) { return NULL; }
60055 int
60056 main ()
60057 {
60058 pthread_t t; pthread_create(&t,NULL,g,NULL);
60059 ;
60060 return 0;
60061 }
60062 _ACEOF
60063 if ac_fn_c_try_link "$LINENO"; then :
60064 thread_CFLAGS="$flag"
60065 fi
60066 rm -f core conftest.err conftest.$ac_objext \
60067 conftest$ac_exeext conftest.$ac_ext
60068 if test "X$thread_CFLAGS" != Xfailed; then
60069 break
60070 fi
60071 done
60072 CFLAGS="$chktls_save_CFLAGS"
60073 if test "X$thread_CFLAGS" != Xfailed; then
60074 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60075 if test "$cross_compiling" = yes; then :
60076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60078 as_fn_error $? "cannot run test program while cross compiling
60079 See \`config.log' for more details" "$LINENO" 5; }
60080 else
60081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60082 /* end confdefs.h. */
60083 #include <pthread.h>
60084 __thread int a;
60085 static int *volatile a_in_other_thread;
60086 static void *
60087 thread_func (void *arg)
60088 {
60089 a_in_other_thread = &a;
60090 return (void *)0;
60091 }
60092 int
60093 main ()
60094 {
60095 pthread_t thread;
60096 void *thread_retval;
60097 int *volatile a_in_main_thread;
60098 a_in_main_thread = &a;
60099 if (pthread_create (&thread, (pthread_attr_t *)0,
60100 thread_func, (void *)0))
60101 return 0;
60102 if (pthread_join (thread, &thread_retval))
60103 return 0;
60104 return (a_in_other_thread == a_in_main_thread);
60105 ;
60106 return 0;
60107 }
60108 _ACEOF
60109 if ac_fn_c_try_run "$LINENO"; then :
60110 gcc_cv_have_tls=yes
60111 else
60112 gcc_cv_have_tls=no
60113 fi
60114 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60115 conftest.$ac_objext conftest.beam conftest.$ac_ext
60116 fi
60117
60118 CFLAGS="$chktls_save_CFLAGS"
60119 fi
60120 fi
60121 else
60122 gcc_cv_have_tls=no
60123 fi
60124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60125 conftest.$ac_objext conftest.beam conftest.$ac_ext
60126 fi
60127
60128 fi
60129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60130 $as_echo "$gcc_cv_have_tls" >&6; }
60131 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60132
60133 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60134
60135 fi
60136 for ac_func in __cxa_thread_atexit_impl
60137 do :
60138 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
60139 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
60140 cat >>confdefs.h <<_ACEOF
60141 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
60142 _ACEOF
60143
60144 fi
60145 done
60146
60147 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60148 do :
60149 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60151 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60152 cat >>confdefs.h <<_ACEOF
60153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60154 _ACEOF
60155
60156 fi
60157 done
60158
60159
60160
60161
60162
60163
60164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
60165 $as_echo_n "checking for iconv... " >&6; }
60166 if ${am_cv_func_iconv+:} false; then :
60167 $as_echo_n "(cached) " >&6
60168 else
60169
60170 am_cv_func_iconv="no, consider installing GNU libiconv"
60171 am_cv_lib_iconv=no
60172 am_save_CPPFLAGS="$CPPFLAGS"
60173 CPPFLAGS="$CPPFLAGS $INCICONV"
60174 if test x$gcc_no_link = xyes; then
60175 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60176 fi
60177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60178 /* end confdefs.h. */
60179 #include <stdlib.h>
60180 #include <iconv.h>
60181 int
60182 main ()
60183 {
60184 iconv_t cd = iconv_open("","");
60185 iconv(cd,NULL,NULL,NULL,NULL);
60186 iconv_close(cd);
60187 ;
60188 return 0;
60189 }
60190 _ACEOF
60191 if ac_fn_c_try_link "$LINENO"; then :
60192 am_cv_func_iconv=yes
60193 fi
60194 rm -f core conftest.err conftest.$ac_objext \
60195 conftest$ac_exeext conftest.$ac_ext
60196 CPPFLAGS="$am_save_CPPFLAGS"
60197
60198 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60199 for _libs in .libs _libs; do
60200 am_save_CPPFLAGS="$CPPFLAGS"
60201 am_save_LIBS="$LIBS"
60202 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60203 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60204 if test x$gcc_no_link = xyes; then
60205 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60206 fi
60207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60208 /* end confdefs.h. */
60209 #include <stdlib.h>
60210 #include <iconv.h>
60211 int
60212 main ()
60213 {
60214 iconv_t cd = iconv_open("","");
60215 iconv(cd,NULL,NULL,NULL,NULL);
60216 iconv_close(cd);
60217 ;
60218 return 0;
60219 }
60220 _ACEOF
60221 if ac_fn_c_try_link "$LINENO"; then :
60222 INCICONV="-I../libiconv/include"
60223 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60224 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60225 am_cv_lib_iconv=yes
60226 am_cv_func_iconv=yes
60227 fi
60228 rm -f core conftest.err conftest.$ac_objext \
60229 conftest$ac_exeext conftest.$ac_ext
60230 CPPFLAGS="$am_save_CPPFLAGS"
60231 LIBS="$am_save_LIBS"
60232 if test "$am_cv_func_iconv" = "yes"; then
60233 break
60234 fi
60235 done
60236 fi
60237
60238 if test "$am_cv_func_iconv" != yes; then
60239 am_save_CPPFLAGS="$CPPFLAGS"
60240 am_save_LIBS="$LIBS"
60241 CPPFLAGS="$LIBS $INCICONV"
60242 LIBS="$LIBS $LIBICONV"
60243 if test x$gcc_no_link = xyes; then
60244 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60245 fi
60246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60247 /* end confdefs.h. */
60248 #include <stdlib.h>
60249 #include <iconv.h>
60250 int
60251 main ()
60252 {
60253 iconv_t cd = iconv_open("","");
60254 iconv(cd,NULL,NULL,NULL,NULL);
60255 iconv_close(cd);
60256 ;
60257 return 0;
60258 }
60259 _ACEOF
60260 if ac_fn_c_try_link "$LINENO"; then :
60261 am_cv_lib_iconv=yes
60262 am_cv_func_iconv=yes
60263 fi
60264 rm -f core conftest.err conftest.$ac_objext \
60265 conftest$ac_exeext conftest.$ac_ext
60266 CPPFLAGS="$am_save_CPPFLAGS"
60267 LIBS="$am_save_LIBS"
60268 fi
60269
60270 fi
60271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60272 $as_echo "$am_cv_func_iconv" >&6; }
60273 if test "$am_cv_func_iconv" = yes; then
60274
60275 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60276
60277 fi
60278 if test "$am_cv_lib_iconv" = yes; then
60279
60280 for element in $INCICONV; do
60281 haveit=
60282 for x in $CPPFLAGS; do
60283
60284 acl_save_prefix="$prefix"
60285 prefix="$acl_final_prefix"
60286 acl_save_exec_prefix="$exec_prefix"
60287 exec_prefix="$acl_final_exec_prefix"
60288 eval x=\"$x\"
60289 exec_prefix="$acl_save_exec_prefix"
60290 prefix="$acl_save_prefix"
60291
60292 if test "X$x" = "X$element"; then
60293 haveit=yes
60294 break
60295 fi
60296 done
60297 if test -z "$haveit"; then
60298 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60299 fi
60300 done
60301
60302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60303 $as_echo_n "checking how to link with libiconv... " >&6; }
60304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60305 $as_echo "$LIBICONV" >&6; }
60306 else
60307 LIBICONV=
60308 LTLIBICONV=
60309 fi
60310
60311
60312
60313 if test "$am_cv_func_iconv" = yes; then
60314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60315 $as_echo_n "checking for iconv declaration... " >&6; }
60316 if ${am_cv_proto_iconv+:} false; then :
60317 $as_echo_n "(cached) " >&6
60318 else
60319
60320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60321 /* end confdefs.h. */
60322
60323 #include <stdlib.h>
60324 #include <iconv.h>
60325 extern
60326 #ifdef __cplusplus
60327 "C"
60328 #endif
60329 #if defined(__STDC__) || defined(__cplusplus)
60330 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60331 #else
60332 size_t iconv();
60333 #endif
60334
60335 int
60336 main ()
60337 {
60338
60339 ;
60340 return 0;
60341 }
60342 _ACEOF
60343 if ac_fn_c_try_compile "$LINENO"; then :
60344 am_cv_proto_iconv_arg1=""
60345 else
60346 am_cv_proto_iconv_arg1="const"
60347 fi
60348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60349 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);"
60350 fi
60351
60352 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60354 }$am_cv_proto_iconv" >&5
60355 $as_echo "${ac_t:-
60356 }$am_cv_proto_iconv" >&6; }
60357
60358 cat >>confdefs.h <<_ACEOF
60359 #define ICONV_CONST $am_cv_proto_iconv_arg1
60360 _ACEOF
60361
60362 fi
60363
60364 ;;
60365 *-mingw32*)
60366
60367 # If we're not using GNU ld, then there's no point in even trying these
60368 # tests. Check for that first. We should have already tested for gld
60369 # by now (in libtool), but require it now just to be safe...
60370 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60371 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60372
60373
60374
60375 # The name set by libtool depends on the version of libtool. Shame on us
60376 # for depending on an impl detail, but c'est la vie. Older versions used
60377 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60378 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60379 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60380 # set (hence we're using an older libtool), then set it.
60381 if test x${with_gnu_ld+set} != xset; then
60382 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60383 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60384 with_gnu_ld=no
60385 else
60386 with_gnu_ld=$ac_cv_prog_gnu_ld
60387 fi
60388 fi
60389
60390 # Start by getting the version number. I think the libtool test already
60391 # does some of this, but throws away the result.
60392 glibcxx_ld_is_gold=no
60393 if test x"$with_gnu_ld" = x"yes"; then
60394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60395 $as_echo_n "checking for ld version... " >&6; }
60396
60397 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60398 glibcxx_ld_is_gold=yes
60399 fi
60400 ldver=`$LD --version 2>/dev/null |
60401 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'`
60402
60403 glibcxx_gnu_ld_version=`echo $ldver | \
60404 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60406 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60407 fi
60408
60409 # Set --gc-sections.
60410 glibcxx_have_gc_sections=no
60411 if test "$glibcxx_ld_is_gold" = "yes"; then
60412 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60413 glibcxx_have_gc_sections=yes
60414 fi
60415 else
60416 glibcxx_gcsections_min_ld=21602
60417 if test x"$with_gnu_ld" = x"yes" &&
60418 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60419 glibcxx_have_gc_sections=yes
60420 fi
60421 fi
60422 if test "$glibcxx_have_gc_sections" = "yes"; then
60423 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60424 # NB: This flag only works reliably after 2.16.1. Configure tests
60425 # for this are difficult, so hard wire a value that should work.
60426
60427 ac_test_CFLAGS="${CFLAGS+set}"
60428 ac_save_CFLAGS="$CFLAGS"
60429 CFLAGS='-Wl,--gc-sections'
60430
60431 # Check for -Wl,--gc-sections
60432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60433 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60434 if test x$gcc_no_link = xyes; then
60435 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60436 fi
60437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60438 /* end confdefs.h. */
60439 int one(void) { return 1; }
60440 int two(void) { return 2; }
60441
60442 int
60443 main ()
60444 {
60445 two();
60446 ;
60447 return 0;
60448 }
60449 _ACEOF
60450 if ac_fn_c_try_link "$LINENO"; then :
60451 ac_gcsections=yes
60452 else
60453 ac_gcsections=no
60454 fi
60455 rm -f core conftest.err conftest.$ac_objext \
60456 conftest$ac_exeext conftest.$ac_ext
60457 if test "$ac_gcsections" = "yes"; then
60458 rm -f conftest.c
60459 touch conftest.c
60460 if $CC -c conftest.c; then
60461 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60462 grep "Warning: gc-sections option ignored" > /dev/null; then
60463 ac_gcsections=no
60464 fi
60465 fi
60466 rm -f conftest.c conftest.o conftest
60467 fi
60468 if test "$ac_gcsections" = "yes"; then
60469 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60470 fi
60471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60472 $as_echo "$ac_gcsections" >&6; }
60473
60474 if test "$ac_test_CFLAGS" = set; then
60475 CFLAGS="$ac_save_CFLAGS"
60476 else
60477 # this is the suspicious part
60478 CFLAGS=''
60479 fi
60480 fi
60481
60482 # Set -z,relro.
60483 # Note this is only for shared objects.
60484 ac_ld_relro=no
60485 if test x"$with_gnu_ld" = x"yes"; then
60486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60487 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60488 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60489 if test -n "$cxx_z_relo"; then
60490 OPT_LDFLAGS="-Wl,-z,relro"
60491 ac_ld_relro=yes
60492 fi
60493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60494 $as_echo "$ac_ld_relro" >&6; }
60495 fi
60496
60497 # Set linker optimization flags.
60498 if test x"$with_gnu_ld" = x"yes"; then
60499 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60500 fi
60501
60502
60503
60504
60505
60506 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60507 ac_save_CXXFLAGS="$CXXFLAGS"
60508 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60509
60510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60511 $as_echo_n "checking for sin in -lm... " >&6; }
60512 if ${ac_cv_lib_m_sin+:} false; then :
60513 $as_echo_n "(cached) " >&6
60514 else
60515 ac_check_lib_save_LIBS=$LIBS
60516 LIBS="-lm $LIBS"
60517 if test x$gcc_no_link = xyes; then
60518 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60519 fi
60520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60521 /* end confdefs.h. */
60522
60523 /* Override any GCC internal prototype to avoid an error.
60524 Use char because int might match the return type of a GCC
60525 builtin and then its argument prototype would still apply. */
60526 #ifdef __cplusplus
60527 extern "C"
60528 #endif
60529 char sin ();
60530 int
60531 main ()
60532 {
60533 return sin ();
60534 ;
60535 return 0;
60536 }
60537 _ACEOF
60538 if ac_fn_c_try_link "$LINENO"; then :
60539 ac_cv_lib_m_sin=yes
60540 else
60541 ac_cv_lib_m_sin=no
60542 fi
60543 rm -f core conftest.err conftest.$ac_objext \
60544 conftest$ac_exeext conftest.$ac_ext
60545 LIBS=$ac_check_lib_save_LIBS
60546 fi
60547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60548 $as_echo "$ac_cv_lib_m_sin" >&6; }
60549 if test "x$ac_cv_lib_m_sin" = xyes; then :
60550 libm="-lm"
60551 fi
60552
60553 ac_save_LIBS="$LIBS"
60554 LIBS="$LIBS $libm"
60555
60556
60557
60558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60559 $as_echo_n "checking for isinf declaration... " >&6; }
60560 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60561 if ${glibcxx_cv_func_isinf_use+:} false; then :
60562 $as_echo_n "(cached) " >&6
60563 else
60564
60565
60566 ac_ext=cpp
60567 ac_cpp='$CXXCPP $CPPFLAGS'
60568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60571
60572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60573 /* end confdefs.h. */
60574 #include <math.h>
60575 #ifdef HAVE_IEEEFP_H
60576 #include <ieeefp.h>
60577 #endif
60578
60579 int
60580 main ()
60581 {
60582 isinf(0);
60583 ;
60584 return 0;
60585 }
60586 _ACEOF
60587 if ac_fn_cxx_try_compile "$LINENO"; then :
60588 glibcxx_cv_func_isinf_use=yes
60589 else
60590 glibcxx_cv_func_isinf_use=no
60591 fi
60592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60593 ac_ext=c
60594 ac_cpp='$CPP $CPPFLAGS'
60595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60598
60599
60600 fi
60601
60602 fi
60603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60604 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60605
60606 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60607 for ac_func in isinf
60608 do :
60609 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60610 if test "x$ac_cv_func_isinf" = xyes; then :
60611 cat >>confdefs.h <<_ACEOF
60612 #define HAVE_ISINF 1
60613 _ACEOF
60614
60615 fi
60616 done
60617
60618 else
60619
60620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60621 $as_echo_n "checking for _isinf declaration... " >&6; }
60622 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60623 if ${glibcxx_cv_func__isinf_use+:} false; then :
60624 $as_echo_n "(cached) " >&6
60625 else
60626
60627
60628 ac_ext=cpp
60629 ac_cpp='$CXXCPP $CPPFLAGS'
60630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60633
60634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60635 /* end confdefs.h. */
60636 #include <math.h>
60637 #ifdef HAVE_IEEEFP_H
60638 #include <ieeefp.h>
60639 #endif
60640
60641 int
60642 main ()
60643 {
60644 _isinf(0);
60645 ;
60646 return 0;
60647 }
60648 _ACEOF
60649 if ac_fn_cxx_try_compile "$LINENO"; then :
60650 glibcxx_cv_func__isinf_use=yes
60651 else
60652 glibcxx_cv_func__isinf_use=no
60653 fi
60654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60655 ac_ext=c
60656 ac_cpp='$CPP $CPPFLAGS'
60657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60660
60661
60662 fi
60663
60664 fi
60665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60666 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60667
60668 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60669 for ac_func in _isinf
60670 do :
60671 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60672 if test "x$ac_cv_func__isinf" = xyes; then :
60673 cat >>confdefs.h <<_ACEOF
60674 #define HAVE__ISINF 1
60675 _ACEOF
60676
60677 fi
60678 done
60679
60680 fi
60681 fi
60682
60683
60684
60685
60686
60687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60688 $as_echo_n "checking for isnan declaration... " >&6; }
60689 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60690 if ${glibcxx_cv_func_isnan_use+:} false; then :
60691 $as_echo_n "(cached) " >&6
60692 else
60693
60694
60695 ac_ext=cpp
60696 ac_cpp='$CXXCPP $CPPFLAGS'
60697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60700
60701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60702 /* end confdefs.h. */
60703 #include <math.h>
60704 #ifdef HAVE_IEEEFP_H
60705 #include <ieeefp.h>
60706 #endif
60707
60708 int
60709 main ()
60710 {
60711 isnan(0);
60712 ;
60713 return 0;
60714 }
60715 _ACEOF
60716 if ac_fn_cxx_try_compile "$LINENO"; then :
60717 glibcxx_cv_func_isnan_use=yes
60718 else
60719 glibcxx_cv_func_isnan_use=no
60720 fi
60721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60722 ac_ext=c
60723 ac_cpp='$CPP $CPPFLAGS'
60724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60727
60728
60729 fi
60730
60731 fi
60732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60733 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60734
60735 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60736 for ac_func in isnan
60737 do :
60738 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60739 if test "x$ac_cv_func_isnan" = xyes; then :
60740 cat >>confdefs.h <<_ACEOF
60741 #define HAVE_ISNAN 1
60742 _ACEOF
60743
60744 fi
60745 done
60746
60747 else
60748
60749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60750 $as_echo_n "checking for _isnan declaration... " >&6; }
60751 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60752 if ${glibcxx_cv_func__isnan_use+:} false; then :
60753 $as_echo_n "(cached) " >&6
60754 else
60755
60756
60757 ac_ext=cpp
60758 ac_cpp='$CXXCPP $CPPFLAGS'
60759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60762
60763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60764 /* end confdefs.h. */
60765 #include <math.h>
60766 #ifdef HAVE_IEEEFP_H
60767 #include <ieeefp.h>
60768 #endif
60769
60770 int
60771 main ()
60772 {
60773 _isnan(0);
60774 ;
60775 return 0;
60776 }
60777 _ACEOF
60778 if ac_fn_cxx_try_compile "$LINENO"; then :
60779 glibcxx_cv_func__isnan_use=yes
60780 else
60781 glibcxx_cv_func__isnan_use=no
60782 fi
60783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60784 ac_ext=c
60785 ac_cpp='$CPP $CPPFLAGS'
60786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60789
60790
60791 fi
60792
60793 fi
60794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60795 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60796
60797 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60798 for ac_func in _isnan
60799 do :
60800 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60801 if test "x$ac_cv_func__isnan" = xyes; then :
60802 cat >>confdefs.h <<_ACEOF
60803 #define HAVE__ISNAN 1
60804 _ACEOF
60805
60806 fi
60807 done
60808
60809 fi
60810 fi
60811
60812
60813
60814
60815
60816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60817 $as_echo_n "checking for finite declaration... " >&6; }
60818 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60819 if ${glibcxx_cv_func_finite_use+:} false; then :
60820 $as_echo_n "(cached) " >&6
60821 else
60822
60823
60824 ac_ext=cpp
60825 ac_cpp='$CXXCPP $CPPFLAGS'
60826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60829
60830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60831 /* end confdefs.h. */
60832 #include <math.h>
60833 #ifdef HAVE_IEEEFP_H
60834 #include <ieeefp.h>
60835 #endif
60836
60837 int
60838 main ()
60839 {
60840 finite(0);
60841 ;
60842 return 0;
60843 }
60844 _ACEOF
60845 if ac_fn_cxx_try_compile "$LINENO"; then :
60846 glibcxx_cv_func_finite_use=yes
60847 else
60848 glibcxx_cv_func_finite_use=no
60849 fi
60850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60851 ac_ext=c
60852 ac_cpp='$CPP $CPPFLAGS'
60853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60856
60857
60858 fi
60859
60860 fi
60861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60862 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60863
60864 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60865 for ac_func in finite
60866 do :
60867 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60868 if test "x$ac_cv_func_finite" = xyes; then :
60869 cat >>confdefs.h <<_ACEOF
60870 #define HAVE_FINITE 1
60871 _ACEOF
60872
60873 fi
60874 done
60875
60876 else
60877
60878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60879 $as_echo_n "checking for _finite declaration... " >&6; }
60880 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60881 if ${glibcxx_cv_func__finite_use+:} false; then :
60882 $as_echo_n "(cached) " >&6
60883 else
60884
60885
60886 ac_ext=cpp
60887 ac_cpp='$CXXCPP $CPPFLAGS'
60888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60891
60892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60893 /* end confdefs.h. */
60894 #include <math.h>
60895 #ifdef HAVE_IEEEFP_H
60896 #include <ieeefp.h>
60897 #endif
60898
60899 int
60900 main ()
60901 {
60902 _finite(0);
60903 ;
60904 return 0;
60905 }
60906 _ACEOF
60907 if ac_fn_cxx_try_compile "$LINENO"; then :
60908 glibcxx_cv_func__finite_use=yes
60909 else
60910 glibcxx_cv_func__finite_use=no
60911 fi
60912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60913 ac_ext=c
60914 ac_cpp='$CPP $CPPFLAGS'
60915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60918
60919
60920 fi
60921
60922 fi
60923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60924 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60925
60926 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60927 for ac_func in _finite
60928 do :
60929 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60930 if test "x$ac_cv_func__finite" = xyes; then :
60931 cat >>confdefs.h <<_ACEOF
60932 #define HAVE__FINITE 1
60933 _ACEOF
60934
60935 fi
60936 done
60937
60938 fi
60939 fi
60940
60941
60942
60943
60944
60945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60946 $as_echo_n "checking for sincos declaration... " >&6; }
60947 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60948 if ${glibcxx_cv_func_sincos_use+:} false; then :
60949 $as_echo_n "(cached) " >&6
60950 else
60951
60952
60953 ac_ext=cpp
60954 ac_cpp='$CXXCPP $CPPFLAGS'
60955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60958
60959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60960 /* end confdefs.h. */
60961 #include <math.h>
60962 int
60963 main ()
60964 {
60965 sincos(0, 0, 0);
60966 ;
60967 return 0;
60968 }
60969 _ACEOF
60970 if ac_fn_cxx_try_compile "$LINENO"; then :
60971 glibcxx_cv_func_sincos_use=yes
60972 else
60973 glibcxx_cv_func_sincos_use=no
60974 fi
60975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60976 ac_ext=c
60977 ac_cpp='$CPP $CPPFLAGS'
60978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60981
60982
60983 fi
60984
60985 fi
60986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60987 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60988
60989 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60990 for ac_func in sincos
60991 do :
60992 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60993 if test "x$ac_cv_func_sincos" = xyes; then :
60994 cat >>confdefs.h <<_ACEOF
60995 #define HAVE_SINCOS 1
60996 _ACEOF
60997
60998 fi
60999 done
61000
61001 else
61002
61003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61004 $as_echo_n "checking for _sincos declaration... " >&6; }
61005 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61006 if ${glibcxx_cv_func__sincos_use+:} false; then :
61007 $as_echo_n "(cached) " >&6
61008 else
61009
61010
61011 ac_ext=cpp
61012 ac_cpp='$CXXCPP $CPPFLAGS'
61013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61016
61017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61018 /* end confdefs.h. */
61019 #include <math.h>
61020 int
61021 main ()
61022 {
61023 _sincos(0, 0, 0);
61024 ;
61025 return 0;
61026 }
61027 _ACEOF
61028 if ac_fn_cxx_try_compile "$LINENO"; then :
61029 glibcxx_cv_func__sincos_use=yes
61030 else
61031 glibcxx_cv_func__sincos_use=no
61032 fi
61033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61034 ac_ext=c
61035 ac_cpp='$CPP $CPPFLAGS'
61036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61039
61040
61041 fi
61042
61043 fi
61044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61045 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61046
61047 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61048 for ac_func in _sincos
61049 do :
61050 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61051 if test "x$ac_cv_func__sincos" = xyes; then :
61052 cat >>confdefs.h <<_ACEOF
61053 #define HAVE__SINCOS 1
61054 _ACEOF
61055
61056 fi
61057 done
61058
61059 fi
61060 fi
61061
61062
61063
61064
61065
61066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61067 $as_echo_n "checking for fpclass declaration... " >&6; }
61068 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61069 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61070 $as_echo_n "(cached) " >&6
61071 else
61072
61073
61074 ac_ext=cpp
61075 ac_cpp='$CXXCPP $CPPFLAGS'
61076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61079
61080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61081 /* end confdefs.h. */
61082 #include <math.h>
61083 #ifdef HAVE_IEEEFP_H
61084 #include <ieeefp.h>
61085 #endif
61086
61087 int
61088 main ()
61089 {
61090 fpclass(0);
61091 ;
61092 return 0;
61093 }
61094 _ACEOF
61095 if ac_fn_cxx_try_compile "$LINENO"; then :
61096 glibcxx_cv_func_fpclass_use=yes
61097 else
61098 glibcxx_cv_func_fpclass_use=no
61099 fi
61100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61101 ac_ext=c
61102 ac_cpp='$CPP $CPPFLAGS'
61103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61106
61107
61108 fi
61109
61110 fi
61111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61112 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61113
61114 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61115 for ac_func in fpclass
61116 do :
61117 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61118 if test "x$ac_cv_func_fpclass" = xyes; then :
61119 cat >>confdefs.h <<_ACEOF
61120 #define HAVE_FPCLASS 1
61121 _ACEOF
61122
61123 fi
61124 done
61125
61126 else
61127
61128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61129 $as_echo_n "checking for _fpclass declaration... " >&6; }
61130 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61131 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61132 $as_echo_n "(cached) " >&6
61133 else
61134
61135
61136 ac_ext=cpp
61137 ac_cpp='$CXXCPP $CPPFLAGS'
61138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61141
61142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61143 /* end confdefs.h. */
61144 #include <math.h>
61145 #ifdef HAVE_IEEEFP_H
61146 #include <ieeefp.h>
61147 #endif
61148
61149 int
61150 main ()
61151 {
61152 _fpclass(0);
61153 ;
61154 return 0;
61155 }
61156 _ACEOF
61157 if ac_fn_cxx_try_compile "$LINENO"; then :
61158 glibcxx_cv_func__fpclass_use=yes
61159 else
61160 glibcxx_cv_func__fpclass_use=no
61161 fi
61162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61163 ac_ext=c
61164 ac_cpp='$CPP $CPPFLAGS'
61165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61168
61169
61170 fi
61171
61172 fi
61173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61174 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61175
61176 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61177 for ac_func in _fpclass
61178 do :
61179 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61180 if test "x$ac_cv_func__fpclass" = xyes; then :
61181 cat >>confdefs.h <<_ACEOF
61182 #define HAVE__FPCLASS 1
61183 _ACEOF
61184
61185 fi
61186 done
61187
61188 fi
61189 fi
61190
61191
61192
61193
61194
61195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61196 $as_echo_n "checking for qfpclass declaration... " >&6; }
61197 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61198 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61199 $as_echo_n "(cached) " >&6
61200 else
61201
61202
61203 ac_ext=cpp
61204 ac_cpp='$CXXCPP $CPPFLAGS'
61205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61208
61209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61210 /* end confdefs.h. */
61211 #include <math.h>
61212 #ifdef HAVE_IEEEFP_H
61213 #include <ieeefp.h>
61214 #endif
61215
61216 int
61217 main ()
61218 {
61219 qfpclass(0);
61220 ;
61221 return 0;
61222 }
61223 _ACEOF
61224 if ac_fn_cxx_try_compile "$LINENO"; then :
61225 glibcxx_cv_func_qfpclass_use=yes
61226 else
61227 glibcxx_cv_func_qfpclass_use=no
61228 fi
61229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61230 ac_ext=c
61231 ac_cpp='$CPP $CPPFLAGS'
61232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61235
61236
61237 fi
61238
61239 fi
61240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61241 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61242
61243 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61244 for ac_func in qfpclass
61245 do :
61246 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61247 if test "x$ac_cv_func_qfpclass" = xyes; then :
61248 cat >>confdefs.h <<_ACEOF
61249 #define HAVE_QFPCLASS 1
61250 _ACEOF
61251
61252 fi
61253 done
61254
61255 else
61256
61257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61258 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61259 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61260 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61261 $as_echo_n "(cached) " >&6
61262 else
61263
61264
61265 ac_ext=cpp
61266 ac_cpp='$CXXCPP $CPPFLAGS'
61267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61270
61271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61272 /* end confdefs.h. */
61273 #include <math.h>
61274 #ifdef HAVE_IEEEFP_H
61275 #include <ieeefp.h>
61276 #endif
61277
61278 int
61279 main ()
61280 {
61281 _qfpclass(0);
61282 ;
61283 return 0;
61284 }
61285 _ACEOF
61286 if ac_fn_cxx_try_compile "$LINENO"; then :
61287 glibcxx_cv_func__qfpclass_use=yes
61288 else
61289 glibcxx_cv_func__qfpclass_use=no
61290 fi
61291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61292 ac_ext=c
61293 ac_cpp='$CPP $CPPFLAGS'
61294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61297
61298
61299 fi
61300
61301 fi
61302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61303 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61304
61305 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61306 for ac_func in _qfpclass
61307 do :
61308 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61309 if test "x$ac_cv_func__qfpclass" = xyes; then :
61310 cat >>confdefs.h <<_ACEOF
61311 #define HAVE__QFPCLASS 1
61312 _ACEOF
61313
61314 fi
61315 done
61316
61317 fi
61318 fi
61319
61320
61321
61322
61323
61324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61325 $as_echo_n "checking for hypot declaration... " >&6; }
61326 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61327 if ${glibcxx_cv_func_hypot_use+:} false; then :
61328 $as_echo_n "(cached) " >&6
61329 else
61330
61331
61332 ac_ext=cpp
61333 ac_cpp='$CXXCPP $CPPFLAGS'
61334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61337
61338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61339 /* end confdefs.h. */
61340 #include <math.h>
61341 int
61342 main ()
61343 {
61344 hypot(0, 0);
61345 ;
61346 return 0;
61347 }
61348 _ACEOF
61349 if ac_fn_cxx_try_compile "$LINENO"; then :
61350 glibcxx_cv_func_hypot_use=yes
61351 else
61352 glibcxx_cv_func_hypot_use=no
61353 fi
61354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61355 ac_ext=c
61356 ac_cpp='$CPP $CPPFLAGS'
61357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61360
61361
61362 fi
61363
61364 fi
61365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61366 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61367
61368 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61369 for ac_func in hypot
61370 do :
61371 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61372 if test "x$ac_cv_func_hypot" = xyes; then :
61373 cat >>confdefs.h <<_ACEOF
61374 #define HAVE_HYPOT 1
61375 _ACEOF
61376
61377 fi
61378 done
61379
61380 else
61381
61382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61383 $as_echo_n "checking for _hypot declaration... " >&6; }
61384 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61385 if ${glibcxx_cv_func__hypot_use+:} false; then :
61386 $as_echo_n "(cached) " >&6
61387 else
61388
61389
61390 ac_ext=cpp
61391 ac_cpp='$CXXCPP $CPPFLAGS'
61392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61395
61396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61397 /* end confdefs.h. */
61398 #include <math.h>
61399 int
61400 main ()
61401 {
61402 _hypot(0, 0);
61403 ;
61404 return 0;
61405 }
61406 _ACEOF
61407 if ac_fn_cxx_try_compile "$LINENO"; then :
61408 glibcxx_cv_func__hypot_use=yes
61409 else
61410 glibcxx_cv_func__hypot_use=no
61411 fi
61412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61413 ac_ext=c
61414 ac_cpp='$CPP $CPPFLAGS'
61415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61418
61419
61420 fi
61421
61422 fi
61423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61424 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61425
61426 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61427 for ac_func in _hypot
61428 do :
61429 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61430 if test "x$ac_cv_func__hypot" = xyes; then :
61431 cat >>confdefs.h <<_ACEOF
61432 #define HAVE__HYPOT 1
61433 _ACEOF
61434
61435 fi
61436 done
61437
61438 fi
61439 fi
61440
61441
61442
61443
61444
61445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61446 $as_echo_n "checking for float trig functions... " >&6; }
61447 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61448 $as_echo_n "(cached) " >&6
61449 else
61450
61451
61452 ac_ext=cpp
61453 ac_cpp='$CXXCPP $CPPFLAGS'
61454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61457
61458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61459 /* end confdefs.h. */
61460 #include <math.h>
61461 int
61462 main ()
61463 {
61464 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61465 ;
61466 return 0;
61467 }
61468 _ACEOF
61469 if ac_fn_cxx_try_compile "$LINENO"; then :
61470 glibcxx_cv_func_float_trig_use=yes
61471 else
61472 glibcxx_cv_func_float_trig_use=no
61473 fi
61474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61475 ac_ext=c
61476 ac_cpp='$CPP $CPPFLAGS'
61477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61480
61481 fi
61482
61483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61484 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61485 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61486 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61487 do :
61488 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61489 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61490 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61491 cat >>confdefs.h <<_ACEOF
61492 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61493 _ACEOF
61494
61495 fi
61496 done
61497
61498 else
61499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61500 $as_echo_n "checking for _float trig functions... " >&6; }
61501 if ${glibcxx_cv_func__float_trig_use+:} false; then :
61502 $as_echo_n "(cached) " >&6
61503 else
61504
61505
61506 ac_ext=cpp
61507 ac_cpp='$CXXCPP $CPPFLAGS'
61508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61511
61512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61513 /* end confdefs.h. */
61514 #include <math.h>
61515 int
61516 main ()
61517 {
61518 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61519 ;
61520 return 0;
61521 }
61522 _ACEOF
61523 if ac_fn_cxx_try_compile "$LINENO"; then :
61524 glibcxx_cv_func__float_trig_use=yes
61525 else
61526 glibcxx_cv_func__float_trig_use=no
61527 fi
61528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61529 ac_ext=c
61530 ac_cpp='$CPP $CPPFLAGS'
61531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61534
61535 fi
61536
61537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61538 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61539 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61540 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61541 do :
61542 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61544 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61545 cat >>confdefs.h <<_ACEOF
61546 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61547 _ACEOF
61548
61549 fi
61550 done
61551
61552 fi
61553 fi
61554
61555
61556
61557
61558
61559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61560 $as_echo_n "checking for float round functions... " >&6; }
61561 if ${glibcxx_cv_func_float_round_use+:} false; then :
61562 $as_echo_n "(cached) " >&6
61563 else
61564
61565
61566 ac_ext=cpp
61567 ac_cpp='$CXXCPP $CPPFLAGS'
61568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61571
61572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61573 /* end confdefs.h. */
61574 #include <math.h>
61575 int
61576 main ()
61577 {
61578 ceilf (0); floorf (0);
61579 ;
61580 return 0;
61581 }
61582 _ACEOF
61583 if ac_fn_cxx_try_compile "$LINENO"; then :
61584 glibcxx_cv_func_float_round_use=yes
61585 else
61586 glibcxx_cv_func_float_round_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 fi
61596
61597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61598 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61599 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61600 for ac_func in ceilf floorf
61601 do :
61602 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61604 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61605 cat >>confdefs.h <<_ACEOF
61606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61607 _ACEOF
61608
61609 fi
61610 done
61611
61612 else
61613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61614 $as_echo_n "checking for _float round functions... " >&6; }
61615 if ${glibcxx_cv_func__float_round_use+:} false; then :
61616 $as_echo_n "(cached) " >&6
61617 else
61618
61619
61620 ac_ext=cpp
61621 ac_cpp='$CXXCPP $CPPFLAGS'
61622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61625
61626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61627 /* end confdefs.h. */
61628 #include <math.h>
61629 int
61630 main ()
61631 {
61632 _ceilf (0); _floorf (0);
61633 ;
61634 return 0;
61635 }
61636 _ACEOF
61637 if ac_fn_cxx_try_compile "$LINENO"; then :
61638 glibcxx_cv_func__float_round_use=yes
61639 else
61640 glibcxx_cv_func__float_round_use=no
61641 fi
61642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61643 ac_ext=c
61644 ac_cpp='$CPP $CPPFLAGS'
61645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61648
61649 fi
61650
61651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61652 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61653 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61654 for ac_func in _ceilf _floorf
61655 do :
61656 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61657 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61658 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61659 cat >>confdefs.h <<_ACEOF
61660 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61661 _ACEOF
61662
61663 fi
61664 done
61665
61666 fi
61667 fi
61668
61669
61670
61671
61672
61673
61674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61675 $as_echo_n "checking for expf declaration... " >&6; }
61676 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61677 if ${glibcxx_cv_func_expf_use+:} false; then :
61678 $as_echo_n "(cached) " >&6
61679 else
61680
61681
61682 ac_ext=cpp
61683 ac_cpp='$CXXCPP $CPPFLAGS'
61684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61687
61688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61689 /* end confdefs.h. */
61690 #include <math.h>
61691 #ifdef HAVE_IEEEFP_H
61692 #include <ieeefp.h>
61693 #endif
61694
61695 int
61696 main ()
61697 {
61698 expf(0);
61699 ;
61700 return 0;
61701 }
61702 _ACEOF
61703 if ac_fn_cxx_try_compile "$LINENO"; then :
61704 glibcxx_cv_func_expf_use=yes
61705 else
61706 glibcxx_cv_func_expf_use=no
61707 fi
61708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61709 ac_ext=c
61710 ac_cpp='$CPP $CPPFLAGS'
61711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61714
61715
61716 fi
61717
61718 fi
61719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61720 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61721
61722 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61723 for ac_func in expf
61724 do :
61725 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61726 if test "x$ac_cv_func_expf" = xyes; then :
61727 cat >>confdefs.h <<_ACEOF
61728 #define HAVE_EXPF 1
61729 _ACEOF
61730
61731 fi
61732 done
61733
61734 else
61735
61736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61737 $as_echo_n "checking for _expf declaration... " >&6; }
61738 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61739 if ${glibcxx_cv_func__expf_use+:} false; then :
61740 $as_echo_n "(cached) " >&6
61741 else
61742
61743
61744 ac_ext=cpp
61745 ac_cpp='$CXXCPP $CPPFLAGS'
61746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61749
61750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61751 /* end confdefs.h. */
61752 #include <math.h>
61753 #ifdef HAVE_IEEEFP_H
61754 #include <ieeefp.h>
61755 #endif
61756
61757 int
61758 main ()
61759 {
61760 _expf(0);
61761 ;
61762 return 0;
61763 }
61764 _ACEOF
61765 if ac_fn_cxx_try_compile "$LINENO"; then :
61766 glibcxx_cv_func__expf_use=yes
61767 else
61768 glibcxx_cv_func__expf_use=no
61769 fi
61770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61771 ac_ext=c
61772 ac_cpp='$CPP $CPPFLAGS'
61773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61776
61777
61778 fi
61779
61780 fi
61781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61782 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61783
61784 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61785 for ac_func in _expf
61786 do :
61787 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61788 if test "x$ac_cv_func__expf" = xyes; then :
61789 cat >>confdefs.h <<_ACEOF
61790 #define HAVE__EXPF 1
61791 _ACEOF
61792
61793 fi
61794 done
61795
61796 fi
61797 fi
61798
61799
61800
61801
61802
61803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61804 $as_echo_n "checking for isnanf declaration... " >&6; }
61805 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61806 if ${glibcxx_cv_func_isnanf_use+:} false; then :
61807 $as_echo_n "(cached) " >&6
61808 else
61809
61810
61811 ac_ext=cpp
61812 ac_cpp='$CXXCPP $CPPFLAGS'
61813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61816
61817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61818 /* end confdefs.h. */
61819 #include <math.h>
61820 #ifdef HAVE_IEEEFP_H
61821 #include <ieeefp.h>
61822 #endif
61823
61824 int
61825 main ()
61826 {
61827 isnanf(0);
61828 ;
61829 return 0;
61830 }
61831 _ACEOF
61832 if ac_fn_cxx_try_compile "$LINENO"; then :
61833 glibcxx_cv_func_isnanf_use=yes
61834 else
61835 glibcxx_cv_func_isnanf_use=no
61836 fi
61837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61838 ac_ext=c
61839 ac_cpp='$CPP $CPPFLAGS'
61840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61843
61844
61845 fi
61846
61847 fi
61848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61849 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61850
61851 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61852 for ac_func in isnanf
61853 do :
61854 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61855 if test "x$ac_cv_func_isnanf" = xyes; then :
61856 cat >>confdefs.h <<_ACEOF
61857 #define HAVE_ISNANF 1
61858 _ACEOF
61859
61860 fi
61861 done
61862
61863 else
61864
61865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61866 $as_echo_n "checking for _isnanf declaration... " >&6; }
61867 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61868 if ${glibcxx_cv_func__isnanf_use+:} false; then :
61869 $as_echo_n "(cached) " >&6
61870 else
61871
61872
61873 ac_ext=cpp
61874 ac_cpp='$CXXCPP $CPPFLAGS'
61875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61878
61879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61880 /* end confdefs.h. */
61881 #include <math.h>
61882 #ifdef HAVE_IEEEFP_H
61883 #include <ieeefp.h>
61884 #endif
61885
61886 int
61887 main ()
61888 {
61889 _isnanf(0);
61890 ;
61891 return 0;
61892 }
61893 _ACEOF
61894 if ac_fn_cxx_try_compile "$LINENO"; then :
61895 glibcxx_cv_func__isnanf_use=yes
61896 else
61897 glibcxx_cv_func__isnanf_use=no
61898 fi
61899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61900 ac_ext=c
61901 ac_cpp='$CPP $CPPFLAGS'
61902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61905
61906
61907 fi
61908
61909 fi
61910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61911 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61912
61913 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61914 for ac_func in _isnanf
61915 do :
61916 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61917 if test "x$ac_cv_func__isnanf" = xyes; then :
61918 cat >>confdefs.h <<_ACEOF
61919 #define HAVE__ISNANF 1
61920 _ACEOF
61921
61922 fi
61923 done
61924
61925 fi
61926 fi
61927
61928
61929
61930
61931
61932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61933 $as_echo_n "checking for isinff declaration... " >&6; }
61934 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61935 if ${glibcxx_cv_func_isinff_use+:} false; then :
61936 $as_echo_n "(cached) " >&6
61937 else
61938
61939
61940 ac_ext=cpp
61941 ac_cpp='$CXXCPP $CPPFLAGS'
61942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61945
61946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61947 /* end confdefs.h. */
61948 #include <math.h>
61949 #ifdef HAVE_IEEEFP_H
61950 #include <ieeefp.h>
61951 #endif
61952
61953 int
61954 main ()
61955 {
61956 isinff(0);
61957 ;
61958 return 0;
61959 }
61960 _ACEOF
61961 if ac_fn_cxx_try_compile "$LINENO"; then :
61962 glibcxx_cv_func_isinff_use=yes
61963 else
61964 glibcxx_cv_func_isinff_use=no
61965 fi
61966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61967 ac_ext=c
61968 ac_cpp='$CPP $CPPFLAGS'
61969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61972
61973
61974 fi
61975
61976 fi
61977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61978 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61979
61980 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61981 for ac_func in isinff
61982 do :
61983 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61984 if test "x$ac_cv_func_isinff" = xyes; then :
61985 cat >>confdefs.h <<_ACEOF
61986 #define HAVE_ISINFF 1
61987 _ACEOF
61988
61989 fi
61990 done
61991
61992 else
61993
61994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61995 $as_echo_n "checking for _isinff declaration... " >&6; }
61996 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61997 if ${glibcxx_cv_func__isinff_use+:} false; then :
61998 $as_echo_n "(cached) " >&6
61999 else
62000
62001
62002 ac_ext=cpp
62003 ac_cpp='$CXXCPP $CPPFLAGS'
62004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62007
62008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62009 /* end confdefs.h. */
62010 #include <math.h>
62011 #ifdef HAVE_IEEEFP_H
62012 #include <ieeefp.h>
62013 #endif
62014
62015 int
62016 main ()
62017 {
62018 _isinff(0);
62019 ;
62020 return 0;
62021 }
62022 _ACEOF
62023 if ac_fn_cxx_try_compile "$LINENO"; then :
62024 glibcxx_cv_func__isinff_use=yes
62025 else
62026 glibcxx_cv_func__isinff_use=no
62027 fi
62028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62029 ac_ext=c
62030 ac_cpp='$CPP $CPPFLAGS'
62031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62034
62035
62036 fi
62037
62038 fi
62039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62040 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62041
62042 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62043 for ac_func in _isinff
62044 do :
62045 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62046 if test "x$ac_cv_func__isinff" = xyes; then :
62047 cat >>confdefs.h <<_ACEOF
62048 #define HAVE__ISINFF 1
62049 _ACEOF
62050
62051 fi
62052 done
62053
62054 fi
62055 fi
62056
62057
62058
62059
62060
62061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62062 $as_echo_n "checking for atan2f declaration... " >&6; }
62063 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62064 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62065 $as_echo_n "(cached) " >&6
62066 else
62067
62068
62069 ac_ext=cpp
62070 ac_cpp='$CXXCPP $CPPFLAGS'
62071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62074
62075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62076 /* end confdefs.h. */
62077 #include <math.h>
62078 int
62079 main ()
62080 {
62081 atan2f(0, 0);
62082 ;
62083 return 0;
62084 }
62085 _ACEOF
62086 if ac_fn_cxx_try_compile "$LINENO"; then :
62087 glibcxx_cv_func_atan2f_use=yes
62088 else
62089 glibcxx_cv_func_atan2f_use=no
62090 fi
62091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62092 ac_ext=c
62093 ac_cpp='$CPP $CPPFLAGS'
62094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62097
62098
62099 fi
62100
62101 fi
62102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62103 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62104
62105 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62106 for ac_func in atan2f
62107 do :
62108 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62109 if test "x$ac_cv_func_atan2f" = xyes; then :
62110 cat >>confdefs.h <<_ACEOF
62111 #define HAVE_ATAN2F 1
62112 _ACEOF
62113
62114 fi
62115 done
62116
62117 else
62118
62119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62120 $as_echo_n "checking for _atan2f declaration... " >&6; }
62121 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62122 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62123 $as_echo_n "(cached) " >&6
62124 else
62125
62126
62127 ac_ext=cpp
62128 ac_cpp='$CXXCPP $CPPFLAGS'
62129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62132
62133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62134 /* end confdefs.h. */
62135 #include <math.h>
62136 int
62137 main ()
62138 {
62139 _atan2f(0, 0);
62140 ;
62141 return 0;
62142 }
62143 _ACEOF
62144 if ac_fn_cxx_try_compile "$LINENO"; then :
62145 glibcxx_cv_func__atan2f_use=yes
62146 else
62147 glibcxx_cv_func__atan2f_use=no
62148 fi
62149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62150 ac_ext=c
62151 ac_cpp='$CPP $CPPFLAGS'
62152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62155
62156
62157 fi
62158
62159 fi
62160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62161 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62162
62163 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62164 for ac_func in _atan2f
62165 do :
62166 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62167 if test "x$ac_cv_func__atan2f" = xyes; then :
62168 cat >>confdefs.h <<_ACEOF
62169 #define HAVE__ATAN2F 1
62170 _ACEOF
62171
62172 fi
62173 done
62174
62175 fi
62176 fi
62177
62178
62179
62180
62181
62182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62183 $as_echo_n "checking for fabsf declaration... " >&6; }
62184 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62185 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62186 $as_echo_n "(cached) " >&6
62187 else
62188
62189
62190 ac_ext=cpp
62191 ac_cpp='$CXXCPP $CPPFLAGS'
62192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62195
62196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62197 /* end confdefs.h. */
62198 #include <math.h>
62199 #ifdef HAVE_IEEEFP_H
62200 #include <ieeefp.h>
62201 #endif
62202
62203 int
62204 main ()
62205 {
62206 fabsf(0);
62207 ;
62208 return 0;
62209 }
62210 _ACEOF
62211 if ac_fn_cxx_try_compile "$LINENO"; then :
62212 glibcxx_cv_func_fabsf_use=yes
62213 else
62214 glibcxx_cv_func_fabsf_use=no
62215 fi
62216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62217 ac_ext=c
62218 ac_cpp='$CPP $CPPFLAGS'
62219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62222
62223
62224 fi
62225
62226 fi
62227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62228 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62229
62230 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62231 for ac_func in fabsf
62232 do :
62233 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62234 if test "x$ac_cv_func_fabsf" = xyes; then :
62235 cat >>confdefs.h <<_ACEOF
62236 #define HAVE_FABSF 1
62237 _ACEOF
62238
62239 fi
62240 done
62241
62242 else
62243
62244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62245 $as_echo_n "checking for _fabsf declaration... " >&6; }
62246 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62247 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62248 $as_echo_n "(cached) " >&6
62249 else
62250
62251
62252 ac_ext=cpp
62253 ac_cpp='$CXXCPP $CPPFLAGS'
62254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62257
62258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62259 /* end confdefs.h. */
62260 #include <math.h>
62261 #ifdef HAVE_IEEEFP_H
62262 #include <ieeefp.h>
62263 #endif
62264
62265 int
62266 main ()
62267 {
62268 _fabsf(0);
62269 ;
62270 return 0;
62271 }
62272 _ACEOF
62273 if ac_fn_cxx_try_compile "$LINENO"; then :
62274 glibcxx_cv_func__fabsf_use=yes
62275 else
62276 glibcxx_cv_func__fabsf_use=no
62277 fi
62278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62279 ac_ext=c
62280 ac_cpp='$CPP $CPPFLAGS'
62281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62284
62285
62286 fi
62287
62288 fi
62289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62290 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62291
62292 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62293 for ac_func in _fabsf
62294 do :
62295 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62296 if test "x$ac_cv_func__fabsf" = xyes; then :
62297 cat >>confdefs.h <<_ACEOF
62298 #define HAVE__FABSF 1
62299 _ACEOF
62300
62301 fi
62302 done
62303
62304 fi
62305 fi
62306
62307
62308
62309
62310
62311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62312 $as_echo_n "checking for fmodf declaration... " >&6; }
62313 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62314 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62315 $as_echo_n "(cached) " >&6
62316 else
62317
62318
62319 ac_ext=cpp
62320 ac_cpp='$CXXCPP $CPPFLAGS'
62321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62324
62325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62326 /* end confdefs.h. */
62327 #include <math.h>
62328 int
62329 main ()
62330 {
62331 fmodf(0, 0);
62332 ;
62333 return 0;
62334 }
62335 _ACEOF
62336 if ac_fn_cxx_try_compile "$LINENO"; then :
62337 glibcxx_cv_func_fmodf_use=yes
62338 else
62339 glibcxx_cv_func_fmodf_use=no
62340 fi
62341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62342 ac_ext=c
62343 ac_cpp='$CPP $CPPFLAGS'
62344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62347
62348
62349 fi
62350
62351 fi
62352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62353 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62354
62355 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62356 for ac_func in fmodf
62357 do :
62358 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62359 if test "x$ac_cv_func_fmodf" = xyes; then :
62360 cat >>confdefs.h <<_ACEOF
62361 #define HAVE_FMODF 1
62362 _ACEOF
62363
62364 fi
62365 done
62366
62367 else
62368
62369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62370 $as_echo_n "checking for _fmodf declaration... " >&6; }
62371 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62372 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62373 $as_echo_n "(cached) " >&6
62374 else
62375
62376
62377 ac_ext=cpp
62378 ac_cpp='$CXXCPP $CPPFLAGS'
62379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62382
62383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62384 /* end confdefs.h. */
62385 #include <math.h>
62386 int
62387 main ()
62388 {
62389 _fmodf(0, 0);
62390 ;
62391 return 0;
62392 }
62393 _ACEOF
62394 if ac_fn_cxx_try_compile "$LINENO"; then :
62395 glibcxx_cv_func__fmodf_use=yes
62396 else
62397 glibcxx_cv_func__fmodf_use=no
62398 fi
62399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62400 ac_ext=c
62401 ac_cpp='$CPP $CPPFLAGS'
62402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62405
62406
62407 fi
62408
62409 fi
62410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62411 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62412
62413 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62414 for ac_func in _fmodf
62415 do :
62416 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62417 if test "x$ac_cv_func__fmodf" = xyes; then :
62418 cat >>confdefs.h <<_ACEOF
62419 #define HAVE__FMODF 1
62420 _ACEOF
62421
62422 fi
62423 done
62424
62425 fi
62426 fi
62427
62428
62429
62430
62431
62432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62433 $as_echo_n "checking for frexpf declaration... " >&6; }
62434 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62435 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62436 $as_echo_n "(cached) " >&6
62437 else
62438
62439
62440 ac_ext=cpp
62441 ac_cpp='$CXXCPP $CPPFLAGS'
62442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62445
62446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62447 /* end confdefs.h. */
62448 #include <math.h>
62449 int
62450 main ()
62451 {
62452 frexpf(0, 0);
62453 ;
62454 return 0;
62455 }
62456 _ACEOF
62457 if ac_fn_cxx_try_compile "$LINENO"; then :
62458 glibcxx_cv_func_frexpf_use=yes
62459 else
62460 glibcxx_cv_func_frexpf_use=no
62461 fi
62462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62463 ac_ext=c
62464 ac_cpp='$CPP $CPPFLAGS'
62465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62468
62469
62470 fi
62471
62472 fi
62473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62474 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62475
62476 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62477 for ac_func in frexpf
62478 do :
62479 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62480 if test "x$ac_cv_func_frexpf" = xyes; then :
62481 cat >>confdefs.h <<_ACEOF
62482 #define HAVE_FREXPF 1
62483 _ACEOF
62484
62485 fi
62486 done
62487
62488 else
62489
62490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62491 $as_echo_n "checking for _frexpf declaration... " >&6; }
62492 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62493 if ${glibcxx_cv_func__frexpf_use+:} false; then :
62494 $as_echo_n "(cached) " >&6
62495 else
62496
62497
62498 ac_ext=cpp
62499 ac_cpp='$CXXCPP $CPPFLAGS'
62500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62503
62504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62505 /* end confdefs.h. */
62506 #include <math.h>
62507 int
62508 main ()
62509 {
62510 _frexpf(0, 0);
62511 ;
62512 return 0;
62513 }
62514 _ACEOF
62515 if ac_fn_cxx_try_compile "$LINENO"; then :
62516 glibcxx_cv_func__frexpf_use=yes
62517 else
62518 glibcxx_cv_func__frexpf_use=no
62519 fi
62520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62521 ac_ext=c
62522 ac_cpp='$CPP $CPPFLAGS'
62523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62526
62527
62528 fi
62529
62530 fi
62531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62532 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62533
62534 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62535 for ac_func in _frexpf
62536 do :
62537 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62538 if test "x$ac_cv_func__frexpf" = xyes; then :
62539 cat >>confdefs.h <<_ACEOF
62540 #define HAVE__FREXPF 1
62541 _ACEOF
62542
62543 fi
62544 done
62545
62546 fi
62547 fi
62548
62549
62550
62551
62552
62553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62554 $as_echo_n "checking for hypotf declaration... " >&6; }
62555 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62556 if ${glibcxx_cv_func_hypotf_use+:} false; then :
62557 $as_echo_n "(cached) " >&6
62558 else
62559
62560
62561 ac_ext=cpp
62562 ac_cpp='$CXXCPP $CPPFLAGS'
62563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62566
62567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62568 /* end confdefs.h. */
62569 #include <math.h>
62570 int
62571 main ()
62572 {
62573 hypotf(0, 0);
62574 ;
62575 return 0;
62576 }
62577 _ACEOF
62578 if ac_fn_cxx_try_compile "$LINENO"; then :
62579 glibcxx_cv_func_hypotf_use=yes
62580 else
62581 glibcxx_cv_func_hypotf_use=no
62582 fi
62583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62584 ac_ext=c
62585 ac_cpp='$CPP $CPPFLAGS'
62586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62589
62590
62591 fi
62592
62593 fi
62594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62595 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62596
62597 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62598 for ac_func in hypotf
62599 do :
62600 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62601 if test "x$ac_cv_func_hypotf" = xyes; then :
62602 cat >>confdefs.h <<_ACEOF
62603 #define HAVE_HYPOTF 1
62604 _ACEOF
62605
62606 fi
62607 done
62608
62609 else
62610
62611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62612 $as_echo_n "checking for _hypotf declaration... " >&6; }
62613 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62614 if ${glibcxx_cv_func__hypotf_use+:} false; then :
62615 $as_echo_n "(cached) " >&6
62616 else
62617
62618
62619 ac_ext=cpp
62620 ac_cpp='$CXXCPP $CPPFLAGS'
62621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62624
62625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62626 /* end confdefs.h. */
62627 #include <math.h>
62628 int
62629 main ()
62630 {
62631 _hypotf(0, 0);
62632 ;
62633 return 0;
62634 }
62635 _ACEOF
62636 if ac_fn_cxx_try_compile "$LINENO"; then :
62637 glibcxx_cv_func__hypotf_use=yes
62638 else
62639 glibcxx_cv_func__hypotf_use=no
62640 fi
62641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62642 ac_ext=c
62643 ac_cpp='$CPP $CPPFLAGS'
62644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62647
62648
62649 fi
62650
62651 fi
62652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62653 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62654
62655 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62656 for ac_func in _hypotf
62657 do :
62658 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62659 if test "x$ac_cv_func__hypotf" = xyes; then :
62660 cat >>confdefs.h <<_ACEOF
62661 #define HAVE__HYPOTF 1
62662 _ACEOF
62663
62664 fi
62665 done
62666
62667 fi
62668 fi
62669
62670
62671
62672
62673
62674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62675 $as_echo_n "checking for ldexpf declaration... " >&6; }
62676 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62677 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
62678 $as_echo_n "(cached) " >&6
62679 else
62680
62681
62682 ac_ext=cpp
62683 ac_cpp='$CXXCPP $CPPFLAGS'
62684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62687
62688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62689 /* end confdefs.h. */
62690 #include <math.h>
62691 int
62692 main ()
62693 {
62694 ldexpf(0, 0);
62695 ;
62696 return 0;
62697 }
62698 _ACEOF
62699 if ac_fn_cxx_try_compile "$LINENO"; then :
62700 glibcxx_cv_func_ldexpf_use=yes
62701 else
62702 glibcxx_cv_func_ldexpf_use=no
62703 fi
62704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62705 ac_ext=c
62706 ac_cpp='$CPP $CPPFLAGS'
62707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62710
62711
62712 fi
62713
62714 fi
62715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62716 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62717
62718 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62719 for ac_func in ldexpf
62720 do :
62721 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62722 if test "x$ac_cv_func_ldexpf" = xyes; then :
62723 cat >>confdefs.h <<_ACEOF
62724 #define HAVE_LDEXPF 1
62725 _ACEOF
62726
62727 fi
62728 done
62729
62730 else
62731
62732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62733 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62734 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62735 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
62736 $as_echo_n "(cached) " >&6
62737 else
62738
62739
62740 ac_ext=cpp
62741 ac_cpp='$CXXCPP $CPPFLAGS'
62742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62745
62746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62747 /* end confdefs.h. */
62748 #include <math.h>
62749 int
62750 main ()
62751 {
62752 _ldexpf(0, 0);
62753 ;
62754 return 0;
62755 }
62756 _ACEOF
62757 if ac_fn_cxx_try_compile "$LINENO"; then :
62758 glibcxx_cv_func__ldexpf_use=yes
62759 else
62760 glibcxx_cv_func__ldexpf_use=no
62761 fi
62762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62763 ac_ext=c
62764 ac_cpp='$CPP $CPPFLAGS'
62765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62768
62769
62770 fi
62771
62772 fi
62773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62774 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62775
62776 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62777 for ac_func in _ldexpf
62778 do :
62779 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62780 if test "x$ac_cv_func__ldexpf" = xyes; then :
62781 cat >>confdefs.h <<_ACEOF
62782 #define HAVE__LDEXPF 1
62783 _ACEOF
62784
62785 fi
62786 done
62787
62788 fi
62789 fi
62790
62791
62792
62793
62794
62795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62796 $as_echo_n "checking for logf declaration... " >&6; }
62797 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62798 if ${glibcxx_cv_func_logf_use+:} false; then :
62799 $as_echo_n "(cached) " >&6
62800 else
62801
62802
62803 ac_ext=cpp
62804 ac_cpp='$CXXCPP $CPPFLAGS'
62805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62808
62809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62810 /* end confdefs.h. */
62811 #include <math.h>
62812 #ifdef HAVE_IEEEFP_H
62813 #include <ieeefp.h>
62814 #endif
62815
62816 int
62817 main ()
62818 {
62819 logf(0);
62820 ;
62821 return 0;
62822 }
62823 _ACEOF
62824 if ac_fn_cxx_try_compile "$LINENO"; then :
62825 glibcxx_cv_func_logf_use=yes
62826 else
62827 glibcxx_cv_func_logf_use=no
62828 fi
62829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62830 ac_ext=c
62831 ac_cpp='$CPP $CPPFLAGS'
62832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62835
62836
62837 fi
62838
62839 fi
62840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62841 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62842
62843 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62844 for ac_func in logf
62845 do :
62846 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62847 if test "x$ac_cv_func_logf" = xyes; then :
62848 cat >>confdefs.h <<_ACEOF
62849 #define HAVE_LOGF 1
62850 _ACEOF
62851
62852 fi
62853 done
62854
62855 else
62856
62857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62858 $as_echo_n "checking for _logf declaration... " >&6; }
62859 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62860 if ${glibcxx_cv_func__logf_use+:} false; then :
62861 $as_echo_n "(cached) " >&6
62862 else
62863
62864
62865 ac_ext=cpp
62866 ac_cpp='$CXXCPP $CPPFLAGS'
62867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62870
62871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62872 /* end confdefs.h. */
62873 #include <math.h>
62874 #ifdef HAVE_IEEEFP_H
62875 #include <ieeefp.h>
62876 #endif
62877
62878 int
62879 main ()
62880 {
62881 _logf(0);
62882 ;
62883 return 0;
62884 }
62885 _ACEOF
62886 if ac_fn_cxx_try_compile "$LINENO"; then :
62887 glibcxx_cv_func__logf_use=yes
62888 else
62889 glibcxx_cv_func__logf_use=no
62890 fi
62891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62892 ac_ext=c
62893 ac_cpp='$CPP $CPPFLAGS'
62894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62897
62898
62899 fi
62900
62901 fi
62902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62903 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62904
62905 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62906 for ac_func in _logf
62907 do :
62908 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62909 if test "x$ac_cv_func__logf" = xyes; then :
62910 cat >>confdefs.h <<_ACEOF
62911 #define HAVE__LOGF 1
62912 _ACEOF
62913
62914 fi
62915 done
62916
62917 fi
62918 fi
62919
62920
62921
62922
62923
62924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62925 $as_echo_n "checking for log10f declaration... " >&6; }
62926 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62927 if ${glibcxx_cv_func_log10f_use+:} false; then :
62928 $as_echo_n "(cached) " >&6
62929 else
62930
62931
62932 ac_ext=cpp
62933 ac_cpp='$CXXCPP $CPPFLAGS'
62934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62937
62938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62939 /* end confdefs.h. */
62940 #include <math.h>
62941 #ifdef HAVE_IEEEFP_H
62942 #include <ieeefp.h>
62943 #endif
62944
62945 int
62946 main ()
62947 {
62948 log10f(0);
62949 ;
62950 return 0;
62951 }
62952 _ACEOF
62953 if ac_fn_cxx_try_compile "$LINENO"; then :
62954 glibcxx_cv_func_log10f_use=yes
62955 else
62956 glibcxx_cv_func_log10f_use=no
62957 fi
62958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62959 ac_ext=c
62960 ac_cpp='$CPP $CPPFLAGS'
62961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62964
62965
62966 fi
62967
62968 fi
62969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62970 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62971
62972 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62973 for ac_func in log10f
62974 do :
62975 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62976 if test "x$ac_cv_func_log10f" = xyes; then :
62977 cat >>confdefs.h <<_ACEOF
62978 #define HAVE_LOG10F 1
62979 _ACEOF
62980
62981 fi
62982 done
62983
62984 else
62985
62986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62987 $as_echo_n "checking for _log10f declaration... " >&6; }
62988 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62989 if ${glibcxx_cv_func__log10f_use+:} false; then :
62990 $as_echo_n "(cached) " >&6
62991 else
62992
62993
62994 ac_ext=cpp
62995 ac_cpp='$CXXCPP $CPPFLAGS'
62996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62999
63000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63001 /* end confdefs.h. */
63002 #include <math.h>
63003 #ifdef HAVE_IEEEFP_H
63004 #include <ieeefp.h>
63005 #endif
63006
63007 int
63008 main ()
63009 {
63010 _log10f(0);
63011 ;
63012 return 0;
63013 }
63014 _ACEOF
63015 if ac_fn_cxx_try_compile "$LINENO"; then :
63016 glibcxx_cv_func__log10f_use=yes
63017 else
63018 glibcxx_cv_func__log10f_use=no
63019 fi
63020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63021 ac_ext=c
63022 ac_cpp='$CPP $CPPFLAGS'
63023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63026
63027
63028 fi
63029
63030 fi
63031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63032 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63033
63034 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63035 for ac_func in _log10f
63036 do :
63037 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63038 if test "x$ac_cv_func__log10f" = xyes; then :
63039 cat >>confdefs.h <<_ACEOF
63040 #define HAVE__LOG10F 1
63041 _ACEOF
63042
63043 fi
63044 done
63045
63046 fi
63047 fi
63048
63049
63050
63051
63052
63053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63054 $as_echo_n "checking for modff declaration... " >&6; }
63055 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63056 if ${glibcxx_cv_func_modff_use+:} false; then :
63057 $as_echo_n "(cached) " >&6
63058 else
63059
63060
63061 ac_ext=cpp
63062 ac_cpp='$CXXCPP $CPPFLAGS'
63063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63066
63067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63068 /* end confdefs.h. */
63069 #include <math.h>
63070 int
63071 main ()
63072 {
63073 modff(0, 0);
63074 ;
63075 return 0;
63076 }
63077 _ACEOF
63078 if ac_fn_cxx_try_compile "$LINENO"; then :
63079 glibcxx_cv_func_modff_use=yes
63080 else
63081 glibcxx_cv_func_modff_use=no
63082 fi
63083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63084 ac_ext=c
63085 ac_cpp='$CPP $CPPFLAGS'
63086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63089
63090
63091 fi
63092
63093 fi
63094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63095 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63096
63097 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63098 for ac_func in modff
63099 do :
63100 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63101 if test "x$ac_cv_func_modff" = xyes; then :
63102 cat >>confdefs.h <<_ACEOF
63103 #define HAVE_MODFF 1
63104 _ACEOF
63105
63106 fi
63107 done
63108
63109 else
63110
63111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63112 $as_echo_n "checking for _modff declaration... " >&6; }
63113 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63114 if ${glibcxx_cv_func__modff_use+:} false; then :
63115 $as_echo_n "(cached) " >&6
63116 else
63117
63118
63119 ac_ext=cpp
63120 ac_cpp='$CXXCPP $CPPFLAGS'
63121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63124
63125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63126 /* end confdefs.h. */
63127 #include <math.h>
63128 int
63129 main ()
63130 {
63131 _modff(0, 0);
63132 ;
63133 return 0;
63134 }
63135 _ACEOF
63136 if ac_fn_cxx_try_compile "$LINENO"; then :
63137 glibcxx_cv_func__modff_use=yes
63138 else
63139 glibcxx_cv_func__modff_use=no
63140 fi
63141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63142 ac_ext=c
63143 ac_cpp='$CPP $CPPFLAGS'
63144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63147
63148
63149 fi
63150
63151 fi
63152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63153 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63154
63155 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63156 for ac_func in _modff
63157 do :
63158 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63159 if test "x$ac_cv_func__modff" = xyes; then :
63160 cat >>confdefs.h <<_ACEOF
63161 #define HAVE__MODFF 1
63162 _ACEOF
63163
63164 fi
63165 done
63166
63167 fi
63168 fi
63169
63170
63171
63172
63173
63174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63175 $as_echo_n "checking for modf declaration... " >&6; }
63176 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63177 if ${glibcxx_cv_func_modf_use+:} false; then :
63178 $as_echo_n "(cached) " >&6
63179 else
63180
63181
63182 ac_ext=cpp
63183 ac_cpp='$CXXCPP $CPPFLAGS'
63184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63187
63188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63189 /* end confdefs.h. */
63190 #include <math.h>
63191 int
63192 main ()
63193 {
63194 modf(0, 0);
63195 ;
63196 return 0;
63197 }
63198 _ACEOF
63199 if ac_fn_cxx_try_compile "$LINENO"; then :
63200 glibcxx_cv_func_modf_use=yes
63201 else
63202 glibcxx_cv_func_modf_use=no
63203 fi
63204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63205 ac_ext=c
63206 ac_cpp='$CPP $CPPFLAGS'
63207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63210
63211
63212 fi
63213
63214 fi
63215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63216 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63217
63218 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63219 for ac_func in modf
63220 do :
63221 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63222 if test "x$ac_cv_func_modf" = xyes; then :
63223 cat >>confdefs.h <<_ACEOF
63224 #define HAVE_MODF 1
63225 _ACEOF
63226
63227 fi
63228 done
63229
63230 else
63231
63232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63233 $as_echo_n "checking for _modf declaration... " >&6; }
63234 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63235 if ${glibcxx_cv_func__modf_use+:} false; then :
63236 $as_echo_n "(cached) " >&6
63237 else
63238
63239
63240 ac_ext=cpp
63241 ac_cpp='$CXXCPP $CPPFLAGS'
63242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63245
63246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63247 /* end confdefs.h. */
63248 #include <math.h>
63249 int
63250 main ()
63251 {
63252 _modf(0, 0);
63253 ;
63254 return 0;
63255 }
63256 _ACEOF
63257 if ac_fn_cxx_try_compile "$LINENO"; then :
63258 glibcxx_cv_func__modf_use=yes
63259 else
63260 glibcxx_cv_func__modf_use=no
63261 fi
63262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63263 ac_ext=c
63264 ac_cpp='$CPP $CPPFLAGS'
63265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63268
63269
63270 fi
63271
63272 fi
63273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63274 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63275
63276 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63277 for ac_func in _modf
63278 do :
63279 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63280 if test "x$ac_cv_func__modf" = xyes; then :
63281 cat >>confdefs.h <<_ACEOF
63282 #define HAVE__MODF 1
63283 _ACEOF
63284
63285 fi
63286 done
63287
63288 fi
63289 fi
63290
63291
63292
63293
63294
63295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63296 $as_echo_n "checking for powf declaration... " >&6; }
63297 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63298 if ${glibcxx_cv_func_powf_use+:} false; then :
63299 $as_echo_n "(cached) " >&6
63300 else
63301
63302
63303 ac_ext=cpp
63304 ac_cpp='$CXXCPP $CPPFLAGS'
63305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63308
63309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63310 /* end confdefs.h. */
63311 #include <math.h>
63312 int
63313 main ()
63314 {
63315 powf(0, 0);
63316 ;
63317 return 0;
63318 }
63319 _ACEOF
63320 if ac_fn_cxx_try_compile "$LINENO"; then :
63321 glibcxx_cv_func_powf_use=yes
63322 else
63323 glibcxx_cv_func_powf_use=no
63324 fi
63325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63326 ac_ext=c
63327 ac_cpp='$CPP $CPPFLAGS'
63328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63331
63332
63333 fi
63334
63335 fi
63336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63337 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63338
63339 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63340 for ac_func in powf
63341 do :
63342 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63343 if test "x$ac_cv_func_powf" = xyes; then :
63344 cat >>confdefs.h <<_ACEOF
63345 #define HAVE_POWF 1
63346 _ACEOF
63347
63348 fi
63349 done
63350
63351 else
63352
63353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63354 $as_echo_n "checking for _powf declaration... " >&6; }
63355 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63356 if ${glibcxx_cv_func__powf_use+:} false; then :
63357 $as_echo_n "(cached) " >&6
63358 else
63359
63360
63361 ac_ext=cpp
63362 ac_cpp='$CXXCPP $CPPFLAGS'
63363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63366
63367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63368 /* end confdefs.h. */
63369 #include <math.h>
63370 int
63371 main ()
63372 {
63373 _powf(0, 0);
63374 ;
63375 return 0;
63376 }
63377 _ACEOF
63378 if ac_fn_cxx_try_compile "$LINENO"; then :
63379 glibcxx_cv_func__powf_use=yes
63380 else
63381 glibcxx_cv_func__powf_use=no
63382 fi
63383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63384 ac_ext=c
63385 ac_cpp='$CPP $CPPFLAGS'
63386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63389
63390
63391 fi
63392
63393 fi
63394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63395 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63396
63397 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63398 for ac_func in _powf
63399 do :
63400 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63401 if test "x$ac_cv_func__powf" = xyes; then :
63402 cat >>confdefs.h <<_ACEOF
63403 #define HAVE__POWF 1
63404 _ACEOF
63405
63406 fi
63407 done
63408
63409 fi
63410 fi
63411
63412
63413
63414
63415
63416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63417 $as_echo_n "checking for sqrtf declaration... " >&6; }
63418 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63419 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63420 $as_echo_n "(cached) " >&6
63421 else
63422
63423
63424 ac_ext=cpp
63425 ac_cpp='$CXXCPP $CPPFLAGS'
63426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63429
63430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63431 /* end confdefs.h. */
63432 #include <math.h>
63433 #ifdef HAVE_IEEEFP_H
63434 #include <ieeefp.h>
63435 #endif
63436
63437 int
63438 main ()
63439 {
63440 sqrtf(0);
63441 ;
63442 return 0;
63443 }
63444 _ACEOF
63445 if ac_fn_cxx_try_compile "$LINENO"; then :
63446 glibcxx_cv_func_sqrtf_use=yes
63447 else
63448 glibcxx_cv_func_sqrtf_use=no
63449 fi
63450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63451 ac_ext=c
63452 ac_cpp='$CPP $CPPFLAGS'
63453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63456
63457
63458 fi
63459
63460 fi
63461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63462 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63463
63464 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63465 for ac_func in sqrtf
63466 do :
63467 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63468 if test "x$ac_cv_func_sqrtf" = xyes; then :
63469 cat >>confdefs.h <<_ACEOF
63470 #define HAVE_SQRTF 1
63471 _ACEOF
63472
63473 fi
63474 done
63475
63476 else
63477
63478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63479 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63480 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63481 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63482 $as_echo_n "(cached) " >&6
63483 else
63484
63485
63486 ac_ext=cpp
63487 ac_cpp='$CXXCPP $CPPFLAGS'
63488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63491
63492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63493 /* end confdefs.h. */
63494 #include <math.h>
63495 #ifdef HAVE_IEEEFP_H
63496 #include <ieeefp.h>
63497 #endif
63498
63499 int
63500 main ()
63501 {
63502 _sqrtf(0);
63503 ;
63504 return 0;
63505 }
63506 _ACEOF
63507 if ac_fn_cxx_try_compile "$LINENO"; then :
63508 glibcxx_cv_func__sqrtf_use=yes
63509 else
63510 glibcxx_cv_func__sqrtf_use=no
63511 fi
63512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63513 ac_ext=c
63514 ac_cpp='$CPP $CPPFLAGS'
63515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63518
63519
63520 fi
63521
63522 fi
63523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63524 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63525
63526 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63527 for ac_func in _sqrtf
63528 do :
63529 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63530 if test "x$ac_cv_func__sqrtf" = xyes; then :
63531 cat >>confdefs.h <<_ACEOF
63532 #define HAVE__SQRTF 1
63533 _ACEOF
63534
63535 fi
63536 done
63537
63538 fi
63539 fi
63540
63541
63542
63543
63544
63545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63546 $as_echo_n "checking for sincosf declaration... " >&6; }
63547 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63548 if ${glibcxx_cv_func_sincosf_use+:} false; then :
63549 $as_echo_n "(cached) " >&6
63550 else
63551
63552
63553 ac_ext=cpp
63554 ac_cpp='$CXXCPP $CPPFLAGS'
63555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63558
63559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63560 /* end confdefs.h. */
63561 #include <math.h>
63562 int
63563 main ()
63564 {
63565 sincosf(0, 0, 0);
63566 ;
63567 return 0;
63568 }
63569 _ACEOF
63570 if ac_fn_cxx_try_compile "$LINENO"; then :
63571 glibcxx_cv_func_sincosf_use=yes
63572 else
63573 glibcxx_cv_func_sincosf_use=no
63574 fi
63575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63576 ac_ext=c
63577 ac_cpp='$CPP $CPPFLAGS'
63578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63581
63582
63583 fi
63584
63585 fi
63586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63587 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63588
63589 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63590 for ac_func in sincosf
63591 do :
63592 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63593 if test "x$ac_cv_func_sincosf" = xyes; then :
63594 cat >>confdefs.h <<_ACEOF
63595 #define HAVE_SINCOSF 1
63596 _ACEOF
63597
63598 fi
63599 done
63600
63601 else
63602
63603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63604 $as_echo_n "checking for _sincosf declaration... " >&6; }
63605 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63606 if ${glibcxx_cv_func__sincosf_use+:} false; then :
63607 $as_echo_n "(cached) " >&6
63608 else
63609
63610
63611 ac_ext=cpp
63612 ac_cpp='$CXXCPP $CPPFLAGS'
63613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63616
63617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63618 /* end confdefs.h. */
63619 #include <math.h>
63620 int
63621 main ()
63622 {
63623 _sincosf(0, 0, 0);
63624 ;
63625 return 0;
63626 }
63627 _ACEOF
63628 if ac_fn_cxx_try_compile "$LINENO"; then :
63629 glibcxx_cv_func__sincosf_use=yes
63630 else
63631 glibcxx_cv_func__sincosf_use=no
63632 fi
63633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63634 ac_ext=c
63635 ac_cpp='$CPP $CPPFLAGS'
63636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63639
63640
63641 fi
63642
63643 fi
63644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63645 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63646
63647 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63648 for ac_func in _sincosf
63649 do :
63650 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63651 if test "x$ac_cv_func__sincosf" = xyes; then :
63652 cat >>confdefs.h <<_ACEOF
63653 #define HAVE__SINCOSF 1
63654 _ACEOF
63655
63656 fi
63657 done
63658
63659 fi
63660 fi
63661
63662
63663
63664
63665
63666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63667 $as_echo_n "checking for finitef declaration... " >&6; }
63668 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63669 if ${glibcxx_cv_func_finitef_use+:} false; then :
63670 $as_echo_n "(cached) " >&6
63671 else
63672
63673
63674 ac_ext=cpp
63675 ac_cpp='$CXXCPP $CPPFLAGS'
63676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63679
63680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63681 /* end confdefs.h. */
63682 #include <math.h>
63683 #ifdef HAVE_IEEEFP_H
63684 #include <ieeefp.h>
63685 #endif
63686
63687 int
63688 main ()
63689 {
63690 finitef(0);
63691 ;
63692 return 0;
63693 }
63694 _ACEOF
63695 if ac_fn_cxx_try_compile "$LINENO"; then :
63696 glibcxx_cv_func_finitef_use=yes
63697 else
63698 glibcxx_cv_func_finitef_use=no
63699 fi
63700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63701 ac_ext=c
63702 ac_cpp='$CPP $CPPFLAGS'
63703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63706
63707
63708 fi
63709
63710 fi
63711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63712 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63713
63714 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63715 for ac_func in finitef
63716 do :
63717 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63718 if test "x$ac_cv_func_finitef" = xyes; then :
63719 cat >>confdefs.h <<_ACEOF
63720 #define HAVE_FINITEF 1
63721 _ACEOF
63722
63723 fi
63724 done
63725
63726 else
63727
63728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63729 $as_echo_n "checking for _finitef declaration... " >&6; }
63730 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63731 if ${glibcxx_cv_func__finitef_use+:} false; then :
63732 $as_echo_n "(cached) " >&6
63733 else
63734
63735
63736 ac_ext=cpp
63737 ac_cpp='$CXXCPP $CPPFLAGS'
63738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63741
63742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63743 /* end confdefs.h. */
63744 #include <math.h>
63745 #ifdef HAVE_IEEEFP_H
63746 #include <ieeefp.h>
63747 #endif
63748
63749 int
63750 main ()
63751 {
63752 _finitef(0);
63753 ;
63754 return 0;
63755 }
63756 _ACEOF
63757 if ac_fn_cxx_try_compile "$LINENO"; then :
63758 glibcxx_cv_func__finitef_use=yes
63759 else
63760 glibcxx_cv_func__finitef_use=no
63761 fi
63762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63763 ac_ext=c
63764 ac_cpp='$CPP $CPPFLAGS'
63765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63768
63769
63770 fi
63771
63772 fi
63773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63774 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63775
63776 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63777 for ac_func in _finitef
63778 do :
63779 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63780 if test "x$ac_cv_func__finitef" = xyes; then :
63781 cat >>confdefs.h <<_ACEOF
63782 #define HAVE__FINITEF 1
63783 _ACEOF
63784
63785 fi
63786 done
63787
63788 fi
63789 fi
63790
63791
63792
63793
63794
63795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63796 $as_echo_n "checking for long double trig functions... " >&6; }
63797 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
63798 $as_echo_n "(cached) " >&6
63799 else
63800
63801
63802 ac_ext=cpp
63803 ac_cpp='$CXXCPP $CPPFLAGS'
63804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63807
63808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63809 /* end confdefs.h. */
63810 #include <math.h>
63811 int
63812 main ()
63813 {
63814 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63815 ;
63816 return 0;
63817 }
63818 _ACEOF
63819 if ac_fn_cxx_try_compile "$LINENO"; then :
63820 glibcxx_cv_func_long_double_trig_use=yes
63821 else
63822 glibcxx_cv_func_long_double_trig_use=no
63823 fi
63824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63825 ac_ext=c
63826 ac_cpp='$CPP $CPPFLAGS'
63827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63830
63831 fi
63832
63833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63834 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63835 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63836 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63837 do :
63838 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63839 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63840 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63841 cat >>confdefs.h <<_ACEOF
63842 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63843 _ACEOF
63844
63845 fi
63846 done
63847
63848 else
63849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63850 $as_echo_n "checking for _long double trig functions... " >&6; }
63851 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
63852 $as_echo_n "(cached) " >&6
63853 else
63854
63855
63856 ac_ext=cpp
63857 ac_cpp='$CXXCPP $CPPFLAGS'
63858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63861
63862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63863 /* end confdefs.h. */
63864 #include <math.h>
63865 int
63866 main ()
63867 {
63868 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63869 ;
63870 return 0;
63871 }
63872 _ACEOF
63873 if ac_fn_cxx_try_compile "$LINENO"; then :
63874 glibcxx_cv_func__long_double_trig_use=yes
63875 else
63876 glibcxx_cv_func__long_double_trig_use=no
63877 fi
63878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63879 ac_ext=c
63880 ac_cpp='$CPP $CPPFLAGS'
63881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63884
63885 fi
63886
63887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63888 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63889 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63890 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63891 do :
63892 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63893 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63894 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63895 cat >>confdefs.h <<_ACEOF
63896 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63897 _ACEOF
63898
63899 fi
63900 done
63901
63902 fi
63903 fi
63904
63905
63906
63907
63908
63909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63910 $as_echo_n "checking for long double round functions... " >&6; }
63911 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
63912 $as_echo_n "(cached) " >&6
63913 else
63914
63915
63916 ac_ext=cpp
63917 ac_cpp='$CXXCPP $CPPFLAGS'
63918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63921
63922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63923 /* end confdefs.h. */
63924 #include <math.h>
63925 int
63926 main ()
63927 {
63928 ceill (0); floorl (0);
63929 ;
63930 return 0;
63931 }
63932 _ACEOF
63933 if ac_fn_cxx_try_compile "$LINENO"; then :
63934 glibcxx_cv_func_long_double_round_use=yes
63935 else
63936 glibcxx_cv_func_long_double_round_use=no
63937 fi
63938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63939 ac_ext=c
63940 ac_cpp='$CPP $CPPFLAGS'
63941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63944
63945 fi
63946
63947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63948 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63949 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63950 for ac_func in ceill floorl
63951 do :
63952 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63953 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63954 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63955 cat >>confdefs.h <<_ACEOF
63956 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63957 _ACEOF
63958
63959 fi
63960 done
63961
63962 else
63963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63964 $as_echo_n "checking for _long double round functions... " >&6; }
63965 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
63966 $as_echo_n "(cached) " >&6
63967 else
63968
63969
63970 ac_ext=cpp
63971 ac_cpp='$CXXCPP $CPPFLAGS'
63972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63975
63976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63977 /* end confdefs.h. */
63978 #include <math.h>
63979 int
63980 main ()
63981 {
63982 _ceill (0); _floorl (0);
63983 ;
63984 return 0;
63985 }
63986 _ACEOF
63987 if ac_fn_cxx_try_compile "$LINENO"; then :
63988 glibcxx_cv_func__long_double_round_use=yes
63989 else
63990 glibcxx_cv_func__long_double_round_use=no
63991 fi
63992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63993 ac_ext=c
63994 ac_cpp='$CPP $CPPFLAGS'
63995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63998
63999 fi
64000
64001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64002 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64003 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64004 for ac_func in _ceill _floorl
64005 do :
64006 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64007 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64008 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64009 cat >>confdefs.h <<_ACEOF
64010 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64011 _ACEOF
64012
64013 fi
64014 done
64015
64016 fi
64017 fi
64018
64019
64020
64021
64022
64023
64024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64025 $as_echo_n "checking for isnanl declaration... " >&6; }
64026 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64027 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64028 $as_echo_n "(cached) " >&6
64029 else
64030
64031
64032 ac_ext=cpp
64033 ac_cpp='$CXXCPP $CPPFLAGS'
64034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64037
64038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64039 /* end confdefs.h. */
64040 #include <math.h>
64041 #ifdef HAVE_IEEEFP_H
64042 #include <ieeefp.h>
64043 #endif
64044
64045 int
64046 main ()
64047 {
64048 isnanl(0);
64049 ;
64050 return 0;
64051 }
64052 _ACEOF
64053 if ac_fn_cxx_try_compile "$LINENO"; then :
64054 glibcxx_cv_func_isnanl_use=yes
64055 else
64056 glibcxx_cv_func_isnanl_use=no
64057 fi
64058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64059 ac_ext=c
64060 ac_cpp='$CPP $CPPFLAGS'
64061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64064
64065
64066 fi
64067
64068 fi
64069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64070 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64071
64072 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64073 for ac_func in isnanl
64074 do :
64075 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64076 if test "x$ac_cv_func_isnanl" = xyes; then :
64077 cat >>confdefs.h <<_ACEOF
64078 #define HAVE_ISNANL 1
64079 _ACEOF
64080
64081 fi
64082 done
64083
64084 else
64085
64086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64087 $as_echo_n "checking for _isnanl declaration... " >&6; }
64088 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64089 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64090 $as_echo_n "(cached) " >&6
64091 else
64092
64093
64094 ac_ext=cpp
64095 ac_cpp='$CXXCPP $CPPFLAGS'
64096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64099
64100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64101 /* end confdefs.h. */
64102 #include <math.h>
64103 #ifdef HAVE_IEEEFP_H
64104 #include <ieeefp.h>
64105 #endif
64106
64107 int
64108 main ()
64109 {
64110 _isnanl(0);
64111 ;
64112 return 0;
64113 }
64114 _ACEOF
64115 if ac_fn_cxx_try_compile "$LINENO"; then :
64116 glibcxx_cv_func__isnanl_use=yes
64117 else
64118 glibcxx_cv_func__isnanl_use=no
64119 fi
64120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64121 ac_ext=c
64122 ac_cpp='$CPP $CPPFLAGS'
64123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64126
64127
64128 fi
64129
64130 fi
64131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64132 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64133
64134 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64135 for ac_func in _isnanl
64136 do :
64137 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64138 if test "x$ac_cv_func__isnanl" = xyes; then :
64139 cat >>confdefs.h <<_ACEOF
64140 #define HAVE__ISNANL 1
64141 _ACEOF
64142
64143 fi
64144 done
64145
64146 fi
64147 fi
64148
64149
64150
64151
64152
64153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64154 $as_echo_n "checking for isinfl declaration... " >&6; }
64155 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64156 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64157 $as_echo_n "(cached) " >&6
64158 else
64159
64160
64161 ac_ext=cpp
64162 ac_cpp='$CXXCPP $CPPFLAGS'
64163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64166
64167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64168 /* end confdefs.h. */
64169 #include <math.h>
64170 #ifdef HAVE_IEEEFP_H
64171 #include <ieeefp.h>
64172 #endif
64173
64174 int
64175 main ()
64176 {
64177 isinfl(0);
64178 ;
64179 return 0;
64180 }
64181 _ACEOF
64182 if ac_fn_cxx_try_compile "$LINENO"; then :
64183 glibcxx_cv_func_isinfl_use=yes
64184 else
64185 glibcxx_cv_func_isinfl_use=no
64186 fi
64187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64188 ac_ext=c
64189 ac_cpp='$CPP $CPPFLAGS'
64190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64193
64194
64195 fi
64196
64197 fi
64198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64199 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64200
64201 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64202 for ac_func in isinfl
64203 do :
64204 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64205 if test "x$ac_cv_func_isinfl" = xyes; then :
64206 cat >>confdefs.h <<_ACEOF
64207 #define HAVE_ISINFL 1
64208 _ACEOF
64209
64210 fi
64211 done
64212
64213 else
64214
64215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64216 $as_echo_n "checking for _isinfl declaration... " >&6; }
64217 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64218 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64219 $as_echo_n "(cached) " >&6
64220 else
64221
64222
64223 ac_ext=cpp
64224 ac_cpp='$CXXCPP $CPPFLAGS'
64225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64228
64229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64230 /* end confdefs.h. */
64231 #include <math.h>
64232 #ifdef HAVE_IEEEFP_H
64233 #include <ieeefp.h>
64234 #endif
64235
64236 int
64237 main ()
64238 {
64239 _isinfl(0);
64240 ;
64241 return 0;
64242 }
64243 _ACEOF
64244 if ac_fn_cxx_try_compile "$LINENO"; then :
64245 glibcxx_cv_func__isinfl_use=yes
64246 else
64247 glibcxx_cv_func__isinfl_use=no
64248 fi
64249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64250 ac_ext=c
64251 ac_cpp='$CPP $CPPFLAGS'
64252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64255
64256
64257 fi
64258
64259 fi
64260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64261 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64262
64263 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64264 for ac_func in _isinfl
64265 do :
64266 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64267 if test "x$ac_cv_func__isinfl" = xyes; then :
64268 cat >>confdefs.h <<_ACEOF
64269 #define HAVE__ISINFL 1
64270 _ACEOF
64271
64272 fi
64273 done
64274
64275 fi
64276 fi
64277
64278
64279
64280
64281
64282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64283 $as_echo_n "checking for atan2l declaration... " >&6; }
64284 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64285 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64286 $as_echo_n "(cached) " >&6
64287 else
64288
64289
64290 ac_ext=cpp
64291 ac_cpp='$CXXCPP $CPPFLAGS'
64292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64295
64296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64297 /* end confdefs.h. */
64298 #include <math.h>
64299 int
64300 main ()
64301 {
64302 atan2l(0, 0);
64303 ;
64304 return 0;
64305 }
64306 _ACEOF
64307 if ac_fn_cxx_try_compile "$LINENO"; then :
64308 glibcxx_cv_func_atan2l_use=yes
64309 else
64310 glibcxx_cv_func_atan2l_use=no
64311 fi
64312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64313 ac_ext=c
64314 ac_cpp='$CPP $CPPFLAGS'
64315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64318
64319
64320 fi
64321
64322 fi
64323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64324 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64325
64326 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64327 for ac_func in atan2l
64328 do :
64329 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64330 if test "x$ac_cv_func_atan2l" = xyes; then :
64331 cat >>confdefs.h <<_ACEOF
64332 #define HAVE_ATAN2L 1
64333 _ACEOF
64334
64335 fi
64336 done
64337
64338 else
64339
64340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64341 $as_echo_n "checking for _atan2l declaration... " >&6; }
64342 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64343 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64344 $as_echo_n "(cached) " >&6
64345 else
64346
64347
64348 ac_ext=cpp
64349 ac_cpp='$CXXCPP $CPPFLAGS'
64350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64353
64354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64355 /* end confdefs.h. */
64356 #include <math.h>
64357 int
64358 main ()
64359 {
64360 _atan2l(0, 0);
64361 ;
64362 return 0;
64363 }
64364 _ACEOF
64365 if ac_fn_cxx_try_compile "$LINENO"; then :
64366 glibcxx_cv_func__atan2l_use=yes
64367 else
64368 glibcxx_cv_func__atan2l_use=no
64369 fi
64370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64371 ac_ext=c
64372 ac_cpp='$CPP $CPPFLAGS'
64373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64376
64377
64378 fi
64379
64380 fi
64381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64382 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64383
64384 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64385 for ac_func in _atan2l
64386 do :
64387 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64388 if test "x$ac_cv_func__atan2l" = xyes; then :
64389 cat >>confdefs.h <<_ACEOF
64390 #define HAVE__ATAN2L 1
64391 _ACEOF
64392
64393 fi
64394 done
64395
64396 fi
64397 fi
64398
64399
64400
64401
64402
64403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64404 $as_echo_n "checking for expl declaration... " >&6; }
64405 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64406 if ${glibcxx_cv_func_expl_use+:} false; then :
64407 $as_echo_n "(cached) " >&6
64408 else
64409
64410
64411 ac_ext=cpp
64412 ac_cpp='$CXXCPP $CPPFLAGS'
64413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64416
64417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64418 /* end confdefs.h. */
64419 #include <math.h>
64420 #ifdef HAVE_IEEEFP_H
64421 #include <ieeefp.h>
64422 #endif
64423
64424 int
64425 main ()
64426 {
64427 expl(0);
64428 ;
64429 return 0;
64430 }
64431 _ACEOF
64432 if ac_fn_cxx_try_compile "$LINENO"; then :
64433 glibcxx_cv_func_expl_use=yes
64434 else
64435 glibcxx_cv_func_expl_use=no
64436 fi
64437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64438 ac_ext=c
64439 ac_cpp='$CPP $CPPFLAGS'
64440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64443
64444
64445 fi
64446
64447 fi
64448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64449 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64450
64451 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64452 for ac_func in expl
64453 do :
64454 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64455 if test "x$ac_cv_func_expl" = xyes; then :
64456 cat >>confdefs.h <<_ACEOF
64457 #define HAVE_EXPL 1
64458 _ACEOF
64459
64460 fi
64461 done
64462
64463 else
64464
64465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64466 $as_echo_n "checking for _expl declaration... " >&6; }
64467 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64468 if ${glibcxx_cv_func__expl_use+:} false; then :
64469 $as_echo_n "(cached) " >&6
64470 else
64471
64472
64473 ac_ext=cpp
64474 ac_cpp='$CXXCPP $CPPFLAGS'
64475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64478
64479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64480 /* end confdefs.h. */
64481 #include <math.h>
64482 #ifdef HAVE_IEEEFP_H
64483 #include <ieeefp.h>
64484 #endif
64485
64486 int
64487 main ()
64488 {
64489 _expl(0);
64490 ;
64491 return 0;
64492 }
64493 _ACEOF
64494 if ac_fn_cxx_try_compile "$LINENO"; then :
64495 glibcxx_cv_func__expl_use=yes
64496 else
64497 glibcxx_cv_func__expl_use=no
64498 fi
64499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64500 ac_ext=c
64501 ac_cpp='$CPP $CPPFLAGS'
64502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64505
64506
64507 fi
64508
64509 fi
64510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64511 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64512
64513 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64514 for ac_func in _expl
64515 do :
64516 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64517 if test "x$ac_cv_func__expl" = xyes; then :
64518 cat >>confdefs.h <<_ACEOF
64519 #define HAVE__EXPL 1
64520 _ACEOF
64521
64522 fi
64523 done
64524
64525 fi
64526 fi
64527
64528
64529
64530
64531
64532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64533 $as_echo_n "checking for fabsl declaration... " >&6; }
64534 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64535 if ${glibcxx_cv_func_fabsl_use+:} false; then :
64536 $as_echo_n "(cached) " >&6
64537 else
64538
64539
64540 ac_ext=cpp
64541 ac_cpp='$CXXCPP $CPPFLAGS'
64542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64545
64546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64547 /* end confdefs.h. */
64548 #include <math.h>
64549 #ifdef HAVE_IEEEFP_H
64550 #include <ieeefp.h>
64551 #endif
64552
64553 int
64554 main ()
64555 {
64556 fabsl(0);
64557 ;
64558 return 0;
64559 }
64560 _ACEOF
64561 if ac_fn_cxx_try_compile "$LINENO"; then :
64562 glibcxx_cv_func_fabsl_use=yes
64563 else
64564 glibcxx_cv_func_fabsl_use=no
64565 fi
64566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64567 ac_ext=c
64568 ac_cpp='$CPP $CPPFLAGS'
64569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64572
64573
64574 fi
64575
64576 fi
64577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64578 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64579
64580 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64581 for ac_func in fabsl
64582 do :
64583 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64584 if test "x$ac_cv_func_fabsl" = xyes; then :
64585 cat >>confdefs.h <<_ACEOF
64586 #define HAVE_FABSL 1
64587 _ACEOF
64588
64589 fi
64590 done
64591
64592 else
64593
64594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64595 $as_echo_n "checking for _fabsl declaration... " >&6; }
64596 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64597 if ${glibcxx_cv_func__fabsl_use+:} false; then :
64598 $as_echo_n "(cached) " >&6
64599 else
64600
64601
64602 ac_ext=cpp
64603 ac_cpp='$CXXCPP $CPPFLAGS'
64604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64607
64608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64609 /* end confdefs.h. */
64610 #include <math.h>
64611 #ifdef HAVE_IEEEFP_H
64612 #include <ieeefp.h>
64613 #endif
64614
64615 int
64616 main ()
64617 {
64618 _fabsl(0);
64619 ;
64620 return 0;
64621 }
64622 _ACEOF
64623 if ac_fn_cxx_try_compile "$LINENO"; then :
64624 glibcxx_cv_func__fabsl_use=yes
64625 else
64626 glibcxx_cv_func__fabsl_use=no
64627 fi
64628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64629 ac_ext=c
64630 ac_cpp='$CPP $CPPFLAGS'
64631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64634
64635
64636 fi
64637
64638 fi
64639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64640 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64641
64642 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64643 for ac_func in _fabsl
64644 do :
64645 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64646 if test "x$ac_cv_func__fabsl" = xyes; then :
64647 cat >>confdefs.h <<_ACEOF
64648 #define HAVE__FABSL 1
64649 _ACEOF
64650
64651 fi
64652 done
64653
64654 fi
64655 fi
64656
64657
64658
64659
64660
64661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64662 $as_echo_n "checking for fmodl declaration... " >&6; }
64663 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64664 if ${glibcxx_cv_func_fmodl_use+:} false; then :
64665 $as_echo_n "(cached) " >&6
64666 else
64667
64668
64669 ac_ext=cpp
64670 ac_cpp='$CXXCPP $CPPFLAGS'
64671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64674
64675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64676 /* end confdefs.h. */
64677 #include <math.h>
64678 int
64679 main ()
64680 {
64681 fmodl(0, 0);
64682 ;
64683 return 0;
64684 }
64685 _ACEOF
64686 if ac_fn_cxx_try_compile "$LINENO"; then :
64687 glibcxx_cv_func_fmodl_use=yes
64688 else
64689 glibcxx_cv_func_fmodl_use=no
64690 fi
64691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64692 ac_ext=c
64693 ac_cpp='$CPP $CPPFLAGS'
64694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64697
64698
64699 fi
64700
64701 fi
64702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64703 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64704
64705 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64706 for ac_func in fmodl
64707 do :
64708 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64709 if test "x$ac_cv_func_fmodl" = xyes; then :
64710 cat >>confdefs.h <<_ACEOF
64711 #define HAVE_FMODL 1
64712 _ACEOF
64713
64714 fi
64715 done
64716
64717 else
64718
64719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64720 $as_echo_n "checking for _fmodl declaration... " >&6; }
64721 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64722 if ${glibcxx_cv_func__fmodl_use+:} false; then :
64723 $as_echo_n "(cached) " >&6
64724 else
64725
64726
64727 ac_ext=cpp
64728 ac_cpp='$CXXCPP $CPPFLAGS'
64729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64732
64733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64734 /* end confdefs.h. */
64735 #include <math.h>
64736 int
64737 main ()
64738 {
64739 _fmodl(0, 0);
64740 ;
64741 return 0;
64742 }
64743 _ACEOF
64744 if ac_fn_cxx_try_compile "$LINENO"; then :
64745 glibcxx_cv_func__fmodl_use=yes
64746 else
64747 glibcxx_cv_func__fmodl_use=no
64748 fi
64749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64750 ac_ext=c
64751 ac_cpp='$CPP $CPPFLAGS'
64752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64755
64756
64757 fi
64758
64759 fi
64760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64761 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64762
64763 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64764 for ac_func in _fmodl
64765 do :
64766 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64767 if test "x$ac_cv_func__fmodl" = xyes; then :
64768 cat >>confdefs.h <<_ACEOF
64769 #define HAVE__FMODL 1
64770 _ACEOF
64771
64772 fi
64773 done
64774
64775 fi
64776 fi
64777
64778
64779
64780
64781
64782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64783 $as_echo_n "checking for frexpl declaration... " >&6; }
64784 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64785 if ${glibcxx_cv_func_frexpl_use+:} false; then :
64786 $as_echo_n "(cached) " >&6
64787 else
64788
64789
64790 ac_ext=cpp
64791 ac_cpp='$CXXCPP $CPPFLAGS'
64792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64795
64796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64797 /* end confdefs.h. */
64798 #include <math.h>
64799 int
64800 main ()
64801 {
64802 frexpl(0, 0);
64803 ;
64804 return 0;
64805 }
64806 _ACEOF
64807 if ac_fn_cxx_try_compile "$LINENO"; then :
64808 glibcxx_cv_func_frexpl_use=yes
64809 else
64810 glibcxx_cv_func_frexpl_use=no
64811 fi
64812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64813 ac_ext=c
64814 ac_cpp='$CPP $CPPFLAGS'
64815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64818
64819
64820 fi
64821
64822 fi
64823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64824 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64825
64826 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64827 for ac_func in frexpl
64828 do :
64829 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64830 if test "x$ac_cv_func_frexpl" = xyes; then :
64831 cat >>confdefs.h <<_ACEOF
64832 #define HAVE_FREXPL 1
64833 _ACEOF
64834
64835 fi
64836 done
64837
64838 else
64839
64840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64841 $as_echo_n "checking for _frexpl declaration... " >&6; }
64842 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64843 if ${glibcxx_cv_func__frexpl_use+:} false; then :
64844 $as_echo_n "(cached) " >&6
64845 else
64846
64847
64848 ac_ext=cpp
64849 ac_cpp='$CXXCPP $CPPFLAGS'
64850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64853
64854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64855 /* end confdefs.h. */
64856 #include <math.h>
64857 int
64858 main ()
64859 {
64860 _frexpl(0, 0);
64861 ;
64862 return 0;
64863 }
64864 _ACEOF
64865 if ac_fn_cxx_try_compile "$LINENO"; then :
64866 glibcxx_cv_func__frexpl_use=yes
64867 else
64868 glibcxx_cv_func__frexpl_use=no
64869 fi
64870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64871 ac_ext=c
64872 ac_cpp='$CPP $CPPFLAGS'
64873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64876
64877
64878 fi
64879
64880 fi
64881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64882 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64883
64884 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64885 for ac_func in _frexpl
64886 do :
64887 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64888 if test "x$ac_cv_func__frexpl" = xyes; then :
64889 cat >>confdefs.h <<_ACEOF
64890 #define HAVE__FREXPL 1
64891 _ACEOF
64892
64893 fi
64894 done
64895
64896 fi
64897 fi
64898
64899
64900
64901
64902
64903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64904 $as_echo_n "checking for hypotl declaration... " >&6; }
64905 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64906 if ${glibcxx_cv_func_hypotl_use+:} false; then :
64907 $as_echo_n "(cached) " >&6
64908 else
64909
64910
64911 ac_ext=cpp
64912 ac_cpp='$CXXCPP $CPPFLAGS'
64913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64916
64917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64918 /* end confdefs.h. */
64919 #include <math.h>
64920 int
64921 main ()
64922 {
64923 hypotl(0, 0);
64924 ;
64925 return 0;
64926 }
64927 _ACEOF
64928 if ac_fn_cxx_try_compile "$LINENO"; then :
64929 glibcxx_cv_func_hypotl_use=yes
64930 else
64931 glibcxx_cv_func_hypotl_use=no
64932 fi
64933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64934 ac_ext=c
64935 ac_cpp='$CPP $CPPFLAGS'
64936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64939
64940
64941 fi
64942
64943 fi
64944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64945 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64946
64947 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64948 for ac_func in hypotl
64949 do :
64950 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64951 if test "x$ac_cv_func_hypotl" = xyes; then :
64952 cat >>confdefs.h <<_ACEOF
64953 #define HAVE_HYPOTL 1
64954 _ACEOF
64955
64956 fi
64957 done
64958
64959 else
64960
64961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64962 $as_echo_n "checking for _hypotl declaration... " >&6; }
64963 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64964 if ${glibcxx_cv_func__hypotl_use+:} false; then :
64965 $as_echo_n "(cached) " >&6
64966 else
64967
64968
64969 ac_ext=cpp
64970 ac_cpp='$CXXCPP $CPPFLAGS'
64971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64974
64975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64976 /* end confdefs.h. */
64977 #include <math.h>
64978 int
64979 main ()
64980 {
64981 _hypotl(0, 0);
64982 ;
64983 return 0;
64984 }
64985 _ACEOF
64986 if ac_fn_cxx_try_compile "$LINENO"; then :
64987 glibcxx_cv_func__hypotl_use=yes
64988 else
64989 glibcxx_cv_func__hypotl_use=no
64990 fi
64991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64992 ac_ext=c
64993 ac_cpp='$CPP $CPPFLAGS'
64994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64997
64998
64999 fi
65000
65001 fi
65002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65003 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65004
65005 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65006 for ac_func in _hypotl
65007 do :
65008 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65009 if test "x$ac_cv_func__hypotl" = xyes; then :
65010 cat >>confdefs.h <<_ACEOF
65011 #define HAVE__HYPOTL 1
65012 _ACEOF
65013
65014 fi
65015 done
65016
65017 fi
65018 fi
65019
65020
65021
65022
65023
65024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65025 $as_echo_n "checking for ldexpl declaration... " >&6; }
65026 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65027 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65028 $as_echo_n "(cached) " >&6
65029 else
65030
65031
65032 ac_ext=cpp
65033 ac_cpp='$CXXCPP $CPPFLAGS'
65034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65037
65038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65039 /* end confdefs.h. */
65040 #include <math.h>
65041 int
65042 main ()
65043 {
65044 ldexpl(0, 0);
65045 ;
65046 return 0;
65047 }
65048 _ACEOF
65049 if ac_fn_cxx_try_compile "$LINENO"; then :
65050 glibcxx_cv_func_ldexpl_use=yes
65051 else
65052 glibcxx_cv_func_ldexpl_use=no
65053 fi
65054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65055 ac_ext=c
65056 ac_cpp='$CPP $CPPFLAGS'
65057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65060
65061
65062 fi
65063
65064 fi
65065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65066 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65067
65068 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65069 for ac_func in ldexpl
65070 do :
65071 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65072 if test "x$ac_cv_func_ldexpl" = xyes; then :
65073 cat >>confdefs.h <<_ACEOF
65074 #define HAVE_LDEXPL 1
65075 _ACEOF
65076
65077 fi
65078 done
65079
65080 else
65081
65082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65083 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65084 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65085 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65086 $as_echo_n "(cached) " >&6
65087 else
65088
65089
65090 ac_ext=cpp
65091 ac_cpp='$CXXCPP $CPPFLAGS'
65092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65095
65096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65097 /* end confdefs.h. */
65098 #include <math.h>
65099 int
65100 main ()
65101 {
65102 _ldexpl(0, 0);
65103 ;
65104 return 0;
65105 }
65106 _ACEOF
65107 if ac_fn_cxx_try_compile "$LINENO"; then :
65108 glibcxx_cv_func__ldexpl_use=yes
65109 else
65110 glibcxx_cv_func__ldexpl_use=no
65111 fi
65112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65113 ac_ext=c
65114 ac_cpp='$CPP $CPPFLAGS'
65115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65118
65119
65120 fi
65121
65122 fi
65123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65124 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65125
65126 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65127 for ac_func in _ldexpl
65128 do :
65129 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65130 if test "x$ac_cv_func__ldexpl" = xyes; then :
65131 cat >>confdefs.h <<_ACEOF
65132 #define HAVE__LDEXPL 1
65133 _ACEOF
65134
65135 fi
65136 done
65137
65138 fi
65139 fi
65140
65141
65142
65143
65144
65145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65146 $as_echo_n "checking for logl declaration... " >&6; }
65147 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65148 if ${glibcxx_cv_func_logl_use+:} false; then :
65149 $as_echo_n "(cached) " >&6
65150 else
65151
65152
65153 ac_ext=cpp
65154 ac_cpp='$CXXCPP $CPPFLAGS'
65155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65158
65159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65160 /* end confdefs.h. */
65161 #include <math.h>
65162 #ifdef HAVE_IEEEFP_H
65163 #include <ieeefp.h>
65164 #endif
65165
65166 int
65167 main ()
65168 {
65169 logl(0);
65170 ;
65171 return 0;
65172 }
65173 _ACEOF
65174 if ac_fn_cxx_try_compile "$LINENO"; then :
65175 glibcxx_cv_func_logl_use=yes
65176 else
65177 glibcxx_cv_func_logl_use=no
65178 fi
65179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65180 ac_ext=c
65181 ac_cpp='$CPP $CPPFLAGS'
65182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65185
65186
65187 fi
65188
65189 fi
65190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65191 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65192
65193 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65194 for ac_func in logl
65195 do :
65196 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65197 if test "x$ac_cv_func_logl" = xyes; then :
65198 cat >>confdefs.h <<_ACEOF
65199 #define HAVE_LOGL 1
65200 _ACEOF
65201
65202 fi
65203 done
65204
65205 else
65206
65207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65208 $as_echo_n "checking for _logl declaration... " >&6; }
65209 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65210 if ${glibcxx_cv_func__logl_use+:} false; then :
65211 $as_echo_n "(cached) " >&6
65212 else
65213
65214
65215 ac_ext=cpp
65216 ac_cpp='$CXXCPP $CPPFLAGS'
65217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65220
65221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65222 /* end confdefs.h. */
65223 #include <math.h>
65224 #ifdef HAVE_IEEEFP_H
65225 #include <ieeefp.h>
65226 #endif
65227
65228 int
65229 main ()
65230 {
65231 _logl(0);
65232 ;
65233 return 0;
65234 }
65235 _ACEOF
65236 if ac_fn_cxx_try_compile "$LINENO"; then :
65237 glibcxx_cv_func__logl_use=yes
65238 else
65239 glibcxx_cv_func__logl_use=no
65240 fi
65241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65242 ac_ext=c
65243 ac_cpp='$CPP $CPPFLAGS'
65244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65247
65248
65249 fi
65250
65251 fi
65252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65253 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65254
65255 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65256 for ac_func in _logl
65257 do :
65258 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65259 if test "x$ac_cv_func__logl" = xyes; then :
65260 cat >>confdefs.h <<_ACEOF
65261 #define HAVE__LOGL 1
65262 _ACEOF
65263
65264 fi
65265 done
65266
65267 fi
65268 fi
65269
65270
65271
65272
65273
65274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65275 $as_echo_n "checking for log10l declaration... " >&6; }
65276 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65277 if ${glibcxx_cv_func_log10l_use+:} false; then :
65278 $as_echo_n "(cached) " >&6
65279 else
65280
65281
65282 ac_ext=cpp
65283 ac_cpp='$CXXCPP $CPPFLAGS'
65284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65287
65288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65289 /* end confdefs.h. */
65290 #include <math.h>
65291 #ifdef HAVE_IEEEFP_H
65292 #include <ieeefp.h>
65293 #endif
65294
65295 int
65296 main ()
65297 {
65298 log10l(0);
65299 ;
65300 return 0;
65301 }
65302 _ACEOF
65303 if ac_fn_cxx_try_compile "$LINENO"; then :
65304 glibcxx_cv_func_log10l_use=yes
65305 else
65306 glibcxx_cv_func_log10l_use=no
65307 fi
65308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65309 ac_ext=c
65310 ac_cpp='$CPP $CPPFLAGS'
65311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65314
65315
65316 fi
65317
65318 fi
65319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65320 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65321
65322 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65323 for ac_func in log10l
65324 do :
65325 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65326 if test "x$ac_cv_func_log10l" = xyes; then :
65327 cat >>confdefs.h <<_ACEOF
65328 #define HAVE_LOG10L 1
65329 _ACEOF
65330
65331 fi
65332 done
65333
65334 else
65335
65336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65337 $as_echo_n "checking for _log10l declaration... " >&6; }
65338 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65339 if ${glibcxx_cv_func__log10l_use+:} false; then :
65340 $as_echo_n "(cached) " >&6
65341 else
65342
65343
65344 ac_ext=cpp
65345 ac_cpp='$CXXCPP $CPPFLAGS'
65346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65349
65350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65351 /* end confdefs.h. */
65352 #include <math.h>
65353 #ifdef HAVE_IEEEFP_H
65354 #include <ieeefp.h>
65355 #endif
65356
65357 int
65358 main ()
65359 {
65360 _log10l(0);
65361 ;
65362 return 0;
65363 }
65364 _ACEOF
65365 if ac_fn_cxx_try_compile "$LINENO"; then :
65366 glibcxx_cv_func__log10l_use=yes
65367 else
65368 glibcxx_cv_func__log10l_use=no
65369 fi
65370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65371 ac_ext=c
65372 ac_cpp='$CPP $CPPFLAGS'
65373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65376
65377
65378 fi
65379
65380 fi
65381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65382 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65383
65384 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65385 for ac_func in _log10l
65386 do :
65387 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65388 if test "x$ac_cv_func__log10l" = xyes; then :
65389 cat >>confdefs.h <<_ACEOF
65390 #define HAVE__LOG10L 1
65391 _ACEOF
65392
65393 fi
65394 done
65395
65396 fi
65397 fi
65398
65399
65400
65401
65402
65403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65404 $as_echo_n "checking for modfl declaration... " >&6; }
65405 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65406 if ${glibcxx_cv_func_modfl_use+:} false; then :
65407 $as_echo_n "(cached) " >&6
65408 else
65409
65410
65411 ac_ext=cpp
65412 ac_cpp='$CXXCPP $CPPFLAGS'
65413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65416
65417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65418 /* end confdefs.h. */
65419 #include <math.h>
65420 int
65421 main ()
65422 {
65423 modfl(0, 0);
65424 ;
65425 return 0;
65426 }
65427 _ACEOF
65428 if ac_fn_cxx_try_compile "$LINENO"; then :
65429 glibcxx_cv_func_modfl_use=yes
65430 else
65431 glibcxx_cv_func_modfl_use=no
65432 fi
65433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65434 ac_ext=c
65435 ac_cpp='$CPP $CPPFLAGS'
65436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65439
65440
65441 fi
65442
65443 fi
65444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65445 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65446
65447 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65448 for ac_func in modfl
65449 do :
65450 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65451 if test "x$ac_cv_func_modfl" = xyes; then :
65452 cat >>confdefs.h <<_ACEOF
65453 #define HAVE_MODFL 1
65454 _ACEOF
65455
65456 fi
65457 done
65458
65459 else
65460
65461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65462 $as_echo_n "checking for _modfl declaration... " >&6; }
65463 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65464 if ${glibcxx_cv_func__modfl_use+:} false; then :
65465 $as_echo_n "(cached) " >&6
65466 else
65467
65468
65469 ac_ext=cpp
65470 ac_cpp='$CXXCPP $CPPFLAGS'
65471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65474
65475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65476 /* end confdefs.h. */
65477 #include <math.h>
65478 int
65479 main ()
65480 {
65481 _modfl(0, 0);
65482 ;
65483 return 0;
65484 }
65485 _ACEOF
65486 if ac_fn_cxx_try_compile "$LINENO"; then :
65487 glibcxx_cv_func__modfl_use=yes
65488 else
65489 glibcxx_cv_func__modfl_use=no
65490 fi
65491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65492 ac_ext=c
65493 ac_cpp='$CPP $CPPFLAGS'
65494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65497
65498
65499 fi
65500
65501 fi
65502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65503 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65504
65505 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65506 for ac_func in _modfl
65507 do :
65508 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65509 if test "x$ac_cv_func__modfl" = xyes; then :
65510 cat >>confdefs.h <<_ACEOF
65511 #define HAVE__MODFL 1
65512 _ACEOF
65513
65514 fi
65515 done
65516
65517 fi
65518 fi
65519
65520
65521
65522
65523
65524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65525 $as_echo_n "checking for powl declaration... " >&6; }
65526 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65527 if ${glibcxx_cv_func_powl_use+:} false; then :
65528 $as_echo_n "(cached) " >&6
65529 else
65530
65531
65532 ac_ext=cpp
65533 ac_cpp='$CXXCPP $CPPFLAGS'
65534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65537
65538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65539 /* end confdefs.h. */
65540 #include <math.h>
65541 int
65542 main ()
65543 {
65544 powl(0, 0);
65545 ;
65546 return 0;
65547 }
65548 _ACEOF
65549 if ac_fn_cxx_try_compile "$LINENO"; then :
65550 glibcxx_cv_func_powl_use=yes
65551 else
65552 glibcxx_cv_func_powl_use=no
65553 fi
65554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65555 ac_ext=c
65556 ac_cpp='$CPP $CPPFLAGS'
65557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65560
65561
65562 fi
65563
65564 fi
65565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65566 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65567
65568 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65569 for ac_func in powl
65570 do :
65571 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65572 if test "x$ac_cv_func_powl" = xyes; then :
65573 cat >>confdefs.h <<_ACEOF
65574 #define HAVE_POWL 1
65575 _ACEOF
65576
65577 fi
65578 done
65579
65580 else
65581
65582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65583 $as_echo_n "checking for _powl declaration... " >&6; }
65584 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65585 if ${glibcxx_cv_func__powl_use+:} false; then :
65586 $as_echo_n "(cached) " >&6
65587 else
65588
65589
65590 ac_ext=cpp
65591 ac_cpp='$CXXCPP $CPPFLAGS'
65592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65595
65596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65597 /* end confdefs.h. */
65598 #include <math.h>
65599 int
65600 main ()
65601 {
65602 _powl(0, 0);
65603 ;
65604 return 0;
65605 }
65606 _ACEOF
65607 if ac_fn_cxx_try_compile "$LINENO"; then :
65608 glibcxx_cv_func__powl_use=yes
65609 else
65610 glibcxx_cv_func__powl_use=no
65611 fi
65612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65613 ac_ext=c
65614 ac_cpp='$CPP $CPPFLAGS'
65615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65618
65619
65620 fi
65621
65622 fi
65623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65624 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65625
65626 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65627 for ac_func in _powl
65628 do :
65629 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65630 if test "x$ac_cv_func__powl" = xyes; then :
65631 cat >>confdefs.h <<_ACEOF
65632 #define HAVE__POWL 1
65633 _ACEOF
65634
65635 fi
65636 done
65637
65638 fi
65639 fi
65640
65641
65642
65643
65644
65645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65646 $as_echo_n "checking for sqrtl declaration... " >&6; }
65647 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65648 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
65649 $as_echo_n "(cached) " >&6
65650 else
65651
65652
65653 ac_ext=cpp
65654 ac_cpp='$CXXCPP $CPPFLAGS'
65655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65658
65659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65660 /* end confdefs.h. */
65661 #include <math.h>
65662 #ifdef HAVE_IEEEFP_H
65663 #include <ieeefp.h>
65664 #endif
65665
65666 int
65667 main ()
65668 {
65669 sqrtl(0);
65670 ;
65671 return 0;
65672 }
65673 _ACEOF
65674 if ac_fn_cxx_try_compile "$LINENO"; then :
65675 glibcxx_cv_func_sqrtl_use=yes
65676 else
65677 glibcxx_cv_func_sqrtl_use=no
65678 fi
65679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65680 ac_ext=c
65681 ac_cpp='$CPP $CPPFLAGS'
65682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65685
65686
65687 fi
65688
65689 fi
65690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65691 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65692
65693 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65694 for ac_func in sqrtl
65695 do :
65696 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65697 if test "x$ac_cv_func_sqrtl" = xyes; then :
65698 cat >>confdefs.h <<_ACEOF
65699 #define HAVE_SQRTL 1
65700 _ACEOF
65701
65702 fi
65703 done
65704
65705 else
65706
65707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65708 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65709 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65710 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
65711 $as_echo_n "(cached) " >&6
65712 else
65713
65714
65715 ac_ext=cpp
65716 ac_cpp='$CXXCPP $CPPFLAGS'
65717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65720
65721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65722 /* end confdefs.h. */
65723 #include <math.h>
65724 #ifdef HAVE_IEEEFP_H
65725 #include <ieeefp.h>
65726 #endif
65727
65728 int
65729 main ()
65730 {
65731 _sqrtl(0);
65732 ;
65733 return 0;
65734 }
65735 _ACEOF
65736 if ac_fn_cxx_try_compile "$LINENO"; then :
65737 glibcxx_cv_func__sqrtl_use=yes
65738 else
65739 glibcxx_cv_func__sqrtl_use=no
65740 fi
65741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65742 ac_ext=c
65743 ac_cpp='$CPP $CPPFLAGS'
65744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65747
65748
65749 fi
65750
65751 fi
65752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65753 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65754
65755 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65756 for ac_func in _sqrtl
65757 do :
65758 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65759 if test "x$ac_cv_func__sqrtl" = xyes; then :
65760 cat >>confdefs.h <<_ACEOF
65761 #define HAVE__SQRTL 1
65762 _ACEOF
65763
65764 fi
65765 done
65766
65767 fi
65768 fi
65769
65770
65771
65772
65773
65774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65775 $as_echo_n "checking for sincosl declaration... " >&6; }
65776 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65777 if ${glibcxx_cv_func_sincosl_use+:} false; then :
65778 $as_echo_n "(cached) " >&6
65779 else
65780
65781
65782 ac_ext=cpp
65783 ac_cpp='$CXXCPP $CPPFLAGS'
65784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65787
65788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65789 /* end confdefs.h. */
65790 #include <math.h>
65791 int
65792 main ()
65793 {
65794 sincosl(0, 0, 0);
65795 ;
65796 return 0;
65797 }
65798 _ACEOF
65799 if ac_fn_cxx_try_compile "$LINENO"; then :
65800 glibcxx_cv_func_sincosl_use=yes
65801 else
65802 glibcxx_cv_func_sincosl_use=no
65803 fi
65804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65805 ac_ext=c
65806 ac_cpp='$CPP $CPPFLAGS'
65807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65810
65811
65812 fi
65813
65814 fi
65815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65816 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65817
65818 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65819 for ac_func in sincosl
65820 do :
65821 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65822 if test "x$ac_cv_func_sincosl" = xyes; then :
65823 cat >>confdefs.h <<_ACEOF
65824 #define HAVE_SINCOSL 1
65825 _ACEOF
65826
65827 fi
65828 done
65829
65830 else
65831
65832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65833 $as_echo_n "checking for _sincosl declaration... " >&6; }
65834 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65835 if ${glibcxx_cv_func__sincosl_use+:} false; then :
65836 $as_echo_n "(cached) " >&6
65837 else
65838
65839
65840 ac_ext=cpp
65841 ac_cpp='$CXXCPP $CPPFLAGS'
65842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65845
65846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65847 /* end confdefs.h. */
65848 #include <math.h>
65849 int
65850 main ()
65851 {
65852 _sincosl(0, 0, 0);
65853 ;
65854 return 0;
65855 }
65856 _ACEOF
65857 if ac_fn_cxx_try_compile "$LINENO"; then :
65858 glibcxx_cv_func__sincosl_use=yes
65859 else
65860 glibcxx_cv_func__sincosl_use=no
65861 fi
65862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65863 ac_ext=c
65864 ac_cpp='$CPP $CPPFLAGS'
65865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65868
65869
65870 fi
65871
65872 fi
65873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65874 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65875
65876 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65877 for ac_func in _sincosl
65878 do :
65879 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65880 if test "x$ac_cv_func__sincosl" = xyes; then :
65881 cat >>confdefs.h <<_ACEOF
65882 #define HAVE__SINCOSL 1
65883 _ACEOF
65884
65885 fi
65886 done
65887
65888 fi
65889 fi
65890
65891
65892
65893
65894
65895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65896 $as_echo_n "checking for finitel declaration... " >&6; }
65897 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65898 if ${glibcxx_cv_func_finitel_use+:} false; then :
65899 $as_echo_n "(cached) " >&6
65900 else
65901
65902
65903 ac_ext=cpp
65904 ac_cpp='$CXXCPP $CPPFLAGS'
65905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65908
65909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65910 /* end confdefs.h. */
65911 #include <math.h>
65912 #ifdef HAVE_IEEEFP_H
65913 #include <ieeefp.h>
65914 #endif
65915
65916 int
65917 main ()
65918 {
65919 finitel(0);
65920 ;
65921 return 0;
65922 }
65923 _ACEOF
65924 if ac_fn_cxx_try_compile "$LINENO"; then :
65925 glibcxx_cv_func_finitel_use=yes
65926 else
65927 glibcxx_cv_func_finitel_use=no
65928 fi
65929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65930 ac_ext=c
65931 ac_cpp='$CPP $CPPFLAGS'
65932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65935
65936
65937 fi
65938
65939 fi
65940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65941 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65942
65943 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65944 for ac_func in finitel
65945 do :
65946 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65947 if test "x$ac_cv_func_finitel" = xyes; then :
65948 cat >>confdefs.h <<_ACEOF
65949 #define HAVE_FINITEL 1
65950 _ACEOF
65951
65952 fi
65953 done
65954
65955 else
65956
65957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65958 $as_echo_n "checking for _finitel declaration... " >&6; }
65959 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65960 if ${glibcxx_cv_func__finitel_use+:} false; then :
65961 $as_echo_n "(cached) " >&6
65962 else
65963
65964
65965 ac_ext=cpp
65966 ac_cpp='$CXXCPP $CPPFLAGS'
65967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65970
65971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65972 /* end confdefs.h. */
65973 #include <math.h>
65974 #ifdef HAVE_IEEEFP_H
65975 #include <ieeefp.h>
65976 #endif
65977
65978 int
65979 main ()
65980 {
65981 _finitel(0);
65982 ;
65983 return 0;
65984 }
65985 _ACEOF
65986 if ac_fn_cxx_try_compile "$LINENO"; then :
65987 glibcxx_cv_func__finitel_use=yes
65988 else
65989 glibcxx_cv_func__finitel_use=no
65990 fi
65991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65992 ac_ext=c
65993 ac_cpp='$CPP $CPPFLAGS'
65994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65997
65998
65999 fi
66000
66001 fi
66002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66003 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66004
66005 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66006 for ac_func in _finitel
66007 do :
66008 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66009 if test "x$ac_cv_func__finitel" = xyes; then :
66010 cat >>confdefs.h <<_ACEOF
66011 #define HAVE__FINITEL 1
66012 _ACEOF
66013
66014 fi
66015 done
66016
66017 fi
66018 fi
66019
66020
66021
66022
66023 LIBS="$ac_save_LIBS"
66024 CXXFLAGS="$ac_save_CXXFLAGS"
66025
66026
66027 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66028 ac_save_CXXFLAGS="$CXXFLAGS"
66029 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66030
66031
66032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66033 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66034 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66035 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66036 $as_echo_n "(cached) " >&6
66037 else
66038
66039
66040 ac_ext=cpp
66041 ac_cpp='$CXXCPP $CPPFLAGS'
66042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66045
66046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66047 /* end confdefs.h. */
66048 #include <stdlib.h>
66049 int
66050 main ()
66051 {
66052 at_quick_exit(0);
66053 ;
66054 return 0;
66055 }
66056 _ACEOF
66057 if ac_fn_cxx_try_compile "$LINENO"; then :
66058 glibcxx_cv_func_at_quick_exit_use=yes
66059 else
66060 glibcxx_cv_func_at_quick_exit_use=no
66061 fi
66062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66063 ac_ext=c
66064 ac_cpp='$CPP $CPPFLAGS'
66065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66068
66069
66070 fi
66071
66072 fi
66073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66074 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66075 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66076 for ac_func in at_quick_exit
66077 do :
66078 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66079 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66080 cat >>confdefs.h <<_ACEOF
66081 #define HAVE_AT_QUICK_EXIT 1
66082 _ACEOF
66083
66084 fi
66085 done
66086
66087 fi
66088
66089
66090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66091 $as_echo_n "checking for quick_exit declaration... " >&6; }
66092 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66093 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66094 $as_echo_n "(cached) " >&6
66095 else
66096
66097
66098 ac_ext=cpp
66099 ac_cpp='$CXXCPP $CPPFLAGS'
66100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66103
66104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66105 /* end confdefs.h. */
66106 #include <stdlib.h>
66107 int
66108 main ()
66109 {
66110 quick_exit(0);
66111 ;
66112 return 0;
66113 }
66114 _ACEOF
66115 if ac_fn_cxx_try_compile "$LINENO"; then :
66116 glibcxx_cv_func_quick_exit_use=yes
66117 else
66118 glibcxx_cv_func_quick_exit_use=no
66119 fi
66120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66121 ac_ext=c
66122 ac_cpp='$CPP $CPPFLAGS'
66123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66126
66127
66128 fi
66129
66130 fi
66131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66132 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66133 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66134 for ac_func in quick_exit
66135 do :
66136 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66137 if test "x$ac_cv_func_quick_exit" = xyes; then :
66138 cat >>confdefs.h <<_ACEOF
66139 #define HAVE_QUICK_EXIT 1
66140 _ACEOF
66141
66142 fi
66143 done
66144
66145 fi
66146
66147
66148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66149 $as_echo_n "checking for strtold declaration... " >&6; }
66150 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66151 if ${glibcxx_cv_func_strtold_use+:} false; then :
66152 $as_echo_n "(cached) " >&6
66153 else
66154
66155
66156 ac_ext=cpp
66157 ac_cpp='$CXXCPP $CPPFLAGS'
66158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66161
66162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66163 /* end confdefs.h. */
66164 #include <stdlib.h>
66165 int
66166 main ()
66167 {
66168 strtold(0, 0);
66169 ;
66170 return 0;
66171 }
66172 _ACEOF
66173 if ac_fn_cxx_try_compile "$LINENO"; then :
66174 glibcxx_cv_func_strtold_use=yes
66175 else
66176 glibcxx_cv_func_strtold_use=no
66177 fi
66178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66179 ac_ext=c
66180 ac_cpp='$CPP $CPPFLAGS'
66181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66184
66185
66186 fi
66187
66188 fi
66189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66190 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66191 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66192 for ac_func in strtold
66193 do :
66194 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66195 if test "x$ac_cv_func_strtold" = xyes; then :
66196 cat >>confdefs.h <<_ACEOF
66197 #define HAVE_STRTOLD 1
66198 _ACEOF
66199
66200 fi
66201 done
66202
66203 fi
66204
66205
66206
66207
66208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66209 $as_echo_n "checking for strtof declaration... " >&6; }
66210 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66211 if ${glibcxx_cv_func_strtof_use+:} false; then :
66212 $as_echo_n "(cached) " >&6
66213 else
66214
66215
66216 ac_ext=cpp
66217 ac_cpp='$CXXCPP $CPPFLAGS'
66218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66221
66222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66223 /* end confdefs.h. */
66224 #include <stdlib.h>
66225 int
66226 main ()
66227 {
66228 strtof(0, 0);
66229 ;
66230 return 0;
66231 }
66232 _ACEOF
66233 if ac_fn_cxx_try_compile "$LINENO"; then :
66234 glibcxx_cv_func_strtof_use=yes
66235 else
66236 glibcxx_cv_func_strtof_use=no
66237 fi
66238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66239 ac_ext=c
66240 ac_cpp='$CPP $CPPFLAGS'
66241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66244
66245
66246 fi
66247
66248 fi
66249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66250 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66251 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66252 for ac_func in strtof
66253 do :
66254 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66255 if test "x$ac_cv_func_strtof" = xyes; then :
66256 cat >>confdefs.h <<_ACEOF
66257 #define HAVE_STRTOF 1
66258 _ACEOF
66259
66260 fi
66261 done
66262
66263 fi
66264
66265
66266
66267
66268 CXXFLAGS="$ac_save_CXXFLAGS"
66269
66270 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66271 do :
66272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66273 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66274 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66275 cat >>confdefs.h <<_ACEOF
66276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66277 _ACEOF
66278
66279 fi
66280 done
66281
66282 for ac_func in _wfopen
66283 do :
66284 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
66285 if test "x$ac_cv_func__wfopen" = xyes; then :
66286 cat >>confdefs.h <<_ACEOF
66287 #define HAVE__WFOPEN 1
66288 _ACEOF
66289
66290 fi
66291 done
66292
66293 ;;
66294 *-netbsd* | *-openbsd*)
66295 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66296
66297
66298 # If we're not using GNU ld, then there's no point in even trying these
66299 # tests. Check for that first. We should have already tested for gld
66300 # by now (in libtool), but require it now just to be safe...
66301 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66302 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66303
66304
66305
66306 # The name set by libtool depends on the version of libtool. Shame on us
66307 # for depending on an impl detail, but c'est la vie. Older versions used
66308 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66309 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66310 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66311 # set (hence we're using an older libtool), then set it.
66312 if test x${with_gnu_ld+set} != xset; then
66313 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66314 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66315 with_gnu_ld=no
66316 else
66317 with_gnu_ld=$ac_cv_prog_gnu_ld
66318 fi
66319 fi
66320
66321 # Start by getting the version number. I think the libtool test already
66322 # does some of this, but throws away the result.
66323 glibcxx_ld_is_gold=no
66324 if test x"$with_gnu_ld" = x"yes"; then
66325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66326 $as_echo_n "checking for ld version... " >&6; }
66327
66328 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66329 glibcxx_ld_is_gold=yes
66330 fi
66331 ldver=`$LD --version 2>/dev/null |
66332 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'`
66333
66334 glibcxx_gnu_ld_version=`echo $ldver | \
66335 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66337 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66338 fi
66339
66340 # Set --gc-sections.
66341 glibcxx_have_gc_sections=no
66342 if test "$glibcxx_ld_is_gold" = "yes"; then
66343 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66344 glibcxx_have_gc_sections=yes
66345 fi
66346 else
66347 glibcxx_gcsections_min_ld=21602
66348 if test x"$with_gnu_ld" = x"yes" &&
66349 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66350 glibcxx_have_gc_sections=yes
66351 fi
66352 fi
66353 if test "$glibcxx_have_gc_sections" = "yes"; then
66354 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66355 # NB: This flag only works reliably after 2.16.1. Configure tests
66356 # for this are difficult, so hard wire a value that should work.
66357
66358 ac_test_CFLAGS="${CFLAGS+set}"
66359 ac_save_CFLAGS="$CFLAGS"
66360 CFLAGS='-Wl,--gc-sections'
66361
66362 # Check for -Wl,--gc-sections
66363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66364 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66365 if test x$gcc_no_link = xyes; then
66366 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66367 fi
66368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66369 /* end confdefs.h. */
66370 int one(void) { return 1; }
66371 int two(void) { return 2; }
66372
66373 int
66374 main ()
66375 {
66376 two();
66377 ;
66378 return 0;
66379 }
66380 _ACEOF
66381 if ac_fn_c_try_link "$LINENO"; then :
66382 ac_gcsections=yes
66383 else
66384 ac_gcsections=no
66385 fi
66386 rm -f core conftest.err conftest.$ac_objext \
66387 conftest$ac_exeext conftest.$ac_ext
66388 if test "$ac_gcsections" = "yes"; then
66389 rm -f conftest.c
66390 touch conftest.c
66391 if $CC -c conftest.c; then
66392 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66393 grep "Warning: gc-sections option ignored" > /dev/null; then
66394 ac_gcsections=no
66395 fi
66396 fi
66397 rm -f conftest.c conftest.o conftest
66398 fi
66399 if test "$ac_gcsections" = "yes"; then
66400 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66401 fi
66402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66403 $as_echo "$ac_gcsections" >&6; }
66404
66405 if test "$ac_test_CFLAGS" = set; then
66406 CFLAGS="$ac_save_CFLAGS"
66407 else
66408 # this is the suspicious part
66409 CFLAGS=''
66410 fi
66411 fi
66412
66413 # Set -z,relro.
66414 # Note this is only for shared objects.
66415 ac_ld_relro=no
66416 if test x"$with_gnu_ld" = x"yes"; then
66417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66418 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66419 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66420 if test -n "$cxx_z_relo"; then
66421 OPT_LDFLAGS="-Wl,-z,relro"
66422 ac_ld_relro=yes
66423 fi
66424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66425 $as_echo "$ac_ld_relro" >&6; }
66426 fi
66427
66428 # Set linker optimization flags.
66429 if test x"$with_gnu_ld" = x"yes"; then
66430 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66431 fi
66432
66433
66434
66435
66436 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66437
66438 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66439
66440 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66441
66442 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66443
66444 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66445
66446 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66447
66448 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66449
66450 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66451
66452 if test x"long_double_math_on_this_cpu" = x"yes"; then
66453 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66454
66455 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66456
66457 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66458
66459 fi
66460 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66461 do :
66462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66464 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66465 cat >>confdefs.h <<_ACEOF
66466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66467 _ACEOF
66468
66469 fi
66470 done
66471
66472 ;;
66473 *-qnx6.1* | *-qnx6.2*)
66474 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66475
66476
66477 # If we're not using GNU ld, then there's no point in even trying these
66478 # tests. Check for that first. We should have already tested for gld
66479 # by now (in libtool), but require it now just to be safe...
66480 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66481 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66482
66483
66484
66485 # The name set by libtool depends on the version of libtool. Shame on us
66486 # for depending on an impl detail, but c'est la vie. Older versions used
66487 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66488 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66489 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66490 # set (hence we're using an older libtool), then set it.
66491 if test x${with_gnu_ld+set} != xset; then
66492 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66493 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66494 with_gnu_ld=no
66495 else
66496 with_gnu_ld=$ac_cv_prog_gnu_ld
66497 fi
66498 fi
66499
66500 # Start by getting the version number. I think the libtool test already
66501 # does some of this, but throws away the result.
66502 glibcxx_ld_is_gold=no
66503 if test x"$with_gnu_ld" = x"yes"; then
66504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66505 $as_echo_n "checking for ld version... " >&6; }
66506
66507 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66508 glibcxx_ld_is_gold=yes
66509 fi
66510 ldver=`$LD --version 2>/dev/null |
66511 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'`
66512
66513 glibcxx_gnu_ld_version=`echo $ldver | \
66514 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66516 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66517 fi
66518
66519 # Set --gc-sections.
66520 glibcxx_have_gc_sections=no
66521 if test "$glibcxx_ld_is_gold" = "yes"; then
66522 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66523 glibcxx_have_gc_sections=yes
66524 fi
66525 else
66526 glibcxx_gcsections_min_ld=21602
66527 if test x"$with_gnu_ld" = x"yes" &&
66528 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66529 glibcxx_have_gc_sections=yes
66530 fi
66531 fi
66532 if test "$glibcxx_have_gc_sections" = "yes"; then
66533 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66534 # NB: This flag only works reliably after 2.16.1. Configure tests
66535 # for this are difficult, so hard wire a value that should work.
66536
66537 ac_test_CFLAGS="${CFLAGS+set}"
66538 ac_save_CFLAGS="$CFLAGS"
66539 CFLAGS='-Wl,--gc-sections'
66540
66541 # Check for -Wl,--gc-sections
66542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66543 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66544 if test x$gcc_no_link = xyes; then
66545 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66546 fi
66547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66548 /* end confdefs.h. */
66549 int one(void) { return 1; }
66550 int two(void) { return 2; }
66551
66552 int
66553 main ()
66554 {
66555 two();
66556 ;
66557 return 0;
66558 }
66559 _ACEOF
66560 if ac_fn_c_try_link "$LINENO"; then :
66561 ac_gcsections=yes
66562 else
66563 ac_gcsections=no
66564 fi
66565 rm -f core conftest.err conftest.$ac_objext \
66566 conftest$ac_exeext conftest.$ac_ext
66567 if test "$ac_gcsections" = "yes"; then
66568 rm -f conftest.c
66569 touch conftest.c
66570 if $CC -c conftest.c; then
66571 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66572 grep "Warning: gc-sections option ignored" > /dev/null; then
66573 ac_gcsections=no
66574 fi
66575 fi
66576 rm -f conftest.c conftest.o conftest
66577 fi
66578 if test "$ac_gcsections" = "yes"; then
66579 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66580 fi
66581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66582 $as_echo "$ac_gcsections" >&6; }
66583
66584 if test "$ac_test_CFLAGS" = set; then
66585 CFLAGS="$ac_save_CFLAGS"
66586 else
66587 # this is the suspicious part
66588 CFLAGS=''
66589 fi
66590 fi
66591
66592 # Set -z,relro.
66593 # Note this is only for shared objects.
66594 ac_ld_relro=no
66595 if test x"$with_gnu_ld" = x"yes"; then
66596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66597 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66598 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66599 if test -n "$cxx_z_relo"; then
66600 OPT_LDFLAGS="-Wl,-z,relro"
66601 ac_ld_relro=yes
66602 fi
66603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66604 $as_echo "$ac_ld_relro" >&6; }
66605 fi
66606
66607 # Set linker optimization flags.
66608 if test x"$with_gnu_ld" = x"yes"; then
66609 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66610 fi
66611
66612
66613
66614
66615 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66616
66617 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66618
66619 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66620
66621 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66622
66623 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66624
66625 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66626
66627 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66628
66629 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66630
66631 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66632
66633 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66634
66635 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66636
66637 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66638
66639 ;;
66640 *-rtems*)
66641
66642 # All these tests are for C++; save the language and the compiler flags.
66643 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66644 # found in GLIBCXX_CONFIGURE.
66645
66646 ac_ext=cpp
66647 ac_cpp='$CXXCPP $CPPFLAGS'
66648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66651
66652 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66653 ac_save_CXXFLAGS="$CXXFLAGS"
66654
66655 # Check for -ffunction-sections -fdata-sections
66656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66657 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66658 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66660 /* end confdefs.h. */
66661 int foo; void bar() { };
66662 int
66663 main ()
66664 {
66665
66666 ;
66667 return 0;
66668 }
66669 _ACEOF
66670 if ac_fn_cxx_try_compile "$LINENO"; then :
66671 ac_fdsections=yes
66672 else
66673 ac_fdsections=no
66674 fi
66675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66676 if test "$ac_test_CXXFLAGS" = set; then
66677 CXXFLAGS="$ac_save_CXXFLAGS"
66678 else
66679 # this is the suspicious part
66680 CXXFLAGS=''
66681 fi
66682 if test x"$ac_fdsections" = x"yes"; then
66683 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66684 fi
66685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66686 $as_echo "$ac_fdsections" >&6; }
66687
66688 ac_ext=c
66689 ac_cpp='$CPP $CPPFLAGS'
66690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66693
66694
66695
66696
66697 # If we're not using GNU ld, then there's no point in even trying these
66698 # tests. Check for that first. We should have already tested for gld
66699 # by now (in libtool), but require it now just to be safe...
66700 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66701 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66702
66703
66704
66705 # The name set by libtool depends on the version of libtool. Shame on us
66706 # for depending on an impl detail, but c'est la vie. Older versions used
66707 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66708 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66709 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66710 # set (hence we're using an older libtool), then set it.
66711 if test x${with_gnu_ld+set} != xset; then
66712 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66713 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66714 with_gnu_ld=no
66715 else
66716 with_gnu_ld=$ac_cv_prog_gnu_ld
66717 fi
66718 fi
66719
66720 # Start by getting the version number. I think the libtool test already
66721 # does some of this, but throws away the result.
66722 glibcxx_ld_is_gold=no
66723 if test x"$with_gnu_ld" = x"yes"; then
66724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66725 $as_echo_n "checking for ld version... " >&6; }
66726
66727 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66728 glibcxx_ld_is_gold=yes
66729 fi
66730 ldver=`$LD --version 2>/dev/null |
66731 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'`
66732
66733 glibcxx_gnu_ld_version=`echo $ldver | \
66734 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66736 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66737 fi
66738
66739 # Set --gc-sections.
66740 glibcxx_have_gc_sections=no
66741 if test "$glibcxx_ld_is_gold" = "yes"; then
66742 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66743 glibcxx_have_gc_sections=yes
66744 fi
66745 else
66746 glibcxx_gcsections_min_ld=21602
66747 if test x"$with_gnu_ld" = x"yes" &&
66748 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66749 glibcxx_have_gc_sections=yes
66750 fi
66751 fi
66752 if test "$glibcxx_have_gc_sections" = "yes"; then
66753 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66754 # NB: This flag only works reliably after 2.16.1. Configure tests
66755 # for this are difficult, so hard wire a value that should work.
66756
66757 ac_test_CFLAGS="${CFLAGS+set}"
66758 ac_save_CFLAGS="$CFLAGS"
66759 CFLAGS='-Wl,--gc-sections'
66760
66761 # Check for -Wl,--gc-sections
66762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66763 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66764 if test x$gcc_no_link = xyes; then
66765 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66766 fi
66767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66768 /* end confdefs.h. */
66769 int one(void) { return 1; }
66770 int two(void) { return 2; }
66771
66772 int
66773 main ()
66774 {
66775 two();
66776 ;
66777 return 0;
66778 }
66779 _ACEOF
66780 if ac_fn_c_try_link "$LINENO"; then :
66781 ac_gcsections=yes
66782 else
66783 ac_gcsections=no
66784 fi
66785 rm -f core conftest.err conftest.$ac_objext \
66786 conftest$ac_exeext conftest.$ac_ext
66787 if test "$ac_gcsections" = "yes"; then
66788 rm -f conftest.c
66789 touch conftest.c
66790 if $CC -c conftest.c; then
66791 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66792 grep "Warning: gc-sections option ignored" > /dev/null; then
66793 ac_gcsections=no
66794 fi
66795 fi
66796 rm -f conftest.c conftest.o conftest
66797 fi
66798 if test "$ac_gcsections" = "yes"; then
66799 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66800 fi
66801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66802 $as_echo "$ac_gcsections" >&6; }
66803
66804 if test "$ac_test_CFLAGS" = set; then
66805 CFLAGS="$ac_save_CFLAGS"
66806 else
66807 # this is the suspicious part
66808 CFLAGS=''
66809 fi
66810 fi
66811
66812 # Set -z,relro.
66813 # Note this is only for shared objects.
66814 ac_ld_relro=no
66815 if test x"$with_gnu_ld" = x"yes"; then
66816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66817 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66818 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66819 if test -n "$cxx_z_relo"; then
66820 OPT_LDFLAGS="-Wl,-z,relro"
66821 ac_ld_relro=yes
66822 fi
66823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66824 $as_echo "$ac_ld_relro" >&6; }
66825 fi
66826
66827 # Set linker optimization flags.
66828 if test x"$with_gnu_ld" = x"yes"; then
66829 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66830 fi
66831
66832
66833
66834
66835
66836 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66837 ac_save_CXXFLAGS="$CXXFLAGS"
66838 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66839
66840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66841 $as_echo_n "checking for sin in -lm... " >&6; }
66842 if ${ac_cv_lib_m_sin+:} false; then :
66843 $as_echo_n "(cached) " >&6
66844 else
66845 ac_check_lib_save_LIBS=$LIBS
66846 LIBS="-lm $LIBS"
66847 if test x$gcc_no_link = xyes; then
66848 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66849 fi
66850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66851 /* end confdefs.h. */
66852
66853 /* Override any GCC internal prototype to avoid an error.
66854 Use char because int might match the return type of a GCC
66855 builtin and then its argument prototype would still apply. */
66856 #ifdef __cplusplus
66857 extern "C"
66858 #endif
66859 char sin ();
66860 int
66861 main ()
66862 {
66863 return sin ();
66864 ;
66865 return 0;
66866 }
66867 _ACEOF
66868 if ac_fn_c_try_link "$LINENO"; then :
66869 ac_cv_lib_m_sin=yes
66870 else
66871 ac_cv_lib_m_sin=no
66872 fi
66873 rm -f core conftest.err conftest.$ac_objext \
66874 conftest$ac_exeext conftest.$ac_ext
66875 LIBS=$ac_check_lib_save_LIBS
66876 fi
66877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66878 $as_echo "$ac_cv_lib_m_sin" >&6; }
66879 if test "x$ac_cv_lib_m_sin" = xyes; then :
66880 libm="-lm"
66881 fi
66882
66883 ac_save_LIBS="$LIBS"
66884 LIBS="$LIBS $libm"
66885
66886
66887
66888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66889 $as_echo_n "checking for isinf declaration... " >&6; }
66890 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66891 if ${glibcxx_cv_func_isinf_use+:} false; then :
66892 $as_echo_n "(cached) " >&6
66893 else
66894
66895
66896 ac_ext=cpp
66897 ac_cpp='$CXXCPP $CPPFLAGS'
66898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66901
66902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66903 /* end confdefs.h. */
66904 #include <math.h>
66905 #ifdef HAVE_IEEEFP_H
66906 #include <ieeefp.h>
66907 #endif
66908
66909 int
66910 main ()
66911 {
66912 isinf(0);
66913 ;
66914 return 0;
66915 }
66916 _ACEOF
66917 if ac_fn_cxx_try_compile "$LINENO"; then :
66918 glibcxx_cv_func_isinf_use=yes
66919 else
66920 glibcxx_cv_func_isinf_use=no
66921 fi
66922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66923 ac_ext=c
66924 ac_cpp='$CPP $CPPFLAGS'
66925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66928
66929
66930 fi
66931
66932 fi
66933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66934 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66935
66936 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66937 for ac_func in isinf
66938 do :
66939 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66940 if test "x$ac_cv_func_isinf" = xyes; then :
66941 cat >>confdefs.h <<_ACEOF
66942 #define HAVE_ISINF 1
66943 _ACEOF
66944
66945 fi
66946 done
66947
66948 else
66949
66950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66951 $as_echo_n "checking for _isinf declaration... " >&6; }
66952 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66953 if ${glibcxx_cv_func__isinf_use+:} false; then :
66954 $as_echo_n "(cached) " >&6
66955 else
66956
66957
66958 ac_ext=cpp
66959 ac_cpp='$CXXCPP $CPPFLAGS'
66960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66963
66964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66965 /* end confdefs.h. */
66966 #include <math.h>
66967 #ifdef HAVE_IEEEFP_H
66968 #include <ieeefp.h>
66969 #endif
66970
66971 int
66972 main ()
66973 {
66974 _isinf(0);
66975 ;
66976 return 0;
66977 }
66978 _ACEOF
66979 if ac_fn_cxx_try_compile "$LINENO"; then :
66980 glibcxx_cv_func__isinf_use=yes
66981 else
66982 glibcxx_cv_func__isinf_use=no
66983 fi
66984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66985 ac_ext=c
66986 ac_cpp='$CPP $CPPFLAGS'
66987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66990
66991
66992 fi
66993
66994 fi
66995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66996 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66997
66998 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66999 for ac_func in _isinf
67000 do :
67001 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67002 if test "x$ac_cv_func__isinf" = xyes; then :
67003 cat >>confdefs.h <<_ACEOF
67004 #define HAVE__ISINF 1
67005 _ACEOF
67006
67007 fi
67008 done
67009
67010 fi
67011 fi
67012
67013
67014
67015
67016
67017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67018 $as_echo_n "checking for isnan declaration... " >&6; }
67019 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67020 if ${glibcxx_cv_func_isnan_use+:} false; then :
67021 $as_echo_n "(cached) " >&6
67022 else
67023
67024
67025 ac_ext=cpp
67026 ac_cpp='$CXXCPP $CPPFLAGS'
67027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67030
67031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67032 /* end confdefs.h. */
67033 #include <math.h>
67034 #ifdef HAVE_IEEEFP_H
67035 #include <ieeefp.h>
67036 #endif
67037
67038 int
67039 main ()
67040 {
67041 isnan(0);
67042 ;
67043 return 0;
67044 }
67045 _ACEOF
67046 if ac_fn_cxx_try_compile "$LINENO"; then :
67047 glibcxx_cv_func_isnan_use=yes
67048 else
67049 glibcxx_cv_func_isnan_use=no
67050 fi
67051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67052 ac_ext=c
67053 ac_cpp='$CPP $CPPFLAGS'
67054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67057
67058
67059 fi
67060
67061 fi
67062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67063 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67064
67065 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67066 for ac_func in isnan
67067 do :
67068 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67069 if test "x$ac_cv_func_isnan" = xyes; then :
67070 cat >>confdefs.h <<_ACEOF
67071 #define HAVE_ISNAN 1
67072 _ACEOF
67073
67074 fi
67075 done
67076
67077 else
67078
67079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67080 $as_echo_n "checking for _isnan declaration... " >&6; }
67081 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67082 if ${glibcxx_cv_func__isnan_use+:} false; then :
67083 $as_echo_n "(cached) " >&6
67084 else
67085
67086
67087 ac_ext=cpp
67088 ac_cpp='$CXXCPP $CPPFLAGS'
67089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67092
67093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67094 /* end confdefs.h. */
67095 #include <math.h>
67096 #ifdef HAVE_IEEEFP_H
67097 #include <ieeefp.h>
67098 #endif
67099
67100 int
67101 main ()
67102 {
67103 _isnan(0);
67104 ;
67105 return 0;
67106 }
67107 _ACEOF
67108 if ac_fn_cxx_try_compile "$LINENO"; then :
67109 glibcxx_cv_func__isnan_use=yes
67110 else
67111 glibcxx_cv_func__isnan_use=no
67112 fi
67113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67114 ac_ext=c
67115 ac_cpp='$CPP $CPPFLAGS'
67116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67119
67120
67121 fi
67122
67123 fi
67124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67125 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67126
67127 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67128 for ac_func in _isnan
67129 do :
67130 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67131 if test "x$ac_cv_func__isnan" = xyes; then :
67132 cat >>confdefs.h <<_ACEOF
67133 #define HAVE__ISNAN 1
67134 _ACEOF
67135
67136 fi
67137 done
67138
67139 fi
67140 fi
67141
67142
67143
67144
67145
67146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67147 $as_echo_n "checking for finite declaration... " >&6; }
67148 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67149 if ${glibcxx_cv_func_finite_use+:} false; then :
67150 $as_echo_n "(cached) " >&6
67151 else
67152
67153
67154 ac_ext=cpp
67155 ac_cpp='$CXXCPP $CPPFLAGS'
67156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67159
67160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67161 /* end confdefs.h. */
67162 #include <math.h>
67163 #ifdef HAVE_IEEEFP_H
67164 #include <ieeefp.h>
67165 #endif
67166
67167 int
67168 main ()
67169 {
67170 finite(0);
67171 ;
67172 return 0;
67173 }
67174 _ACEOF
67175 if ac_fn_cxx_try_compile "$LINENO"; then :
67176 glibcxx_cv_func_finite_use=yes
67177 else
67178 glibcxx_cv_func_finite_use=no
67179 fi
67180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67181 ac_ext=c
67182 ac_cpp='$CPP $CPPFLAGS'
67183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67186
67187
67188 fi
67189
67190 fi
67191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67192 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67193
67194 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67195 for ac_func in finite
67196 do :
67197 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67198 if test "x$ac_cv_func_finite" = xyes; then :
67199 cat >>confdefs.h <<_ACEOF
67200 #define HAVE_FINITE 1
67201 _ACEOF
67202
67203 fi
67204 done
67205
67206 else
67207
67208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67209 $as_echo_n "checking for _finite declaration... " >&6; }
67210 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67211 if ${glibcxx_cv_func__finite_use+:} false; then :
67212 $as_echo_n "(cached) " >&6
67213 else
67214
67215
67216 ac_ext=cpp
67217 ac_cpp='$CXXCPP $CPPFLAGS'
67218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67221
67222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67223 /* end confdefs.h. */
67224 #include <math.h>
67225 #ifdef HAVE_IEEEFP_H
67226 #include <ieeefp.h>
67227 #endif
67228
67229 int
67230 main ()
67231 {
67232 _finite(0);
67233 ;
67234 return 0;
67235 }
67236 _ACEOF
67237 if ac_fn_cxx_try_compile "$LINENO"; then :
67238 glibcxx_cv_func__finite_use=yes
67239 else
67240 glibcxx_cv_func__finite_use=no
67241 fi
67242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67243 ac_ext=c
67244 ac_cpp='$CPP $CPPFLAGS'
67245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67248
67249
67250 fi
67251
67252 fi
67253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67254 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67255
67256 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67257 for ac_func in _finite
67258 do :
67259 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67260 if test "x$ac_cv_func__finite" = xyes; then :
67261 cat >>confdefs.h <<_ACEOF
67262 #define HAVE__FINITE 1
67263 _ACEOF
67264
67265 fi
67266 done
67267
67268 fi
67269 fi
67270
67271
67272
67273
67274
67275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67276 $as_echo_n "checking for sincos declaration... " >&6; }
67277 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67278 if ${glibcxx_cv_func_sincos_use+:} false; then :
67279 $as_echo_n "(cached) " >&6
67280 else
67281
67282
67283 ac_ext=cpp
67284 ac_cpp='$CXXCPP $CPPFLAGS'
67285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67288
67289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67290 /* end confdefs.h. */
67291 #include <math.h>
67292 int
67293 main ()
67294 {
67295 sincos(0, 0, 0);
67296 ;
67297 return 0;
67298 }
67299 _ACEOF
67300 if ac_fn_cxx_try_compile "$LINENO"; then :
67301 glibcxx_cv_func_sincos_use=yes
67302 else
67303 glibcxx_cv_func_sincos_use=no
67304 fi
67305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67306 ac_ext=c
67307 ac_cpp='$CPP $CPPFLAGS'
67308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67311
67312
67313 fi
67314
67315 fi
67316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67317 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67318
67319 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67320 for ac_func in sincos
67321 do :
67322 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67323 if test "x$ac_cv_func_sincos" = xyes; then :
67324 cat >>confdefs.h <<_ACEOF
67325 #define HAVE_SINCOS 1
67326 _ACEOF
67327
67328 fi
67329 done
67330
67331 else
67332
67333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67334 $as_echo_n "checking for _sincos declaration... " >&6; }
67335 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67336 if ${glibcxx_cv_func__sincos_use+:} false; then :
67337 $as_echo_n "(cached) " >&6
67338 else
67339
67340
67341 ac_ext=cpp
67342 ac_cpp='$CXXCPP $CPPFLAGS'
67343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67346
67347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67348 /* end confdefs.h. */
67349 #include <math.h>
67350 int
67351 main ()
67352 {
67353 _sincos(0, 0, 0);
67354 ;
67355 return 0;
67356 }
67357 _ACEOF
67358 if ac_fn_cxx_try_compile "$LINENO"; then :
67359 glibcxx_cv_func__sincos_use=yes
67360 else
67361 glibcxx_cv_func__sincos_use=no
67362 fi
67363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67364 ac_ext=c
67365 ac_cpp='$CPP $CPPFLAGS'
67366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67369
67370
67371 fi
67372
67373 fi
67374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67375 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67376
67377 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67378 for ac_func in _sincos
67379 do :
67380 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67381 if test "x$ac_cv_func__sincos" = xyes; then :
67382 cat >>confdefs.h <<_ACEOF
67383 #define HAVE__SINCOS 1
67384 _ACEOF
67385
67386 fi
67387 done
67388
67389 fi
67390 fi
67391
67392
67393
67394
67395
67396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67397 $as_echo_n "checking for fpclass declaration... " >&6; }
67398 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67399 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67400 $as_echo_n "(cached) " >&6
67401 else
67402
67403
67404 ac_ext=cpp
67405 ac_cpp='$CXXCPP $CPPFLAGS'
67406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67409
67410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67411 /* end confdefs.h. */
67412 #include <math.h>
67413 #ifdef HAVE_IEEEFP_H
67414 #include <ieeefp.h>
67415 #endif
67416
67417 int
67418 main ()
67419 {
67420 fpclass(0);
67421 ;
67422 return 0;
67423 }
67424 _ACEOF
67425 if ac_fn_cxx_try_compile "$LINENO"; then :
67426 glibcxx_cv_func_fpclass_use=yes
67427 else
67428 glibcxx_cv_func_fpclass_use=no
67429 fi
67430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67431 ac_ext=c
67432 ac_cpp='$CPP $CPPFLAGS'
67433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67436
67437
67438 fi
67439
67440 fi
67441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67442 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67443
67444 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67445 for ac_func in fpclass
67446 do :
67447 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67448 if test "x$ac_cv_func_fpclass" = xyes; then :
67449 cat >>confdefs.h <<_ACEOF
67450 #define HAVE_FPCLASS 1
67451 _ACEOF
67452
67453 fi
67454 done
67455
67456 else
67457
67458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67459 $as_echo_n "checking for _fpclass declaration... " >&6; }
67460 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67461 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67462 $as_echo_n "(cached) " >&6
67463 else
67464
67465
67466 ac_ext=cpp
67467 ac_cpp='$CXXCPP $CPPFLAGS'
67468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67471
67472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67473 /* end confdefs.h. */
67474 #include <math.h>
67475 #ifdef HAVE_IEEEFP_H
67476 #include <ieeefp.h>
67477 #endif
67478
67479 int
67480 main ()
67481 {
67482 _fpclass(0);
67483 ;
67484 return 0;
67485 }
67486 _ACEOF
67487 if ac_fn_cxx_try_compile "$LINENO"; then :
67488 glibcxx_cv_func__fpclass_use=yes
67489 else
67490 glibcxx_cv_func__fpclass_use=no
67491 fi
67492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67493 ac_ext=c
67494 ac_cpp='$CPP $CPPFLAGS'
67495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67498
67499
67500 fi
67501
67502 fi
67503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67504 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67505
67506 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67507 for ac_func in _fpclass
67508 do :
67509 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67510 if test "x$ac_cv_func__fpclass" = xyes; then :
67511 cat >>confdefs.h <<_ACEOF
67512 #define HAVE__FPCLASS 1
67513 _ACEOF
67514
67515 fi
67516 done
67517
67518 fi
67519 fi
67520
67521
67522
67523
67524
67525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67526 $as_echo_n "checking for qfpclass declaration... " >&6; }
67527 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67528 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67529 $as_echo_n "(cached) " >&6
67530 else
67531
67532
67533 ac_ext=cpp
67534 ac_cpp='$CXXCPP $CPPFLAGS'
67535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67538
67539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67540 /* end confdefs.h. */
67541 #include <math.h>
67542 #ifdef HAVE_IEEEFP_H
67543 #include <ieeefp.h>
67544 #endif
67545
67546 int
67547 main ()
67548 {
67549 qfpclass(0);
67550 ;
67551 return 0;
67552 }
67553 _ACEOF
67554 if ac_fn_cxx_try_compile "$LINENO"; then :
67555 glibcxx_cv_func_qfpclass_use=yes
67556 else
67557 glibcxx_cv_func_qfpclass_use=no
67558 fi
67559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67560 ac_ext=c
67561 ac_cpp='$CPP $CPPFLAGS'
67562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67565
67566
67567 fi
67568
67569 fi
67570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67571 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67572
67573 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67574 for ac_func in qfpclass
67575 do :
67576 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67577 if test "x$ac_cv_func_qfpclass" = xyes; then :
67578 cat >>confdefs.h <<_ACEOF
67579 #define HAVE_QFPCLASS 1
67580 _ACEOF
67581
67582 fi
67583 done
67584
67585 else
67586
67587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67588 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67589 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67590 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67591 $as_echo_n "(cached) " >&6
67592 else
67593
67594
67595 ac_ext=cpp
67596 ac_cpp='$CXXCPP $CPPFLAGS'
67597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67600
67601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67602 /* end confdefs.h. */
67603 #include <math.h>
67604 #ifdef HAVE_IEEEFP_H
67605 #include <ieeefp.h>
67606 #endif
67607
67608 int
67609 main ()
67610 {
67611 _qfpclass(0);
67612 ;
67613 return 0;
67614 }
67615 _ACEOF
67616 if ac_fn_cxx_try_compile "$LINENO"; then :
67617 glibcxx_cv_func__qfpclass_use=yes
67618 else
67619 glibcxx_cv_func__qfpclass_use=no
67620 fi
67621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67622 ac_ext=c
67623 ac_cpp='$CPP $CPPFLAGS'
67624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67627
67628
67629 fi
67630
67631 fi
67632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67633 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67634
67635 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67636 for ac_func in _qfpclass
67637 do :
67638 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67639 if test "x$ac_cv_func__qfpclass" = xyes; then :
67640 cat >>confdefs.h <<_ACEOF
67641 #define HAVE__QFPCLASS 1
67642 _ACEOF
67643
67644 fi
67645 done
67646
67647 fi
67648 fi
67649
67650
67651
67652
67653
67654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67655 $as_echo_n "checking for hypot declaration... " >&6; }
67656 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67657 if ${glibcxx_cv_func_hypot_use+:} false; then :
67658 $as_echo_n "(cached) " >&6
67659 else
67660
67661
67662 ac_ext=cpp
67663 ac_cpp='$CXXCPP $CPPFLAGS'
67664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67667
67668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67669 /* end confdefs.h. */
67670 #include <math.h>
67671 int
67672 main ()
67673 {
67674 hypot(0, 0);
67675 ;
67676 return 0;
67677 }
67678 _ACEOF
67679 if ac_fn_cxx_try_compile "$LINENO"; then :
67680 glibcxx_cv_func_hypot_use=yes
67681 else
67682 glibcxx_cv_func_hypot_use=no
67683 fi
67684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67685 ac_ext=c
67686 ac_cpp='$CPP $CPPFLAGS'
67687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67690
67691
67692 fi
67693
67694 fi
67695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67696 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67697
67698 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67699 for ac_func in hypot
67700 do :
67701 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67702 if test "x$ac_cv_func_hypot" = xyes; then :
67703 cat >>confdefs.h <<_ACEOF
67704 #define HAVE_HYPOT 1
67705 _ACEOF
67706
67707 fi
67708 done
67709
67710 else
67711
67712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67713 $as_echo_n "checking for _hypot declaration... " >&6; }
67714 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67715 if ${glibcxx_cv_func__hypot_use+:} false; then :
67716 $as_echo_n "(cached) " >&6
67717 else
67718
67719
67720 ac_ext=cpp
67721 ac_cpp='$CXXCPP $CPPFLAGS'
67722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67725
67726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67727 /* end confdefs.h. */
67728 #include <math.h>
67729 int
67730 main ()
67731 {
67732 _hypot(0, 0);
67733 ;
67734 return 0;
67735 }
67736 _ACEOF
67737 if ac_fn_cxx_try_compile "$LINENO"; then :
67738 glibcxx_cv_func__hypot_use=yes
67739 else
67740 glibcxx_cv_func__hypot_use=no
67741 fi
67742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67743 ac_ext=c
67744 ac_cpp='$CPP $CPPFLAGS'
67745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67748
67749
67750 fi
67751
67752 fi
67753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67754 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67755
67756 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67757 for ac_func in _hypot
67758 do :
67759 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67760 if test "x$ac_cv_func__hypot" = xyes; then :
67761 cat >>confdefs.h <<_ACEOF
67762 #define HAVE__HYPOT 1
67763 _ACEOF
67764
67765 fi
67766 done
67767
67768 fi
67769 fi
67770
67771
67772
67773
67774
67775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67776 $as_echo_n "checking for float trig functions... " >&6; }
67777 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67778 $as_echo_n "(cached) " >&6
67779 else
67780
67781
67782 ac_ext=cpp
67783 ac_cpp='$CXXCPP $CPPFLAGS'
67784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67787
67788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67789 /* end confdefs.h. */
67790 #include <math.h>
67791 int
67792 main ()
67793 {
67794 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67795 ;
67796 return 0;
67797 }
67798 _ACEOF
67799 if ac_fn_cxx_try_compile "$LINENO"; then :
67800 glibcxx_cv_func_float_trig_use=yes
67801 else
67802 glibcxx_cv_func_float_trig_use=no
67803 fi
67804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67805 ac_ext=c
67806 ac_cpp='$CPP $CPPFLAGS'
67807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67810
67811 fi
67812
67813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67814 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67815 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67816 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67817 do :
67818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67819 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67820 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67821 cat >>confdefs.h <<_ACEOF
67822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67823 _ACEOF
67824
67825 fi
67826 done
67827
67828 else
67829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67830 $as_echo_n "checking for _float trig functions... " >&6; }
67831 if ${glibcxx_cv_func__float_trig_use+:} false; then :
67832 $as_echo_n "(cached) " >&6
67833 else
67834
67835
67836 ac_ext=cpp
67837 ac_cpp='$CXXCPP $CPPFLAGS'
67838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67841
67842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67843 /* end confdefs.h. */
67844 #include <math.h>
67845 int
67846 main ()
67847 {
67848 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67849 ;
67850 return 0;
67851 }
67852 _ACEOF
67853 if ac_fn_cxx_try_compile "$LINENO"; then :
67854 glibcxx_cv_func__float_trig_use=yes
67855 else
67856 glibcxx_cv_func__float_trig_use=no
67857 fi
67858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67859 ac_ext=c
67860 ac_cpp='$CPP $CPPFLAGS'
67861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67864
67865 fi
67866
67867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67868 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67869 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67870 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67871 do :
67872 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67873 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67874 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67875 cat >>confdefs.h <<_ACEOF
67876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67877 _ACEOF
67878
67879 fi
67880 done
67881
67882 fi
67883 fi
67884
67885
67886
67887
67888
67889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67890 $as_echo_n "checking for float round functions... " >&6; }
67891 if ${glibcxx_cv_func_float_round_use+:} false; then :
67892 $as_echo_n "(cached) " >&6
67893 else
67894
67895
67896 ac_ext=cpp
67897 ac_cpp='$CXXCPP $CPPFLAGS'
67898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67901
67902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67903 /* end confdefs.h. */
67904 #include <math.h>
67905 int
67906 main ()
67907 {
67908 ceilf (0); floorf (0);
67909 ;
67910 return 0;
67911 }
67912 _ACEOF
67913 if ac_fn_cxx_try_compile "$LINENO"; then :
67914 glibcxx_cv_func_float_round_use=yes
67915 else
67916 glibcxx_cv_func_float_round_use=no
67917 fi
67918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67919 ac_ext=c
67920 ac_cpp='$CPP $CPPFLAGS'
67921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67924
67925 fi
67926
67927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67928 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67929 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67930 for ac_func in ceilf floorf
67931 do :
67932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67934 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67935 cat >>confdefs.h <<_ACEOF
67936 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67937 _ACEOF
67938
67939 fi
67940 done
67941
67942 else
67943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67944 $as_echo_n "checking for _float round functions... " >&6; }
67945 if ${glibcxx_cv_func__float_round_use+:} false; then :
67946 $as_echo_n "(cached) " >&6
67947 else
67948
67949
67950 ac_ext=cpp
67951 ac_cpp='$CXXCPP $CPPFLAGS'
67952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67955
67956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67957 /* end confdefs.h. */
67958 #include <math.h>
67959 int
67960 main ()
67961 {
67962 _ceilf (0); _floorf (0);
67963 ;
67964 return 0;
67965 }
67966 _ACEOF
67967 if ac_fn_cxx_try_compile "$LINENO"; then :
67968 glibcxx_cv_func__float_round_use=yes
67969 else
67970 glibcxx_cv_func__float_round_use=no
67971 fi
67972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67973 ac_ext=c
67974 ac_cpp='$CPP $CPPFLAGS'
67975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67978
67979 fi
67980
67981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67982 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67983 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67984 for ac_func in _ceilf _floorf
67985 do :
67986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67988 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67989 cat >>confdefs.h <<_ACEOF
67990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67991 _ACEOF
67992
67993 fi
67994 done
67995
67996 fi
67997 fi
67998
67999
68000
68001
68002
68003
68004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68005 $as_echo_n "checking for expf declaration... " >&6; }
68006 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68007 if ${glibcxx_cv_func_expf_use+:} false; then :
68008 $as_echo_n "(cached) " >&6
68009 else
68010
68011
68012 ac_ext=cpp
68013 ac_cpp='$CXXCPP $CPPFLAGS'
68014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68017
68018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68019 /* end confdefs.h. */
68020 #include <math.h>
68021 #ifdef HAVE_IEEEFP_H
68022 #include <ieeefp.h>
68023 #endif
68024
68025 int
68026 main ()
68027 {
68028 expf(0);
68029 ;
68030 return 0;
68031 }
68032 _ACEOF
68033 if ac_fn_cxx_try_compile "$LINENO"; then :
68034 glibcxx_cv_func_expf_use=yes
68035 else
68036 glibcxx_cv_func_expf_use=no
68037 fi
68038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68039 ac_ext=c
68040 ac_cpp='$CPP $CPPFLAGS'
68041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68044
68045
68046 fi
68047
68048 fi
68049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68050 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68051
68052 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68053 for ac_func in expf
68054 do :
68055 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68056 if test "x$ac_cv_func_expf" = xyes; then :
68057 cat >>confdefs.h <<_ACEOF
68058 #define HAVE_EXPF 1
68059 _ACEOF
68060
68061 fi
68062 done
68063
68064 else
68065
68066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68067 $as_echo_n "checking for _expf declaration... " >&6; }
68068 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68069 if ${glibcxx_cv_func__expf_use+:} false; then :
68070 $as_echo_n "(cached) " >&6
68071 else
68072
68073
68074 ac_ext=cpp
68075 ac_cpp='$CXXCPP $CPPFLAGS'
68076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68079
68080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68081 /* end confdefs.h. */
68082 #include <math.h>
68083 #ifdef HAVE_IEEEFP_H
68084 #include <ieeefp.h>
68085 #endif
68086
68087 int
68088 main ()
68089 {
68090 _expf(0);
68091 ;
68092 return 0;
68093 }
68094 _ACEOF
68095 if ac_fn_cxx_try_compile "$LINENO"; then :
68096 glibcxx_cv_func__expf_use=yes
68097 else
68098 glibcxx_cv_func__expf_use=no
68099 fi
68100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68101 ac_ext=c
68102 ac_cpp='$CPP $CPPFLAGS'
68103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68106
68107
68108 fi
68109
68110 fi
68111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68112 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68113
68114 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68115 for ac_func in _expf
68116 do :
68117 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68118 if test "x$ac_cv_func__expf" = xyes; then :
68119 cat >>confdefs.h <<_ACEOF
68120 #define HAVE__EXPF 1
68121 _ACEOF
68122
68123 fi
68124 done
68125
68126 fi
68127 fi
68128
68129
68130
68131
68132
68133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68134 $as_echo_n "checking for isnanf declaration... " >&6; }
68135 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68136 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68137 $as_echo_n "(cached) " >&6
68138 else
68139
68140
68141 ac_ext=cpp
68142 ac_cpp='$CXXCPP $CPPFLAGS'
68143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68146
68147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68148 /* end confdefs.h. */
68149 #include <math.h>
68150 #ifdef HAVE_IEEEFP_H
68151 #include <ieeefp.h>
68152 #endif
68153
68154 int
68155 main ()
68156 {
68157 isnanf(0);
68158 ;
68159 return 0;
68160 }
68161 _ACEOF
68162 if ac_fn_cxx_try_compile "$LINENO"; then :
68163 glibcxx_cv_func_isnanf_use=yes
68164 else
68165 glibcxx_cv_func_isnanf_use=no
68166 fi
68167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68168 ac_ext=c
68169 ac_cpp='$CPP $CPPFLAGS'
68170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68173
68174
68175 fi
68176
68177 fi
68178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68179 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68180
68181 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68182 for ac_func in isnanf
68183 do :
68184 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68185 if test "x$ac_cv_func_isnanf" = xyes; then :
68186 cat >>confdefs.h <<_ACEOF
68187 #define HAVE_ISNANF 1
68188 _ACEOF
68189
68190 fi
68191 done
68192
68193 else
68194
68195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68196 $as_echo_n "checking for _isnanf declaration... " >&6; }
68197 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68198 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68199 $as_echo_n "(cached) " >&6
68200 else
68201
68202
68203 ac_ext=cpp
68204 ac_cpp='$CXXCPP $CPPFLAGS'
68205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68208
68209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68210 /* end confdefs.h. */
68211 #include <math.h>
68212 #ifdef HAVE_IEEEFP_H
68213 #include <ieeefp.h>
68214 #endif
68215
68216 int
68217 main ()
68218 {
68219 _isnanf(0);
68220 ;
68221 return 0;
68222 }
68223 _ACEOF
68224 if ac_fn_cxx_try_compile "$LINENO"; then :
68225 glibcxx_cv_func__isnanf_use=yes
68226 else
68227 glibcxx_cv_func__isnanf_use=no
68228 fi
68229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68230 ac_ext=c
68231 ac_cpp='$CPP $CPPFLAGS'
68232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68235
68236
68237 fi
68238
68239 fi
68240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68241 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68242
68243 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68244 for ac_func in _isnanf
68245 do :
68246 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68247 if test "x$ac_cv_func__isnanf" = xyes; then :
68248 cat >>confdefs.h <<_ACEOF
68249 #define HAVE__ISNANF 1
68250 _ACEOF
68251
68252 fi
68253 done
68254
68255 fi
68256 fi
68257
68258
68259
68260
68261
68262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68263 $as_echo_n "checking for isinff declaration... " >&6; }
68264 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68265 if ${glibcxx_cv_func_isinff_use+:} false; then :
68266 $as_echo_n "(cached) " >&6
68267 else
68268
68269
68270 ac_ext=cpp
68271 ac_cpp='$CXXCPP $CPPFLAGS'
68272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68275
68276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68277 /* end confdefs.h. */
68278 #include <math.h>
68279 #ifdef HAVE_IEEEFP_H
68280 #include <ieeefp.h>
68281 #endif
68282
68283 int
68284 main ()
68285 {
68286 isinff(0);
68287 ;
68288 return 0;
68289 }
68290 _ACEOF
68291 if ac_fn_cxx_try_compile "$LINENO"; then :
68292 glibcxx_cv_func_isinff_use=yes
68293 else
68294 glibcxx_cv_func_isinff_use=no
68295 fi
68296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68297 ac_ext=c
68298 ac_cpp='$CPP $CPPFLAGS'
68299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68302
68303
68304 fi
68305
68306 fi
68307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68308 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68309
68310 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68311 for ac_func in isinff
68312 do :
68313 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68314 if test "x$ac_cv_func_isinff" = xyes; then :
68315 cat >>confdefs.h <<_ACEOF
68316 #define HAVE_ISINFF 1
68317 _ACEOF
68318
68319 fi
68320 done
68321
68322 else
68323
68324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68325 $as_echo_n "checking for _isinff declaration... " >&6; }
68326 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68327 if ${glibcxx_cv_func__isinff_use+:} false; then :
68328 $as_echo_n "(cached) " >&6
68329 else
68330
68331
68332 ac_ext=cpp
68333 ac_cpp='$CXXCPP $CPPFLAGS'
68334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68337
68338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68339 /* end confdefs.h. */
68340 #include <math.h>
68341 #ifdef HAVE_IEEEFP_H
68342 #include <ieeefp.h>
68343 #endif
68344
68345 int
68346 main ()
68347 {
68348 _isinff(0);
68349 ;
68350 return 0;
68351 }
68352 _ACEOF
68353 if ac_fn_cxx_try_compile "$LINENO"; then :
68354 glibcxx_cv_func__isinff_use=yes
68355 else
68356 glibcxx_cv_func__isinff_use=no
68357 fi
68358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68359 ac_ext=c
68360 ac_cpp='$CPP $CPPFLAGS'
68361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68364
68365
68366 fi
68367
68368 fi
68369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68370 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68371
68372 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68373 for ac_func in _isinff
68374 do :
68375 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68376 if test "x$ac_cv_func__isinff" = xyes; then :
68377 cat >>confdefs.h <<_ACEOF
68378 #define HAVE__ISINFF 1
68379 _ACEOF
68380
68381 fi
68382 done
68383
68384 fi
68385 fi
68386
68387
68388
68389
68390
68391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68392 $as_echo_n "checking for atan2f declaration... " >&6; }
68393 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68394 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68395 $as_echo_n "(cached) " >&6
68396 else
68397
68398
68399 ac_ext=cpp
68400 ac_cpp='$CXXCPP $CPPFLAGS'
68401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68404
68405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68406 /* end confdefs.h. */
68407 #include <math.h>
68408 int
68409 main ()
68410 {
68411 atan2f(0, 0);
68412 ;
68413 return 0;
68414 }
68415 _ACEOF
68416 if ac_fn_cxx_try_compile "$LINENO"; then :
68417 glibcxx_cv_func_atan2f_use=yes
68418 else
68419 glibcxx_cv_func_atan2f_use=no
68420 fi
68421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68422 ac_ext=c
68423 ac_cpp='$CPP $CPPFLAGS'
68424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68427
68428
68429 fi
68430
68431 fi
68432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68433 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68434
68435 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68436 for ac_func in atan2f
68437 do :
68438 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68439 if test "x$ac_cv_func_atan2f" = xyes; then :
68440 cat >>confdefs.h <<_ACEOF
68441 #define HAVE_ATAN2F 1
68442 _ACEOF
68443
68444 fi
68445 done
68446
68447 else
68448
68449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68450 $as_echo_n "checking for _atan2f declaration... " >&6; }
68451 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68452 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68453 $as_echo_n "(cached) " >&6
68454 else
68455
68456
68457 ac_ext=cpp
68458 ac_cpp='$CXXCPP $CPPFLAGS'
68459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68462
68463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68464 /* end confdefs.h. */
68465 #include <math.h>
68466 int
68467 main ()
68468 {
68469 _atan2f(0, 0);
68470 ;
68471 return 0;
68472 }
68473 _ACEOF
68474 if ac_fn_cxx_try_compile "$LINENO"; then :
68475 glibcxx_cv_func__atan2f_use=yes
68476 else
68477 glibcxx_cv_func__atan2f_use=no
68478 fi
68479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68480 ac_ext=c
68481 ac_cpp='$CPP $CPPFLAGS'
68482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68485
68486
68487 fi
68488
68489 fi
68490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68491 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68492
68493 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68494 for ac_func in _atan2f
68495 do :
68496 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68497 if test "x$ac_cv_func__atan2f" = xyes; then :
68498 cat >>confdefs.h <<_ACEOF
68499 #define HAVE__ATAN2F 1
68500 _ACEOF
68501
68502 fi
68503 done
68504
68505 fi
68506 fi
68507
68508
68509
68510
68511
68512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68513 $as_echo_n "checking for fabsf declaration... " >&6; }
68514 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68515 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68516 $as_echo_n "(cached) " >&6
68517 else
68518
68519
68520 ac_ext=cpp
68521 ac_cpp='$CXXCPP $CPPFLAGS'
68522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68525
68526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68527 /* end confdefs.h. */
68528 #include <math.h>
68529 #ifdef HAVE_IEEEFP_H
68530 #include <ieeefp.h>
68531 #endif
68532
68533 int
68534 main ()
68535 {
68536 fabsf(0);
68537 ;
68538 return 0;
68539 }
68540 _ACEOF
68541 if ac_fn_cxx_try_compile "$LINENO"; then :
68542 glibcxx_cv_func_fabsf_use=yes
68543 else
68544 glibcxx_cv_func_fabsf_use=no
68545 fi
68546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68547 ac_ext=c
68548 ac_cpp='$CPP $CPPFLAGS'
68549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68552
68553
68554 fi
68555
68556 fi
68557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68558 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68559
68560 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68561 for ac_func in fabsf
68562 do :
68563 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68564 if test "x$ac_cv_func_fabsf" = xyes; then :
68565 cat >>confdefs.h <<_ACEOF
68566 #define HAVE_FABSF 1
68567 _ACEOF
68568
68569 fi
68570 done
68571
68572 else
68573
68574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68575 $as_echo_n "checking for _fabsf declaration... " >&6; }
68576 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68577 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68578 $as_echo_n "(cached) " >&6
68579 else
68580
68581
68582 ac_ext=cpp
68583 ac_cpp='$CXXCPP $CPPFLAGS'
68584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68587
68588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68589 /* end confdefs.h. */
68590 #include <math.h>
68591 #ifdef HAVE_IEEEFP_H
68592 #include <ieeefp.h>
68593 #endif
68594
68595 int
68596 main ()
68597 {
68598 _fabsf(0);
68599 ;
68600 return 0;
68601 }
68602 _ACEOF
68603 if ac_fn_cxx_try_compile "$LINENO"; then :
68604 glibcxx_cv_func__fabsf_use=yes
68605 else
68606 glibcxx_cv_func__fabsf_use=no
68607 fi
68608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68609 ac_ext=c
68610 ac_cpp='$CPP $CPPFLAGS'
68611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68614
68615
68616 fi
68617
68618 fi
68619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68620 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68621
68622 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68623 for ac_func in _fabsf
68624 do :
68625 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68626 if test "x$ac_cv_func__fabsf" = xyes; then :
68627 cat >>confdefs.h <<_ACEOF
68628 #define HAVE__FABSF 1
68629 _ACEOF
68630
68631 fi
68632 done
68633
68634 fi
68635 fi
68636
68637
68638
68639
68640
68641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68642 $as_echo_n "checking for fmodf declaration... " >&6; }
68643 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68644 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68645 $as_echo_n "(cached) " >&6
68646 else
68647
68648
68649 ac_ext=cpp
68650 ac_cpp='$CXXCPP $CPPFLAGS'
68651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68654
68655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68656 /* end confdefs.h. */
68657 #include <math.h>
68658 int
68659 main ()
68660 {
68661 fmodf(0, 0);
68662 ;
68663 return 0;
68664 }
68665 _ACEOF
68666 if ac_fn_cxx_try_compile "$LINENO"; then :
68667 glibcxx_cv_func_fmodf_use=yes
68668 else
68669 glibcxx_cv_func_fmodf_use=no
68670 fi
68671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68672 ac_ext=c
68673 ac_cpp='$CPP $CPPFLAGS'
68674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68677
68678
68679 fi
68680
68681 fi
68682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68683 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68684
68685 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68686 for ac_func in fmodf
68687 do :
68688 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68689 if test "x$ac_cv_func_fmodf" = xyes; then :
68690 cat >>confdefs.h <<_ACEOF
68691 #define HAVE_FMODF 1
68692 _ACEOF
68693
68694 fi
68695 done
68696
68697 else
68698
68699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68700 $as_echo_n "checking for _fmodf declaration... " >&6; }
68701 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68702 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68703 $as_echo_n "(cached) " >&6
68704 else
68705
68706
68707 ac_ext=cpp
68708 ac_cpp='$CXXCPP $CPPFLAGS'
68709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68712
68713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68714 /* end confdefs.h. */
68715 #include <math.h>
68716 int
68717 main ()
68718 {
68719 _fmodf(0, 0);
68720 ;
68721 return 0;
68722 }
68723 _ACEOF
68724 if ac_fn_cxx_try_compile "$LINENO"; then :
68725 glibcxx_cv_func__fmodf_use=yes
68726 else
68727 glibcxx_cv_func__fmodf_use=no
68728 fi
68729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68730 ac_ext=c
68731 ac_cpp='$CPP $CPPFLAGS'
68732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68735
68736
68737 fi
68738
68739 fi
68740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68741 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68742
68743 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68744 for ac_func in _fmodf
68745 do :
68746 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68747 if test "x$ac_cv_func__fmodf" = xyes; then :
68748 cat >>confdefs.h <<_ACEOF
68749 #define HAVE__FMODF 1
68750 _ACEOF
68751
68752 fi
68753 done
68754
68755 fi
68756 fi
68757
68758
68759
68760
68761
68762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68763 $as_echo_n "checking for frexpf declaration... " >&6; }
68764 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68765 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68766 $as_echo_n "(cached) " >&6
68767 else
68768
68769
68770 ac_ext=cpp
68771 ac_cpp='$CXXCPP $CPPFLAGS'
68772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68775
68776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68777 /* end confdefs.h. */
68778 #include <math.h>
68779 int
68780 main ()
68781 {
68782 frexpf(0, 0);
68783 ;
68784 return 0;
68785 }
68786 _ACEOF
68787 if ac_fn_cxx_try_compile "$LINENO"; then :
68788 glibcxx_cv_func_frexpf_use=yes
68789 else
68790 glibcxx_cv_func_frexpf_use=no
68791 fi
68792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68793 ac_ext=c
68794 ac_cpp='$CPP $CPPFLAGS'
68795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68798
68799
68800 fi
68801
68802 fi
68803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68804 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68805
68806 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68807 for ac_func in frexpf
68808 do :
68809 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68810 if test "x$ac_cv_func_frexpf" = xyes; then :
68811 cat >>confdefs.h <<_ACEOF
68812 #define HAVE_FREXPF 1
68813 _ACEOF
68814
68815 fi
68816 done
68817
68818 else
68819
68820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68821 $as_echo_n "checking for _frexpf declaration... " >&6; }
68822 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68823 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68824 $as_echo_n "(cached) " >&6
68825 else
68826
68827
68828 ac_ext=cpp
68829 ac_cpp='$CXXCPP $CPPFLAGS'
68830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68833
68834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68835 /* end confdefs.h. */
68836 #include <math.h>
68837 int
68838 main ()
68839 {
68840 _frexpf(0, 0);
68841 ;
68842 return 0;
68843 }
68844 _ACEOF
68845 if ac_fn_cxx_try_compile "$LINENO"; then :
68846 glibcxx_cv_func__frexpf_use=yes
68847 else
68848 glibcxx_cv_func__frexpf_use=no
68849 fi
68850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68851 ac_ext=c
68852 ac_cpp='$CPP $CPPFLAGS'
68853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68856
68857
68858 fi
68859
68860 fi
68861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68862 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68863
68864 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68865 for ac_func in _frexpf
68866 do :
68867 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68868 if test "x$ac_cv_func__frexpf" = xyes; then :
68869 cat >>confdefs.h <<_ACEOF
68870 #define HAVE__FREXPF 1
68871 _ACEOF
68872
68873 fi
68874 done
68875
68876 fi
68877 fi
68878
68879
68880
68881
68882
68883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68884 $as_echo_n "checking for hypotf declaration... " >&6; }
68885 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68886 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68887 $as_echo_n "(cached) " >&6
68888 else
68889
68890
68891 ac_ext=cpp
68892 ac_cpp='$CXXCPP $CPPFLAGS'
68893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68896
68897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68898 /* end confdefs.h. */
68899 #include <math.h>
68900 int
68901 main ()
68902 {
68903 hypotf(0, 0);
68904 ;
68905 return 0;
68906 }
68907 _ACEOF
68908 if ac_fn_cxx_try_compile "$LINENO"; then :
68909 glibcxx_cv_func_hypotf_use=yes
68910 else
68911 glibcxx_cv_func_hypotf_use=no
68912 fi
68913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68914 ac_ext=c
68915 ac_cpp='$CPP $CPPFLAGS'
68916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68919
68920
68921 fi
68922
68923 fi
68924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68925 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68926
68927 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68928 for ac_func in hypotf
68929 do :
68930 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68931 if test "x$ac_cv_func_hypotf" = xyes; then :
68932 cat >>confdefs.h <<_ACEOF
68933 #define HAVE_HYPOTF 1
68934 _ACEOF
68935
68936 fi
68937 done
68938
68939 else
68940
68941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68942 $as_echo_n "checking for _hypotf declaration... " >&6; }
68943 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68944 if ${glibcxx_cv_func__hypotf_use+:} false; then :
68945 $as_echo_n "(cached) " >&6
68946 else
68947
68948
68949 ac_ext=cpp
68950 ac_cpp='$CXXCPP $CPPFLAGS'
68951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68954
68955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68956 /* end confdefs.h. */
68957 #include <math.h>
68958 int
68959 main ()
68960 {
68961 _hypotf(0, 0);
68962 ;
68963 return 0;
68964 }
68965 _ACEOF
68966 if ac_fn_cxx_try_compile "$LINENO"; then :
68967 glibcxx_cv_func__hypotf_use=yes
68968 else
68969 glibcxx_cv_func__hypotf_use=no
68970 fi
68971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68972 ac_ext=c
68973 ac_cpp='$CPP $CPPFLAGS'
68974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68977
68978
68979 fi
68980
68981 fi
68982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68983 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68984
68985 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68986 for ac_func in _hypotf
68987 do :
68988 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68989 if test "x$ac_cv_func__hypotf" = xyes; then :
68990 cat >>confdefs.h <<_ACEOF
68991 #define HAVE__HYPOTF 1
68992 _ACEOF
68993
68994 fi
68995 done
68996
68997 fi
68998 fi
68999
69000
69001
69002
69003
69004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69005 $as_echo_n "checking for ldexpf declaration... " >&6; }
69006 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69007 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69008 $as_echo_n "(cached) " >&6
69009 else
69010
69011
69012 ac_ext=cpp
69013 ac_cpp='$CXXCPP $CPPFLAGS'
69014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69017
69018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69019 /* end confdefs.h. */
69020 #include <math.h>
69021 int
69022 main ()
69023 {
69024 ldexpf(0, 0);
69025 ;
69026 return 0;
69027 }
69028 _ACEOF
69029 if ac_fn_cxx_try_compile "$LINENO"; then :
69030 glibcxx_cv_func_ldexpf_use=yes
69031 else
69032 glibcxx_cv_func_ldexpf_use=no
69033 fi
69034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69035 ac_ext=c
69036 ac_cpp='$CPP $CPPFLAGS'
69037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69040
69041
69042 fi
69043
69044 fi
69045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69046 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69047
69048 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69049 for ac_func in ldexpf
69050 do :
69051 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69052 if test "x$ac_cv_func_ldexpf" = xyes; then :
69053 cat >>confdefs.h <<_ACEOF
69054 #define HAVE_LDEXPF 1
69055 _ACEOF
69056
69057 fi
69058 done
69059
69060 else
69061
69062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69063 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69064 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69065 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69066 $as_echo_n "(cached) " >&6
69067 else
69068
69069
69070 ac_ext=cpp
69071 ac_cpp='$CXXCPP $CPPFLAGS'
69072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69075
69076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69077 /* end confdefs.h. */
69078 #include <math.h>
69079 int
69080 main ()
69081 {
69082 _ldexpf(0, 0);
69083 ;
69084 return 0;
69085 }
69086 _ACEOF
69087 if ac_fn_cxx_try_compile "$LINENO"; then :
69088 glibcxx_cv_func__ldexpf_use=yes
69089 else
69090 glibcxx_cv_func__ldexpf_use=no
69091 fi
69092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69093 ac_ext=c
69094 ac_cpp='$CPP $CPPFLAGS'
69095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69098
69099
69100 fi
69101
69102 fi
69103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69104 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69105
69106 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69107 for ac_func in _ldexpf
69108 do :
69109 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69110 if test "x$ac_cv_func__ldexpf" = xyes; then :
69111 cat >>confdefs.h <<_ACEOF
69112 #define HAVE__LDEXPF 1
69113 _ACEOF
69114
69115 fi
69116 done
69117
69118 fi
69119 fi
69120
69121
69122
69123
69124
69125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69126 $as_echo_n "checking for logf declaration... " >&6; }
69127 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69128 if ${glibcxx_cv_func_logf_use+:} false; then :
69129 $as_echo_n "(cached) " >&6
69130 else
69131
69132
69133 ac_ext=cpp
69134 ac_cpp='$CXXCPP $CPPFLAGS'
69135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69138
69139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69140 /* end confdefs.h. */
69141 #include <math.h>
69142 #ifdef HAVE_IEEEFP_H
69143 #include <ieeefp.h>
69144 #endif
69145
69146 int
69147 main ()
69148 {
69149 logf(0);
69150 ;
69151 return 0;
69152 }
69153 _ACEOF
69154 if ac_fn_cxx_try_compile "$LINENO"; then :
69155 glibcxx_cv_func_logf_use=yes
69156 else
69157 glibcxx_cv_func_logf_use=no
69158 fi
69159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69160 ac_ext=c
69161 ac_cpp='$CPP $CPPFLAGS'
69162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69165
69166
69167 fi
69168
69169 fi
69170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69171 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69172
69173 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69174 for ac_func in logf
69175 do :
69176 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69177 if test "x$ac_cv_func_logf" = xyes; then :
69178 cat >>confdefs.h <<_ACEOF
69179 #define HAVE_LOGF 1
69180 _ACEOF
69181
69182 fi
69183 done
69184
69185 else
69186
69187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69188 $as_echo_n "checking for _logf declaration... " >&6; }
69189 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69190 if ${glibcxx_cv_func__logf_use+:} false; then :
69191 $as_echo_n "(cached) " >&6
69192 else
69193
69194
69195 ac_ext=cpp
69196 ac_cpp='$CXXCPP $CPPFLAGS'
69197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69200
69201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69202 /* end confdefs.h. */
69203 #include <math.h>
69204 #ifdef HAVE_IEEEFP_H
69205 #include <ieeefp.h>
69206 #endif
69207
69208 int
69209 main ()
69210 {
69211 _logf(0);
69212 ;
69213 return 0;
69214 }
69215 _ACEOF
69216 if ac_fn_cxx_try_compile "$LINENO"; then :
69217 glibcxx_cv_func__logf_use=yes
69218 else
69219 glibcxx_cv_func__logf_use=no
69220 fi
69221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69222 ac_ext=c
69223 ac_cpp='$CPP $CPPFLAGS'
69224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69227
69228
69229 fi
69230
69231 fi
69232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69233 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69234
69235 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69236 for ac_func in _logf
69237 do :
69238 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69239 if test "x$ac_cv_func__logf" = xyes; then :
69240 cat >>confdefs.h <<_ACEOF
69241 #define HAVE__LOGF 1
69242 _ACEOF
69243
69244 fi
69245 done
69246
69247 fi
69248 fi
69249
69250
69251
69252
69253
69254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69255 $as_echo_n "checking for log10f declaration... " >&6; }
69256 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69257 if ${glibcxx_cv_func_log10f_use+:} false; then :
69258 $as_echo_n "(cached) " >&6
69259 else
69260
69261
69262 ac_ext=cpp
69263 ac_cpp='$CXXCPP $CPPFLAGS'
69264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69267
69268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69269 /* end confdefs.h. */
69270 #include <math.h>
69271 #ifdef HAVE_IEEEFP_H
69272 #include <ieeefp.h>
69273 #endif
69274
69275 int
69276 main ()
69277 {
69278 log10f(0);
69279 ;
69280 return 0;
69281 }
69282 _ACEOF
69283 if ac_fn_cxx_try_compile "$LINENO"; then :
69284 glibcxx_cv_func_log10f_use=yes
69285 else
69286 glibcxx_cv_func_log10f_use=no
69287 fi
69288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69289 ac_ext=c
69290 ac_cpp='$CPP $CPPFLAGS'
69291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69294
69295
69296 fi
69297
69298 fi
69299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69300 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69301
69302 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69303 for ac_func in log10f
69304 do :
69305 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69306 if test "x$ac_cv_func_log10f" = xyes; then :
69307 cat >>confdefs.h <<_ACEOF
69308 #define HAVE_LOG10F 1
69309 _ACEOF
69310
69311 fi
69312 done
69313
69314 else
69315
69316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69317 $as_echo_n "checking for _log10f declaration... " >&6; }
69318 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69319 if ${glibcxx_cv_func__log10f_use+:} false; then :
69320 $as_echo_n "(cached) " >&6
69321 else
69322
69323
69324 ac_ext=cpp
69325 ac_cpp='$CXXCPP $CPPFLAGS'
69326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69329
69330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69331 /* end confdefs.h. */
69332 #include <math.h>
69333 #ifdef HAVE_IEEEFP_H
69334 #include <ieeefp.h>
69335 #endif
69336
69337 int
69338 main ()
69339 {
69340 _log10f(0);
69341 ;
69342 return 0;
69343 }
69344 _ACEOF
69345 if ac_fn_cxx_try_compile "$LINENO"; then :
69346 glibcxx_cv_func__log10f_use=yes
69347 else
69348 glibcxx_cv_func__log10f_use=no
69349 fi
69350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69351 ac_ext=c
69352 ac_cpp='$CPP $CPPFLAGS'
69353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69356
69357
69358 fi
69359
69360 fi
69361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69362 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69363
69364 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69365 for ac_func in _log10f
69366 do :
69367 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69368 if test "x$ac_cv_func__log10f" = xyes; then :
69369 cat >>confdefs.h <<_ACEOF
69370 #define HAVE__LOG10F 1
69371 _ACEOF
69372
69373 fi
69374 done
69375
69376 fi
69377 fi
69378
69379
69380
69381
69382
69383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69384 $as_echo_n "checking for modff declaration... " >&6; }
69385 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69386 if ${glibcxx_cv_func_modff_use+:} false; then :
69387 $as_echo_n "(cached) " >&6
69388 else
69389
69390
69391 ac_ext=cpp
69392 ac_cpp='$CXXCPP $CPPFLAGS'
69393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69396
69397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69398 /* end confdefs.h. */
69399 #include <math.h>
69400 int
69401 main ()
69402 {
69403 modff(0, 0);
69404 ;
69405 return 0;
69406 }
69407 _ACEOF
69408 if ac_fn_cxx_try_compile "$LINENO"; then :
69409 glibcxx_cv_func_modff_use=yes
69410 else
69411 glibcxx_cv_func_modff_use=no
69412 fi
69413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69414 ac_ext=c
69415 ac_cpp='$CPP $CPPFLAGS'
69416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69419
69420
69421 fi
69422
69423 fi
69424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69425 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69426
69427 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69428 for ac_func in modff
69429 do :
69430 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69431 if test "x$ac_cv_func_modff" = xyes; then :
69432 cat >>confdefs.h <<_ACEOF
69433 #define HAVE_MODFF 1
69434 _ACEOF
69435
69436 fi
69437 done
69438
69439 else
69440
69441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69442 $as_echo_n "checking for _modff declaration... " >&6; }
69443 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69444 if ${glibcxx_cv_func__modff_use+:} false; then :
69445 $as_echo_n "(cached) " >&6
69446 else
69447
69448
69449 ac_ext=cpp
69450 ac_cpp='$CXXCPP $CPPFLAGS'
69451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69454
69455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69456 /* end confdefs.h. */
69457 #include <math.h>
69458 int
69459 main ()
69460 {
69461 _modff(0, 0);
69462 ;
69463 return 0;
69464 }
69465 _ACEOF
69466 if ac_fn_cxx_try_compile "$LINENO"; then :
69467 glibcxx_cv_func__modff_use=yes
69468 else
69469 glibcxx_cv_func__modff_use=no
69470 fi
69471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69472 ac_ext=c
69473 ac_cpp='$CPP $CPPFLAGS'
69474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69477
69478
69479 fi
69480
69481 fi
69482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69483 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69484
69485 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69486 for ac_func in _modff
69487 do :
69488 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69489 if test "x$ac_cv_func__modff" = xyes; then :
69490 cat >>confdefs.h <<_ACEOF
69491 #define HAVE__MODFF 1
69492 _ACEOF
69493
69494 fi
69495 done
69496
69497 fi
69498 fi
69499
69500
69501
69502
69503
69504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69505 $as_echo_n "checking for modf declaration... " >&6; }
69506 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69507 if ${glibcxx_cv_func_modf_use+:} false; then :
69508 $as_echo_n "(cached) " >&6
69509 else
69510
69511
69512 ac_ext=cpp
69513 ac_cpp='$CXXCPP $CPPFLAGS'
69514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69517
69518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69519 /* end confdefs.h. */
69520 #include <math.h>
69521 int
69522 main ()
69523 {
69524 modf(0, 0);
69525 ;
69526 return 0;
69527 }
69528 _ACEOF
69529 if ac_fn_cxx_try_compile "$LINENO"; then :
69530 glibcxx_cv_func_modf_use=yes
69531 else
69532 glibcxx_cv_func_modf_use=no
69533 fi
69534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69535 ac_ext=c
69536 ac_cpp='$CPP $CPPFLAGS'
69537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69540
69541
69542 fi
69543
69544 fi
69545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69546 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69547
69548 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69549 for ac_func in modf
69550 do :
69551 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69552 if test "x$ac_cv_func_modf" = xyes; then :
69553 cat >>confdefs.h <<_ACEOF
69554 #define HAVE_MODF 1
69555 _ACEOF
69556
69557 fi
69558 done
69559
69560 else
69561
69562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69563 $as_echo_n "checking for _modf declaration... " >&6; }
69564 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69565 if ${glibcxx_cv_func__modf_use+:} false; then :
69566 $as_echo_n "(cached) " >&6
69567 else
69568
69569
69570 ac_ext=cpp
69571 ac_cpp='$CXXCPP $CPPFLAGS'
69572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69575
69576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69577 /* end confdefs.h. */
69578 #include <math.h>
69579 int
69580 main ()
69581 {
69582 _modf(0, 0);
69583 ;
69584 return 0;
69585 }
69586 _ACEOF
69587 if ac_fn_cxx_try_compile "$LINENO"; then :
69588 glibcxx_cv_func__modf_use=yes
69589 else
69590 glibcxx_cv_func__modf_use=no
69591 fi
69592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69593 ac_ext=c
69594 ac_cpp='$CPP $CPPFLAGS'
69595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69598
69599
69600 fi
69601
69602 fi
69603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69604 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69605
69606 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69607 for ac_func in _modf
69608 do :
69609 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69610 if test "x$ac_cv_func__modf" = xyes; then :
69611 cat >>confdefs.h <<_ACEOF
69612 #define HAVE__MODF 1
69613 _ACEOF
69614
69615 fi
69616 done
69617
69618 fi
69619 fi
69620
69621
69622
69623
69624
69625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69626 $as_echo_n "checking for powf declaration... " >&6; }
69627 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69628 if ${glibcxx_cv_func_powf_use+:} false; then :
69629 $as_echo_n "(cached) " >&6
69630 else
69631
69632
69633 ac_ext=cpp
69634 ac_cpp='$CXXCPP $CPPFLAGS'
69635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69638
69639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69640 /* end confdefs.h. */
69641 #include <math.h>
69642 int
69643 main ()
69644 {
69645 powf(0, 0);
69646 ;
69647 return 0;
69648 }
69649 _ACEOF
69650 if ac_fn_cxx_try_compile "$LINENO"; then :
69651 glibcxx_cv_func_powf_use=yes
69652 else
69653 glibcxx_cv_func_powf_use=no
69654 fi
69655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69656 ac_ext=c
69657 ac_cpp='$CPP $CPPFLAGS'
69658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69661
69662
69663 fi
69664
69665 fi
69666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69667 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69668
69669 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69670 for ac_func in powf
69671 do :
69672 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69673 if test "x$ac_cv_func_powf" = xyes; then :
69674 cat >>confdefs.h <<_ACEOF
69675 #define HAVE_POWF 1
69676 _ACEOF
69677
69678 fi
69679 done
69680
69681 else
69682
69683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69684 $as_echo_n "checking for _powf declaration... " >&6; }
69685 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69686 if ${glibcxx_cv_func__powf_use+:} false; then :
69687 $as_echo_n "(cached) " >&6
69688 else
69689
69690
69691 ac_ext=cpp
69692 ac_cpp='$CXXCPP $CPPFLAGS'
69693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69696
69697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69698 /* end confdefs.h. */
69699 #include <math.h>
69700 int
69701 main ()
69702 {
69703 _powf(0, 0);
69704 ;
69705 return 0;
69706 }
69707 _ACEOF
69708 if ac_fn_cxx_try_compile "$LINENO"; then :
69709 glibcxx_cv_func__powf_use=yes
69710 else
69711 glibcxx_cv_func__powf_use=no
69712 fi
69713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69714 ac_ext=c
69715 ac_cpp='$CPP $CPPFLAGS'
69716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69719
69720
69721 fi
69722
69723 fi
69724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69725 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69726
69727 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69728 for ac_func in _powf
69729 do :
69730 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69731 if test "x$ac_cv_func__powf" = xyes; then :
69732 cat >>confdefs.h <<_ACEOF
69733 #define HAVE__POWF 1
69734 _ACEOF
69735
69736 fi
69737 done
69738
69739 fi
69740 fi
69741
69742
69743
69744
69745
69746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69747 $as_echo_n "checking for sqrtf declaration... " >&6; }
69748 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69749 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69750 $as_echo_n "(cached) " >&6
69751 else
69752
69753
69754 ac_ext=cpp
69755 ac_cpp='$CXXCPP $CPPFLAGS'
69756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69759
69760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69761 /* end confdefs.h. */
69762 #include <math.h>
69763 #ifdef HAVE_IEEEFP_H
69764 #include <ieeefp.h>
69765 #endif
69766
69767 int
69768 main ()
69769 {
69770 sqrtf(0);
69771 ;
69772 return 0;
69773 }
69774 _ACEOF
69775 if ac_fn_cxx_try_compile "$LINENO"; then :
69776 glibcxx_cv_func_sqrtf_use=yes
69777 else
69778 glibcxx_cv_func_sqrtf_use=no
69779 fi
69780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69781 ac_ext=c
69782 ac_cpp='$CPP $CPPFLAGS'
69783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69786
69787
69788 fi
69789
69790 fi
69791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69792 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69793
69794 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69795 for ac_func in sqrtf
69796 do :
69797 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69798 if test "x$ac_cv_func_sqrtf" = xyes; then :
69799 cat >>confdefs.h <<_ACEOF
69800 #define HAVE_SQRTF 1
69801 _ACEOF
69802
69803 fi
69804 done
69805
69806 else
69807
69808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69809 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69810 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69811 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69812 $as_echo_n "(cached) " >&6
69813 else
69814
69815
69816 ac_ext=cpp
69817 ac_cpp='$CXXCPP $CPPFLAGS'
69818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69821
69822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69823 /* end confdefs.h. */
69824 #include <math.h>
69825 #ifdef HAVE_IEEEFP_H
69826 #include <ieeefp.h>
69827 #endif
69828
69829 int
69830 main ()
69831 {
69832 _sqrtf(0);
69833 ;
69834 return 0;
69835 }
69836 _ACEOF
69837 if ac_fn_cxx_try_compile "$LINENO"; then :
69838 glibcxx_cv_func__sqrtf_use=yes
69839 else
69840 glibcxx_cv_func__sqrtf_use=no
69841 fi
69842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69843 ac_ext=c
69844 ac_cpp='$CPP $CPPFLAGS'
69845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69848
69849
69850 fi
69851
69852 fi
69853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69854 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69855
69856 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69857 for ac_func in _sqrtf
69858 do :
69859 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69860 if test "x$ac_cv_func__sqrtf" = xyes; then :
69861 cat >>confdefs.h <<_ACEOF
69862 #define HAVE__SQRTF 1
69863 _ACEOF
69864
69865 fi
69866 done
69867
69868 fi
69869 fi
69870
69871
69872
69873
69874
69875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69876 $as_echo_n "checking for sincosf declaration... " >&6; }
69877 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69878 if ${glibcxx_cv_func_sincosf_use+:} false; then :
69879 $as_echo_n "(cached) " >&6
69880 else
69881
69882
69883 ac_ext=cpp
69884 ac_cpp='$CXXCPP $CPPFLAGS'
69885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69888
69889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69890 /* end confdefs.h. */
69891 #include <math.h>
69892 int
69893 main ()
69894 {
69895 sincosf(0, 0, 0);
69896 ;
69897 return 0;
69898 }
69899 _ACEOF
69900 if ac_fn_cxx_try_compile "$LINENO"; then :
69901 glibcxx_cv_func_sincosf_use=yes
69902 else
69903 glibcxx_cv_func_sincosf_use=no
69904 fi
69905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69906 ac_ext=c
69907 ac_cpp='$CPP $CPPFLAGS'
69908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69911
69912
69913 fi
69914
69915 fi
69916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69917 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69918
69919 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69920 for ac_func in sincosf
69921 do :
69922 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69923 if test "x$ac_cv_func_sincosf" = xyes; then :
69924 cat >>confdefs.h <<_ACEOF
69925 #define HAVE_SINCOSF 1
69926 _ACEOF
69927
69928 fi
69929 done
69930
69931 else
69932
69933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69934 $as_echo_n "checking for _sincosf declaration... " >&6; }
69935 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69936 if ${glibcxx_cv_func__sincosf_use+:} false; then :
69937 $as_echo_n "(cached) " >&6
69938 else
69939
69940
69941 ac_ext=cpp
69942 ac_cpp='$CXXCPP $CPPFLAGS'
69943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69946
69947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69948 /* end confdefs.h. */
69949 #include <math.h>
69950 int
69951 main ()
69952 {
69953 _sincosf(0, 0, 0);
69954 ;
69955 return 0;
69956 }
69957 _ACEOF
69958 if ac_fn_cxx_try_compile "$LINENO"; then :
69959 glibcxx_cv_func__sincosf_use=yes
69960 else
69961 glibcxx_cv_func__sincosf_use=no
69962 fi
69963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69964 ac_ext=c
69965 ac_cpp='$CPP $CPPFLAGS'
69966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69969
69970
69971 fi
69972
69973 fi
69974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69975 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69976
69977 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69978 for ac_func in _sincosf
69979 do :
69980 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69981 if test "x$ac_cv_func__sincosf" = xyes; then :
69982 cat >>confdefs.h <<_ACEOF
69983 #define HAVE__SINCOSF 1
69984 _ACEOF
69985
69986 fi
69987 done
69988
69989 fi
69990 fi
69991
69992
69993
69994
69995
69996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69997 $as_echo_n "checking for finitef declaration... " >&6; }
69998 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69999 if ${glibcxx_cv_func_finitef_use+:} false; then :
70000 $as_echo_n "(cached) " >&6
70001 else
70002
70003
70004 ac_ext=cpp
70005 ac_cpp='$CXXCPP $CPPFLAGS'
70006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70009
70010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70011 /* end confdefs.h. */
70012 #include <math.h>
70013 #ifdef HAVE_IEEEFP_H
70014 #include <ieeefp.h>
70015 #endif
70016
70017 int
70018 main ()
70019 {
70020 finitef(0);
70021 ;
70022 return 0;
70023 }
70024 _ACEOF
70025 if ac_fn_cxx_try_compile "$LINENO"; then :
70026 glibcxx_cv_func_finitef_use=yes
70027 else
70028 glibcxx_cv_func_finitef_use=no
70029 fi
70030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70031 ac_ext=c
70032 ac_cpp='$CPP $CPPFLAGS'
70033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70036
70037
70038 fi
70039
70040 fi
70041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70042 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70043
70044 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70045 for ac_func in finitef
70046 do :
70047 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70048 if test "x$ac_cv_func_finitef" = xyes; then :
70049 cat >>confdefs.h <<_ACEOF
70050 #define HAVE_FINITEF 1
70051 _ACEOF
70052
70053 fi
70054 done
70055
70056 else
70057
70058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70059 $as_echo_n "checking for _finitef declaration... " >&6; }
70060 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70061 if ${glibcxx_cv_func__finitef_use+:} false; then :
70062 $as_echo_n "(cached) " >&6
70063 else
70064
70065
70066 ac_ext=cpp
70067 ac_cpp='$CXXCPP $CPPFLAGS'
70068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70071
70072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70073 /* end confdefs.h. */
70074 #include <math.h>
70075 #ifdef HAVE_IEEEFP_H
70076 #include <ieeefp.h>
70077 #endif
70078
70079 int
70080 main ()
70081 {
70082 _finitef(0);
70083 ;
70084 return 0;
70085 }
70086 _ACEOF
70087 if ac_fn_cxx_try_compile "$LINENO"; then :
70088 glibcxx_cv_func__finitef_use=yes
70089 else
70090 glibcxx_cv_func__finitef_use=no
70091 fi
70092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70093 ac_ext=c
70094 ac_cpp='$CPP $CPPFLAGS'
70095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70098
70099
70100 fi
70101
70102 fi
70103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70104 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70105
70106 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70107 for ac_func in _finitef
70108 do :
70109 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70110 if test "x$ac_cv_func__finitef" = xyes; then :
70111 cat >>confdefs.h <<_ACEOF
70112 #define HAVE__FINITEF 1
70113 _ACEOF
70114
70115 fi
70116 done
70117
70118 fi
70119 fi
70120
70121
70122
70123
70124
70125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70126 $as_echo_n "checking for long double trig functions... " >&6; }
70127 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70128 $as_echo_n "(cached) " >&6
70129 else
70130
70131
70132 ac_ext=cpp
70133 ac_cpp='$CXXCPP $CPPFLAGS'
70134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70137
70138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70139 /* end confdefs.h. */
70140 #include <math.h>
70141 int
70142 main ()
70143 {
70144 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70145 ;
70146 return 0;
70147 }
70148 _ACEOF
70149 if ac_fn_cxx_try_compile "$LINENO"; then :
70150 glibcxx_cv_func_long_double_trig_use=yes
70151 else
70152 glibcxx_cv_func_long_double_trig_use=no
70153 fi
70154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70155 ac_ext=c
70156 ac_cpp='$CPP $CPPFLAGS'
70157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70160
70161 fi
70162
70163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70164 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70165 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70166 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70167 do :
70168 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70169 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70170 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70171 cat >>confdefs.h <<_ACEOF
70172 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70173 _ACEOF
70174
70175 fi
70176 done
70177
70178 else
70179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70180 $as_echo_n "checking for _long double trig functions... " >&6; }
70181 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70182 $as_echo_n "(cached) " >&6
70183 else
70184
70185
70186 ac_ext=cpp
70187 ac_cpp='$CXXCPP $CPPFLAGS'
70188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70191
70192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70193 /* end confdefs.h. */
70194 #include <math.h>
70195 int
70196 main ()
70197 {
70198 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70199 ;
70200 return 0;
70201 }
70202 _ACEOF
70203 if ac_fn_cxx_try_compile "$LINENO"; then :
70204 glibcxx_cv_func__long_double_trig_use=yes
70205 else
70206 glibcxx_cv_func__long_double_trig_use=no
70207 fi
70208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70209 ac_ext=c
70210 ac_cpp='$CPP $CPPFLAGS'
70211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70214
70215 fi
70216
70217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70218 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70219 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70220 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70221 do :
70222 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70223 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70224 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70225 cat >>confdefs.h <<_ACEOF
70226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70227 _ACEOF
70228
70229 fi
70230 done
70231
70232 fi
70233 fi
70234
70235
70236
70237
70238
70239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70240 $as_echo_n "checking for long double round functions... " >&6; }
70241 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70242 $as_echo_n "(cached) " >&6
70243 else
70244
70245
70246 ac_ext=cpp
70247 ac_cpp='$CXXCPP $CPPFLAGS'
70248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70251
70252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70253 /* end confdefs.h. */
70254 #include <math.h>
70255 int
70256 main ()
70257 {
70258 ceill (0); floorl (0);
70259 ;
70260 return 0;
70261 }
70262 _ACEOF
70263 if ac_fn_cxx_try_compile "$LINENO"; then :
70264 glibcxx_cv_func_long_double_round_use=yes
70265 else
70266 glibcxx_cv_func_long_double_round_use=no
70267 fi
70268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70269 ac_ext=c
70270 ac_cpp='$CPP $CPPFLAGS'
70271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70274
70275 fi
70276
70277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70278 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70279 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70280 for ac_func in ceill floorl
70281 do :
70282 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70283 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70284 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70285 cat >>confdefs.h <<_ACEOF
70286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70287 _ACEOF
70288
70289 fi
70290 done
70291
70292 else
70293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70294 $as_echo_n "checking for _long double round functions... " >&6; }
70295 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70296 $as_echo_n "(cached) " >&6
70297 else
70298
70299
70300 ac_ext=cpp
70301 ac_cpp='$CXXCPP $CPPFLAGS'
70302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70305
70306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70307 /* end confdefs.h. */
70308 #include <math.h>
70309 int
70310 main ()
70311 {
70312 _ceill (0); _floorl (0);
70313 ;
70314 return 0;
70315 }
70316 _ACEOF
70317 if ac_fn_cxx_try_compile "$LINENO"; then :
70318 glibcxx_cv_func__long_double_round_use=yes
70319 else
70320 glibcxx_cv_func__long_double_round_use=no
70321 fi
70322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70323 ac_ext=c
70324 ac_cpp='$CPP $CPPFLAGS'
70325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70328
70329 fi
70330
70331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70332 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70333 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70334 for ac_func in _ceill _floorl
70335 do :
70336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70338 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70339 cat >>confdefs.h <<_ACEOF
70340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70341 _ACEOF
70342
70343 fi
70344 done
70345
70346 fi
70347 fi
70348
70349
70350
70351
70352
70353
70354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70355 $as_echo_n "checking for isnanl declaration... " >&6; }
70356 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70357 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70358 $as_echo_n "(cached) " >&6
70359 else
70360
70361
70362 ac_ext=cpp
70363 ac_cpp='$CXXCPP $CPPFLAGS'
70364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70367
70368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70369 /* end confdefs.h. */
70370 #include <math.h>
70371 #ifdef HAVE_IEEEFP_H
70372 #include <ieeefp.h>
70373 #endif
70374
70375 int
70376 main ()
70377 {
70378 isnanl(0);
70379 ;
70380 return 0;
70381 }
70382 _ACEOF
70383 if ac_fn_cxx_try_compile "$LINENO"; then :
70384 glibcxx_cv_func_isnanl_use=yes
70385 else
70386 glibcxx_cv_func_isnanl_use=no
70387 fi
70388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70389 ac_ext=c
70390 ac_cpp='$CPP $CPPFLAGS'
70391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70394
70395
70396 fi
70397
70398 fi
70399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70400 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70401
70402 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70403 for ac_func in isnanl
70404 do :
70405 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70406 if test "x$ac_cv_func_isnanl" = xyes; then :
70407 cat >>confdefs.h <<_ACEOF
70408 #define HAVE_ISNANL 1
70409 _ACEOF
70410
70411 fi
70412 done
70413
70414 else
70415
70416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70417 $as_echo_n "checking for _isnanl declaration... " >&6; }
70418 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70419 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70420 $as_echo_n "(cached) " >&6
70421 else
70422
70423
70424 ac_ext=cpp
70425 ac_cpp='$CXXCPP $CPPFLAGS'
70426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70429
70430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70431 /* end confdefs.h. */
70432 #include <math.h>
70433 #ifdef HAVE_IEEEFP_H
70434 #include <ieeefp.h>
70435 #endif
70436
70437 int
70438 main ()
70439 {
70440 _isnanl(0);
70441 ;
70442 return 0;
70443 }
70444 _ACEOF
70445 if ac_fn_cxx_try_compile "$LINENO"; then :
70446 glibcxx_cv_func__isnanl_use=yes
70447 else
70448 glibcxx_cv_func__isnanl_use=no
70449 fi
70450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70451 ac_ext=c
70452 ac_cpp='$CPP $CPPFLAGS'
70453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70456
70457
70458 fi
70459
70460 fi
70461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70462 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70463
70464 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70465 for ac_func in _isnanl
70466 do :
70467 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70468 if test "x$ac_cv_func__isnanl" = xyes; then :
70469 cat >>confdefs.h <<_ACEOF
70470 #define HAVE__ISNANL 1
70471 _ACEOF
70472
70473 fi
70474 done
70475
70476 fi
70477 fi
70478
70479
70480
70481
70482
70483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70484 $as_echo_n "checking for isinfl declaration... " >&6; }
70485 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70486 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70487 $as_echo_n "(cached) " >&6
70488 else
70489
70490
70491 ac_ext=cpp
70492 ac_cpp='$CXXCPP $CPPFLAGS'
70493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70496
70497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70498 /* end confdefs.h. */
70499 #include <math.h>
70500 #ifdef HAVE_IEEEFP_H
70501 #include <ieeefp.h>
70502 #endif
70503
70504 int
70505 main ()
70506 {
70507 isinfl(0);
70508 ;
70509 return 0;
70510 }
70511 _ACEOF
70512 if ac_fn_cxx_try_compile "$LINENO"; then :
70513 glibcxx_cv_func_isinfl_use=yes
70514 else
70515 glibcxx_cv_func_isinfl_use=no
70516 fi
70517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70518 ac_ext=c
70519 ac_cpp='$CPP $CPPFLAGS'
70520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70523
70524
70525 fi
70526
70527 fi
70528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70529 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70530
70531 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70532 for ac_func in isinfl
70533 do :
70534 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70535 if test "x$ac_cv_func_isinfl" = xyes; then :
70536 cat >>confdefs.h <<_ACEOF
70537 #define HAVE_ISINFL 1
70538 _ACEOF
70539
70540 fi
70541 done
70542
70543 else
70544
70545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70546 $as_echo_n "checking for _isinfl declaration... " >&6; }
70547 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70548 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70549 $as_echo_n "(cached) " >&6
70550 else
70551
70552
70553 ac_ext=cpp
70554 ac_cpp='$CXXCPP $CPPFLAGS'
70555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70558
70559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70560 /* end confdefs.h. */
70561 #include <math.h>
70562 #ifdef HAVE_IEEEFP_H
70563 #include <ieeefp.h>
70564 #endif
70565
70566 int
70567 main ()
70568 {
70569 _isinfl(0);
70570 ;
70571 return 0;
70572 }
70573 _ACEOF
70574 if ac_fn_cxx_try_compile "$LINENO"; then :
70575 glibcxx_cv_func__isinfl_use=yes
70576 else
70577 glibcxx_cv_func__isinfl_use=no
70578 fi
70579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70580 ac_ext=c
70581 ac_cpp='$CPP $CPPFLAGS'
70582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70585
70586
70587 fi
70588
70589 fi
70590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70591 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70592
70593 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70594 for ac_func in _isinfl
70595 do :
70596 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70597 if test "x$ac_cv_func__isinfl" = xyes; then :
70598 cat >>confdefs.h <<_ACEOF
70599 #define HAVE__ISINFL 1
70600 _ACEOF
70601
70602 fi
70603 done
70604
70605 fi
70606 fi
70607
70608
70609
70610
70611
70612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70613 $as_echo_n "checking for atan2l declaration... " >&6; }
70614 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70615 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70616 $as_echo_n "(cached) " >&6
70617 else
70618
70619
70620 ac_ext=cpp
70621 ac_cpp='$CXXCPP $CPPFLAGS'
70622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70625
70626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70627 /* end confdefs.h. */
70628 #include <math.h>
70629 int
70630 main ()
70631 {
70632 atan2l(0, 0);
70633 ;
70634 return 0;
70635 }
70636 _ACEOF
70637 if ac_fn_cxx_try_compile "$LINENO"; then :
70638 glibcxx_cv_func_atan2l_use=yes
70639 else
70640 glibcxx_cv_func_atan2l_use=no
70641 fi
70642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70643 ac_ext=c
70644 ac_cpp='$CPP $CPPFLAGS'
70645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70648
70649
70650 fi
70651
70652 fi
70653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70654 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70655
70656 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70657 for ac_func in atan2l
70658 do :
70659 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70660 if test "x$ac_cv_func_atan2l" = xyes; then :
70661 cat >>confdefs.h <<_ACEOF
70662 #define HAVE_ATAN2L 1
70663 _ACEOF
70664
70665 fi
70666 done
70667
70668 else
70669
70670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70671 $as_echo_n "checking for _atan2l declaration... " >&6; }
70672 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70673 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70674 $as_echo_n "(cached) " >&6
70675 else
70676
70677
70678 ac_ext=cpp
70679 ac_cpp='$CXXCPP $CPPFLAGS'
70680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70683
70684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70685 /* end confdefs.h. */
70686 #include <math.h>
70687 int
70688 main ()
70689 {
70690 _atan2l(0, 0);
70691 ;
70692 return 0;
70693 }
70694 _ACEOF
70695 if ac_fn_cxx_try_compile "$LINENO"; then :
70696 glibcxx_cv_func__atan2l_use=yes
70697 else
70698 glibcxx_cv_func__atan2l_use=no
70699 fi
70700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70701 ac_ext=c
70702 ac_cpp='$CPP $CPPFLAGS'
70703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70706
70707
70708 fi
70709
70710 fi
70711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70712 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70713
70714 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70715 for ac_func in _atan2l
70716 do :
70717 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70718 if test "x$ac_cv_func__atan2l" = xyes; then :
70719 cat >>confdefs.h <<_ACEOF
70720 #define HAVE__ATAN2L 1
70721 _ACEOF
70722
70723 fi
70724 done
70725
70726 fi
70727 fi
70728
70729
70730
70731
70732
70733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70734 $as_echo_n "checking for expl declaration... " >&6; }
70735 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70736 if ${glibcxx_cv_func_expl_use+:} false; then :
70737 $as_echo_n "(cached) " >&6
70738 else
70739
70740
70741 ac_ext=cpp
70742 ac_cpp='$CXXCPP $CPPFLAGS'
70743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70746
70747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70748 /* end confdefs.h. */
70749 #include <math.h>
70750 #ifdef HAVE_IEEEFP_H
70751 #include <ieeefp.h>
70752 #endif
70753
70754 int
70755 main ()
70756 {
70757 expl(0);
70758 ;
70759 return 0;
70760 }
70761 _ACEOF
70762 if ac_fn_cxx_try_compile "$LINENO"; then :
70763 glibcxx_cv_func_expl_use=yes
70764 else
70765 glibcxx_cv_func_expl_use=no
70766 fi
70767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70768 ac_ext=c
70769 ac_cpp='$CPP $CPPFLAGS'
70770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70773
70774
70775 fi
70776
70777 fi
70778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70779 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70780
70781 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70782 for ac_func in expl
70783 do :
70784 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70785 if test "x$ac_cv_func_expl" = xyes; then :
70786 cat >>confdefs.h <<_ACEOF
70787 #define HAVE_EXPL 1
70788 _ACEOF
70789
70790 fi
70791 done
70792
70793 else
70794
70795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70796 $as_echo_n "checking for _expl declaration... " >&6; }
70797 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70798 if ${glibcxx_cv_func__expl_use+:} false; then :
70799 $as_echo_n "(cached) " >&6
70800 else
70801
70802
70803 ac_ext=cpp
70804 ac_cpp='$CXXCPP $CPPFLAGS'
70805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70808
70809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70810 /* end confdefs.h. */
70811 #include <math.h>
70812 #ifdef HAVE_IEEEFP_H
70813 #include <ieeefp.h>
70814 #endif
70815
70816 int
70817 main ()
70818 {
70819 _expl(0);
70820 ;
70821 return 0;
70822 }
70823 _ACEOF
70824 if ac_fn_cxx_try_compile "$LINENO"; then :
70825 glibcxx_cv_func__expl_use=yes
70826 else
70827 glibcxx_cv_func__expl_use=no
70828 fi
70829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70830 ac_ext=c
70831 ac_cpp='$CPP $CPPFLAGS'
70832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70835
70836
70837 fi
70838
70839 fi
70840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70841 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70842
70843 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70844 for ac_func in _expl
70845 do :
70846 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70847 if test "x$ac_cv_func__expl" = xyes; then :
70848 cat >>confdefs.h <<_ACEOF
70849 #define HAVE__EXPL 1
70850 _ACEOF
70851
70852 fi
70853 done
70854
70855 fi
70856 fi
70857
70858
70859
70860
70861
70862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70863 $as_echo_n "checking for fabsl declaration... " >&6; }
70864 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70865 if ${glibcxx_cv_func_fabsl_use+:} false; then :
70866 $as_echo_n "(cached) " >&6
70867 else
70868
70869
70870 ac_ext=cpp
70871 ac_cpp='$CXXCPP $CPPFLAGS'
70872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70875
70876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70877 /* end confdefs.h. */
70878 #include <math.h>
70879 #ifdef HAVE_IEEEFP_H
70880 #include <ieeefp.h>
70881 #endif
70882
70883 int
70884 main ()
70885 {
70886 fabsl(0);
70887 ;
70888 return 0;
70889 }
70890 _ACEOF
70891 if ac_fn_cxx_try_compile "$LINENO"; then :
70892 glibcxx_cv_func_fabsl_use=yes
70893 else
70894 glibcxx_cv_func_fabsl_use=no
70895 fi
70896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70897 ac_ext=c
70898 ac_cpp='$CPP $CPPFLAGS'
70899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70902
70903
70904 fi
70905
70906 fi
70907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70908 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70909
70910 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70911 for ac_func in fabsl
70912 do :
70913 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70914 if test "x$ac_cv_func_fabsl" = xyes; then :
70915 cat >>confdefs.h <<_ACEOF
70916 #define HAVE_FABSL 1
70917 _ACEOF
70918
70919 fi
70920 done
70921
70922 else
70923
70924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70925 $as_echo_n "checking for _fabsl declaration... " >&6; }
70926 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70927 if ${glibcxx_cv_func__fabsl_use+:} false; then :
70928 $as_echo_n "(cached) " >&6
70929 else
70930
70931
70932 ac_ext=cpp
70933 ac_cpp='$CXXCPP $CPPFLAGS'
70934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70937
70938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70939 /* end confdefs.h. */
70940 #include <math.h>
70941 #ifdef HAVE_IEEEFP_H
70942 #include <ieeefp.h>
70943 #endif
70944
70945 int
70946 main ()
70947 {
70948 _fabsl(0);
70949 ;
70950 return 0;
70951 }
70952 _ACEOF
70953 if ac_fn_cxx_try_compile "$LINENO"; then :
70954 glibcxx_cv_func__fabsl_use=yes
70955 else
70956 glibcxx_cv_func__fabsl_use=no
70957 fi
70958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70959 ac_ext=c
70960 ac_cpp='$CPP $CPPFLAGS'
70961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70964
70965
70966 fi
70967
70968 fi
70969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70970 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70971
70972 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70973 for ac_func in _fabsl
70974 do :
70975 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70976 if test "x$ac_cv_func__fabsl" = xyes; then :
70977 cat >>confdefs.h <<_ACEOF
70978 #define HAVE__FABSL 1
70979 _ACEOF
70980
70981 fi
70982 done
70983
70984 fi
70985 fi
70986
70987
70988
70989
70990
70991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70992 $as_echo_n "checking for fmodl declaration... " >&6; }
70993 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70994 if ${glibcxx_cv_func_fmodl_use+:} false; then :
70995 $as_echo_n "(cached) " >&6
70996 else
70997
70998
70999 ac_ext=cpp
71000 ac_cpp='$CXXCPP $CPPFLAGS'
71001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71004
71005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71006 /* end confdefs.h. */
71007 #include <math.h>
71008 int
71009 main ()
71010 {
71011 fmodl(0, 0);
71012 ;
71013 return 0;
71014 }
71015 _ACEOF
71016 if ac_fn_cxx_try_compile "$LINENO"; then :
71017 glibcxx_cv_func_fmodl_use=yes
71018 else
71019 glibcxx_cv_func_fmodl_use=no
71020 fi
71021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71022 ac_ext=c
71023 ac_cpp='$CPP $CPPFLAGS'
71024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71027
71028
71029 fi
71030
71031 fi
71032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71033 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71034
71035 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71036 for ac_func in fmodl
71037 do :
71038 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71039 if test "x$ac_cv_func_fmodl" = xyes; then :
71040 cat >>confdefs.h <<_ACEOF
71041 #define HAVE_FMODL 1
71042 _ACEOF
71043
71044 fi
71045 done
71046
71047 else
71048
71049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71050 $as_echo_n "checking for _fmodl declaration... " >&6; }
71051 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71052 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71053 $as_echo_n "(cached) " >&6
71054 else
71055
71056
71057 ac_ext=cpp
71058 ac_cpp='$CXXCPP $CPPFLAGS'
71059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71062
71063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71064 /* end confdefs.h. */
71065 #include <math.h>
71066 int
71067 main ()
71068 {
71069 _fmodl(0, 0);
71070 ;
71071 return 0;
71072 }
71073 _ACEOF
71074 if ac_fn_cxx_try_compile "$LINENO"; then :
71075 glibcxx_cv_func__fmodl_use=yes
71076 else
71077 glibcxx_cv_func__fmodl_use=no
71078 fi
71079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71080 ac_ext=c
71081 ac_cpp='$CPP $CPPFLAGS'
71082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71085
71086
71087 fi
71088
71089 fi
71090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71091 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71092
71093 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71094 for ac_func in _fmodl
71095 do :
71096 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71097 if test "x$ac_cv_func__fmodl" = xyes; then :
71098 cat >>confdefs.h <<_ACEOF
71099 #define HAVE__FMODL 1
71100 _ACEOF
71101
71102 fi
71103 done
71104
71105 fi
71106 fi
71107
71108
71109
71110
71111
71112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71113 $as_echo_n "checking for frexpl declaration... " >&6; }
71114 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71115 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71116 $as_echo_n "(cached) " >&6
71117 else
71118
71119
71120 ac_ext=cpp
71121 ac_cpp='$CXXCPP $CPPFLAGS'
71122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71125
71126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71127 /* end confdefs.h. */
71128 #include <math.h>
71129 int
71130 main ()
71131 {
71132 frexpl(0, 0);
71133 ;
71134 return 0;
71135 }
71136 _ACEOF
71137 if ac_fn_cxx_try_compile "$LINENO"; then :
71138 glibcxx_cv_func_frexpl_use=yes
71139 else
71140 glibcxx_cv_func_frexpl_use=no
71141 fi
71142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71143 ac_ext=c
71144 ac_cpp='$CPP $CPPFLAGS'
71145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71148
71149
71150 fi
71151
71152 fi
71153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71154 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71155
71156 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71157 for ac_func in frexpl
71158 do :
71159 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71160 if test "x$ac_cv_func_frexpl" = xyes; then :
71161 cat >>confdefs.h <<_ACEOF
71162 #define HAVE_FREXPL 1
71163 _ACEOF
71164
71165 fi
71166 done
71167
71168 else
71169
71170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71171 $as_echo_n "checking for _frexpl declaration... " >&6; }
71172 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71173 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71174 $as_echo_n "(cached) " >&6
71175 else
71176
71177
71178 ac_ext=cpp
71179 ac_cpp='$CXXCPP $CPPFLAGS'
71180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71183
71184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71185 /* end confdefs.h. */
71186 #include <math.h>
71187 int
71188 main ()
71189 {
71190 _frexpl(0, 0);
71191 ;
71192 return 0;
71193 }
71194 _ACEOF
71195 if ac_fn_cxx_try_compile "$LINENO"; then :
71196 glibcxx_cv_func__frexpl_use=yes
71197 else
71198 glibcxx_cv_func__frexpl_use=no
71199 fi
71200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71201 ac_ext=c
71202 ac_cpp='$CPP $CPPFLAGS'
71203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71206
71207
71208 fi
71209
71210 fi
71211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71212 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71213
71214 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71215 for ac_func in _frexpl
71216 do :
71217 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71218 if test "x$ac_cv_func__frexpl" = xyes; then :
71219 cat >>confdefs.h <<_ACEOF
71220 #define HAVE__FREXPL 1
71221 _ACEOF
71222
71223 fi
71224 done
71225
71226 fi
71227 fi
71228
71229
71230
71231
71232
71233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71234 $as_echo_n "checking for hypotl declaration... " >&6; }
71235 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71236 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71237 $as_echo_n "(cached) " >&6
71238 else
71239
71240
71241 ac_ext=cpp
71242 ac_cpp='$CXXCPP $CPPFLAGS'
71243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71246
71247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71248 /* end confdefs.h. */
71249 #include <math.h>
71250 int
71251 main ()
71252 {
71253 hypotl(0, 0);
71254 ;
71255 return 0;
71256 }
71257 _ACEOF
71258 if ac_fn_cxx_try_compile "$LINENO"; then :
71259 glibcxx_cv_func_hypotl_use=yes
71260 else
71261 glibcxx_cv_func_hypotl_use=no
71262 fi
71263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71264 ac_ext=c
71265 ac_cpp='$CPP $CPPFLAGS'
71266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71269
71270
71271 fi
71272
71273 fi
71274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71275 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71276
71277 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71278 for ac_func in hypotl
71279 do :
71280 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71281 if test "x$ac_cv_func_hypotl" = xyes; then :
71282 cat >>confdefs.h <<_ACEOF
71283 #define HAVE_HYPOTL 1
71284 _ACEOF
71285
71286 fi
71287 done
71288
71289 else
71290
71291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71292 $as_echo_n "checking for _hypotl declaration... " >&6; }
71293 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71294 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71295 $as_echo_n "(cached) " >&6
71296 else
71297
71298
71299 ac_ext=cpp
71300 ac_cpp='$CXXCPP $CPPFLAGS'
71301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71304
71305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71306 /* end confdefs.h. */
71307 #include <math.h>
71308 int
71309 main ()
71310 {
71311 _hypotl(0, 0);
71312 ;
71313 return 0;
71314 }
71315 _ACEOF
71316 if ac_fn_cxx_try_compile "$LINENO"; then :
71317 glibcxx_cv_func__hypotl_use=yes
71318 else
71319 glibcxx_cv_func__hypotl_use=no
71320 fi
71321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71322 ac_ext=c
71323 ac_cpp='$CPP $CPPFLAGS'
71324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71327
71328
71329 fi
71330
71331 fi
71332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71333 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71334
71335 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71336 for ac_func in _hypotl
71337 do :
71338 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71339 if test "x$ac_cv_func__hypotl" = xyes; then :
71340 cat >>confdefs.h <<_ACEOF
71341 #define HAVE__HYPOTL 1
71342 _ACEOF
71343
71344 fi
71345 done
71346
71347 fi
71348 fi
71349
71350
71351
71352
71353
71354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71355 $as_echo_n "checking for ldexpl declaration... " >&6; }
71356 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71357 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71358 $as_echo_n "(cached) " >&6
71359 else
71360
71361
71362 ac_ext=cpp
71363 ac_cpp='$CXXCPP $CPPFLAGS'
71364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71367
71368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71369 /* end confdefs.h. */
71370 #include <math.h>
71371 int
71372 main ()
71373 {
71374 ldexpl(0, 0);
71375 ;
71376 return 0;
71377 }
71378 _ACEOF
71379 if ac_fn_cxx_try_compile "$LINENO"; then :
71380 glibcxx_cv_func_ldexpl_use=yes
71381 else
71382 glibcxx_cv_func_ldexpl_use=no
71383 fi
71384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71385 ac_ext=c
71386 ac_cpp='$CPP $CPPFLAGS'
71387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71390
71391
71392 fi
71393
71394 fi
71395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71396 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71397
71398 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71399 for ac_func in ldexpl
71400 do :
71401 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71402 if test "x$ac_cv_func_ldexpl" = xyes; then :
71403 cat >>confdefs.h <<_ACEOF
71404 #define HAVE_LDEXPL 1
71405 _ACEOF
71406
71407 fi
71408 done
71409
71410 else
71411
71412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71413 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71414 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71415 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71416 $as_echo_n "(cached) " >&6
71417 else
71418
71419
71420 ac_ext=cpp
71421 ac_cpp='$CXXCPP $CPPFLAGS'
71422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71425
71426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71427 /* end confdefs.h. */
71428 #include <math.h>
71429 int
71430 main ()
71431 {
71432 _ldexpl(0, 0);
71433 ;
71434 return 0;
71435 }
71436 _ACEOF
71437 if ac_fn_cxx_try_compile "$LINENO"; then :
71438 glibcxx_cv_func__ldexpl_use=yes
71439 else
71440 glibcxx_cv_func__ldexpl_use=no
71441 fi
71442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71443 ac_ext=c
71444 ac_cpp='$CPP $CPPFLAGS'
71445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71448
71449
71450 fi
71451
71452 fi
71453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71454 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71455
71456 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71457 for ac_func in _ldexpl
71458 do :
71459 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71460 if test "x$ac_cv_func__ldexpl" = xyes; then :
71461 cat >>confdefs.h <<_ACEOF
71462 #define HAVE__LDEXPL 1
71463 _ACEOF
71464
71465 fi
71466 done
71467
71468 fi
71469 fi
71470
71471
71472
71473
71474
71475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71476 $as_echo_n "checking for logl declaration... " >&6; }
71477 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71478 if ${glibcxx_cv_func_logl_use+:} false; then :
71479 $as_echo_n "(cached) " >&6
71480 else
71481
71482
71483 ac_ext=cpp
71484 ac_cpp='$CXXCPP $CPPFLAGS'
71485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71488
71489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71490 /* end confdefs.h. */
71491 #include <math.h>
71492 #ifdef HAVE_IEEEFP_H
71493 #include <ieeefp.h>
71494 #endif
71495
71496 int
71497 main ()
71498 {
71499 logl(0);
71500 ;
71501 return 0;
71502 }
71503 _ACEOF
71504 if ac_fn_cxx_try_compile "$LINENO"; then :
71505 glibcxx_cv_func_logl_use=yes
71506 else
71507 glibcxx_cv_func_logl_use=no
71508 fi
71509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71510 ac_ext=c
71511 ac_cpp='$CPP $CPPFLAGS'
71512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71515
71516
71517 fi
71518
71519 fi
71520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71521 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71522
71523 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71524 for ac_func in logl
71525 do :
71526 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71527 if test "x$ac_cv_func_logl" = xyes; then :
71528 cat >>confdefs.h <<_ACEOF
71529 #define HAVE_LOGL 1
71530 _ACEOF
71531
71532 fi
71533 done
71534
71535 else
71536
71537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71538 $as_echo_n "checking for _logl declaration... " >&6; }
71539 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71540 if ${glibcxx_cv_func__logl_use+:} false; then :
71541 $as_echo_n "(cached) " >&6
71542 else
71543
71544
71545 ac_ext=cpp
71546 ac_cpp='$CXXCPP $CPPFLAGS'
71547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71550
71551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71552 /* end confdefs.h. */
71553 #include <math.h>
71554 #ifdef HAVE_IEEEFP_H
71555 #include <ieeefp.h>
71556 #endif
71557
71558 int
71559 main ()
71560 {
71561 _logl(0);
71562 ;
71563 return 0;
71564 }
71565 _ACEOF
71566 if ac_fn_cxx_try_compile "$LINENO"; then :
71567 glibcxx_cv_func__logl_use=yes
71568 else
71569 glibcxx_cv_func__logl_use=no
71570 fi
71571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71572 ac_ext=c
71573 ac_cpp='$CPP $CPPFLAGS'
71574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71577
71578
71579 fi
71580
71581 fi
71582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71583 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71584
71585 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71586 for ac_func in _logl
71587 do :
71588 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71589 if test "x$ac_cv_func__logl" = xyes; then :
71590 cat >>confdefs.h <<_ACEOF
71591 #define HAVE__LOGL 1
71592 _ACEOF
71593
71594 fi
71595 done
71596
71597 fi
71598 fi
71599
71600
71601
71602
71603
71604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71605 $as_echo_n "checking for log10l declaration... " >&6; }
71606 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71607 if ${glibcxx_cv_func_log10l_use+:} false; then :
71608 $as_echo_n "(cached) " >&6
71609 else
71610
71611
71612 ac_ext=cpp
71613 ac_cpp='$CXXCPP $CPPFLAGS'
71614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71617
71618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71619 /* end confdefs.h. */
71620 #include <math.h>
71621 #ifdef HAVE_IEEEFP_H
71622 #include <ieeefp.h>
71623 #endif
71624
71625 int
71626 main ()
71627 {
71628 log10l(0);
71629 ;
71630 return 0;
71631 }
71632 _ACEOF
71633 if ac_fn_cxx_try_compile "$LINENO"; then :
71634 glibcxx_cv_func_log10l_use=yes
71635 else
71636 glibcxx_cv_func_log10l_use=no
71637 fi
71638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71639 ac_ext=c
71640 ac_cpp='$CPP $CPPFLAGS'
71641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71644
71645
71646 fi
71647
71648 fi
71649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71650 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71651
71652 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71653 for ac_func in log10l
71654 do :
71655 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71656 if test "x$ac_cv_func_log10l" = xyes; then :
71657 cat >>confdefs.h <<_ACEOF
71658 #define HAVE_LOG10L 1
71659 _ACEOF
71660
71661 fi
71662 done
71663
71664 else
71665
71666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71667 $as_echo_n "checking for _log10l declaration... " >&6; }
71668 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71669 if ${glibcxx_cv_func__log10l_use+:} false; then :
71670 $as_echo_n "(cached) " >&6
71671 else
71672
71673
71674 ac_ext=cpp
71675 ac_cpp='$CXXCPP $CPPFLAGS'
71676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71679
71680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71681 /* end confdefs.h. */
71682 #include <math.h>
71683 #ifdef HAVE_IEEEFP_H
71684 #include <ieeefp.h>
71685 #endif
71686
71687 int
71688 main ()
71689 {
71690 _log10l(0);
71691 ;
71692 return 0;
71693 }
71694 _ACEOF
71695 if ac_fn_cxx_try_compile "$LINENO"; then :
71696 glibcxx_cv_func__log10l_use=yes
71697 else
71698 glibcxx_cv_func__log10l_use=no
71699 fi
71700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71701 ac_ext=c
71702 ac_cpp='$CPP $CPPFLAGS'
71703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71706
71707
71708 fi
71709
71710 fi
71711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71712 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71713
71714 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71715 for ac_func in _log10l
71716 do :
71717 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71718 if test "x$ac_cv_func__log10l" = xyes; then :
71719 cat >>confdefs.h <<_ACEOF
71720 #define HAVE__LOG10L 1
71721 _ACEOF
71722
71723 fi
71724 done
71725
71726 fi
71727 fi
71728
71729
71730
71731
71732
71733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71734 $as_echo_n "checking for modfl declaration... " >&6; }
71735 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71736 if ${glibcxx_cv_func_modfl_use+:} false; then :
71737 $as_echo_n "(cached) " >&6
71738 else
71739
71740
71741 ac_ext=cpp
71742 ac_cpp='$CXXCPP $CPPFLAGS'
71743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71746
71747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71748 /* end confdefs.h. */
71749 #include <math.h>
71750 int
71751 main ()
71752 {
71753 modfl(0, 0);
71754 ;
71755 return 0;
71756 }
71757 _ACEOF
71758 if ac_fn_cxx_try_compile "$LINENO"; then :
71759 glibcxx_cv_func_modfl_use=yes
71760 else
71761 glibcxx_cv_func_modfl_use=no
71762 fi
71763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71764 ac_ext=c
71765 ac_cpp='$CPP $CPPFLAGS'
71766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71769
71770
71771 fi
71772
71773 fi
71774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71775 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71776
71777 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71778 for ac_func in modfl
71779 do :
71780 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71781 if test "x$ac_cv_func_modfl" = xyes; then :
71782 cat >>confdefs.h <<_ACEOF
71783 #define HAVE_MODFL 1
71784 _ACEOF
71785
71786 fi
71787 done
71788
71789 else
71790
71791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71792 $as_echo_n "checking for _modfl declaration... " >&6; }
71793 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71794 if ${glibcxx_cv_func__modfl_use+:} false; then :
71795 $as_echo_n "(cached) " >&6
71796 else
71797
71798
71799 ac_ext=cpp
71800 ac_cpp='$CXXCPP $CPPFLAGS'
71801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71804
71805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71806 /* end confdefs.h. */
71807 #include <math.h>
71808 int
71809 main ()
71810 {
71811 _modfl(0, 0);
71812 ;
71813 return 0;
71814 }
71815 _ACEOF
71816 if ac_fn_cxx_try_compile "$LINENO"; then :
71817 glibcxx_cv_func__modfl_use=yes
71818 else
71819 glibcxx_cv_func__modfl_use=no
71820 fi
71821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71822 ac_ext=c
71823 ac_cpp='$CPP $CPPFLAGS'
71824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71827
71828
71829 fi
71830
71831 fi
71832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71833 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71834
71835 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71836 for ac_func in _modfl
71837 do :
71838 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71839 if test "x$ac_cv_func__modfl" = xyes; then :
71840 cat >>confdefs.h <<_ACEOF
71841 #define HAVE__MODFL 1
71842 _ACEOF
71843
71844 fi
71845 done
71846
71847 fi
71848 fi
71849
71850
71851
71852
71853
71854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71855 $as_echo_n "checking for powl declaration... " >&6; }
71856 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71857 if ${glibcxx_cv_func_powl_use+:} false; then :
71858 $as_echo_n "(cached) " >&6
71859 else
71860
71861
71862 ac_ext=cpp
71863 ac_cpp='$CXXCPP $CPPFLAGS'
71864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71867
71868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71869 /* end confdefs.h. */
71870 #include <math.h>
71871 int
71872 main ()
71873 {
71874 powl(0, 0);
71875 ;
71876 return 0;
71877 }
71878 _ACEOF
71879 if ac_fn_cxx_try_compile "$LINENO"; then :
71880 glibcxx_cv_func_powl_use=yes
71881 else
71882 glibcxx_cv_func_powl_use=no
71883 fi
71884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71885 ac_ext=c
71886 ac_cpp='$CPP $CPPFLAGS'
71887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71890
71891
71892 fi
71893
71894 fi
71895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71896 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71897
71898 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71899 for ac_func in powl
71900 do :
71901 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71902 if test "x$ac_cv_func_powl" = xyes; then :
71903 cat >>confdefs.h <<_ACEOF
71904 #define HAVE_POWL 1
71905 _ACEOF
71906
71907 fi
71908 done
71909
71910 else
71911
71912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71913 $as_echo_n "checking for _powl declaration... " >&6; }
71914 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71915 if ${glibcxx_cv_func__powl_use+:} false; then :
71916 $as_echo_n "(cached) " >&6
71917 else
71918
71919
71920 ac_ext=cpp
71921 ac_cpp='$CXXCPP $CPPFLAGS'
71922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71925
71926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71927 /* end confdefs.h. */
71928 #include <math.h>
71929 int
71930 main ()
71931 {
71932 _powl(0, 0);
71933 ;
71934 return 0;
71935 }
71936 _ACEOF
71937 if ac_fn_cxx_try_compile "$LINENO"; then :
71938 glibcxx_cv_func__powl_use=yes
71939 else
71940 glibcxx_cv_func__powl_use=no
71941 fi
71942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71943 ac_ext=c
71944 ac_cpp='$CPP $CPPFLAGS'
71945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71948
71949
71950 fi
71951
71952 fi
71953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71954 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71955
71956 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71957 for ac_func in _powl
71958 do :
71959 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71960 if test "x$ac_cv_func__powl" = xyes; then :
71961 cat >>confdefs.h <<_ACEOF
71962 #define HAVE__POWL 1
71963 _ACEOF
71964
71965 fi
71966 done
71967
71968 fi
71969 fi
71970
71971
71972
71973
71974
71975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71976 $as_echo_n "checking for sqrtl declaration... " >&6; }
71977 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71978 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
71979 $as_echo_n "(cached) " >&6
71980 else
71981
71982
71983 ac_ext=cpp
71984 ac_cpp='$CXXCPP $CPPFLAGS'
71985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71988
71989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71990 /* end confdefs.h. */
71991 #include <math.h>
71992 #ifdef HAVE_IEEEFP_H
71993 #include <ieeefp.h>
71994 #endif
71995
71996 int
71997 main ()
71998 {
71999 sqrtl(0);
72000 ;
72001 return 0;
72002 }
72003 _ACEOF
72004 if ac_fn_cxx_try_compile "$LINENO"; then :
72005 glibcxx_cv_func_sqrtl_use=yes
72006 else
72007 glibcxx_cv_func_sqrtl_use=no
72008 fi
72009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72010 ac_ext=c
72011 ac_cpp='$CPP $CPPFLAGS'
72012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72015
72016
72017 fi
72018
72019 fi
72020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72021 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72022
72023 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72024 for ac_func in sqrtl
72025 do :
72026 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72027 if test "x$ac_cv_func_sqrtl" = xyes; then :
72028 cat >>confdefs.h <<_ACEOF
72029 #define HAVE_SQRTL 1
72030 _ACEOF
72031
72032 fi
72033 done
72034
72035 else
72036
72037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72038 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72039 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72040 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72041 $as_echo_n "(cached) " >&6
72042 else
72043
72044
72045 ac_ext=cpp
72046 ac_cpp='$CXXCPP $CPPFLAGS'
72047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72050
72051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72052 /* end confdefs.h. */
72053 #include <math.h>
72054 #ifdef HAVE_IEEEFP_H
72055 #include <ieeefp.h>
72056 #endif
72057
72058 int
72059 main ()
72060 {
72061 _sqrtl(0);
72062 ;
72063 return 0;
72064 }
72065 _ACEOF
72066 if ac_fn_cxx_try_compile "$LINENO"; then :
72067 glibcxx_cv_func__sqrtl_use=yes
72068 else
72069 glibcxx_cv_func__sqrtl_use=no
72070 fi
72071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72072 ac_ext=c
72073 ac_cpp='$CPP $CPPFLAGS'
72074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72077
72078
72079 fi
72080
72081 fi
72082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72083 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72084
72085 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72086 for ac_func in _sqrtl
72087 do :
72088 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72089 if test "x$ac_cv_func__sqrtl" = xyes; then :
72090 cat >>confdefs.h <<_ACEOF
72091 #define HAVE__SQRTL 1
72092 _ACEOF
72093
72094 fi
72095 done
72096
72097 fi
72098 fi
72099
72100
72101
72102
72103
72104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72105 $as_echo_n "checking for sincosl declaration... " >&6; }
72106 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72107 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72108 $as_echo_n "(cached) " >&6
72109 else
72110
72111
72112 ac_ext=cpp
72113 ac_cpp='$CXXCPP $CPPFLAGS'
72114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72117
72118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72119 /* end confdefs.h. */
72120 #include <math.h>
72121 int
72122 main ()
72123 {
72124 sincosl(0, 0, 0);
72125 ;
72126 return 0;
72127 }
72128 _ACEOF
72129 if ac_fn_cxx_try_compile "$LINENO"; then :
72130 glibcxx_cv_func_sincosl_use=yes
72131 else
72132 glibcxx_cv_func_sincosl_use=no
72133 fi
72134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72135 ac_ext=c
72136 ac_cpp='$CPP $CPPFLAGS'
72137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72140
72141
72142 fi
72143
72144 fi
72145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72146 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72147
72148 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72149 for ac_func in sincosl
72150 do :
72151 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72152 if test "x$ac_cv_func_sincosl" = xyes; then :
72153 cat >>confdefs.h <<_ACEOF
72154 #define HAVE_SINCOSL 1
72155 _ACEOF
72156
72157 fi
72158 done
72159
72160 else
72161
72162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72163 $as_echo_n "checking for _sincosl declaration... " >&6; }
72164 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72165 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72166 $as_echo_n "(cached) " >&6
72167 else
72168
72169
72170 ac_ext=cpp
72171 ac_cpp='$CXXCPP $CPPFLAGS'
72172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72175
72176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72177 /* end confdefs.h. */
72178 #include <math.h>
72179 int
72180 main ()
72181 {
72182 _sincosl(0, 0, 0);
72183 ;
72184 return 0;
72185 }
72186 _ACEOF
72187 if ac_fn_cxx_try_compile "$LINENO"; then :
72188 glibcxx_cv_func__sincosl_use=yes
72189 else
72190 glibcxx_cv_func__sincosl_use=no
72191 fi
72192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72193 ac_ext=c
72194 ac_cpp='$CPP $CPPFLAGS'
72195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72198
72199
72200 fi
72201
72202 fi
72203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72204 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72205
72206 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72207 for ac_func in _sincosl
72208 do :
72209 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72210 if test "x$ac_cv_func__sincosl" = xyes; then :
72211 cat >>confdefs.h <<_ACEOF
72212 #define HAVE__SINCOSL 1
72213 _ACEOF
72214
72215 fi
72216 done
72217
72218 fi
72219 fi
72220
72221
72222
72223
72224
72225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72226 $as_echo_n "checking for finitel declaration... " >&6; }
72227 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72228 if ${glibcxx_cv_func_finitel_use+:} false; then :
72229 $as_echo_n "(cached) " >&6
72230 else
72231
72232
72233 ac_ext=cpp
72234 ac_cpp='$CXXCPP $CPPFLAGS'
72235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72238
72239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72240 /* end confdefs.h. */
72241 #include <math.h>
72242 #ifdef HAVE_IEEEFP_H
72243 #include <ieeefp.h>
72244 #endif
72245
72246 int
72247 main ()
72248 {
72249 finitel(0);
72250 ;
72251 return 0;
72252 }
72253 _ACEOF
72254 if ac_fn_cxx_try_compile "$LINENO"; then :
72255 glibcxx_cv_func_finitel_use=yes
72256 else
72257 glibcxx_cv_func_finitel_use=no
72258 fi
72259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72260 ac_ext=c
72261 ac_cpp='$CPP $CPPFLAGS'
72262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72265
72266
72267 fi
72268
72269 fi
72270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72271 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72272
72273 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72274 for ac_func in finitel
72275 do :
72276 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72277 if test "x$ac_cv_func_finitel" = xyes; then :
72278 cat >>confdefs.h <<_ACEOF
72279 #define HAVE_FINITEL 1
72280 _ACEOF
72281
72282 fi
72283 done
72284
72285 else
72286
72287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72288 $as_echo_n "checking for _finitel declaration... " >&6; }
72289 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72290 if ${glibcxx_cv_func__finitel_use+:} false; then :
72291 $as_echo_n "(cached) " >&6
72292 else
72293
72294
72295 ac_ext=cpp
72296 ac_cpp='$CXXCPP $CPPFLAGS'
72297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72300
72301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72302 /* end confdefs.h. */
72303 #include <math.h>
72304 #ifdef HAVE_IEEEFP_H
72305 #include <ieeefp.h>
72306 #endif
72307
72308 int
72309 main ()
72310 {
72311 _finitel(0);
72312 ;
72313 return 0;
72314 }
72315 _ACEOF
72316 if ac_fn_cxx_try_compile "$LINENO"; then :
72317 glibcxx_cv_func__finitel_use=yes
72318 else
72319 glibcxx_cv_func__finitel_use=no
72320 fi
72321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72322 ac_ext=c
72323 ac_cpp='$CPP $CPPFLAGS'
72324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72327
72328
72329 fi
72330
72331 fi
72332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72333 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72334
72335 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72336 for ac_func in _finitel
72337 do :
72338 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72339 if test "x$ac_cv_func__finitel" = xyes; then :
72340 cat >>confdefs.h <<_ACEOF
72341 #define HAVE__FINITEL 1
72342 _ACEOF
72343
72344 fi
72345 done
72346
72347 fi
72348 fi
72349
72350
72351
72352
72353 LIBS="$ac_save_LIBS"
72354 CXXFLAGS="$ac_save_CXXFLAGS"
72355
72356
72357 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72358 ac_save_CXXFLAGS="$CXXFLAGS"
72359 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72360
72361
72362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72363 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72364 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72365 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72366 $as_echo_n "(cached) " >&6
72367 else
72368
72369
72370 ac_ext=cpp
72371 ac_cpp='$CXXCPP $CPPFLAGS'
72372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72375
72376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72377 /* end confdefs.h. */
72378 #include <stdlib.h>
72379 int
72380 main ()
72381 {
72382 at_quick_exit(0);
72383 ;
72384 return 0;
72385 }
72386 _ACEOF
72387 if ac_fn_cxx_try_compile "$LINENO"; then :
72388 glibcxx_cv_func_at_quick_exit_use=yes
72389 else
72390 glibcxx_cv_func_at_quick_exit_use=no
72391 fi
72392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72393 ac_ext=c
72394 ac_cpp='$CPP $CPPFLAGS'
72395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72398
72399
72400 fi
72401
72402 fi
72403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72404 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72405 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72406 for ac_func in at_quick_exit
72407 do :
72408 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72409 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72410 cat >>confdefs.h <<_ACEOF
72411 #define HAVE_AT_QUICK_EXIT 1
72412 _ACEOF
72413
72414 fi
72415 done
72416
72417 fi
72418
72419
72420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72421 $as_echo_n "checking for quick_exit declaration... " >&6; }
72422 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72423 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72424 $as_echo_n "(cached) " >&6
72425 else
72426
72427
72428 ac_ext=cpp
72429 ac_cpp='$CXXCPP $CPPFLAGS'
72430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72433
72434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72435 /* end confdefs.h. */
72436 #include <stdlib.h>
72437 int
72438 main ()
72439 {
72440 quick_exit(0);
72441 ;
72442 return 0;
72443 }
72444 _ACEOF
72445 if ac_fn_cxx_try_compile "$LINENO"; then :
72446 glibcxx_cv_func_quick_exit_use=yes
72447 else
72448 glibcxx_cv_func_quick_exit_use=no
72449 fi
72450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72451 ac_ext=c
72452 ac_cpp='$CPP $CPPFLAGS'
72453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72456
72457
72458 fi
72459
72460 fi
72461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72462 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72463 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72464 for ac_func in quick_exit
72465 do :
72466 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72467 if test "x$ac_cv_func_quick_exit" = xyes; then :
72468 cat >>confdefs.h <<_ACEOF
72469 #define HAVE_QUICK_EXIT 1
72470 _ACEOF
72471
72472 fi
72473 done
72474
72475 fi
72476
72477
72478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72479 $as_echo_n "checking for strtold declaration... " >&6; }
72480 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72481 if ${glibcxx_cv_func_strtold_use+:} false; then :
72482 $as_echo_n "(cached) " >&6
72483 else
72484
72485
72486 ac_ext=cpp
72487 ac_cpp='$CXXCPP $CPPFLAGS'
72488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72491
72492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72493 /* end confdefs.h. */
72494 #include <stdlib.h>
72495 int
72496 main ()
72497 {
72498 strtold(0, 0);
72499 ;
72500 return 0;
72501 }
72502 _ACEOF
72503 if ac_fn_cxx_try_compile "$LINENO"; then :
72504 glibcxx_cv_func_strtold_use=yes
72505 else
72506 glibcxx_cv_func_strtold_use=no
72507 fi
72508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72509 ac_ext=c
72510 ac_cpp='$CPP $CPPFLAGS'
72511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72514
72515
72516 fi
72517
72518 fi
72519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72520 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72521 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72522 for ac_func in strtold
72523 do :
72524 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72525 if test "x$ac_cv_func_strtold" = xyes; then :
72526 cat >>confdefs.h <<_ACEOF
72527 #define HAVE_STRTOLD 1
72528 _ACEOF
72529
72530 fi
72531 done
72532
72533 fi
72534
72535
72536
72537
72538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72539 $as_echo_n "checking for strtof declaration... " >&6; }
72540 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72541 if ${glibcxx_cv_func_strtof_use+:} false; then :
72542 $as_echo_n "(cached) " >&6
72543 else
72544
72545
72546 ac_ext=cpp
72547 ac_cpp='$CXXCPP $CPPFLAGS'
72548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72551
72552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72553 /* end confdefs.h. */
72554 #include <stdlib.h>
72555 int
72556 main ()
72557 {
72558 strtof(0, 0);
72559 ;
72560 return 0;
72561 }
72562 _ACEOF
72563 if ac_fn_cxx_try_compile "$LINENO"; then :
72564 glibcxx_cv_func_strtof_use=yes
72565 else
72566 glibcxx_cv_func_strtof_use=no
72567 fi
72568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72569 ac_ext=c
72570 ac_cpp='$CPP $CPPFLAGS'
72571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72574
72575
72576 fi
72577
72578 fi
72579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72580 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72581 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72582 for ac_func in strtof
72583 do :
72584 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72585 if test "x$ac_cv_func_strtof" = xyes; then :
72586 cat >>confdefs.h <<_ACEOF
72587 #define HAVE_STRTOF 1
72588 _ACEOF
72589
72590 fi
72591 done
72592
72593 fi
72594
72595
72596
72597
72598 CXXFLAGS="$ac_save_CXXFLAGS"
72599
72600 ;;
72601 *-tpf)
72602 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72603 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72604
72605 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72606
72607 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72608
72609 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72610
72611 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72612
72613 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72614
72615 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72616
72617 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72618
72619 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72620
72621 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72622
72623 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72624
72625 if test x"long_double_math_on_this_cpu" = x"yes"; then
72626 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72627
72628 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72629
72630 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72631
72632 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72633
72634 fi
72635 ;;
72636 *-*vms*)
72637 # Check for available headers.
72638 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72639
72640 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72641 ac_save_CXXFLAGS="$CXXFLAGS"
72642 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72643
72644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72645 $as_echo_n "checking for sin in -lm... " >&6; }
72646 if ${ac_cv_lib_m_sin+:} false; then :
72647 $as_echo_n "(cached) " >&6
72648 else
72649 ac_check_lib_save_LIBS=$LIBS
72650 LIBS="-lm $LIBS"
72651 if test x$gcc_no_link = xyes; then
72652 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72653 fi
72654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72655 /* end confdefs.h. */
72656
72657 /* Override any GCC internal prototype to avoid an error.
72658 Use char because int might match the return type of a GCC
72659 builtin and then its argument prototype would still apply. */
72660 #ifdef __cplusplus
72661 extern "C"
72662 #endif
72663 char sin ();
72664 int
72665 main ()
72666 {
72667 return sin ();
72668 ;
72669 return 0;
72670 }
72671 _ACEOF
72672 if ac_fn_c_try_link "$LINENO"; then :
72673 ac_cv_lib_m_sin=yes
72674 else
72675 ac_cv_lib_m_sin=no
72676 fi
72677 rm -f core conftest.err conftest.$ac_objext \
72678 conftest$ac_exeext conftest.$ac_ext
72679 LIBS=$ac_check_lib_save_LIBS
72680 fi
72681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72682 $as_echo "$ac_cv_lib_m_sin" >&6; }
72683 if test "x$ac_cv_lib_m_sin" = xyes; then :
72684 libm="-lm"
72685 fi
72686
72687 ac_save_LIBS="$LIBS"
72688 LIBS="$LIBS $libm"
72689
72690
72691
72692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72693 $as_echo_n "checking for isinf declaration... " >&6; }
72694 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72695 if ${glibcxx_cv_func_isinf_use+:} false; then :
72696 $as_echo_n "(cached) " >&6
72697 else
72698
72699
72700 ac_ext=cpp
72701 ac_cpp='$CXXCPP $CPPFLAGS'
72702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72705
72706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72707 /* end confdefs.h. */
72708 #include <math.h>
72709 #ifdef HAVE_IEEEFP_H
72710 #include <ieeefp.h>
72711 #endif
72712
72713 int
72714 main ()
72715 {
72716 isinf(0);
72717 ;
72718 return 0;
72719 }
72720 _ACEOF
72721 if ac_fn_cxx_try_compile "$LINENO"; then :
72722 glibcxx_cv_func_isinf_use=yes
72723 else
72724 glibcxx_cv_func_isinf_use=no
72725 fi
72726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72727 ac_ext=c
72728 ac_cpp='$CPP $CPPFLAGS'
72729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72732
72733
72734 fi
72735
72736 fi
72737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72738 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72739
72740 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72741 for ac_func in isinf
72742 do :
72743 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72744 if test "x$ac_cv_func_isinf" = xyes; then :
72745 cat >>confdefs.h <<_ACEOF
72746 #define HAVE_ISINF 1
72747 _ACEOF
72748
72749 fi
72750 done
72751
72752 else
72753
72754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72755 $as_echo_n "checking for _isinf declaration... " >&6; }
72756 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72757 if ${glibcxx_cv_func__isinf_use+:} false; then :
72758 $as_echo_n "(cached) " >&6
72759 else
72760
72761
72762 ac_ext=cpp
72763 ac_cpp='$CXXCPP $CPPFLAGS'
72764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72767
72768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72769 /* end confdefs.h. */
72770 #include <math.h>
72771 #ifdef HAVE_IEEEFP_H
72772 #include <ieeefp.h>
72773 #endif
72774
72775 int
72776 main ()
72777 {
72778 _isinf(0);
72779 ;
72780 return 0;
72781 }
72782 _ACEOF
72783 if ac_fn_cxx_try_compile "$LINENO"; then :
72784 glibcxx_cv_func__isinf_use=yes
72785 else
72786 glibcxx_cv_func__isinf_use=no
72787 fi
72788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72789 ac_ext=c
72790 ac_cpp='$CPP $CPPFLAGS'
72791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72794
72795
72796 fi
72797
72798 fi
72799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72800 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72801
72802 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72803 for ac_func in _isinf
72804 do :
72805 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72806 if test "x$ac_cv_func__isinf" = xyes; then :
72807 cat >>confdefs.h <<_ACEOF
72808 #define HAVE__ISINF 1
72809 _ACEOF
72810
72811 fi
72812 done
72813
72814 fi
72815 fi
72816
72817
72818
72819
72820
72821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72822 $as_echo_n "checking for isnan declaration... " >&6; }
72823 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72824 if ${glibcxx_cv_func_isnan_use+:} false; then :
72825 $as_echo_n "(cached) " >&6
72826 else
72827
72828
72829 ac_ext=cpp
72830 ac_cpp='$CXXCPP $CPPFLAGS'
72831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72834
72835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72836 /* end confdefs.h. */
72837 #include <math.h>
72838 #ifdef HAVE_IEEEFP_H
72839 #include <ieeefp.h>
72840 #endif
72841
72842 int
72843 main ()
72844 {
72845 isnan(0);
72846 ;
72847 return 0;
72848 }
72849 _ACEOF
72850 if ac_fn_cxx_try_compile "$LINENO"; then :
72851 glibcxx_cv_func_isnan_use=yes
72852 else
72853 glibcxx_cv_func_isnan_use=no
72854 fi
72855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72856 ac_ext=c
72857 ac_cpp='$CPP $CPPFLAGS'
72858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72861
72862
72863 fi
72864
72865 fi
72866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72867 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72868
72869 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72870 for ac_func in isnan
72871 do :
72872 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72873 if test "x$ac_cv_func_isnan" = xyes; then :
72874 cat >>confdefs.h <<_ACEOF
72875 #define HAVE_ISNAN 1
72876 _ACEOF
72877
72878 fi
72879 done
72880
72881 else
72882
72883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72884 $as_echo_n "checking for _isnan declaration... " >&6; }
72885 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72886 if ${glibcxx_cv_func__isnan_use+:} false; then :
72887 $as_echo_n "(cached) " >&6
72888 else
72889
72890
72891 ac_ext=cpp
72892 ac_cpp='$CXXCPP $CPPFLAGS'
72893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72896
72897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72898 /* end confdefs.h. */
72899 #include <math.h>
72900 #ifdef HAVE_IEEEFP_H
72901 #include <ieeefp.h>
72902 #endif
72903
72904 int
72905 main ()
72906 {
72907 _isnan(0);
72908 ;
72909 return 0;
72910 }
72911 _ACEOF
72912 if ac_fn_cxx_try_compile "$LINENO"; then :
72913 glibcxx_cv_func__isnan_use=yes
72914 else
72915 glibcxx_cv_func__isnan_use=no
72916 fi
72917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72918 ac_ext=c
72919 ac_cpp='$CPP $CPPFLAGS'
72920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72923
72924
72925 fi
72926
72927 fi
72928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72929 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72930
72931 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72932 for ac_func in _isnan
72933 do :
72934 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72935 if test "x$ac_cv_func__isnan" = xyes; then :
72936 cat >>confdefs.h <<_ACEOF
72937 #define HAVE__ISNAN 1
72938 _ACEOF
72939
72940 fi
72941 done
72942
72943 fi
72944 fi
72945
72946
72947
72948
72949
72950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72951 $as_echo_n "checking for finite declaration... " >&6; }
72952 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72953 if ${glibcxx_cv_func_finite_use+:} false; then :
72954 $as_echo_n "(cached) " >&6
72955 else
72956
72957
72958 ac_ext=cpp
72959 ac_cpp='$CXXCPP $CPPFLAGS'
72960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72963
72964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72965 /* end confdefs.h. */
72966 #include <math.h>
72967 #ifdef HAVE_IEEEFP_H
72968 #include <ieeefp.h>
72969 #endif
72970
72971 int
72972 main ()
72973 {
72974 finite(0);
72975 ;
72976 return 0;
72977 }
72978 _ACEOF
72979 if ac_fn_cxx_try_compile "$LINENO"; then :
72980 glibcxx_cv_func_finite_use=yes
72981 else
72982 glibcxx_cv_func_finite_use=no
72983 fi
72984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72985 ac_ext=c
72986 ac_cpp='$CPP $CPPFLAGS'
72987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72990
72991
72992 fi
72993
72994 fi
72995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72996 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72997
72998 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72999 for ac_func in finite
73000 do :
73001 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
73002 if test "x$ac_cv_func_finite" = xyes; then :
73003 cat >>confdefs.h <<_ACEOF
73004 #define HAVE_FINITE 1
73005 _ACEOF
73006
73007 fi
73008 done
73009
73010 else
73011
73012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
73013 $as_echo_n "checking for _finite declaration... " >&6; }
73014 if test x${glibcxx_cv_func__finite_use+set} != xset; then
73015 if ${glibcxx_cv_func__finite_use+:} false; then :
73016 $as_echo_n "(cached) " >&6
73017 else
73018
73019
73020 ac_ext=cpp
73021 ac_cpp='$CXXCPP $CPPFLAGS'
73022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73025
73026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73027 /* end confdefs.h. */
73028 #include <math.h>
73029 #ifdef HAVE_IEEEFP_H
73030 #include <ieeefp.h>
73031 #endif
73032
73033 int
73034 main ()
73035 {
73036 _finite(0);
73037 ;
73038 return 0;
73039 }
73040 _ACEOF
73041 if ac_fn_cxx_try_compile "$LINENO"; then :
73042 glibcxx_cv_func__finite_use=yes
73043 else
73044 glibcxx_cv_func__finite_use=no
73045 fi
73046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73047 ac_ext=c
73048 ac_cpp='$CPP $CPPFLAGS'
73049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73052
73053
73054 fi
73055
73056 fi
73057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
73058 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
73059
73060 if test x$glibcxx_cv_func__finite_use = x"yes"; then
73061 for ac_func in _finite
73062 do :
73063 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
73064 if test "x$ac_cv_func__finite" = xyes; then :
73065 cat >>confdefs.h <<_ACEOF
73066 #define HAVE__FINITE 1
73067 _ACEOF
73068
73069 fi
73070 done
73071
73072 fi
73073 fi
73074
73075
73076
73077
73078
73079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
73080 $as_echo_n "checking for sincos declaration... " >&6; }
73081 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
73082 if ${glibcxx_cv_func_sincos_use+:} false; then :
73083 $as_echo_n "(cached) " >&6
73084 else
73085
73086
73087 ac_ext=cpp
73088 ac_cpp='$CXXCPP $CPPFLAGS'
73089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73092
73093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73094 /* end confdefs.h. */
73095 #include <math.h>
73096 int
73097 main ()
73098 {
73099 sincos(0, 0, 0);
73100 ;
73101 return 0;
73102 }
73103 _ACEOF
73104 if ac_fn_cxx_try_compile "$LINENO"; then :
73105 glibcxx_cv_func_sincos_use=yes
73106 else
73107 glibcxx_cv_func_sincos_use=no
73108 fi
73109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73110 ac_ext=c
73111 ac_cpp='$CPP $CPPFLAGS'
73112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73115
73116
73117 fi
73118
73119 fi
73120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
73121 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
73122
73123 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
73124 for ac_func in sincos
73125 do :
73126 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
73127 if test "x$ac_cv_func_sincos" = xyes; then :
73128 cat >>confdefs.h <<_ACEOF
73129 #define HAVE_SINCOS 1
73130 _ACEOF
73131
73132 fi
73133 done
73134
73135 else
73136
73137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
73138 $as_echo_n "checking for _sincos declaration... " >&6; }
73139 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
73140 if ${glibcxx_cv_func__sincos_use+:} false; then :
73141 $as_echo_n "(cached) " >&6
73142 else
73143
73144
73145 ac_ext=cpp
73146 ac_cpp='$CXXCPP $CPPFLAGS'
73147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73150
73151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73152 /* end confdefs.h. */
73153 #include <math.h>
73154 int
73155 main ()
73156 {
73157 _sincos(0, 0, 0);
73158 ;
73159 return 0;
73160 }
73161 _ACEOF
73162 if ac_fn_cxx_try_compile "$LINENO"; then :
73163 glibcxx_cv_func__sincos_use=yes
73164 else
73165 glibcxx_cv_func__sincos_use=no
73166 fi
73167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73168 ac_ext=c
73169 ac_cpp='$CPP $CPPFLAGS'
73170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73173
73174
73175 fi
73176
73177 fi
73178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73179 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73180
73181 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73182 for ac_func in _sincos
73183 do :
73184 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73185 if test "x$ac_cv_func__sincos" = xyes; then :
73186 cat >>confdefs.h <<_ACEOF
73187 #define HAVE__SINCOS 1
73188 _ACEOF
73189
73190 fi
73191 done
73192
73193 fi
73194 fi
73195
73196
73197
73198
73199
73200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73201 $as_echo_n "checking for fpclass declaration... " >&6; }
73202 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73203 if ${glibcxx_cv_func_fpclass_use+:} false; then :
73204 $as_echo_n "(cached) " >&6
73205 else
73206
73207
73208 ac_ext=cpp
73209 ac_cpp='$CXXCPP $CPPFLAGS'
73210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73213
73214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73215 /* end confdefs.h. */
73216 #include <math.h>
73217 #ifdef HAVE_IEEEFP_H
73218 #include <ieeefp.h>
73219 #endif
73220
73221 int
73222 main ()
73223 {
73224 fpclass(0);
73225 ;
73226 return 0;
73227 }
73228 _ACEOF
73229 if ac_fn_cxx_try_compile "$LINENO"; then :
73230 glibcxx_cv_func_fpclass_use=yes
73231 else
73232 glibcxx_cv_func_fpclass_use=no
73233 fi
73234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73235 ac_ext=c
73236 ac_cpp='$CPP $CPPFLAGS'
73237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73240
73241
73242 fi
73243
73244 fi
73245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73246 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73247
73248 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73249 for ac_func in fpclass
73250 do :
73251 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73252 if test "x$ac_cv_func_fpclass" = xyes; then :
73253 cat >>confdefs.h <<_ACEOF
73254 #define HAVE_FPCLASS 1
73255 _ACEOF
73256
73257 fi
73258 done
73259
73260 else
73261
73262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73263 $as_echo_n "checking for _fpclass declaration... " >&6; }
73264 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73265 if ${glibcxx_cv_func__fpclass_use+:} false; then :
73266 $as_echo_n "(cached) " >&6
73267 else
73268
73269
73270 ac_ext=cpp
73271 ac_cpp='$CXXCPP $CPPFLAGS'
73272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73275
73276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73277 /* end confdefs.h. */
73278 #include <math.h>
73279 #ifdef HAVE_IEEEFP_H
73280 #include <ieeefp.h>
73281 #endif
73282
73283 int
73284 main ()
73285 {
73286 _fpclass(0);
73287 ;
73288 return 0;
73289 }
73290 _ACEOF
73291 if ac_fn_cxx_try_compile "$LINENO"; then :
73292 glibcxx_cv_func__fpclass_use=yes
73293 else
73294 glibcxx_cv_func__fpclass_use=no
73295 fi
73296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73297 ac_ext=c
73298 ac_cpp='$CPP $CPPFLAGS'
73299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73302
73303
73304 fi
73305
73306 fi
73307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73308 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73309
73310 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73311 for ac_func in _fpclass
73312 do :
73313 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73314 if test "x$ac_cv_func__fpclass" = xyes; then :
73315 cat >>confdefs.h <<_ACEOF
73316 #define HAVE__FPCLASS 1
73317 _ACEOF
73318
73319 fi
73320 done
73321
73322 fi
73323 fi
73324
73325
73326
73327
73328
73329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73330 $as_echo_n "checking for qfpclass declaration... " >&6; }
73331 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73332 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
73333 $as_echo_n "(cached) " >&6
73334 else
73335
73336
73337 ac_ext=cpp
73338 ac_cpp='$CXXCPP $CPPFLAGS'
73339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73342
73343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73344 /* end confdefs.h. */
73345 #include <math.h>
73346 #ifdef HAVE_IEEEFP_H
73347 #include <ieeefp.h>
73348 #endif
73349
73350 int
73351 main ()
73352 {
73353 qfpclass(0);
73354 ;
73355 return 0;
73356 }
73357 _ACEOF
73358 if ac_fn_cxx_try_compile "$LINENO"; then :
73359 glibcxx_cv_func_qfpclass_use=yes
73360 else
73361 glibcxx_cv_func_qfpclass_use=no
73362 fi
73363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73364 ac_ext=c
73365 ac_cpp='$CPP $CPPFLAGS'
73366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73369
73370
73371 fi
73372
73373 fi
73374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73375 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73376
73377 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73378 for ac_func in qfpclass
73379 do :
73380 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73381 if test "x$ac_cv_func_qfpclass" = xyes; then :
73382 cat >>confdefs.h <<_ACEOF
73383 #define HAVE_QFPCLASS 1
73384 _ACEOF
73385
73386 fi
73387 done
73388
73389 else
73390
73391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73392 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73393 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73394 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
73395 $as_echo_n "(cached) " >&6
73396 else
73397
73398
73399 ac_ext=cpp
73400 ac_cpp='$CXXCPP $CPPFLAGS'
73401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73404
73405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73406 /* end confdefs.h. */
73407 #include <math.h>
73408 #ifdef HAVE_IEEEFP_H
73409 #include <ieeefp.h>
73410 #endif
73411
73412 int
73413 main ()
73414 {
73415 _qfpclass(0);
73416 ;
73417 return 0;
73418 }
73419 _ACEOF
73420 if ac_fn_cxx_try_compile "$LINENO"; then :
73421 glibcxx_cv_func__qfpclass_use=yes
73422 else
73423 glibcxx_cv_func__qfpclass_use=no
73424 fi
73425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73426 ac_ext=c
73427 ac_cpp='$CPP $CPPFLAGS'
73428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73431
73432
73433 fi
73434
73435 fi
73436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73437 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73438
73439 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73440 for ac_func in _qfpclass
73441 do :
73442 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73443 if test "x$ac_cv_func__qfpclass" = xyes; then :
73444 cat >>confdefs.h <<_ACEOF
73445 #define HAVE__QFPCLASS 1
73446 _ACEOF
73447
73448 fi
73449 done
73450
73451 fi
73452 fi
73453
73454
73455
73456
73457
73458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73459 $as_echo_n "checking for hypot declaration... " >&6; }
73460 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73461 if ${glibcxx_cv_func_hypot_use+:} false; then :
73462 $as_echo_n "(cached) " >&6
73463 else
73464
73465
73466 ac_ext=cpp
73467 ac_cpp='$CXXCPP $CPPFLAGS'
73468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73471
73472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73473 /* end confdefs.h. */
73474 #include <math.h>
73475 int
73476 main ()
73477 {
73478 hypot(0, 0);
73479 ;
73480 return 0;
73481 }
73482 _ACEOF
73483 if ac_fn_cxx_try_compile "$LINENO"; then :
73484 glibcxx_cv_func_hypot_use=yes
73485 else
73486 glibcxx_cv_func_hypot_use=no
73487 fi
73488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73489 ac_ext=c
73490 ac_cpp='$CPP $CPPFLAGS'
73491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73494
73495
73496 fi
73497
73498 fi
73499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73500 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73501
73502 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73503 for ac_func in hypot
73504 do :
73505 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73506 if test "x$ac_cv_func_hypot" = xyes; then :
73507 cat >>confdefs.h <<_ACEOF
73508 #define HAVE_HYPOT 1
73509 _ACEOF
73510
73511 fi
73512 done
73513
73514 else
73515
73516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73517 $as_echo_n "checking for _hypot declaration... " >&6; }
73518 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73519 if ${glibcxx_cv_func__hypot_use+:} false; then :
73520 $as_echo_n "(cached) " >&6
73521 else
73522
73523
73524 ac_ext=cpp
73525 ac_cpp='$CXXCPP $CPPFLAGS'
73526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73529
73530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73531 /* end confdefs.h. */
73532 #include <math.h>
73533 int
73534 main ()
73535 {
73536 _hypot(0, 0);
73537 ;
73538 return 0;
73539 }
73540 _ACEOF
73541 if ac_fn_cxx_try_compile "$LINENO"; then :
73542 glibcxx_cv_func__hypot_use=yes
73543 else
73544 glibcxx_cv_func__hypot_use=no
73545 fi
73546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73547 ac_ext=c
73548 ac_cpp='$CPP $CPPFLAGS'
73549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73552
73553
73554 fi
73555
73556 fi
73557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73558 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73559
73560 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73561 for ac_func in _hypot
73562 do :
73563 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73564 if test "x$ac_cv_func__hypot" = xyes; then :
73565 cat >>confdefs.h <<_ACEOF
73566 #define HAVE__HYPOT 1
73567 _ACEOF
73568
73569 fi
73570 done
73571
73572 fi
73573 fi
73574
73575
73576
73577
73578
73579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73580 $as_echo_n "checking for float trig functions... " >&6; }
73581 if ${glibcxx_cv_func_float_trig_use+:} false; then :
73582 $as_echo_n "(cached) " >&6
73583 else
73584
73585
73586 ac_ext=cpp
73587 ac_cpp='$CXXCPP $CPPFLAGS'
73588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73591
73592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73593 /* end confdefs.h. */
73594 #include <math.h>
73595 int
73596 main ()
73597 {
73598 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73599 ;
73600 return 0;
73601 }
73602 _ACEOF
73603 if ac_fn_cxx_try_compile "$LINENO"; then :
73604 glibcxx_cv_func_float_trig_use=yes
73605 else
73606 glibcxx_cv_func_float_trig_use=no
73607 fi
73608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73609 ac_ext=c
73610 ac_cpp='$CPP $CPPFLAGS'
73611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73614
73615 fi
73616
73617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73618 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73619 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73620 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73621 do :
73622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73624 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73625 cat >>confdefs.h <<_ACEOF
73626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73627 _ACEOF
73628
73629 fi
73630 done
73631
73632 else
73633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73634 $as_echo_n "checking for _float trig functions... " >&6; }
73635 if ${glibcxx_cv_func__float_trig_use+:} false; then :
73636 $as_echo_n "(cached) " >&6
73637 else
73638
73639
73640 ac_ext=cpp
73641 ac_cpp='$CXXCPP $CPPFLAGS'
73642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73645
73646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73647 /* end confdefs.h. */
73648 #include <math.h>
73649 int
73650 main ()
73651 {
73652 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73653 ;
73654 return 0;
73655 }
73656 _ACEOF
73657 if ac_fn_cxx_try_compile "$LINENO"; then :
73658 glibcxx_cv_func__float_trig_use=yes
73659 else
73660 glibcxx_cv_func__float_trig_use=no
73661 fi
73662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73663 ac_ext=c
73664 ac_cpp='$CPP $CPPFLAGS'
73665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73668
73669 fi
73670
73671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73672 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73673 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73674 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73675 do :
73676 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73677 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73678 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73679 cat >>confdefs.h <<_ACEOF
73680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73681 _ACEOF
73682
73683 fi
73684 done
73685
73686 fi
73687 fi
73688
73689
73690
73691
73692
73693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73694 $as_echo_n "checking for float round functions... " >&6; }
73695 if ${glibcxx_cv_func_float_round_use+:} false; then :
73696 $as_echo_n "(cached) " >&6
73697 else
73698
73699
73700 ac_ext=cpp
73701 ac_cpp='$CXXCPP $CPPFLAGS'
73702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73705
73706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73707 /* end confdefs.h. */
73708 #include <math.h>
73709 int
73710 main ()
73711 {
73712 ceilf (0); floorf (0);
73713 ;
73714 return 0;
73715 }
73716 _ACEOF
73717 if ac_fn_cxx_try_compile "$LINENO"; then :
73718 glibcxx_cv_func_float_round_use=yes
73719 else
73720 glibcxx_cv_func_float_round_use=no
73721 fi
73722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73723 ac_ext=c
73724 ac_cpp='$CPP $CPPFLAGS'
73725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73728
73729 fi
73730
73731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73732 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73733 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73734 for ac_func in ceilf floorf
73735 do :
73736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73738 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73739 cat >>confdefs.h <<_ACEOF
73740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73741 _ACEOF
73742
73743 fi
73744 done
73745
73746 else
73747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73748 $as_echo_n "checking for _float round functions... " >&6; }
73749 if ${glibcxx_cv_func__float_round_use+:} false; then :
73750 $as_echo_n "(cached) " >&6
73751 else
73752
73753
73754 ac_ext=cpp
73755 ac_cpp='$CXXCPP $CPPFLAGS'
73756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73759
73760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73761 /* end confdefs.h. */
73762 #include <math.h>
73763 int
73764 main ()
73765 {
73766 _ceilf (0); _floorf (0);
73767 ;
73768 return 0;
73769 }
73770 _ACEOF
73771 if ac_fn_cxx_try_compile "$LINENO"; then :
73772 glibcxx_cv_func__float_round_use=yes
73773 else
73774 glibcxx_cv_func__float_round_use=no
73775 fi
73776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73777 ac_ext=c
73778 ac_cpp='$CPP $CPPFLAGS'
73779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73782
73783 fi
73784
73785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73786 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73787 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73788 for ac_func in _ceilf _floorf
73789 do :
73790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73792 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73793 cat >>confdefs.h <<_ACEOF
73794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73795 _ACEOF
73796
73797 fi
73798 done
73799
73800 fi
73801 fi
73802
73803
73804
73805
73806
73807
73808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73809 $as_echo_n "checking for expf declaration... " >&6; }
73810 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73811 if ${glibcxx_cv_func_expf_use+:} false; then :
73812 $as_echo_n "(cached) " >&6
73813 else
73814
73815
73816 ac_ext=cpp
73817 ac_cpp='$CXXCPP $CPPFLAGS'
73818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73821
73822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73823 /* end confdefs.h. */
73824 #include <math.h>
73825 #ifdef HAVE_IEEEFP_H
73826 #include <ieeefp.h>
73827 #endif
73828
73829 int
73830 main ()
73831 {
73832 expf(0);
73833 ;
73834 return 0;
73835 }
73836 _ACEOF
73837 if ac_fn_cxx_try_compile "$LINENO"; then :
73838 glibcxx_cv_func_expf_use=yes
73839 else
73840 glibcxx_cv_func_expf_use=no
73841 fi
73842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73843 ac_ext=c
73844 ac_cpp='$CPP $CPPFLAGS'
73845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73848
73849
73850 fi
73851
73852 fi
73853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73854 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73855
73856 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73857 for ac_func in expf
73858 do :
73859 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73860 if test "x$ac_cv_func_expf" = xyes; then :
73861 cat >>confdefs.h <<_ACEOF
73862 #define HAVE_EXPF 1
73863 _ACEOF
73864
73865 fi
73866 done
73867
73868 else
73869
73870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73871 $as_echo_n "checking for _expf declaration... " >&6; }
73872 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73873 if ${glibcxx_cv_func__expf_use+:} false; then :
73874 $as_echo_n "(cached) " >&6
73875 else
73876
73877
73878 ac_ext=cpp
73879 ac_cpp='$CXXCPP $CPPFLAGS'
73880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73883
73884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73885 /* end confdefs.h. */
73886 #include <math.h>
73887 #ifdef HAVE_IEEEFP_H
73888 #include <ieeefp.h>
73889 #endif
73890
73891 int
73892 main ()
73893 {
73894 _expf(0);
73895 ;
73896 return 0;
73897 }
73898 _ACEOF
73899 if ac_fn_cxx_try_compile "$LINENO"; then :
73900 glibcxx_cv_func__expf_use=yes
73901 else
73902 glibcxx_cv_func__expf_use=no
73903 fi
73904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73905 ac_ext=c
73906 ac_cpp='$CPP $CPPFLAGS'
73907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73910
73911
73912 fi
73913
73914 fi
73915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73916 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73917
73918 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73919 for ac_func in _expf
73920 do :
73921 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73922 if test "x$ac_cv_func__expf" = xyes; then :
73923 cat >>confdefs.h <<_ACEOF
73924 #define HAVE__EXPF 1
73925 _ACEOF
73926
73927 fi
73928 done
73929
73930 fi
73931 fi
73932
73933
73934
73935
73936
73937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73938 $as_echo_n "checking for isnanf declaration... " >&6; }
73939 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73940 if ${glibcxx_cv_func_isnanf_use+:} false; then :
73941 $as_echo_n "(cached) " >&6
73942 else
73943
73944
73945 ac_ext=cpp
73946 ac_cpp='$CXXCPP $CPPFLAGS'
73947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73950
73951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73952 /* end confdefs.h. */
73953 #include <math.h>
73954 #ifdef HAVE_IEEEFP_H
73955 #include <ieeefp.h>
73956 #endif
73957
73958 int
73959 main ()
73960 {
73961 isnanf(0);
73962 ;
73963 return 0;
73964 }
73965 _ACEOF
73966 if ac_fn_cxx_try_compile "$LINENO"; then :
73967 glibcxx_cv_func_isnanf_use=yes
73968 else
73969 glibcxx_cv_func_isnanf_use=no
73970 fi
73971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73972 ac_ext=c
73973 ac_cpp='$CPP $CPPFLAGS'
73974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73977
73978
73979 fi
73980
73981 fi
73982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73983 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73984
73985 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73986 for ac_func in isnanf
73987 do :
73988 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73989 if test "x$ac_cv_func_isnanf" = xyes; then :
73990 cat >>confdefs.h <<_ACEOF
73991 #define HAVE_ISNANF 1
73992 _ACEOF
73993
73994 fi
73995 done
73996
73997 else
73998
73999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
74000 $as_echo_n "checking for _isnanf declaration... " >&6; }
74001 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
74002 if ${glibcxx_cv_func__isnanf_use+:} false; then :
74003 $as_echo_n "(cached) " >&6
74004 else
74005
74006
74007 ac_ext=cpp
74008 ac_cpp='$CXXCPP $CPPFLAGS'
74009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74012
74013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74014 /* end confdefs.h. */
74015 #include <math.h>
74016 #ifdef HAVE_IEEEFP_H
74017 #include <ieeefp.h>
74018 #endif
74019
74020 int
74021 main ()
74022 {
74023 _isnanf(0);
74024 ;
74025 return 0;
74026 }
74027 _ACEOF
74028 if ac_fn_cxx_try_compile "$LINENO"; then :
74029 glibcxx_cv_func__isnanf_use=yes
74030 else
74031 glibcxx_cv_func__isnanf_use=no
74032 fi
74033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74034 ac_ext=c
74035 ac_cpp='$CPP $CPPFLAGS'
74036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74039
74040
74041 fi
74042
74043 fi
74044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
74045 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
74046
74047 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
74048 for ac_func in _isnanf
74049 do :
74050 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
74051 if test "x$ac_cv_func__isnanf" = xyes; then :
74052 cat >>confdefs.h <<_ACEOF
74053 #define HAVE__ISNANF 1
74054 _ACEOF
74055
74056 fi
74057 done
74058
74059 fi
74060 fi
74061
74062
74063
74064
74065
74066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
74067 $as_echo_n "checking for isinff declaration... " >&6; }
74068 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
74069 if ${glibcxx_cv_func_isinff_use+:} false; then :
74070 $as_echo_n "(cached) " >&6
74071 else
74072
74073
74074 ac_ext=cpp
74075 ac_cpp='$CXXCPP $CPPFLAGS'
74076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74079
74080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74081 /* end confdefs.h. */
74082 #include <math.h>
74083 #ifdef HAVE_IEEEFP_H
74084 #include <ieeefp.h>
74085 #endif
74086
74087 int
74088 main ()
74089 {
74090 isinff(0);
74091 ;
74092 return 0;
74093 }
74094 _ACEOF
74095 if ac_fn_cxx_try_compile "$LINENO"; then :
74096 glibcxx_cv_func_isinff_use=yes
74097 else
74098 glibcxx_cv_func_isinff_use=no
74099 fi
74100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74101 ac_ext=c
74102 ac_cpp='$CPP $CPPFLAGS'
74103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74106
74107
74108 fi
74109
74110 fi
74111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
74112 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
74113
74114 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
74115 for ac_func in isinff
74116 do :
74117 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
74118 if test "x$ac_cv_func_isinff" = xyes; then :
74119 cat >>confdefs.h <<_ACEOF
74120 #define HAVE_ISINFF 1
74121 _ACEOF
74122
74123 fi
74124 done
74125
74126 else
74127
74128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
74129 $as_echo_n "checking for _isinff declaration... " >&6; }
74130 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
74131 if ${glibcxx_cv_func__isinff_use+:} false; then :
74132 $as_echo_n "(cached) " >&6
74133 else
74134
74135
74136 ac_ext=cpp
74137 ac_cpp='$CXXCPP $CPPFLAGS'
74138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74141
74142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74143 /* end confdefs.h. */
74144 #include <math.h>
74145 #ifdef HAVE_IEEEFP_H
74146 #include <ieeefp.h>
74147 #endif
74148
74149 int
74150 main ()
74151 {
74152 _isinff(0);
74153 ;
74154 return 0;
74155 }
74156 _ACEOF
74157 if ac_fn_cxx_try_compile "$LINENO"; then :
74158 glibcxx_cv_func__isinff_use=yes
74159 else
74160 glibcxx_cv_func__isinff_use=no
74161 fi
74162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74163 ac_ext=c
74164 ac_cpp='$CPP $CPPFLAGS'
74165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74168
74169
74170 fi
74171
74172 fi
74173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74174 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74175
74176 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74177 for ac_func in _isinff
74178 do :
74179 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74180 if test "x$ac_cv_func__isinff" = xyes; then :
74181 cat >>confdefs.h <<_ACEOF
74182 #define HAVE__ISINFF 1
74183 _ACEOF
74184
74185 fi
74186 done
74187
74188 fi
74189 fi
74190
74191
74192
74193
74194
74195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74196 $as_echo_n "checking for atan2f declaration... " >&6; }
74197 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74198 if ${glibcxx_cv_func_atan2f_use+:} false; then :
74199 $as_echo_n "(cached) " >&6
74200 else
74201
74202
74203 ac_ext=cpp
74204 ac_cpp='$CXXCPP $CPPFLAGS'
74205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74208
74209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74210 /* end confdefs.h. */
74211 #include <math.h>
74212 int
74213 main ()
74214 {
74215 atan2f(0, 0);
74216 ;
74217 return 0;
74218 }
74219 _ACEOF
74220 if ac_fn_cxx_try_compile "$LINENO"; then :
74221 glibcxx_cv_func_atan2f_use=yes
74222 else
74223 glibcxx_cv_func_atan2f_use=no
74224 fi
74225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74226 ac_ext=c
74227 ac_cpp='$CPP $CPPFLAGS'
74228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74231
74232
74233 fi
74234
74235 fi
74236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74237 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74238
74239 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74240 for ac_func in atan2f
74241 do :
74242 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74243 if test "x$ac_cv_func_atan2f" = xyes; then :
74244 cat >>confdefs.h <<_ACEOF
74245 #define HAVE_ATAN2F 1
74246 _ACEOF
74247
74248 fi
74249 done
74250
74251 else
74252
74253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74254 $as_echo_n "checking for _atan2f declaration... " >&6; }
74255 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74256 if ${glibcxx_cv_func__atan2f_use+:} false; then :
74257 $as_echo_n "(cached) " >&6
74258 else
74259
74260
74261 ac_ext=cpp
74262 ac_cpp='$CXXCPP $CPPFLAGS'
74263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74266
74267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74268 /* end confdefs.h. */
74269 #include <math.h>
74270 int
74271 main ()
74272 {
74273 _atan2f(0, 0);
74274 ;
74275 return 0;
74276 }
74277 _ACEOF
74278 if ac_fn_cxx_try_compile "$LINENO"; then :
74279 glibcxx_cv_func__atan2f_use=yes
74280 else
74281 glibcxx_cv_func__atan2f_use=no
74282 fi
74283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74284 ac_ext=c
74285 ac_cpp='$CPP $CPPFLAGS'
74286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74289
74290
74291 fi
74292
74293 fi
74294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74295 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74296
74297 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74298 for ac_func in _atan2f
74299 do :
74300 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74301 if test "x$ac_cv_func__atan2f" = xyes; then :
74302 cat >>confdefs.h <<_ACEOF
74303 #define HAVE__ATAN2F 1
74304 _ACEOF
74305
74306 fi
74307 done
74308
74309 fi
74310 fi
74311
74312
74313
74314
74315
74316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74317 $as_echo_n "checking for fabsf declaration... " >&6; }
74318 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74319 if ${glibcxx_cv_func_fabsf_use+:} false; then :
74320 $as_echo_n "(cached) " >&6
74321 else
74322
74323
74324 ac_ext=cpp
74325 ac_cpp='$CXXCPP $CPPFLAGS'
74326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74329
74330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74331 /* end confdefs.h. */
74332 #include <math.h>
74333 #ifdef HAVE_IEEEFP_H
74334 #include <ieeefp.h>
74335 #endif
74336
74337 int
74338 main ()
74339 {
74340 fabsf(0);
74341 ;
74342 return 0;
74343 }
74344 _ACEOF
74345 if ac_fn_cxx_try_compile "$LINENO"; then :
74346 glibcxx_cv_func_fabsf_use=yes
74347 else
74348 glibcxx_cv_func_fabsf_use=no
74349 fi
74350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74351 ac_ext=c
74352 ac_cpp='$CPP $CPPFLAGS'
74353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74356
74357
74358 fi
74359
74360 fi
74361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74362 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74363
74364 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74365 for ac_func in fabsf
74366 do :
74367 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74368 if test "x$ac_cv_func_fabsf" = xyes; then :
74369 cat >>confdefs.h <<_ACEOF
74370 #define HAVE_FABSF 1
74371 _ACEOF
74372
74373 fi
74374 done
74375
74376 else
74377
74378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74379 $as_echo_n "checking for _fabsf declaration... " >&6; }
74380 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74381 if ${glibcxx_cv_func__fabsf_use+:} false; then :
74382 $as_echo_n "(cached) " >&6
74383 else
74384
74385
74386 ac_ext=cpp
74387 ac_cpp='$CXXCPP $CPPFLAGS'
74388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74391
74392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74393 /* end confdefs.h. */
74394 #include <math.h>
74395 #ifdef HAVE_IEEEFP_H
74396 #include <ieeefp.h>
74397 #endif
74398
74399 int
74400 main ()
74401 {
74402 _fabsf(0);
74403 ;
74404 return 0;
74405 }
74406 _ACEOF
74407 if ac_fn_cxx_try_compile "$LINENO"; then :
74408 glibcxx_cv_func__fabsf_use=yes
74409 else
74410 glibcxx_cv_func__fabsf_use=no
74411 fi
74412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74413 ac_ext=c
74414 ac_cpp='$CPP $CPPFLAGS'
74415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74418
74419
74420 fi
74421
74422 fi
74423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74424 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74425
74426 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74427 for ac_func in _fabsf
74428 do :
74429 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74430 if test "x$ac_cv_func__fabsf" = xyes; then :
74431 cat >>confdefs.h <<_ACEOF
74432 #define HAVE__FABSF 1
74433 _ACEOF
74434
74435 fi
74436 done
74437
74438 fi
74439 fi
74440
74441
74442
74443
74444
74445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74446 $as_echo_n "checking for fmodf declaration... " >&6; }
74447 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74448 if ${glibcxx_cv_func_fmodf_use+:} false; then :
74449 $as_echo_n "(cached) " >&6
74450 else
74451
74452
74453 ac_ext=cpp
74454 ac_cpp='$CXXCPP $CPPFLAGS'
74455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74458
74459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74460 /* end confdefs.h. */
74461 #include <math.h>
74462 int
74463 main ()
74464 {
74465 fmodf(0, 0);
74466 ;
74467 return 0;
74468 }
74469 _ACEOF
74470 if ac_fn_cxx_try_compile "$LINENO"; then :
74471 glibcxx_cv_func_fmodf_use=yes
74472 else
74473 glibcxx_cv_func_fmodf_use=no
74474 fi
74475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74476 ac_ext=c
74477 ac_cpp='$CPP $CPPFLAGS'
74478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74481
74482
74483 fi
74484
74485 fi
74486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74487 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74488
74489 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74490 for ac_func in fmodf
74491 do :
74492 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74493 if test "x$ac_cv_func_fmodf" = xyes; then :
74494 cat >>confdefs.h <<_ACEOF
74495 #define HAVE_FMODF 1
74496 _ACEOF
74497
74498 fi
74499 done
74500
74501 else
74502
74503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74504 $as_echo_n "checking for _fmodf declaration... " >&6; }
74505 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74506 if ${glibcxx_cv_func__fmodf_use+:} false; then :
74507 $as_echo_n "(cached) " >&6
74508 else
74509
74510
74511 ac_ext=cpp
74512 ac_cpp='$CXXCPP $CPPFLAGS'
74513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74516
74517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74518 /* end confdefs.h. */
74519 #include <math.h>
74520 int
74521 main ()
74522 {
74523 _fmodf(0, 0);
74524 ;
74525 return 0;
74526 }
74527 _ACEOF
74528 if ac_fn_cxx_try_compile "$LINENO"; then :
74529 glibcxx_cv_func__fmodf_use=yes
74530 else
74531 glibcxx_cv_func__fmodf_use=no
74532 fi
74533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74534 ac_ext=c
74535 ac_cpp='$CPP $CPPFLAGS'
74536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74539
74540
74541 fi
74542
74543 fi
74544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74545 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74546
74547 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74548 for ac_func in _fmodf
74549 do :
74550 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74551 if test "x$ac_cv_func__fmodf" = xyes; then :
74552 cat >>confdefs.h <<_ACEOF
74553 #define HAVE__FMODF 1
74554 _ACEOF
74555
74556 fi
74557 done
74558
74559 fi
74560 fi
74561
74562
74563
74564
74565
74566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74567 $as_echo_n "checking for frexpf declaration... " >&6; }
74568 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74569 if ${glibcxx_cv_func_frexpf_use+:} false; then :
74570 $as_echo_n "(cached) " >&6
74571 else
74572
74573
74574 ac_ext=cpp
74575 ac_cpp='$CXXCPP $CPPFLAGS'
74576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74579
74580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74581 /* end confdefs.h. */
74582 #include <math.h>
74583 int
74584 main ()
74585 {
74586 frexpf(0, 0);
74587 ;
74588 return 0;
74589 }
74590 _ACEOF
74591 if ac_fn_cxx_try_compile "$LINENO"; then :
74592 glibcxx_cv_func_frexpf_use=yes
74593 else
74594 glibcxx_cv_func_frexpf_use=no
74595 fi
74596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74597 ac_ext=c
74598 ac_cpp='$CPP $CPPFLAGS'
74599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74602
74603
74604 fi
74605
74606 fi
74607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74608 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74609
74610 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74611 for ac_func in frexpf
74612 do :
74613 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74614 if test "x$ac_cv_func_frexpf" = xyes; then :
74615 cat >>confdefs.h <<_ACEOF
74616 #define HAVE_FREXPF 1
74617 _ACEOF
74618
74619 fi
74620 done
74621
74622 else
74623
74624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74625 $as_echo_n "checking for _frexpf declaration... " >&6; }
74626 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74627 if ${glibcxx_cv_func__frexpf_use+:} false; then :
74628 $as_echo_n "(cached) " >&6
74629 else
74630
74631
74632 ac_ext=cpp
74633 ac_cpp='$CXXCPP $CPPFLAGS'
74634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74637
74638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74639 /* end confdefs.h. */
74640 #include <math.h>
74641 int
74642 main ()
74643 {
74644 _frexpf(0, 0);
74645 ;
74646 return 0;
74647 }
74648 _ACEOF
74649 if ac_fn_cxx_try_compile "$LINENO"; then :
74650 glibcxx_cv_func__frexpf_use=yes
74651 else
74652 glibcxx_cv_func__frexpf_use=no
74653 fi
74654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74655 ac_ext=c
74656 ac_cpp='$CPP $CPPFLAGS'
74657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74660
74661
74662 fi
74663
74664 fi
74665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74666 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74667
74668 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74669 for ac_func in _frexpf
74670 do :
74671 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74672 if test "x$ac_cv_func__frexpf" = xyes; then :
74673 cat >>confdefs.h <<_ACEOF
74674 #define HAVE__FREXPF 1
74675 _ACEOF
74676
74677 fi
74678 done
74679
74680 fi
74681 fi
74682
74683
74684
74685
74686
74687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74688 $as_echo_n "checking for hypotf declaration... " >&6; }
74689 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74690 if ${glibcxx_cv_func_hypotf_use+:} false; then :
74691 $as_echo_n "(cached) " >&6
74692 else
74693
74694
74695 ac_ext=cpp
74696 ac_cpp='$CXXCPP $CPPFLAGS'
74697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74700
74701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74702 /* end confdefs.h. */
74703 #include <math.h>
74704 int
74705 main ()
74706 {
74707 hypotf(0, 0);
74708 ;
74709 return 0;
74710 }
74711 _ACEOF
74712 if ac_fn_cxx_try_compile "$LINENO"; then :
74713 glibcxx_cv_func_hypotf_use=yes
74714 else
74715 glibcxx_cv_func_hypotf_use=no
74716 fi
74717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74718 ac_ext=c
74719 ac_cpp='$CPP $CPPFLAGS'
74720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74723
74724
74725 fi
74726
74727 fi
74728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74729 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74730
74731 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74732 for ac_func in hypotf
74733 do :
74734 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74735 if test "x$ac_cv_func_hypotf" = xyes; then :
74736 cat >>confdefs.h <<_ACEOF
74737 #define HAVE_HYPOTF 1
74738 _ACEOF
74739
74740 fi
74741 done
74742
74743 else
74744
74745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74746 $as_echo_n "checking for _hypotf declaration... " >&6; }
74747 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74748 if ${glibcxx_cv_func__hypotf_use+:} false; then :
74749 $as_echo_n "(cached) " >&6
74750 else
74751
74752
74753 ac_ext=cpp
74754 ac_cpp='$CXXCPP $CPPFLAGS'
74755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74758
74759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74760 /* end confdefs.h. */
74761 #include <math.h>
74762 int
74763 main ()
74764 {
74765 _hypotf(0, 0);
74766 ;
74767 return 0;
74768 }
74769 _ACEOF
74770 if ac_fn_cxx_try_compile "$LINENO"; then :
74771 glibcxx_cv_func__hypotf_use=yes
74772 else
74773 glibcxx_cv_func__hypotf_use=no
74774 fi
74775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74776 ac_ext=c
74777 ac_cpp='$CPP $CPPFLAGS'
74778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74781
74782
74783 fi
74784
74785 fi
74786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74787 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74788
74789 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74790 for ac_func in _hypotf
74791 do :
74792 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74793 if test "x$ac_cv_func__hypotf" = xyes; then :
74794 cat >>confdefs.h <<_ACEOF
74795 #define HAVE__HYPOTF 1
74796 _ACEOF
74797
74798 fi
74799 done
74800
74801 fi
74802 fi
74803
74804
74805
74806
74807
74808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74809 $as_echo_n "checking for ldexpf declaration... " >&6; }
74810 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74811 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
74812 $as_echo_n "(cached) " >&6
74813 else
74814
74815
74816 ac_ext=cpp
74817 ac_cpp='$CXXCPP $CPPFLAGS'
74818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74821
74822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74823 /* end confdefs.h. */
74824 #include <math.h>
74825 int
74826 main ()
74827 {
74828 ldexpf(0, 0);
74829 ;
74830 return 0;
74831 }
74832 _ACEOF
74833 if ac_fn_cxx_try_compile "$LINENO"; then :
74834 glibcxx_cv_func_ldexpf_use=yes
74835 else
74836 glibcxx_cv_func_ldexpf_use=no
74837 fi
74838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74839 ac_ext=c
74840 ac_cpp='$CPP $CPPFLAGS'
74841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74844
74845
74846 fi
74847
74848 fi
74849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74850 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74851
74852 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74853 for ac_func in ldexpf
74854 do :
74855 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74856 if test "x$ac_cv_func_ldexpf" = xyes; then :
74857 cat >>confdefs.h <<_ACEOF
74858 #define HAVE_LDEXPF 1
74859 _ACEOF
74860
74861 fi
74862 done
74863
74864 else
74865
74866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74867 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74868 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74869 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
74870 $as_echo_n "(cached) " >&6
74871 else
74872
74873
74874 ac_ext=cpp
74875 ac_cpp='$CXXCPP $CPPFLAGS'
74876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74879
74880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74881 /* end confdefs.h. */
74882 #include <math.h>
74883 int
74884 main ()
74885 {
74886 _ldexpf(0, 0);
74887 ;
74888 return 0;
74889 }
74890 _ACEOF
74891 if ac_fn_cxx_try_compile "$LINENO"; then :
74892 glibcxx_cv_func__ldexpf_use=yes
74893 else
74894 glibcxx_cv_func__ldexpf_use=no
74895 fi
74896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74897 ac_ext=c
74898 ac_cpp='$CPP $CPPFLAGS'
74899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74902
74903
74904 fi
74905
74906 fi
74907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74908 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74909
74910 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74911 for ac_func in _ldexpf
74912 do :
74913 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74914 if test "x$ac_cv_func__ldexpf" = xyes; then :
74915 cat >>confdefs.h <<_ACEOF
74916 #define HAVE__LDEXPF 1
74917 _ACEOF
74918
74919 fi
74920 done
74921
74922 fi
74923 fi
74924
74925
74926
74927
74928
74929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74930 $as_echo_n "checking for logf declaration... " >&6; }
74931 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74932 if ${glibcxx_cv_func_logf_use+:} false; then :
74933 $as_echo_n "(cached) " >&6
74934 else
74935
74936
74937 ac_ext=cpp
74938 ac_cpp='$CXXCPP $CPPFLAGS'
74939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74942
74943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74944 /* end confdefs.h. */
74945 #include <math.h>
74946 #ifdef HAVE_IEEEFP_H
74947 #include <ieeefp.h>
74948 #endif
74949
74950 int
74951 main ()
74952 {
74953 logf(0);
74954 ;
74955 return 0;
74956 }
74957 _ACEOF
74958 if ac_fn_cxx_try_compile "$LINENO"; then :
74959 glibcxx_cv_func_logf_use=yes
74960 else
74961 glibcxx_cv_func_logf_use=no
74962 fi
74963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74964 ac_ext=c
74965 ac_cpp='$CPP $CPPFLAGS'
74966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74969
74970
74971 fi
74972
74973 fi
74974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74975 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74976
74977 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74978 for ac_func in logf
74979 do :
74980 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74981 if test "x$ac_cv_func_logf" = xyes; then :
74982 cat >>confdefs.h <<_ACEOF
74983 #define HAVE_LOGF 1
74984 _ACEOF
74985
74986 fi
74987 done
74988
74989 else
74990
74991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74992 $as_echo_n "checking for _logf declaration... " >&6; }
74993 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74994 if ${glibcxx_cv_func__logf_use+:} false; then :
74995 $as_echo_n "(cached) " >&6
74996 else
74997
74998
74999 ac_ext=cpp
75000 ac_cpp='$CXXCPP $CPPFLAGS'
75001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75004
75005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75006 /* end confdefs.h. */
75007 #include <math.h>
75008 #ifdef HAVE_IEEEFP_H
75009 #include <ieeefp.h>
75010 #endif
75011
75012 int
75013 main ()
75014 {
75015 _logf(0);
75016 ;
75017 return 0;
75018 }
75019 _ACEOF
75020 if ac_fn_cxx_try_compile "$LINENO"; then :
75021 glibcxx_cv_func__logf_use=yes
75022 else
75023 glibcxx_cv_func__logf_use=no
75024 fi
75025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75026 ac_ext=c
75027 ac_cpp='$CPP $CPPFLAGS'
75028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75031
75032
75033 fi
75034
75035 fi
75036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
75037 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
75038
75039 if test x$glibcxx_cv_func__logf_use = x"yes"; then
75040 for ac_func in _logf
75041 do :
75042 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
75043 if test "x$ac_cv_func__logf" = xyes; then :
75044 cat >>confdefs.h <<_ACEOF
75045 #define HAVE__LOGF 1
75046 _ACEOF
75047
75048 fi
75049 done
75050
75051 fi
75052 fi
75053
75054
75055
75056
75057
75058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
75059 $as_echo_n "checking for log10f declaration... " >&6; }
75060 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
75061 if ${glibcxx_cv_func_log10f_use+:} false; then :
75062 $as_echo_n "(cached) " >&6
75063 else
75064
75065
75066 ac_ext=cpp
75067 ac_cpp='$CXXCPP $CPPFLAGS'
75068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75071
75072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75073 /* end confdefs.h. */
75074 #include <math.h>
75075 #ifdef HAVE_IEEEFP_H
75076 #include <ieeefp.h>
75077 #endif
75078
75079 int
75080 main ()
75081 {
75082 log10f(0);
75083 ;
75084 return 0;
75085 }
75086 _ACEOF
75087 if ac_fn_cxx_try_compile "$LINENO"; then :
75088 glibcxx_cv_func_log10f_use=yes
75089 else
75090 glibcxx_cv_func_log10f_use=no
75091 fi
75092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75093 ac_ext=c
75094 ac_cpp='$CPP $CPPFLAGS'
75095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75098
75099
75100 fi
75101
75102 fi
75103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
75104 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
75105
75106 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
75107 for ac_func in log10f
75108 do :
75109 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
75110 if test "x$ac_cv_func_log10f" = xyes; then :
75111 cat >>confdefs.h <<_ACEOF
75112 #define HAVE_LOG10F 1
75113 _ACEOF
75114
75115 fi
75116 done
75117
75118 else
75119
75120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
75121 $as_echo_n "checking for _log10f declaration... " >&6; }
75122 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
75123 if ${glibcxx_cv_func__log10f_use+:} false; then :
75124 $as_echo_n "(cached) " >&6
75125 else
75126
75127
75128 ac_ext=cpp
75129 ac_cpp='$CXXCPP $CPPFLAGS'
75130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75133
75134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75135 /* end confdefs.h. */
75136 #include <math.h>
75137 #ifdef HAVE_IEEEFP_H
75138 #include <ieeefp.h>
75139 #endif
75140
75141 int
75142 main ()
75143 {
75144 _log10f(0);
75145 ;
75146 return 0;
75147 }
75148 _ACEOF
75149 if ac_fn_cxx_try_compile "$LINENO"; then :
75150 glibcxx_cv_func__log10f_use=yes
75151 else
75152 glibcxx_cv_func__log10f_use=no
75153 fi
75154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75155 ac_ext=c
75156 ac_cpp='$CPP $CPPFLAGS'
75157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75160
75161
75162 fi
75163
75164 fi
75165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75166 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75167
75168 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75169 for ac_func in _log10f
75170 do :
75171 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75172 if test "x$ac_cv_func__log10f" = xyes; then :
75173 cat >>confdefs.h <<_ACEOF
75174 #define HAVE__LOG10F 1
75175 _ACEOF
75176
75177 fi
75178 done
75179
75180 fi
75181 fi
75182
75183
75184
75185
75186
75187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75188 $as_echo_n "checking for modff declaration... " >&6; }
75189 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75190 if ${glibcxx_cv_func_modff_use+:} false; then :
75191 $as_echo_n "(cached) " >&6
75192 else
75193
75194
75195 ac_ext=cpp
75196 ac_cpp='$CXXCPP $CPPFLAGS'
75197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75200
75201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75202 /* end confdefs.h. */
75203 #include <math.h>
75204 int
75205 main ()
75206 {
75207 modff(0, 0);
75208 ;
75209 return 0;
75210 }
75211 _ACEOF
75212 if ac_fn_cxx_try_compile "$LINENO"; then :
75213 glibcxx_cv_func_modff_use=yes
75214 else
75215 glibcxx_cv_func_modff_use=no
75216 fi
75217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75218 ac_ext=c
75219 ac_cpp='$CPP $CPPFLAGS'
75220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75223
75224
75225 fi
75226
75227 fi
75228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75229 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75230
75231 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75232 for ac_func in modff
75233 do :
75234 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75235 if test "x$ac_cv_func_modff" = xyes; then :
75236 cat >>confdefs.h <<_ACEOF
75237 #define HAVE_MODFF 1
75238 _ACEOF
75239
75240 fi
75241 done
75242
75243 else
75244
75245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75246 $as_echo_n "checking for _modff declaration... " >&6; }
75247 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75248 if ${glibcxx_cv_func__modff_use+:} false; then :
75249 $as_echo_n "(cached) " >&6
75250 else
75251
75252
75253 ac_ext=cpp
75254 ac_cpp='$CXXCPP $CPPFLAGS'
75255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75258
75259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75260 /* end confdefs.h. */
75261 #include <math.h>
75262 int
75263 main ()
75264 {
75265 _modff(0, 0);
75266 ;
75267 return 0;
75268 }
75269 _ACEOF
75270 if ac_fn_cxx_try_compile "$LINENO"; then :
75271 glibcxx_cv_func__modff_use=yes
75272 else
75273 glibcxx_cv_func__modff_use=no
75274 fi
75275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75276 ac_ext=c
75277 ac_cpp='$CPP $CPPFLAGS'
75278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75281
75282
75283 fi
75284
75285 fi
75286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75287 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75288
75289 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75290 for ac_func in _modff
75291 do :
75292 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75293 if test "x$ac_cv_func__modff" = xyes; then :
75294 cat >>confdefs.h <<_ACEOF
75295 #define HAVE__MODFF 1
75296 _ACEOF
75297
75298 fi
75299 done
75300
75301 fi
75302 fi
75303
75304
75305
75306
75307
75308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75309 $as_echo_n "checking for modf declaration... " >&6; }
75310 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75311 if ${glibcxx_cv_func_modf_use+:} false; then :
75312 $as_echo_n "(cached) " >&6
75313 else
75314
75315
75316 ac_ext=cpp
75317 ac_cpp='$CXXCPP $CPPFLAGS'
75318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75321
75322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75323 /* end confdefs.h. */
75324 #include <math.h>
75325 int
75326 main ()
75327 {
75328 modf(0, 0);
75329 ;
75330 return 0;
75331 }
75332 _ACEOF
75333 if ac_fn_cxx_try_compile "$LINENO"; then :
75334 glibcxx_cv_func_modf_use=yes
75335 else
75336 glibcxx_cv_func_modf_use=no
75337 fi
75338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75339 ac_ext=c
75340 ac_cpp='$CPP $CPPFLAGS'
75341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75344
75345
75346 fi
75347
75348 fi
75349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75350 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75351
75352 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75353 for ac_func in modf
75354 do :
75355 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75356 if test "x$ac_cv_func_modf" = xyes; then :
75357 cat >>confdefs.h <<_ACEOF
75358 #define HAVE_MODF 1
75359 _ACEOF
75360
75361 fi
75362 done
75363
75364 else
75365
75366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75367 $as_echo_n "checking for _modf declaration... " >&6; }
75368 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75369 if ${glibcxx_cv_func__modf_use+:} false; then :
75370 $as_echo_n "(cached) " >&6
75371 else
75372
75373
75374 ac_ext=cpp
75375 ac_cpp='$CXXCPP $CPPFLAGS'
75376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75379
75380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75381 /* end confdefs.h. */
75382 #include <math.h>
75383 int
75384 main ()
75385 {
75386 _modf(0, 0);
75387 ;
75388 return 0;
75389 }
75390 _ACEOF
75391 if ac_fn_cxx_try_compile "$LINENO"; then :
75392 glibcxx_cv_func__modf_use=yes
75393 else
75394 glibcxx_cv_func__modf_use=no
75395 fi
75396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75397 ac_ext=c
75398 ac_cpp='$CPP $CPPFLAGS'
75399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75402
75403
75404 fi
75405
75406 fi
75407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75408 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75409
75410 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75411 for ac_func in _modf
75412 do :
75413 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75414 if test "x$ac_cv_func__modf" = xyes; then :
75415 cat >>confdefs.h <<_ACEOF
75416 #define HAVE__MODF 1
75417 _ACEOF
75418
75419 fi
75420 done
75421
75422 fi
75423 fi
75424
75425
75426
75427
75428
75429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75430 $as_echo_n "checking for powf declaration... " >&6; }
75431 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75432 if ${glibcxx_cv_func_powf_use+:} false; then :
75433 $as_echo_n "(cached) " >&6
75434 else
75435
75436
75437 ac_ext=cpp
75438 ac_cpp='$CXXCPP $CPPFLAGS'
75439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75442
75443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75444 /* end confdefs.h. */
75445 #include <math.h>
75446 int
75447 main ()
75448 {
75449 powf(0, 0);
75450 ;
75451 return 0;
75452 }
75453 _ACEOF
75454 if ac_fn_cxx_try_compile "$LINENO"; then :
75455 glibcxx_cv_func_powf_use=yes
75456 else
75457 glibcxx_cv_func_powf_use=no
75458 fi
75459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75460 ac_ext=c
75461 ac_cpp='$CPP $CPPFLAGS'
75462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75465
75466
75467 fi
75468
75469 fi
75470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75471 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75472
75473 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75474 for ac_func in powf
75475 do :
75476 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75477 if test "x$ac_cv_func_powf" = xyes; then :
75478 cat >>confdefs.h <<_ACEOF
75479 #define HAVE_POWF 1
75480 _ACEOF
75481
75482 fi
75483 done
75484
75485 else
75486
75487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75488 $as_echo_n "checking for _powf declaration... " >&6; }
75489 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75490 if ${glibcxx_cv_func__powf_use+:} false; then :
75491 $as_echo_n "(cached) " >&6
75492 else
75493
75494
75495 ac_ext=cpp
75496 ac_cpp='$CXXCPP $CPPFLAGS'
75497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75500
75501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75502 /* end confdefs.h. */
75503 #include <math.h>
75504 int
75505 main ()
75506 {
75507 _powf(0, 0);
75508 ;
75509 return 0;
75510 }
75511 _ACEOF
75512 if ac_fn_cxx_try_compile "$LINENO"; then :
75513 glibcxx_cv_func__powf_use=yes
75514 else
75515 glibcxx_cv_func__powf_use=no
75516 fi
75517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75518 ac_ext=c
75519 ac_cpp='$CPP $CPPFLAGS'
75520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75523
75524
75525 fi
75526
75527 fi
75528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75529 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75530
75531 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75532 for ac_func in _powf
75533 do :
75534 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75535 if test "x$ac_cv_func__powf" = xyes; then :
75536 cat >>confdefs.h <<_ACEOF
75537 #define HAVE__POWF 1
75538 _ACEOF
75539
75540 fi
75541 done
75542
75543 fi
75544 fi
75545
75546
75547
75548
75549
75550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75551 $as_echo_n "checking for sqrtf declaration... " >&6; }
75552 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75553 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
75554 $as_echo_n "(cached) " >&6
75555 else
75556
75557
75558 ac_ext=cpp
75559 ac_cpp='$CXXCPP $CPPFLAGS'
75560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75563
75564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75565 /* end confdefs.h. */
75566 #include <math.h>
75567 #ifdef HAVE_IEEEFP_H
75568 #include <ieeefp.h>
75569 #endif
75570
75571 int
75572 main ()
75573 {
75574 sqrtf(0);
75575 ;
75576 return 0;
75577 }
75578 _ACEOF
75579 if ac_fn_cxx_try_compile "$LINENO"; then :
75580 glibcxx_cv_func_sqrtf_use=yes
75581 else
75582 glibcxx_cv_func_sqrtf_use=no
75583 fi
75584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75585 ac_ext=c
75586 ac_cpp='$CPP $CPPFLAGS'
75587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75590
75591
75592 fi
75593
75594 fi
75595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75596 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75597
75598 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75599 for ac_func in sqrtf
75600 do :
75601 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75602 if test "x$ac_cv_func_sqrtf" = xyes; then :
75603 cat >>confdefs.h <<_ACEOF
75604 #define HAVE_SQRTF 1
75605 _ACEOF
75606
75607 fi
75608 done
75609
75610 else
75611
75612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75613 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75614 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75615 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
75616 $as_echo_n "(cached) " >&6
75617 else
75618
75619
75620 ac_ext=cpp
75621 ac_cpp='$CXXCPP $CPPFLAGS'
75622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75625
75626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75627 /* end confdefs.h. */
75628 #include <math.h>
75629 #ifdef HAVE_IEEEFP_H
75630 #include <ieeefp.h>
75631 #endif
75632
75633 int
75634 main ()
75635 {
75636 _sqrtf(0);
75637 ;
75638 return 0;
75639 }
75640 _ACEOF
75641 if ac_fn_cxx_try_compile "$LINENO"; then :
75642 glibcxx_cv_func__sqrtf_use=yes
75643 else
75644 glibcxx_cv_func__sqrtf_use=no
75645 fi
75646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75647 ac_ext=c
75648 ac_cpp='$CPP $CPPFLAGS'
75649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75652
75653
75654 fi
75655
75656 fi
75657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75658 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75659
75660 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75661 for ac_func in _sqrtf
75662 do :
75663 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75664 if test "x$ac_cv_func__sqrtf" = xyes; then :
75665 cat >>confdefs.h <<_ACEOF
75666 #define HAVE__SQRTF 1
75667 _ACEOF
75668
75669 fi
75670 done
75671
75672 fi
75673 fi
75674
75675
75676
75677
75678
75679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75680 $as_echo_n "checking for sincosf declaration... " >&6; }
75681 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75682 if ${glibcxx_cv_func_sincosf_use+:} false; then :
75683 $as_echo_n "(cached) " >&6
75684 else
75685
75686
75687 ac_ext=cpp
75688 ac_cpp='$CXXCPP $CPPFLAGS'
75689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75692
75693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75694 /* end confdefs.h. */
75695 #include <math.h>
75696 int
75697 main ()
75698 {
75699 sincosf(0, 0, 0);
75700 ;
75701 return 0;
75702 }
75703 _ACEOF
75704 if ac_fn_cxx_try_compile "$LINENO"; then :
75705 glibcxx_cv_func_sincosf_use=yes
75706 else
75707 glibcxx_cv_func_sincosf_use=no
75708 fi
75709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75710 ac_ext=c
75711 ac_cpp='$CPP $CPPFLAGS'
75712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75715
75716
75717 fi
75718
75719 fi
75720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75721 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75722
75723 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75724 for ac_func in sincosf
75725 do :
75726 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75727 if test "x$ac_cv_func_sincosf" = xyes; then :
75728 cat >>confdefs.h <<_ACEOF
75729 #define HAVE_SINCOSF 1
75730 _ACEOF
75731
75732 fi
75733 done
75734
75735 else
75736
75737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75738 $as_echo_n "checking for _sincosf declaration... " >&6; }
75739 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75740 if ${glibcxx_cv_func__sincosf_use+:} false; then :
75741 $as_echo_n "(cached) " >&6
75742 else
75743
75744
75745 ac_ext=cpp
75746 ac_cpp='$CXXCPP $CPPFLAGS'
75747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75750
75751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75752 /* end confdefs.h. */
75753 #include <math.h>
75754 int
75755 main ()
75756 {
75757 _sincosf(0, 0, 0);
75758 ;
75759 return 0;
75760 }
75761 _ACEOF
75762 if ac_fn_cxx_try_compile "$LINENO"; then :
75763 glibcxx_cv_func__sincosf_use=yes
75764 else
75765 glibcxx_cv_func__sincosf_use=no
75766 fi
75767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75768 ac_ext=c
75769 ac_cpp='$CPP $CPPFLAGS'
75770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75773
75774
75775 fi
75776
75777 fi
75778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75779 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75780
75781 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75782 for ac_func in _sincosf
75783 do :
75784 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75785 if test "x$ac_cv_func__sincosf" = xyes; then :
75786 cat >>confdefs.h <<_ACEOF
75787 #define HAVE__SINCOSF 1
75788 _ACEOF
75789
75790 fi
75791 done
75792
75793 fi
75794 fi
75795
75796
75797
75798
75799
75800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75801 $as_echo_n "checking for finitef declaration... " >&6; }
75802 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75803 if ${glibcxx_cv_func_finitef_use+:} false; then :
75804 $as_echo_n "(cached) " >&6
75805 else
75806
75807
75808 ac_ext=cpp
75809 ac_cpp='$CXXCPP $CPPFLAGS'
75810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75813
75814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75815 /* end confdefs.h. */
75816 #include <math.h>
75817 #ifdef HAVE_IEEEFP_H
75818 #include <ieeefp.h>
75819 #endif
75820
75821 int
75822 main ()
75823 {
75824 finitef(0);
75825 ;
75826 return 0;
75827 }
75828 _ACEOF
75829 if ac_fn_cxx_try_compile "$LINENO"; then :
75830 glibcxx_cv_func_finitef_use=yes
75831 else
75832 glibcxx_cv_func_finitef_use=no
75833 fi
75834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75835 ac_ext=c
75836 ac_cpp='$CPP $CPPFLAGS'
75837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75840
75841
75842 fi
75843
75844 fi
75845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75846 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75847
75848 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75849 for ac_func in finitef
75850 do :
75851 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75852 if test "x$ac_cv_func_finitef" = xyes; then :
75853 cat >>confdefs.h <<_ACEOF
75854 #define HAVE_FINITEF 1
75855 _ACEOF
75856
75857 fi
75858 done
75859
75860 else
75861
75862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75863 $as_echo_n "checking for _finitef declaration... " >&6; }
75864 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75865 if ${glibcxx_cv_func__finitef_use+:} false; then :
75866 $as_echo_n "(cached) " >&6
75867 else
75868
75869
75870 ac_ext=cpp
75871 ac_cpp='$CXXCPP $CPPFLAGS'
75872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75875
75876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75877 /* end confdefs.h. */
75878 #include <math.h>
75879 #ifdef HAVE_IEEEFP_H
75880 #include <ieeefp.h>
75881 #endif
75882
75883 int
75884 main ()
75885 {
75886 _finitef(0);
75887 ;
75888 return 0;
75889 }
75890 _ACEOF
75891 if ac_fn_cxx_try_compile "$LINENO"; then :
75892 glibcxx_cv_func__finitef_use=yes
75893 else
75894 glibcxx_cv_func__finitef_use=no
75895 fi
75896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75897 ac_ext=c
75898 ac_cpp='$CPP $CPPFLAGS'
75899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75902
75903
75904 fi
75905
75906 fi
75907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75908 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75909
75910 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75911 for ac_func in _finitef
75912 do :
75913 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75914 if test "x$ac_cv_func__finitef" = xyes; then :
75915 cat >>confdefs.h <<_ACEOF
75916 #define HAVE__FINITEF 1
75917 _ACEOF
75918
75919 fi
75920 done
75921
75922 fi
75923 fi
75924
75925
75926
75927
75928
75929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75930 $as_echo_n "checking for long double trig functions... " >&6; }
75931 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
75932 $as_echo_n "(cached) " >&6
75933 else
75934
75935
75936 ac_ext=cpp
75937 ac_cpp='$CXXCPP $CPPFLAGS'
75938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75941
75942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75943 /* end confdefs.h. */
75944 #include <math.h>
75945 int
75946 main ()
75947 {
75948 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75949 ;
75950 return 0;
75951 }
75952 _ACEOF
75953 if ac_fn_cxx_try_compile "$LINENO"; then :
75954 glibcxx_cv_func_long_double_trig_use=yes
75955 else
75956 glibcxx_cv_func_long_double_trig_use=no
75957 fi
75958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75959 ac_ext=c
75960 ac_cpp='$CPP $CPPFLAGS'
75961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75964
75965 fi
75966
75967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75968 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75969 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75970 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75971 do :
75972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75974 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
75975 cat >>confdefs.h <<_ACEOF
75976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75977 _ACEOF
75978
75979 fi
75980 done
75981
75982 else
75983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75984 $as_echo_n "checking for _long double trig functions... " >&6; }
75985 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
75986 $as_echo_n "(cached) " >&6
75987 else
75988
75989
75990 ac_ext=cpp
75991 ac_cpp='$CXXCPP $CPPFLAGS'
75992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75995
75996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75997 /* end confdefs.h. */
75998 #include <math.h>
75999 int
76000 main ()
76001 {
76002 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
76003 ;
76004 return 0;
76005 }
76006 _ACEOF
76007 if ac_fn_cxx_try_compile "$LINENO"; then :
76008 glibcxx_cv_func__long_double_trig_use=yes
76009 else
76010 glibcxx_cv_func__long_double_trig_use=no
76011 fi
76012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76013 ac_ext=c
76014 ac_cpp='$CPP $CPPFLAGS'
76015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76018
76019 fi
76020
76021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
76022 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
76023 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
76024 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
76025 do :
76026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76028 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76029 cat >>confdefs.h <<_ACEOF
76030 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76031 _ACEOF
76032
76033 fi
76034 done
76035
76036 fi
76037 fi
76038
76039
76040
76041
76042
76043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
76044 $as_echo_n "checking for long double round functions... " >&6; }
76045 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
76046 $as_echo_n "(cached) " >&6
76047 else
76048
76049
76050 ac_ext=cpp
76051 ac_cpp='$CXXCPP $CPPFLAGS'
76052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76055
76056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76057 /* end confdefs.h. */
76058 #include <math.h>
76059 int
76060 main ()
76061 {
76062 ceill (0); floorl (0);
76063 ;
76064 return 0;
76065 }
76066 _ACEOF
76067 if ac_fn_cxx_try_compile "$LINENO"; then :
76068 glibcxx_cv_func_long_double_round_use=yes
76069 else
76070 glibcxx_cv_func_long_double_round_use=no
76071 fi
76072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76073 ac_ext=c
76074 ac_cpp='$CPP $CPPFLAGS'
76075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76078
76079 fi
76080
76081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
76082 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
76083 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
76084 for ac_func in ceill floorl
76085 do :
76086 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76087 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76088 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76089 cat >>confdefs.h <<_ACEOF
76090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76091 _ACEOF
76092
76093 fi
76094 done
76095
76096 else
76097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
76098 $as_echo_n "checking for _long double round functions... " >&6; }
76099 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
76100 $as_echo_n "(cached) " >&6
76101 else
76102
76103
76104 ac_ext=cpp
76105 ac_cpp='$CXXCPP $CPPFLAGS'
76106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76109
76110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76111 /* end confdefs.h. */
76112 #include <math.h>
76113 int
76114 main ()
76115 {
76116 _ceill (0); _floorl (0);
76117 ;
76118 return 0;
76119 }
76120 _ACEOF
76121 if ac_fn_cxx_try_compile "$LINENO"; then :
76122 glibcxx_cv_func__long_double_round_use=yes
76123 else
76124 glibcxx_cv_func__long_double_round_use=no
76125 fi
76126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76127 ac_ext=c
76128 ac_cpp='$CPP $CPPFLAGS'
76129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76132
76133 fi
76134
76135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
76136 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
76137 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76138 for ac_func in _ceill _floorl
76139 do :
76140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76141 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76142 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76143 cat >>confdefs.h <<_ACEOF
76144 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76145 _ACEOF
76146
76147 fi
76148 done
76149
76150 fi
76151 fi
76152
76153
76154
76155
76156
76157
76158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76159 $as_echo_n "checking for isnanl declaration... " >&6; }
76160 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76161 if ${glibcxx_cv_func_isnanl_use+:} false; then :
76162 $as_echo_n "(cached) " >&6
76163 else
76164
76165
76166 ac_ext=cpp
76167 ac_cpp='$CXXCPP $CPPFLAGS'
76168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76171
76172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76173 /* end confdefs.h. */
76174 #include <math.h>
76175 #ifdef HAVE_IEEEFP_H
76176 #include <ieeefp.h>
76177 #endif
76178
76179 int
76180 main ()
76181 {
76182 isnanl(0);
76183 ;
76184 return 0;
76185 }
76186 _ACEOF
76187 if ac_fn_cxx_try_compile "$LINENO"; then :
76188 glibcxx_cv_func_isnanl_use=yes
76189 else
76190 glibcxx_cv_func_isnanl_use=no
76191 fi
76192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76193 ac_ext=c
76194 ac_cpp='$CPP $CPPFLAGS'
76195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76198
76199
76200 fi
76201
76202 fi
76203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76204 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76205
76206 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76207 for ac_func in isnanl
76208 do :
76209 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76210 if test "x$ac_cv_func_isnanl" = xyes; then :
76211 cat >>confdefs.h <<_ACEOF
76212 #define HAVE_ISNANL 1
76213 _ACEOF
76214
76215 fi
76216 done
76217
76218 else
76219
76220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76221 $as_echo_n "checking for _isnanl declaration... " >&6; }
76222 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76223 if ${glibcxx_cv_func__isnanl_use+:} false; then :
76224 $as_echo_n "(cached) " >&6
76225 else
76226
76227
76228 ac_ext=cpp
76229 ac_cpp='$CXXCPP $CPPFLAGS'
76230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76233
76234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76235 /* end confdefs.h. */
76236 #include <math.h>
76237 #ifdef HAVE_IEEEFP_H
76238 #include <ieeefp.h>
76239 #endif
76240
76241 int
76242 main ()
76243 {
76244 _isnanl(0);
76245 ;
76246 return 0;
76247 }
76248 _ACEOF
76249 if ac_fn_cxx_try_compile "$LINENO"; then :
76250 glibcxx_cv_func__isnanl_use=yes
76251 else
76252 glibcxx_cv_func__isnanl_use=no
76253 fi
76254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76255 ac_ext=c
76256 ac_cpp='$CPP $CPPFLAGS'
76257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76260
76261
76262 fi
76263
76264 fi
76265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76266 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76267
76268 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76269 for ac_func in _isnanl
76270 do :
76271 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76272 if test "x$ac_cv_func__isnanl" = xyes; then :
76273 cat >>confdefs.h <<_ACEOF
76274 #define HAVE__ISNANL 1
76275 _ACEOF
76276
76277 fi
76278 done
76279
76280 fi
76281 fi
76282
76283
76284
76285
76286
76287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76288 $as_echo_n "checking for isinfl declaration... " >&6; }
76289 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76290 if ${glibcxx_cv_func_isinfl_use+:} false; then :
76291 $as_echo_n "(cached) " >&6
76292 else
76293
76294
76295 ac_ext=cpp
76296 ac_cpp='$CXXCPP $CPPFLAGS'
76297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76300
76301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76302 /* end confdefs.h. */
76303 #include <math.h>
76304 #ifdef HAVE_IEEEFP_H
76305 #include <ieeefp.h>
76306 #endif
76307
76308 int
76309 main ()
76310 {
76311 isinfl(0);
76312 ;
76313 return 0;
76314 }
76315 _ACEOF
76316 if ac_fn_cxx_try_compile "$LINENO"; then :
76317 glibcxx_cv_func_isinfl_use=yes
76318 else
76319 glibcxx_cv_func_isinfl_use=no
76320 fi
76321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76322 ac_ext=c
76323 ac_cpp='$CPP $CPPFLAGS'
76324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76327
76328
76329 fi
76330
76331 fi
76332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76333 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76334
76335 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76336 for ac_func in isinfl
76337 do :
76338 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76339 if test "x$ac_cv_func_isinfl" = xyes; then :
76340 cat >>confdefs.h <<_ACEOF
76341 #define HAVE_ISINFL 1
76342 _ACEOF
76343
76344 fi
76345 done
76346
76347 else
76348
76349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76350 $as_echo_n "checking for _isinfl declaration... " >&6; }
76351 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76352 if ${glibcxx_cv_func__isinfl_use+:} false; then :
76353 $as_echo_n "(cached) " >&6
76354 else
76355
76356
76357 ac_ext=cpp
76358 ac_cpp='$CXXCPP $CPPFLAGS'
76359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76362
76363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76364 /* end confdefs.h. */
76365 #include <math.h>
76366 #ifdef HAVE_IEEEFP_H
76367 #include <ieeefp.h>
76368 #endif
76369
76370 int
76371 main ()
76372 {
76373 _isinfl(0);
76374 ;
76375 return 0;
76376 }
76377 _ACEOF
76378 if ac_fn_cxx_try_compile "$LINENO"; then :
76379 glibcxx_cv_func__isinfl_use=yes
76380 else
76381 glibcxx_cv_func__isinfl_use=no
76382 fi
76383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76384 ac_ext=c
76385 ac_cpp='$CPP $CPPFLAGS'
76386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76389
76390
76391 fi
76392
76393 fi
76394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76395 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76396
76397 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76398 for ac_func in _isinfl
76399 do :
76400 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76401 if test "x$ac_cv_func__isinfl" = xyes; then :
76402 cat >>confdefs.h <<_ACEOF
76403 #define HAVE__ISINFL 1
76404 _ACEOF
76405
76406 fi
76407 done
76408
76409 fi
76410 fi
76411
76412
76413
76414
76415
76416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76417 $as_echo_n "checking for atan2l declaration... " >&6; }
76418 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76419 if ${glibcxx_cv_func_atan2l_use+:} false; then :
76420 $as_echo_n "(cached) " >&6
76421 else
76422
76423
76424 ac_ext=cpp
76425 ac_cpp='$CXXCPP $CPPFLAGS'
76426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76429
76430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76431 /* end confdefs.h. */
76432 #include <math.h>
76433 int
76434 main ()
76435 {
76436 atan2l(0, 0);
76437 ;
76438 return 0;
76439 }
76440 _ACEOF
76441 if ac_fn_cxx_try_compile "$LINENO"; then :
76442 glibcxx_cv_func_atan2l_use=yes
76443 else
76444 glibcxx_cv_func_atan2l_use=no
76445 fi
76446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76447 ac_ext=c
76448 ac_cpp='$CPP $CPPFLAGS'
76449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76452
76453
76454 fi
76455
76456 fi
76457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76458 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76459
76460 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76461 for ac_func in atan2l
76462 do :
76463 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76464 if test "x$ac_cv_func_atan2l" = xyes; then :
76465 cat >>confdefs.h <<_ACEOF
76466 #define HAVE_ATAN2L 1
76467 _ACEOF
76468
76469 fi
76470 done
76471
76472 else
76473
76474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76475 $as_echo_n "checking for _atan2l declaration... " >&6; }
76476 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76477 if ${glibcxx_cv_func__atan2l_use+:} false; then :
76478 $as_echo_n "(cached) " >&6
76479 else
76480
76481
76482 ac_ext=cpp
76483 ac_cpp='$CXXCPP $CPPFLAGS'
76484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76487
76488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76489 /* end confdefs.h. */
76490 #include <math.h>
76491 int
76492 main ()
76493 {
76494 _atan2l(0, 0);
76495 ;
76496 return 0;
76497 }
76498 _ACEOF
76499 if ac_fn_cxx_try_compile "$LINENO"; then :
76500 glibcxx_cv_func__atan2l_use=yes
76501 else
76502 glibcxx_cv_func__atan2l_use=no
76503 fi
76504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76505 ac_ext=c
76506 ac_cpp='$CPP $CPPFLAGS'
76507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76510
76511
76512 fi
76513
76514 fi
76515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76516 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76517
76518 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76519 for ac_func in _atan2l
76520 do :
76521 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76522 if test "x$ac_cv_func__atan2l" = xyes; then :
76523 cat >>confdefs.h <<_ACEOF
76524 #define HAVE__ATAN2L 1
76525 _ACEOF
76526
76527 fi
76528 done
76529
76530 fi
76531 fi
76532
76533
76534
76535
76536
76537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76538 $as_echo_n "checking for expl declaration... " >&6; }
76539 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76540 if ${glibcxx_cv_func_expl_use+:} false; then :
76541 $as_echo_n "(cached) " >&6
76542 else
76543
76544
76545 ac_ext=cpp
76546 ac_cpp='$CXXCPP $CPPFLAGS'
76547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76550
76551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76552 /* end confdefs.h. */
76553 #include <math.h>
76554 #ifdef HAVE_IEEEFP_H
76555 #include <ieeefp.h>
76556 #endif
76557
76558 int
76559 main ()
76560 {
76561 expl(0);
76562 ;
76563 return 0;
76564 }
76565 _ACEOF
76566 if ac_fn_cxx_try_compile "$LINENO"; then :
76567 glibcxx_cv_func_expl_use=yes
76568 else
76569 glibcxx_cv_func_expl_use=no
76570 fi
76571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76572 ac_ext=c
76573 ac_cpp='$CPP $CPPFLAGS'
76574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76577
76578
76579 fi
76580
76581 fi
76582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76583 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76584
76585 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76586 for ac_func in expl
76587 do :
76588 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76589 if test "x$ac_cv_func_expl" = xyes; then :
76590 cat >>confdefs.h <<_ACEOF
76591 #define HAVE_EXPL 1
76592 _ACEOF
76593
76594 fi
76595 done
76596
76597 else
76598
76599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76600 $as_echo_n "checking for _expl declaration... " >&6; }
76601 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76602 if ${glibcxx_cv_func__expl_use+:} false; then :
76603 $as_echo_n "(cached) " >&6
76604 else
76605
76606
76607 ac_ext=cpp
76608 ac_cpp='$CXXCPP $CPPFLAGS'
76609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76612
76613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76614 /* end confdefs.h. */
76615 #include <math.h>
76616 #ifdef HAVE_IEEEFP_H
76617 #include <ieeefp.h>
76618 #endif
76619
76620 int
76621 main ()
76622 {
76623 _expl(0);
76624 ;
76625 return 0;
76626 }
76627 _ACEOF
76628 if ac_fn_cxx_try_compile "$LINENO"; then :
76629 glibcxx_cv_func__expl_use=yes
76630 else
76631 glibcxx_cv_func__expl_use=no
76632 fi
76633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76634 ac_ext=c
76635 ac_cpp='$CPP $CPPFLAGS'
76636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76639
76640
76641 fi
76642
76643 fi
76644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76645 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76646
76647 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76648 for ac_func in _expl
76649 do :
76650 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76651 if test "x$ac_cv_func__expl" = xyes; then :
76652 cat >>confdefs.h <<_ACEOF
76653 #define HAVE__EXPL 1
76654 _ACEOF
76655
76656 fi
76657 done
76658
76659 fi
76660 fi
76661
76662
76663
76664
76665
76666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76667 $as_echo_n "checking for fabsl declaration... " >&6; }
76668 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76669 if ${glibcxx_cv_func_fabsl_use+:} false; then :
76670 $as_echo_n "(cached) " >&6
76671 else
76672
76673
76674 ac_ext=cpp
76675 ac_cpp='$CXXCPP $CPPFLAGS'
76676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76679
76680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76681 /* end confdefs.h. */
76682 #include <math.h>
76683 #ifdef HAVE_IEEEFP_H
76684 #include <ieeefp.h>
76685 #endif
76686
76687 int
76688 main ()
76689 {
76690 fabsl(0);
76691 ;
76692 return 0;
76693 }
76694 _ACEOF
76695 if ac_fn_cxx_try_compile "$LINENO"; then :
76696 glibcxx_cv_func_fabsl_use=yes
76697 else
76698 glibcxx_cv_func_fabsl_use=no
76699 fi
76700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76701 ac_ext=c
76702 ac_cpp='$CPP $CPPFLAGS'
76703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76706
76707
76708 fi
76709
76710 fi
76711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76712 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76713
76714 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76715 for ac_func in fabsl
76716 do :
76717 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76718 if test "x$ac_cv_func_fabsl" = xyes; then :
76719 cat >>confdefs.h <<_ACEOF
76720 #define HAVE_FABSL 1
76721 _ACEOF
76722
76723 fi
76724 done
76725
76726 else
76727
76728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76729 $as_echo_n "checking for _fabsl declaration... " >&6; }
76730 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76731 if ${glibcxx_cv_func__fabsl_use+:} false; then :
76732 $as_echo_n "(cached) " >&6
76733 else
76734
76735
76736 ac_ext=cpp
76737 ac_cpp='$CXXCPP $CPPFLAGS'
76738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76741
76742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76743 /* end confdefs.h. */
76744 #include <math.h>
76745 #ifdef HAVE_IEEEFP_H
76746 #include <ieeefp.h>
76747 #endif
76748
76749 int
76750 main ()
76751 {
76752 _fabsl(0);
76753 ;
76754 return 0;
76755 }
76756 _ACEOF
76757 if ac_fn_cxx_try_compile "$LINENO"; then :
76758 glibcxx_cv_func__fabsl_use=yes
76759 else
76760 glibcxx_cv_func__fabsl_use=no
76761 fi
76762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76763 ac_ext=c
76764 ac_cpp='$CPP $CPPFLAGS'
76765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76768
76769
76770 fi
76771
76772 fi
76773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76774 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76775
76776 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76777 for ac_func in _fabsl
76778 do :
76779 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76780 if test "x$ac_cv_func__fabsl" = xyes; then :
76781 cat >>confdefs.h <<_ACEOF
76782 #define HAVE__FABSL 1
76783 _ACEOF
76784
76785 fi
76786 done
76787
76788 fi
76789 fi
76790
76791
76792
76793
76794
76795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76796 $as_echo_n "checking for fmodl declaration... " >&6; }
76797 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76798 if ${glibcxx_cv_func_fmodl_use+:} false; then :
76799 $as_echo_n "(cached) " >&6
76800 else
76801
76802
76803 ac_ext=cpp
76804 ac_cpp='$CXXCPP $CPPFLAGS'
76805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76808
76809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76810 /* end confdefs.h. */
76811 #include <math.h>
76812 int
76813 main ()
76814 {
76815 fmodl(0, 0);
76816 ;
76817 return 0;
76818 }
76819 _ACEOF
76820 if ac_fn_cxx_try_compile "$LINENO"; then :
76821 glibcxx_cv_func_fmodl_use=yes
76822 else
76823 glibcxx_cv_func_fmodl_use=no
76824 fi
76825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76826 ac_ext=c
76827 ac_cpp='$CPP $CPPFLAGS'
76828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76831
76832
76833 fi
76834
76835 fi
76836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76837 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76838
76839 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76840 for ac_func in fmodl
76841 do :
76842 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76843 if test "x$ac_cv_func_fmodl" = xyes; then :
76844 cat >>confdefs.h <<_ACEOF
76845 #define HAVE_FMODL 1
76846 _ACEOF
76847
76848 fi
76849 done
76850
76851 else
76852
76853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76854 $as_echo_n "checking for _fmodl declaration... " >&6; }
76855 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76856 if ${glibcxx_cv_func__fmodl_use+:} false; then :
76857 $as_echo_n "(cached) " >&6
76858 else
76859
76860
76861 ac_ext=cpp
76862 ac_cpp='$CXXCPP $CPPFLAGS'
76863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76866
76867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76868 /* end confdefs.h. */
76869 #include <math.h>
76870 int
76871 main ()
76872 {
76873 _fmodl(0, 0);
76874 ;
76875 return 0;
76876 }
76877 _ACEOF
76878 if ac_fn_cxx_try_compile "$LINENO"; then :
76879 glibcxx_cv_func__fmodl_use=yes
76880 else
76881 glibcxx_cv_func__fmodl_use=no
76882 fi
76883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76884 ac_ext=c
76885 ac_cpp='$CPP $CPPFLAGS'
76886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76889
76890
76891 fi
76892
76893 fi
76894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76895 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76896
76897 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76898 for ac_func in _fmodl
76899 do :
76900 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76901 if test "x$ac_cv_func__fmodl" = xyes; then :
76902 cat >>confdefs.h <<_ACEOF
76903 #define HAVE__FMODL 1
76904 _ACEOF
76905
76906 fi
76907 done
76908
76909 fi
76910 fi
76911
76912
76913
76914
76915
76916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76917 $as_echo_n "checking for frexpl declaration... " >&6; }
76918 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76919 if ${glibcxx_cv_func_frexpl_use+:} false; then :
76920 $as_echo_n "(cached) " >&6
76921 else
76922
76923
76924 ac_ext=cpp
76925 ac_cpp='$CXXCPP $CPPFLAGS'
76926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76929
76930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76931 /* end confdefs.h. */
76932 #include <math.h>
76933 int
76934 main ()
76935 {
76936 frexpl(0, 0);
76937 ;
76938 return 0;
76939 }
76940 _ACEOF
76941 if ac_fn_cxx_try_compile "$LINENO"; then :
76942 glibcxx_cv_func_frexpl_use=yes
76943 else
76944 glibcxx_cv_func_frexpl_use=no
76945 fi
76946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76947 ac_ext=c
76948 ac_cpp='$CPP $CPPFLAGS'
76949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76952
76953
76954 fi
76955
76956 fi
76957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76958 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76959
76960 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76961 for ac_func in frexpl
76962 do :
76963 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76964 if test "x$ac_cv_func_frexpl" = xyes; then :
76965 cat >>confdefs.h <<_ACEOF
76966 #define HAVE_FREXPL 1
76967 _ACEOF
76968
76969 fi
76970 done
76971
76972 else
76973
76974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76975 $as_echo_n "checking for _frexpl declaration... " >&6; }
76976 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76977 if ${glibcxx_cv_func__frexpl_use+:} false; then :
76978 $as_echo_n "(cached) " >&6
76979 else
76980
76981
76982 ac_ext=cpp
76983 ac_cpp='$CXXCPP $CPPFLAGS'
76984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76987
76988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76989 /* end confdefs.h. */
76990 #include <math.h>
76991 int
76992 main ()
76993 {
76994 _frexpl(0, 0);
76995 ;
76996 return 0;
76997 }
76998 _ACEOF
76999 if ac_fn_cxx_try_compile "$LINENO"; then :
77000 glibcxx_cv_func__frexpl_use=yes
77001 else
77002 glibcxx_cv_func__frexpl_use=no
77003 fi
77004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77005 ac_ext=c
77006 ac_cpp='$CPP $CPPFLAGS'
77007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77010
77011
77012 fi
77013
77014 fi
77015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
77016 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
77017
77018 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77019 for ac_func in _frexpl
77020 do :
77021 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
77022 if test "x$ac_cv_func__frexpl" = xyes; then :
77023 cat >>confdefs.h <<_ACEOF
77024 #define HAVE__FREXPL 1
77025 _ACEOF
77026
77027 fi
77028 done
77029
77030 fi
77031 fi
77032
77033
77034
77035
77036
77037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
77038 $as_echo_n "checking for hypotl declaration... " >&6; }
77039 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77040 if ${glibcxx_cv_func_hypotl_use+:} false; then :
77041 $as_echo_n "(cached) " >&6
77042 else
77043
77044
77045 ac_ext=cpp
77046 ac_cpp='$CXXCPP $CPPFLAGS'
77047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77050
77051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77052 /* end confdefs.h. */
77053 #include <math.h>
77054 int
77055 main ()
77056 {
77057 hypotl(0, 0);
77058 ;
77059 return 0;
77060 }
77061 _ACEOF
77062 if ac_fn_cxx_try_compile "$LINENO"; then :
77063 glibcxx_cv_func_hypotl_use=yes
77064 else
77065 glibcxx_cv_func_hypotl_use=no
77066 fi
77067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77068 ac_ext=c
77069 ac_cpp='$CPP $CPPFLAGS'
77070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77073
77074
77075 fi
77076
77077 fi
77078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
77079 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
77080
77081 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77082 for ac_func in hypotl
77083 do :
77084 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
77085 if test "x$ac_cv_func_hypotl" = xyes; then :
77086 cat >>confdefs.h <<_ACEOF
77087 #define HAVE_HYPOTL 1
77088 _ACEOF
77089
77090 fi
77091 done
77092
77093 else
77094
77095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
77096 $as_echo_n "checking for _hypotl declaration... " >&6; }
77097 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77098 if ${glibcxx_cv_func__hypotl_use+:} false; then :
77099 $as_echo_n "(cached) " >&6
77100 else
77101
77102
77103 ac_ext=cpp
77104 ac_cpp='$CXXCPP $CPPFLAGS'
77105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77108
77109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77110 /* end confdefs.h. */
77111 #include <math.h>
77112 int
77113 main ()
77114 {
77115 _hypotl(0, 0);
77116 ;
77117 return 0;
77118 }
77119 _ACEOF
77120 if ac_fn_cxx_try_compile "$LINENO"; then :
77121 glibcxx_cv_func__hypotl_use=yes
77122 else
77123 glibcxx_cv_func__hypotl_use=no
77124 fi
77125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77126 ac_ext=c
77127 ac_cpp='$CPP $CPPFLAGS'
77128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77131
77132
77133 fi
77134
77135 fi
77136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
77137 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
77138
77139 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77140 for ac_func in _hypotl
77141 do :
77142 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
77143 if test "x$ac_cv_func__hypotl" = xyes; then :
77144 cat >>confdefs.h <<_ACEOF
77145 #define HAVE__HYPOTL 1
77146 _ACEOF
77147
77148 fi
77149 done
77150
77151 fi
77152 fi
77153
77154
77155
77156
77157
77158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77159 $as_echo_n "checking for ldexpl declaration... " >&6; }
77160 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77161 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
77162 $as_echo_n "(cached) " >&6
77163 else
77164
77165
77166 ac_ext=cpp
77167 ac_cpp='$CXXCPP $CPPFLAGS'
77168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77171
77172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77173 /* end confdefs.h. */
77174 #include <math.h>
77175 int
77176 main ()
77177 {
77178 ldexpl(0, 0);
77179 ;
77180 return 0;
77181 }
77182 _ACEOF
77183 if ac_fn_cxx_try_compile "$LINENO"; then :
77184 glibcxx_cv_func_ldexpl_use=yes
77185 else
77186 glibcxx_cv_func_ldexpl_use=no
77187 fi
77188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77189 ac_ext=c
77190 ac_cpp='$CPP $CPPFLAGS'
77191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77194
77195
77196 fi
77197
77198 fi
77199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77200 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77201
77202 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77203 for ac_func in ldexpl
77204 do :
77205 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77206 if test "x$ac_cv_func_ldexpl" = xyes; then :
77207 cat >>confdefs.h <<_ACEOF
77208 #define HAVE_LDEXPL 1
77209 _ACEOF
77210
77211 fi
77212 done
77213
77214 else
77215
77216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77217 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77218 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77219 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
77220 $as_echo_n "(cached) " >&6
77221 else
77222
77223
77224 ac_ext=cpp
77225 ac_cpp='$CXXCPP $CPPFLAGS'
77226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77229
77230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77231 /* end confdefs.h. */
77232 #include <math.h>
77233 int
77234 main ()
77235 {
77236 _ldexpl(0, 0);
77237 ;
77238 return 0;
77239 }
77240 _ACEOF
77241 if ac_fn_cxx_try_compile "$LINENO"; then :
77242 glibcxx_cv_func__ldexpl_use=yes
77243 else
77244 glibcxx_cv_func__ldexpl_use=no
77245 fi
77246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77247 ac_ext=c
77248 ac_cpp='$CPP $CPPFLAGS'
77249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77252
77253
77254 fi
77255
77256 fi
77257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77258 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77259
77260 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77261 for ac_func in _ldexpl
77262 do :
77263 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77264 if test "x$ac_cv_func__ldexpl" = xyes; then :
77265 cat >>confdefs.h <<_ACEOF
77266 #define HAVE__LDEXPL 1
77267 _ACEOF
77268
77269 fi
77270 done
77271
77272 fi
77273 fi
77274
77275
77276
77277
77278
77279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77280 $as_echo_n "checking for logl declaration... " >&6; }
77281 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77282 if ${glibcxx_cv_func_logl_use+:} false; then :
77283 $as_echo_n "(cached) " >&6
77284 else
77285
77286
77287 ac_ext=cpp
77288 ac_cpp='$CXXCPP $CPPFLAGS'
77289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77292
77293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77294 /* end confdefs.h. */
77295 #include <math.h>
77296 #ifdef HAVE_IEEEFP_H
77297 #include <ieeefp.h>
77298 #endif
77299
77300 int
77301 main ()
77302 {
77303 logl(0);
77304 ;
77305 return 0;
77306 }
77307 _ACEOF
77308 if ac_fn_cxx_try_compile "$LINENO"; then :
77309 glibcxx_cv_func_logl_use=yes
77310 else
77311 glibcxx_cv_func_logl_use=no
77312 fi
77313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77314 ac_ext=c
77315 ac_cpp='$CPP $CPPFLAGS'
77316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77319
77320
77321 fi
77322
77323 fi
77324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77325 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77326
77327 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77328 for ac_func in logl
77329 do :
77330 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77331 if test "x$ac_cv_func_logl" = xyes; then :
77332 cat >>confdefs.h <<_ACEOF
77333 #define HAVE_LOGL 1
77334 _ACEOF
77335
77336 fi
77337 done
77338
77339 else
77340
77341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77342 $as_echo_n "checking for _logl declaration... " >&6; }
77343 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77344 if ${glibcxx_cv_func__logl_use+:} false; then :
77345 $as_echo_n "(cached) " >&6
77346 else
77347
77348
77349 ac_ext=cpp
77350 ac_cpp='$CXXCPP $CPPFLAGS'
77351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77354
77355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77356 /* end confdefs.h. */
77357 #include <math.h>
77358 #ifdef HAVE_IEEEFP_H
77359 #include <ieeefp.h>
77360 #endif
77361
77362 int
77363 main ()
77364 {
77365 _logl(0);
77366 ;
77367 return 0;
77368 }
77369 _ACEOF
77370 if ac_fn_cxx_try_compile "$LINENO"; then :
77371 glibcxx_cv_func__logl_use=yes
77372 else
77373 glibcxx_cv_func__logl_use=no
77374 fi
77375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77376 ac_ext=c
77377 ac_cpp='$CPP $CPPFLAGS'
77378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77381
77382
77383 fi
77384
77385 fi
77386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77387 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77388
77389 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77390 for ac_func in _logl
77391 do :
77392 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77393 if test "x$ac_cv_func__logl" = xyes; then :
77394 cat >>confdefs.h <<_ACEOF
77395 #define HAVE__LOGL 1
77396 _ACEOF
77397
77398 fi
77399 done
77400
77401 fi
77402 fi
77403
77404
77405
77406
77407
77408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77409 $as_echo_n "checking for log10l declaration... " >&6; }
77410 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77411 if ${glibcxx_cv_func_log10l_use+:} false; then :
77412 $as_echo_n "(cached) " >&6
77413 else
77414
77415
77416 ac_ext=cpp
77417 ac_cpp='$CXXCPP $CPPFLAGS'
77418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77421
77422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77423 /* end confdefs.h. */
77424 #include <math.h>
77425 #ifdef HAVE_IEEEFP_H
77426 #include <ieeefp.h>
77427 #endif
77428
77429 int
77430 main ()
77431 {
77432 log10l(0);
77433 ;
77434 return 0;
77435 }
77436 _ACEOF
77437 if ac_fn_cxx_try_compile "$LINENO"; then :
77438 glibcxx_cv_func_log10l_use=yes
77439 else
77440 glibcxx_cv_func_log10l_use=no
77441 fi
77442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77443 ac_ext=c
77444 ac_cpp='$CPP $CPPFLAGS'
77445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77448
77449
77450 fi
77451
77452 fi
77453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77454 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77455
77456 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77457 for ac_func in log10l
77458 do :
77459 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77460 if test "x$ac_cv_func_log10l" = xyes; then :
77461 cat >>confdefs.h <<_ACEOF
77462 #define HAVE_LOG10L 1
77463 _ACEOF
77464
77465 fi
77466 done
77467
77468 else
77469
77470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77471 $as_echo_n "checking for _log10l declaration... " >&6; }
77472 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77473 if ${glibcxx_cv_func__log10l_use+:} false; then :
77474 $as_echo_n "(cached) " >&6
77475 else
77476
77477
77478 ac_ext=cpp
77479 ac_cpp='$CXXCPP $CPPFLAGS'
77480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77483
77484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77485 /* end confdefs.h. */
77486 #include <math.h>
77487 #ifdef HAVE_IEEEFP_H
77488 #include <ieeefp.h>
77489 #endif
77490
77491 int
77492 main ()
77493 {
77494 _log10l(0);
77495 ;
77496 return 0;
77497 }
77498 _ACEOF
77499 if ac_fn_cxx_try_compile "$LINENO"; then :
77500 glibcxx_cv_func__log10l_use=yes
77501 else
77502 glibcxx_cv_func__log10l_use=no
77503 fi
77504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77505 ac_ext=c
77506 ac_cpp='$CPP $CPPFLAGS'
77507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77510
77511
77512 fi
77513
77514 fi
77515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77516 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77517
77518 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77519 for ac_func in _log10l
77520 do :
77521 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77522 if test "x$ac_cv_func__log10l" = xyes; then :
77523 cat >>confdefs.h <<_ACEOF
77524 #define HAVE__LOG10L 1
77525 _ACEOF
77526
77527 fi
77528 done
77529
77530 fi
77531 fi
77532
77533
77534
77535
77536
77537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77538 $as_echo_n "checking for modfl declaration... " >&6; }
77539 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77540 if ${glibcxx_cv_func_modfl_use+:} false; then :
77541 $as_echo_n "(cached) " >&6
77542 else
77543
77544
77545 ac_ext=cpp
77546 ac_cpp='$CXXCPP $CPPFLAGS'
77547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77550
77551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77552 /* end confdefs.h. */
77553 #include <math.h>
77554 int
77555 main ()
77556 {
77557 modfl(0, 0);
77558 ;
77559 return 0;
77560 }
77561 _ACEOF
77562 if ac_fn_cxx_try_compile "$LINENO"; then :
77563 glibcxx_cv_func_modfl_use=yes
77564 else
77565 glibcxx_cv_func_modfl_use=no
77566 fi
77567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77568 ac_ext=c
77569 ac_cpp='$CPP $CPPFLAGS'
77570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77573
77574
77575 fi
77576
77577 fi
77578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77579 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77580
77581 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77582 for ac_func in modfl
77583 do :
77584 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77585 if test "x$ac_cv_func_modfl" = xyes; then :
77586 cat >>confdefs.h <<_ACEOF
77587 #define HAVE_MODFL 1
77588 _ACEOF
77589
77590 fi
77591 done
77592
77593 else
77594
77595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77596 $as_echo_n "checking for _modfl declaration... " >&6; }
77597 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77598 if ${glibcxx_cv_func__modfl_use+:} false; then :
77599 $as_echo_n "(cached) " >&6
77600 else
77601
77602
77603 ac_ext=cpp
77604 ac_cpp='$CXXCPP $CPPFLAGS'
77605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77608
77609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77610 /* end confdefs.h. */
77611 #include <math.h>
77612 int
77613 main ()
77614 {
77615 _modfl(0, 0);
77616 ;
77617 return 0;
77618 }
77619 _ACEOF
77620 if ac_fn_cxx_try_compile "$LINENO"; then :
77621 glibcxx_cv_func__modfl_use=yes
77622 else
77623 glibcxx_cv_func__modfl_use=no
77624 fi
77625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77626 ac_ext=c
77627 ac_cpp='$CPP $CPPFLAGS'
77628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77631
77632
77633 fi
77634
77635 fi
77636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77637 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77638
77639 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77640 for ac_func in _modfl
77641 do :
77642 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77643 if test "x$ac_cv_func__modfl" = xyes; then :
77644 cat >>confdefs.h <<_ACEOF
77645 #define HAVE__MODFL 1
77646 _ACEOF
77647
77648 fi
77649 done
77650
77651 fi
77652 fi
77653
77654
77655
77656
77657
77658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77659 $as_echo_n "checking for powl declaration... " >&6; }
77660 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77661 if ${glibcxx_cv_func_powl_use+:} false; then :
77662 $as_echo_n "(cached) " >&6
77663 else
77664
77665
77666 ac_ext=cpp
77667 ac_cpp='$CXXCPP $CPPFLAGS'
77668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77671
77672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77673 /* end confdefs.h. */
77674 #include <math.h>
77675 int
77676 main ()
77677 {
77678 powl(0, 0);
77679 ;
77680 return 0;
77681 }
77682 _ACEOF
77683 if ac_fn_cxx_try_compile "$LINENO"; then :
77684 glibcxx_cv_func_powl_use=yes
77685 else
77686 glibcxx_cv_func_powl_use=no
77687 fi
77688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77689 ac_ext=c
77690 ac_cpp='$CPP $CPPFLAGS'
77691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77694
77695
77696 fi
77697
77698 fi
77699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77700 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77701
77702 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77703 for ac_func in powl
77704 do :
77705 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77706 if test "x$ac_cv_func_powl" = xyes; then :
77707 cat >>confdefs.h <<_ACEOF
77708 #define HAVE_POWL 1
77709 _ACEOF
77710
77711 fi
77712 done
77713
77714 else
77715
77716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77717 $as_echo_n "checking for _powl declaration... " >&6; }
77718 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77719 if ${glibcxx_cv_func__powl_use+:} false; then :
77720 $as_echo_n "(cached) " >&6
77721 else
77722
77723
77724 ac_ext=cpp
77725 ac_cpp='$CXXCPP $CPPFLAGS'
77726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77729
77730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77731 /* end confdefs.h. */
77732 #include <math.h>
77733 int
77734 main ()
77735 {
77736 _powl(0, 0);
77737 ;
77738 return 0;
77739 }
77740 _ACEOF
77741 if ac_fn_cxx_try_compile "$LINENO"; then :
77742 glibcxx_cv_func__powl_use=yes
77743 else
77744 glibcxx_cv_func__powl_use=no
77745 fi
77746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77747 ac_ext=c
77748 ac_cpp='$CPP $CPPFLAGS'
77749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77752
77753
77754 fi
77755
77756 fi
77757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77758 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77759
77760 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77761 for ac_func in _powl
77762 do :
77763 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77764 if test "x$ac_cv_func__powl" = xyes; then :
77765 cat >>confdefs.h <<_ACEOF
77766 #define HAVE__POWL 1
77767 _ACEOF
77768
77769 fi
77770 done
77771
77772 fi
77773 fi
77774
77775
77776
77777
77778
77779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77780 $as_echo_n "checking for sqrtl declaration... " >&6; }
77781 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77782 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
77783 $as_echo_n "(cached) " >&6
77784 else
77785
77786
77787 ac_ext=cpp
77788 ac_cpp='$CXXCPP $CPPFLAGS'
77789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77792
77793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77794 /* end confdefs.h. */
77795 #include <math.h>
77796 #ifdef HAVE_IEEEFP_H
77797 #include <ieeefp.h>
77798 #endif
77799
77800 int
77801 main ()
77802 {
77803 sqrtl(0);
77804 ;
77805 return 0;
77806 }
77807 _ACEOF
77808 if ac_fn_cxx_try_compile "$LINENO"; then :
77809 glibcxx_cv_func_sqrtl_use=yes
77810 else
77811 glibcxx_cv_func_sqrtl_use=no
77812 fi
77813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77814 ac_ext=c
77815 ac_cpp='$CPP $CPPFLAGS'
77816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77819
77820
77821 fi
77822
77823 fi
77824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77825 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77826
77827 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77828 for ac_func in sqrtl
77829 do :
77830 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77831 if test "x$ac_cv_func_sqrtl" = xyes; then :
77832 cat >>confdefs.h <<_ACEOF
77833 #define HAVE_SQRTL 1
77834 _ACEOF
77835
77836 fi
77837 done
77838
77839 else
77840
77841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77842 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77843 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77844 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
77845 $as_echo_n "(cached) " >&6
77846 else
77847
77848
77849 ac_ext=cpp
77850 ac_cpp='$CXXCPP $CPPFLAGS'
77851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77854
77855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77856 /* end confdefs.h. */
77857 #include <math.h>
77858 #ifdef HAVE_IEEEFP_H
77859 #include <ieeefp.h>
77860 #endif
77861
77862 int
77863 main ()
77864 {
77865 _sqrtl(0);
77866 ;
77867 return 0;
77868 }
77869 _ACEOF
77870 if ac_fn_cxx_try_compile "$LINENO"; then :
77871 glibcxx_cv_func__sqrtl_use=yes
77872 else
77873 glibcxx_cv_func__sqrtl_use=no
77874 fi
77875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77876 ac_ext=c
77877 ac_cpp='$CPP $CPPFLAGS'
77878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77881
77882
77883 fi
77884
77885 fi
77886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77887 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77888
77889 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77890 for ac_func in _sqrtl
77891 do :
77892 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77893 if test "x$ac_cv_func__sqrtl" = xyes; then :
77894 cat >>confdefs.h <<_ACEOF
77895 #define HAVE__SQRTL 1
77896 _ACEOF
77897
77898 fi
77899 done
77900
77901 fi
77902 fi
77903
77904
77905
77906
77907
77908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77909 $as_echo_n "checking for sincosl declaration... " >&6; }
77910 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77911 if ${glibcxx_cv_func_sincosl_use+:} false; then :
77912 $as_echo_n "(cached) " >&6
77913 else
77914
77915
77916 ac_ext=cpp
77917 ac_cpp='$CXXCPP $CPPFLAGS'
77918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77921
77922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77923 /* end confdefs.h. */
77924 #include <math.h>
77925 int
77926 main ()
77927 {
77928 sincosl(0, 0, 0);
77929 ;
77930 return 0;
77931 }
77932 _ACEOF
77933 if ac_fn_cxx_try_compile "$LINENO"; then :
77934 glibcxx_cv_func_sincosl_use=yes
77935 else
77936 glibcxx_cv_func_sincosl_use=no
77937 fi
77938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77939 ac_ext=c
77940 ac_cpp='$CPP $CPPFLAGS'
77941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77944
77945
77946 fi
77947
77948 fi
77949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77950 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77951
77952 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77953 for ac_func in sincosl
77954 do :
77955 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77956 if test "x$ac_cv_func_sincosl" = xyes; then :
77957 cat >>confdefs.h <<_ACEOF
77958 #define HAVE_SINCOSL 1
77959 _ACEOF
77960
77961 fi
77962 done
77963
77964 else
77965
77966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77967 $as_echo_n "checking for _sincosl declaration... " >&6; }
77968 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77969 if ${glibcxx_cv_func__sincosl_use+:} false; then :
77970 $as_echo_n "(cached) " >&6
77971 else
77972
77973
77974 ac_ext=cpp
77975 ac_cpp='$CXXCPP $CPPFLAGS'
77976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77979
77980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77981 /* end confdefs.h. */
77982 #include <math.h>
77983 int
77984 main ()
77985 {
77986 _sincosl(0, 0, 0);
77987 ;
77988 return 0;
77989 }
77990 _ACEOF
77991 if ac_fn_cxx_try_compile "$LINENO"; then :
77992 glibcxx_cv_func__sincosl_use=yes
77993 else
77994 glibcxx_cv_func__sincosl_use=no
77995 fi
77996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77997 ac_ext=c
77998 ac_cpp='$CPP $CPPFLAGS'
77999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78002
78003
78004 fi
78005
78006 fi
78007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
78008 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
78009
78010 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
78011 for ac_func in _sincosl
78012 do :
78013 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
78014 if test "x$ac_cv_func__sincosl" = xyes; then :
78015 cat >>confdefs.h <<_ACEOF
78016 #define HAVE__SINCOSL 1
78017 _ACEOF
78018
78019 fi
78020 done
78021
78022 fi
78023 fi
78024
78025
78026
78027
78028
78029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
78030 $as_echo_n "checking for finitel declaration... " >&6; }
78031 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
78032 if ${glibcxx_cv_func_finitel_use+:} false; then :
78033 $as_echo_n "(cached) " >&6
78034 else
78035
78036
78037 ac_ext=cpp
78038 ac_cpp='$CXXCPP $CPPFLAGS'
78039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78042
78043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78044 /* end confdefs.h. */
78045 #include <math.h>
78046 #ifdef HAVE_IEEEFP_H
78047 #include <ieeefp.h>
78048 #endif
78049
78050 int
78051 main ()
78052 {
78053 finitel(0);
78054 ;
78055 return 0;
78056 }
78057 _ACEOF
78058 if ac_fn_cxx_try_compile "$LINENO"; then :
78059 glibcxx_cv_func_finitel_use=yes
78060 else
78061 glibcxx_cv_func_finitel_use=no
78062 fi
78063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78064 ac_ext=c
78065 ac_cpp='$CPP $CPPFLAGS'
78066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78069
78070
78071 fi
78072
78073 fi
78074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
78075 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
78076
78077 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78078 for ac_func in finitel
78079 do :
78080 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
78081 if test "x$ac_cv_func_finitel" = xyes; then :
78082 cat >>confdefs.h <<_ACEOF
78083 #define HAVE_FINITEL 1
78084 _ACEOF
78085
78086 fi
78087 done
78088
78089 else
78090
78091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
78092 $as_echo_n "checking for _finitel declaration... " >&6; }
78093 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78094 if ${glibcxx_cv_func__finitel_use+:} false; then :
78095 $as_echo_n "(cached) " >&6
78096 else
78097
78098
78099 ac_ext=cpp
78100 ac_cpp='$CXXCPP $CPPFLAGS'
78101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78104
78105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78106 /* end confdefs.h. */
78107 #include <math.h>
78108 #ifdef HAVE_IEEEFP_H
78109 #include <ieeefp.h>
78110 #endif
78111
78112 int
78113 main ()
78114 {
78115 _finitel(0);
78116 ;
78117 return 0;
78118 }
78119 _ACEOF
78120 if ac_fn_cxx_try_compile "$LINENO"; then :
78121 glibcxx_cv_func__finitel_use=yes
78122 else
78123 glibcxx_cv_func__finitel_use=no
78124 fi
78125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78126 ac_ext=c
78127 ac_cpp='$CPP $CPPFLAGS'
78128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78131
78132
78133 fi
78134
78135 fi
78136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
78137 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
78138
78139 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78140 for ac_func in _finitel
78141 do :
78142 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
78143 if test "x$ac_cv_func__finitel" = xyes; then :
78144 cat >>confdefs.h <<_ACEOF
78145 #define HAVE__FINITEL 1
78146 _ACEOF
78147
78148 fi
78149 done
78150
78151 fi
78152 fi
78153
78154
78155
78156
78157 LIBS="$ac_save_LIBS"
78158 CXXFLAGS="$ac_save_CXXFLAGS"
78159
78160
78161 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78162 ac_save_CXXFLAGS="$CXXFLAGS"
78163 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78164
78165
78166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78167 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78168 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78169 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
78170 $as_echo_n "(cached) " >&6
78171 else
78172
78173
78174 ac_ext=cpp
78175 ac_cpp='$CXXCPP $CPPFLAGS'
78176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78179
78180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78181 /* end confdefs.h. */
78182 #include <stdlib.h>
78183 int
78184 main ()
78185 {
78186 at_quick_exit(0);
78187 ;
78188 return 0;
78189 }
78190 _ACEOF
78191 if ac_fn_cxx_try_compile "$LINENO"; then :
78192 glibcxx_cv_func_at_quick_exit_use=yes
78193 else
78194 glibcxx_cv_func_at_quick_exit_use=no
78195 fi
78196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78197 ac_ext=c
78198 ac_cpp='$CPP $CPPFLAGS'
78199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78202
78203
78204 fi
78205
78206 fi
78207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78208 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78209 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78210 for ac_func in at_quick_exit
78211 do :
78212 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78213 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
78214 cat >>confdefs.h <<_ACEOF
78215 #define HAVE_AT_QUICK_EXIT 1
78216 _ACEOF
78217
78218 fi
78219 done
78220
78221 fi
78222
78223
78224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78225 $as_echo_n "checking for quick_exit declaration... " >&6; }
78226 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78227 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
78228 $as_echo_n "(cached) " >&6
78229 else
78230
78231
78232 ac_ext=cpp
78233 ac_cpp='$CXXCPP $CPPFLAGS'
78234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78237
78238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78239 /* end confdefs.h. */
78240 #include <stdlib.h>
78241 int
78242 main ()
78243 {
78244 quick_exit(0);
78245 ;
78246 return 0;
78247 }
78248 _ACEOF
78249 if ac_fn_cxx_try_compile "$LINENO"; then :
78250 glibcxx_cv_func_quick_exit_use=yes
78251 else
78252 glibcxx_cv_func_quick_exit_use=no
78253 fi
78254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78255 ac_ext=c
78256 ac_cpp='$CPP $CPPFLAGS'
78257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78260
78261
78262 fi
78263
78264 fi
78265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78266 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78267 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78268 for ac_func in quick_exit
78269 do :
78270 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78271 if test "x$ac_cv_func_quick_exit" = xyes; then :
78272 cat >>confdefs.h <<_ACEOF
78273 #define HAVE_QUICK_EXIT 1
78274 _ACEOF
78275
78276 fi
78277 done
78278
78279 fi
78280
78281
78282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78283 $as_echo_n "checking for strtold declaration... " >&6; }
78284 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78285 if ${glibcxx_cv_func_strtold_use+:} false; then :
78286 $as_echo_n "(cached) " >&6
78287 else
78288
78289
78290 ac_ext=cpp
78291 ac_cpp='$CXXCPP $CPPFLAGS'
78292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78295
78296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78297 /* end confdefs.h. */
78298 #include <stdlib.h>
78299 int
78300 main ()
78301 {
78302 strtold(0, 0);
78303 ;
78304 return 0;
78305 }
78306 _ACEOF
78307 if ac_fn_cxx_try_compile "$LINENO"; then :
78308 glibcxx_cv_func_strtold_use=yes
78309 else
78310 glibcxx_cv_func_strtold_use=no
78311 fi
78312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78313 ac_ext=c
78314 ac_cpp='$CPP $CPPFLAGS'
78315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78318
78319
78320 fi
78321
78322 fi
78323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78324 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78325 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78326 for ac_func in strtold
78327 do :
78328 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78329 if test "x$ac_cv_func_strtold" = xyes; then :
78330 cat >>confdefs.h <<_ACEOF
78331 #define HAVE_STRTOLD 1
78332 _ACEOF
78333
78334 fi
78335 done
78336
78337 fi
78338
78339
78340
78341
78342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78343 $as_echo_n "checking for strtof declaration... " >&6; }
78344 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78345 if ${glibcxx_cv_func_strtof_use+:} false; then :
78346 $as_echo_n "(cached) " >&6
78347 else
78348
78349
78350 ac_ext=cpp
78351 ac_cpp='$CXXCPP $CPPFLAGS'
78352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78355
78356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78357 /* end confdefs.h. */
78358 #include <stdlib.h>
78359 int
78360 main ()
78361 {
78362 strtof(0, 0);
78363 ;
78364 return 0;
78365 }
78366 _ACEOF
78367 if ac_fn_cxx_try_compile "$LINENO"; then :
78368 glibcxx_cv_func_strtof_use=yes
78369 else
78370 glibcxx_cv_func_strtof_use=no
78371 fi
78372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78373 ac_ext=c
78374 ac_cpp='$CPP $CPPFLAGS'
78375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78378
78379
78380 fi
78381
78382 fi
78383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78384 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78385 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78386 for ac_func in strtof
78387 do :
78388 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78389 if test "x$ac_cv_func_strtof" = xyes; then :
78390 cat >>confdefs.h <<_ACEOF
78391 #define HAVE_STRTOF 1
78392 _ACEOF
78393
78394 fi
78395 done
78396
78397 fi
78398
78399
78400
78401
78402 CXXFLAGS="$ac_save_CXXFLAGS"
78403
78404 ;;
78405 *-vxworks)
78406 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78407
78408 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78409
78410 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78411
78412 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78413
78414 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78415
78416 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78417
78418 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78419
78420 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78421
78422 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78423
78424 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78425
78426 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78427
78428 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78429
78430 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78431
78432 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78433
78434 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78435
78436 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78437
78438 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78439
78440 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78441
78442 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78443
78444 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78445
78446 ;;
78447 *)
78448 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
78449 ;;
78450 esac
78451
78452 fi
78453
78454 # At some point, we should differentiate between architectures
78455 # like x86, which have long double versions, and alpha/powerpc/etc.,
78456 # which don't. For the time being, punt.
78457 if test x"long_double_math_on_this_cpu" = x"yes"; then
78458 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78459
78460 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78461
78462 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78463
78464 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78465
78466 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78467
78468 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78469
78470 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78471
78472 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78473
78474 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78475
78476 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78477
78478 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78479
78480 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78481
78482 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78483
78484 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78485
78486 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78487
78488 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78489
78490 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78491
78492 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78493
78494 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78495
78496 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78497
78498 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78499
78500 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78501
78502 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78503
78504 fi
78505 fi
78506
78507 # Check for _Unwind_GetIPInfo.
78508
78509
78510 # Check whether --with-system-libunwind was given.
78511 if test "${with_system_libunwind+set}" = set; then :
78512 withval=$with_system_libunwind;
78513 fi
78514
78515 # If system-libunwind was not specifically set, pick a default setting.
78516 if test x$with_system_libunwind = x; then
78517 case ${target} in
78518 ia64-*-hpux*) with_system_libunwind=yes ;;
78519 *) with_system_libunwind=no ;;
78520 esac
78521 fi
78522 # Based on system-libunwind and target, do we have ipinfo?
78523 if test x$with_system_libunwind = xyes; then
78524 case ${target} in
78525 ia64-*-*) have_unwind_getipinfo=no ;;
78526 *) have_unwind_getipinfo=yes ;;
78527 esac
78528 else
78529 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78530
78531 case ${target} in
78532 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78533 *) have_unwind_getipinfo=yes ;;
78534 esac
78535
78536 fi
78537
78538 if test x$have_unwind_getipinfo = xyes; then
78539
78540 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78541
78542 fi
78543
78544
78545 # Check whether --enable-linux-futex was given.
78546 if test "${enable_linux_futex+set}" = set; then :
78547 enableval=$enable_linux_futex;
78548 case "$enableval" in
78549 yes|no|default) ;;
78550 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78551 esac
78552
78553 else
78554 enable_linux_futex=default
78555 fi
78556
78557
78558 case "$target" in
78559 *-linux*)
78560 case "$enable_linux_futex" in
78561 default)
78562 # If headers don't have gettid/futex syscalls definition, then
78563 # default to no, otherwise there will be compile time failures.
78564 # Otherwise, default to yes. If we don't detect we are
78565 # compiled/linked against NPTL and not cross-compiling, check
78566 # if programs are run by default against NPTL and if not, issue
78567 # a warning.
78568 enable_linux_futex=no
78569 if test x$gcc_no_link = xyes; then
78570 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78571 fi
78572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78573 /* end confdefs.h. */
78574 #include <sys/syscall.h>
78575 int lk;
78576 int
78577 main ()
78578 {
78579 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78580 ;
78581 return 0;
78582 }
78583 _ACEOF
78584 if ac_fn_c_try_link "$LINENO"; then :
78585 save_LIBS="$LIBS"
78586 LIBS="-lpthread $LIBS"
78587 if test x$gcc_no_link = xyes; then
78588 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78589 fi
78590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78591 /* end confdefs.h. */
78592 #ifndef _GNU_SOURCE
78593 #define _GNU_SOURCE 1
78594 #endif
78595 #include <pthread.h>
78596 pthread_t th; void *status;
78597 int
78598 main ()
78599 {
78600 pthread_tryjoin_np (th, &status);
78601 ;
78602 return 0;
78603 }
78604 _ACEOF
78605 if ac_fn_c_try_link "$LINENO"; then :
78606 enable_linux_futex=yes
78607 else
78608 if test x$cross_compiling = xno; then
78609 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78610 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78612 If so, please configure with --disable-linux-futex" >&5
78613 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78614 If so, please configure with --disable-linux-futex" >&2;}
78615 fi
78616 fi
78617 enable_linux_futex=yes
78618 fi
78619 rm -f core conftest.err conftest.$ac_objext \
78620 conftest$ac_exeext conftest.$ac_ext
78621 LIBS="$save_LIBS"
78622 fi
78623 rm -f core conftest.err conftest.$ac_objext \
78624 conftest$ac_exeext conftest.$ac_ext
78625 ;;
78626 yes)
78627 if test x$gcc_no_link = xyes; then
78628 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78629 fi
78630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78631 /* end confdefs.h. */
78632 #include <sys/syscall.h>
78633 int lk;
78634 int
78635 main ()
78636 {
78637 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78638 ;
78639 return 0;
78640 }
78641 _ACEOF
78642 if ac_fn_c_try_link "$LINENO"; then :
78643
78644 else
78645 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78646 fi
78647 rm -f core conftest.err conftest.$ac_objext \
78648 conftest$ac_exeext conftest.$ac_ext
78649 ;;
78650 esac
78651 ;;
78652 *)
78653 enable_linux_futex=no
78654 ;;
78655 esac
78656 if test x$enable_linux_futex = xyes; then
78657
78658 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78659
78660 fi
78661
78662
78663
78664
78665 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78666
78667 acx_cv_header_stdint=stddef.h
78668 acx_cv_header_stdint_kind="(already complete)"
78669 for i in stdint.h $inttype_headers; do
78670 unset ac_cv_type_uintptr_t
78671 unset ac_cv_type_uintmax_t
78672 unset ac_cv_type_int_least32_t
78673 unset ac_cv_type_int_fast32_t
78674 unset ac_cv_type_uint64_t
78675 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78676 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78677 #include <$i>
78678 "
78679 if test "x$ac_cv_type_uintmax_t" = xyes; then :
78680 acx_cv_header_stdint=$i
78681 else
78682 continue
78683 fi
78684
78685 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78686 #include <$i>
78687 "
78688 if test "x$ac_cv_type_uintptr_t" = xyes; then :
78689
78690 else
78691 acx_cv_header_stdint_kind="(mostly complete)"
78692 fi
78693
78694 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78695 #include <$i>
78696 "
78697 if test "x$ac_cv_type_int_least32_t" = xyes; then :
78698
78699 else
78700 acx_cv_header_stdint_kind="(mostly complete)"
78701 fi
78702
78703 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78704 #include <$i>
78705 "
78706 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
78707
78708 else
78709 acx_cv_header_stdint_kind="(mostly complete)"
78710 fi
78711
78712 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78713 #include <$i>
78714 "
78715 if test "x$ac_cv_type_uint64_t" = xyes; then :
78716
78717 else
78718 acx_cv_header_stdint_kind="(lacks uint64_t)"
78719 fi
78720
78721 break
78722 done
78723 if test "$acx_cv_header_stdint" = stddef.h; then
78724 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78725 for i in stdint.h $inttype_headers; do
78726 unset ac_cv_type_uintptr_t
78727 unset ac_cv_type_uint32_t
78728 unset ac_cv_type_uint64_t
78729 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78730 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78731 #include <$i>
78732 "
78733 if test "x$ac_cv_type_uint32_t" = xyes; then :
78734 acx_cv_header_stdint=$i
78735 else
78736 continue
78737 fi
78738
78739 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78740 #include <$i>
78741 "
78742 if test "x$ac_cv_type_uint64_t" = xyes; then :
78743
78744 fi
78745
78746 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78747 #include <$i>
78748 "
78749 if test "x$ac_cv_type_uintptr_t" = xyes; then :
78750
78751 fi
78752
78753 break
78754 done
78755 fi
78756 if test "$acx_cv_header_stdint" = stddef.h; then
78757 acx_cv_header_stdint_kind="(u_intXX_t style)"
78758 for i in sys/types.h $inttype_headers; do
78759 unset ac_cv_type_u_int32_t
78760 unset ac_cv_type_u_int64_t
78761 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78762 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78763 #include <$i>
78764 "
78765 if test "x$ac_cv_type_u_int32_t" = xyes; then :
78766 acx_cv_header_stdint=$i
78767 else
78768 continue
78769 fi
78770
78771 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78772 #include <$i>
78773 "
78774 if test "x$ac_cv_type_u_int64_t" = xyes; then :
78775
78776 fi
78777
78778 break
78779 done
78780 fi
78781 if test "$acx_cv_header_stdint" = stddef.h; then
78782 acx_cv_header_stdint_kind="(using manual detection)"
78783 fi
78784
78785 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78786 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78787 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78788 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78789 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78790
78791 # ----------------- Summarize what we found so far
78792
78793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78794 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78795
78796 case `$as_basename -- include/gstdint.h ||
78797 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78798 Xinclude/gstdint.h : 'X\(//\)$' \| \
78799 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78800 $as_echo X/include/gstdint.h |
78801 sed '/^.*\/\([^/][^/]*\)\/*$/{
78802 s//\1/
78803 q
78804 }
78805 /^X\/\(\/\/\)$/{
78806 s//\1/
78807 q
78808 }
78809 /^X\/\(\/\).*/{
78810 s//\1/
78811 q
78812 }
78813 s/.*/./; q'` in
78814 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78815 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78816 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78817 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78818 *) ;;
78819 esac
78820
78821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78822 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78823
78824 # ----------------- done included file, check C basic types --------
78825
78826 # Lacking an uintptr_t? Test size of void *
78827 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78828 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78829 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78830 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78831 # This bug is HP SR number 8606223364.
78832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78833 $as_echo_n "checking size of void *... " >&6; }
78834 if ${ac_cv_sizeof_void_p+:} false; then :
78835 $as_echo_n "(cached) " >&6
78836 else
78837 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78838
78839 else
78840 if test "$ac_cv_type_void_p" = yes; then
78841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78843 as_fn_error 77 "cannot compute sizeof (void *)
78844 See \`config.log' for more details" "$LINENO" 5; }
78845 else
78846 ac_cv_sizeof_void_p=0
78847 fi
78848 fi
78849
78850 fi
78851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78852 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78853
78854
78855
78856 cat >>confdefs.h <<_ACEOF
78857 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78858 _ACEOF
78859
78860 ;;
78861 esac
78862
78863 # Lacking an uint64_t? Test size of long
78864 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78865 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78866 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78867 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78868 # This bug is HP SR number 8606223364.
78869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78870 $as_echo_n "checking size of long... " >&6; }
78871 if ${ac_cv_sizeof_long+:} false; then :
78872 $as_echo_n "(cached) " >&6
78873 else
78874 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78875
78876 else
78877 if test "$ac_cv_type_long" = yes; then
78878 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78880 as_fn_error 77 "cannot compute sizeof (long)
78881 See \`config.log' for more details" "$LINENO" 5; }
78882 else
78883 ac_cv_sizeof_long=0
78884 fi
78885 fi
78886
78887 fi
78888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78889 $as_echo "$ac_cv_sizeof_long" >&6; }
78890
78891
78892
78893 cat >>confdefs.h <<_ACEOF
78894 #define SIZEOF_LONG $ac_cv_sizeof_long
78895 _ACEOF
78896
78897 ;;
78898 esac
78899
78900 if test $acx_cv_header_stdint = stddef.h; then
78901 # Lacking a good header? Test size of everything and deduce all types.
78902 # The cast to long int works around a bug in the HP C Compiler
78903 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78904 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78905 # This bug is HP SR number 8606223364.
78906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78907 $as_echo_n "checking size of int... " >&6; }
78908 if ${ac_cv_sizeof_int+:} false; then :
78909 $as_echo_n "(cached) " >&6
78910 else
78911 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78912
78913 else
78914 if test "$ac_cv_type_int" = yes; then
78915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78917 as_fn_error 77 "cannot compute sizeof (int)
78918 See \`config.log' for more details" "$LINENO" 5; }
78919 else
78920 ac_cv_sizeof_int=0
78921 fi
78922 fi
78923
78924 fi
78925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78926 $as_echo "$ac_cv_sizeof_int" >&6; }
78927
78928
78929
78930 cat >>confdefs.h <<_ACEOF
78931 #define SIZEOF_INT $ac_cv_sizeof_int
78932 _ACEOF
78933
78934
78935 # The cast to long int works around a bug in the HP C Compiler
78936 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78937 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78938 # This bug is HP SR number 8606223364.
78939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78940 $as_echo_n "checking size of short... " >&6; }
78941 if ${ac_cv_sizeof_short+:} false; then :
78942 $as_echo_n "(cached) " >&6
78943 else
78944 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78945
78946 else
78947 if test "$ac_cv_type_short" = yes; then
78948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78950 as_fn_error 77 "cannot compute sizeof (short)
78951 See \`config.log' for more details" "$LINENO" 5; }
78952 else
78953 ac_cv_sizeof_short=0
78954 fi
78955 fi
78956
78957 fi
78958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78959 $as_echo "$ac_cv_sizeof_short" >&6; }
78960
78961
78962
78963 cat >>confdefs.h <<_ACEOF
78964 #define SIZEOF_SHORT $ac_cv_sizeof_short
78965 _ACEOF
78966
78967
78968 # The cast to long int works around a bug in the HP C Compiler
78969 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78970 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78971 # This bug is HP SR number 8606223364.
78972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78973 $as_echo_n "checking size of char... " >&6; }
78974 if ${ac_cv_sizeof_char+:} false; then :
78975 $as_echo_n "(cached) " >&6
78976 else
78977 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78978
78979 else
78980 if test "$ac_cv_type_char" = yes; then
78981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78983 as_fn_error 77 "cannot compute sizeof (char)
78984 See \`config.log' for more details" "$LINENO" 5; }
78985 else
78986 ac_cv_sizeof_char=0
78987 fi
78988 fi
78989
78990 fi
78991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78992 $as_echo "$ac_cv_sizeof_char" >&6; }
78993
78994
78995
78996 cat >>confdefs.h <<_ACEOF
78997 #define SIZEOF_CHAR $ac_cv_sizeof_char
78998 _ACEOF
78999
79000
79001
79002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
79003 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
79004 case "$ac_cv_sizeof_char" in
79005 1) acx_cv_type_int8_t=char ;;
79006 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
79007 esac
79008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
79009 $as_echo "$acx_cv_type_int8_t" >&6; }
79010
79011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
79012 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
79013 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
79014 2:*) acx_cv_type_int16_t=int ;;
79015 *:2) acx_cv_type_int16_t=short ;;
79016 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
79017 esac
79018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
79019 $as_echo "$acx_cv_type_int16_t" >&6; }
79020
79021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
79022 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
79023 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
79024 4:*) acx_cv_type_int32_t=int ;;
79025 *:4) acx_cv_type_int32_t=long ;;
79026 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
79027 esac
79028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
79029 $as_echo "$acx_cv_type_int32_t" >&6; }
79030 fi
79031
79032 # These tests are here to make the output prettier
79033
79034 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
79035 case "$ac_cv_sizeof_long" in
79036 8) acx_cv_type_int64_t=long ;;
79037 esac
79038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
79039 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
79040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
79041 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
79042 fi
79043
79044 # Now we can use the above types
79045
79046 if test "$ac_cv_type_uintptr_t" != yes; then
79047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
79048 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
79049 case $ac_cv_sizeof_void_p in
79050 2) acx_cv_type_intptr_t=int16_t ;;
79051 4) acx_cv_type_intptr_t=int32_t ;;
79052 8) acx_cv_type_intptr_t=int64_t ;;
79053 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
79054 esac
79055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
79056 $as_echo "$acx_cv_type_intptr_t" >&6; }
79057 fi
79058
79059 # ----------------- done all checks, emit header -------------
79060 ac_config_commands="$ac_config_commands include/gstdint.h"
79061
79062
79063
79064
79065
79066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
79067 $as_echo_n "checking for GNU c++filt... " >&6; }
79068 if ${ac_cv_path_CXXFILT+:} false; then :
79069 $as_echo_n "(cached) " >&6
79070 else
79071 if test -z "$CXXFILT"; then
79072 ac_path_CXXFILT_found=false
79073 # Loop through the user's path and test for each of PROGNAME-LIST
79074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79075 for as_dir in $PATH
79076 do
79077 IFS=$as_save_IFS
79078 test -z "$as_dir" && as_dir=.
79079 for ac_prog in c++filt gc++filt; do
79080 for ac_exec_ext in '' $ac_executable_extensions; do
79081 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
79082 as_fn_executable_p "$ac_path_CXXFILT" || continue
79083 # Check for GNU $ac_path_CXXFILT
79084 case `"$ac_path_CXXFILT" --version 2>&1` in
79085 *GNU*)
79086 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
79087 esac
79088
79089 $ac_path_CXXFILT_found && break 3
79090 done
79091 done
79092 done
79093 IFS=$as_save_IFS
79094 if test -z "$ac_cv_path_CXXFILT"; then
79095 :
79096 fi
79097 else
79098 ac_cv_path_CXXFILT=$CXXFILT
79099 fi
79100
79101 fi
79102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
79103 $as_echo "$ac_cv_path_CXXFILT" >&6; }
79104 CXXFILT=$ac_cv_path_CXXFILT
79105
79106
79107
79108 # Check whether --enable-symvers was given.
79109 if test "${enable_symvers+set}" = set; then :
79110 enableval=$enable_symvers;
79111 case "$enableval" in
79112 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
79113 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
79114 esac
79115
79116 else
79117 enable_symvers=yes
79118 fi
79119
79120
79121
79122 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
79123 # don't know enough about $LD to do tricks...
79124
79125 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
79126 # with extern "C++" in version scripts.
79127
79128
79129 # Turn a 'yes' into a suitable default.
79130 if test x$enable_symvers = xyes ; then
79131 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
79132 enable_symvers=no
79133 else
79134 if test $with_gnu_ld = yes ; then
79135 case ${target_os} in
79136 hpux*)
79137 enable_symvers=no ;;
79138 *)
79139 enable_symvers=gnu ;;
79140 esac
79141 else
79142 case ${target_os} in
79143 darwin*)
79144 enable_symvers=darwin ;;
79145 # Sun symbol versioning exists since Solaris 2.5.
79146 solaris2.[5-9]* | solaris2.1[0-9]*)
79147 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79148 # version scripts, so disable symbol versioning if none can be
79149 # found.
79150 if test -z "$ac_cv_path_CXXFILT"; then
79151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79152 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79154 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79156 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79157 enable_symvers=no
79158 else
79159 enable_symvers=sun
79160 fi
79161 ;;
79162 *)
79163 enable_symvers=no ;;
79164 esac
79165 fi
79166 fi
79167 fi
79168
79169 # Check to see if 'darwin' or 'darwin-export' can win.
79170 if test x$enable_symvers = xdarwin-export ; then
79171 enable_symvers=darwin
79172 fi
79173
79174 # Check if 'sun' was requested on non-Solaris 2 platforms.
79175 if test x$enable_symvers = xsun ; then
79176 case ${target_os} in
79177 solaris2*)
79178 # All fine.
79179 ;;
79180 *)
79181 # Unlikely to work.
79182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79183 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79185 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79187 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79188 enable_symvers=no
79189 ;;
79190 esac
79191 fi
79192
79193 # Check to see if 'gnu' can win.
79194 if test $enable_symvers = gnu ||
79195 test $enable_symvers = gnu-versioned-namespace ||
79196 test $enable_symvers = sun; then
79197 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79199 $as_echo_n "checking for shared libgcc... " >&6; }
79200 ac_save_CFLAGS="$CFLAGS"
79201 CFLAGS=' -lgcc_s'
79202 if test x$gcc_no_link = xyes; then
79203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79204 fi
79205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79206 /* end confdefs.h. */
79207
79208 int
79209 main ()
79210 {
79211 return 0;
79212 ;
79213 return 0;
79214 }
79215 _ACEOF
79216 if ac_fn_c_try_link "$LINENO"; then :
79217 glibcxx_shared_libgcc=yes
79218 else
79219 glibcxx_shared_libgcc=no
79220 fi
79221 rm -f core conftest.err conftest.$ac_objext \
79222 conftest$ac_exeext conftest.$ac_ext
79223 CFLAGS="$ac_save_CFLAGS"
79224 if test $glibcxx_shared_libgcc = no; then
79225 cat > conftest.c <<EOF
79226 int main (void) { return 0; }
79227 EOF
79228 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79229 -shared -shared-libgcc -o conftest.so \
79230 conftest.c -v 2>&1 >/dev/null \
79231 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79232 rm -f conftest.c conftest.so
79233 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79234 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79235 if test x$gcc_no_link = xyes; then
79236 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79237 fi
79238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79239 /* end confdefs.h. */
79240
79241 int
79242 main ()
79243 {
79244 return 0;
79245 ;
79246 return 0;
79247 }
79248 _ACEOF
79249 if ac_fn_c_try_link "$LINENO"; then :
79250 glibcxx_shared_libgcc=yes
79251 fi
79252 rm -f core conftest.err conftest.$ac_objext \
79253 conftest$ac_exeext conftest.$ac_ext
79254 CFLAGS="$ac_save_CFLAGS"
79255 fi
79256 fi
79257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79258 $as_echo "$glibcxx_shared_libgcc" >&6; }
79259
79260 # For GNU ld, we need at least this version. The format is described in
79261 # GLIBCXX_CHECK_LINKER_FEATURES above.
79262 glibcxx_min_gnu_ld_version=21400
79263
79264 # If no shared libgcc, can't win.
79265 if test $glibcxx_shared_libgcc != yes; then
79266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79267 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79269 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79271 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79272 enable_symvers=no
79273 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79274 : All interesting versions of Sun ld support sun style symbol versioning.
79275 elif test $with_gnu_ld != yes ; then
79276 # just fail for now
79277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79278 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79280 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79282 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79283 enable_symvers=no
79284 elif test $glibcxx_ld_is_gold = yes ; then
79285 : All versions of gold support symbol versioning.
79286 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79287 # The right tools, the right setup, but too old. Fallbacks?
79288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79289 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79291 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79293 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79295 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79297 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79298 enable_symvers=no
79299 fi
79300 fi
79301
79302 # For libtool versioning info, format is CURRENT:REVISION:AGE
79303 libtool_VERSION=6:26:0
79304
79305 # Everything parsed; figure out what files and settings to use.
79306 case $enable_symvers in
79307 no)
79308 SYMVER_FILE=config/abi/pre/none.ver
79309 ;;
79310 gnu)
79311 SYMVER_FILE=config/abi/pre/gnu.ver
79312
79313 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79314
79315 ;;
79316 gnu-versioned-namespace)
79317 libtool_VERSION=8:0:0
79318 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79319
79320 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79321
79322 ;;
79323 darwin)
79324 SYMVER_FILE=config/abi/pre/gnu.ver
79325
79326 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79327
79328 ;;
79329 sun)
79330 SYMVER_FILE=config/abi/pre/gnu.ver
79331
79332 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79333
79334 ;;
79335 esac
79336
79337 if test x$enable_symvers != xno ; then
79338
79339 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79340
79341 fi
79342
79343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79344 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79345 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
79346 $as_echo_n "(cached) " >&6
79347 else
79348
79349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79350 /* end confdefs.h. */
79351 void foo (void); __asm (".symver foo, bar@SYMVER");
79352 int
79353 main ()
79354 {
79355
79356 ;
79357 return 0;
79358 }
79359 _ACEOF
79360 if ac_fn_c_try_compile "$LINENO"; then :
79361 glibcxx_cv_have_as_symver_directive=yes
79362 else
79363 glibcxx_cv_have_as_symver_directive=no
79364 fi
79365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79366 fi
79367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79368 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79369 if test $glibcxx_cv_have_as_symver_directive = yes; then
79370
79371 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79372
79373 fi
79374
79375
79376
79377
79378
79379
79380
79381
79382 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79383 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79384
79385 if test $enable_symvers != no ; then
79386 case ${target_os} in
79387 # The Solaris 2 runtime linker doesn't support the GNU extension of
79388 # binding the same symbol to different versions
79389 solaris2*)
79390 ;;
79391 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79392 *)
79393
79394 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79395
79396 ;;
79397 esac
79398 fi
79399
79400 # Now, set up compatibility support, if any.
79401 # In addition, need this to deal with std::size_t mangling in
79402 # src/compatibility.cc. In a perfect world, could use
79403 # typeid(std::size_t).name()[0] to do direct substitution.
79404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79405 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79406 ac_save_CFLAGS="$CFLAGS"
79407 CFLAGS="-Werror"
79408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79409 /* end confdefs.h. */
79410
79411 int
79412 main ()
79413 {
79414 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79415 ;
79416 return 0;
79417 }
79418 _ACEOF
79419 if ac_fn_c_try_compile "$LINENO"; then :
79420 glibcxx_size_t_is_i=yes
79421 else
79422 glibcxx_size_t_is_i=no
79423 fi
79424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79425 CFLAGS=$ac_save_CFLAGS
79426 if test "$glibcxx_size_t_is_i" = yes; then
79427
79428 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79429
79430 fi
79431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79432 $as_echo "$glibcxx_size_t_is_i" >&6; }
79433
79434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79435 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79436 ac_save_CFLAGS="$CFLAGS"
79437 CFLAGS="-Werror"
79438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79439 /* end confdefs.h. */
79440
79441 int
79442 main ()
79443 {
79444 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79445 ;
79446 return 0;
79447 }
79448 _ACEOF
79449 if ac_fn_c_try_compile "$LINENO"; then :
79450 glibcxx_ptrdiff_t_is_i=yes
79451 else
79452 glibcxx_ptrdiff_t_is_i=no
79453 fi
79454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79455 CFLAGS=$ac_save_CFLAGS
79456 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79457
79458 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79459
79460 fi
79461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79462 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79463
79464
79465
79466
79467 # Check whether --enable-libstdcxx-visibility was given.
79468 if test "${enable_libstdcxx_visibility+set}" = set; then :
79469 enableval=$enable_libstdcxx_visibility;
79470 case "$enableval" in
79471 yes|no) ;;
79472 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79473 esac
79474
79475 else
79476 enable_libstdcxx_visibility=yes
79477 fi
79478
79479
79480
79481 if test x$enable_libstdcxx_visibility = xyes ; then
79482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79483 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79484 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
79485 $as_echo_n "(cached) " >&6
79486 else
79487
79488 save_CFLAGS="$CFLAGS"
79489 CFLAGS="$CFLAGS -Werror"
79490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79491 /* end confdefs.h. */
79492 void __attribute__((visibility("hidden"))) foo(void) { }
79493 int
79494 main ()
79495 {
79496
79497 ;
79498 return 0;
79499 }
79500 _ACEOF
79501 if ac_fn_c_try_compile "$LINENO"; then :
79502 glibcxx_cv_have_attribute_visibility=yes
79503 else
79504 glibcxx_cv_have_attribute_visibility=no
79505 fi
79506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79507 CFLAGS="$save_CFLAGS"
79508 fi
79509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79510 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79511 if test $glibcxx_cv_have_attribute_visibility = no; then
79512 enable_libstdcxx_visibility=no
79513 fi
79514 fi
79515
79516
79517 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79518 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79519
79520
79521
79522 # Check whether --enable-libstdcxx-dual-abi was given.
79523 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79524 enableval=$enable_libstdcxx_dual_abi;
79525 case "$enableval" in
79526 yes|no) ;;
79527 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79528 esac
79529
79530 else
79531 enable_libstdcxx_dual_abi=yes
79532 fi
79533
79534
79535 if test x$enable_symvers = xgnu-versioned-namespace; then
79536 # gnu-versioned-namespace is incompatible with the dual ABI.
79537 enable_libstdcxx_dual_abi="no"
79538 fi
79539 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79540 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79541 $as_echo "$as_me: dual ABI is disabled" >&6;}
79542 default_libstdcxx_abi="gcc4-compatible"
79543 fi
79544
79545
79546
79547 if test x$enable_libstdcxx_dual_abi = xyes; then
79548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79549 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79550
79551 # Check whether --with-default-libstdcxx-abi was given.
79552 if test "${with_default_libstdcxx_abi+set}" = set; then :
79553 withval=$with_default_libstdcxx_abi; case "$withval" in
79554 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79555 new|cxx11) default_libstdcxx_abi="new" ;;
79556 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79557 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79558 esac
79559
79560 else
79561 default_libstdcxx_abi="new"
79562 fi
79563
79564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79565 $as_echo "${default_libstdcxx_abi}" >&6; }
79566 fi
79567 if test $default_libstdcxx_abi = "new"; then
79568 glibcxx_cxx11_abi=1
79569 glibcxx_cxx98_abi=0
79570 else
79571 glibcxx_cxx11_abi=0
79572 glibcxx_cxx98_abi=1
79573 fi
79574
79575
79576
79577
79578 ac_ldbl_compat=no
79579 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79580 case "$target" in
79581 powerpc*-*-linux* | \
79582 sparc*-*-linux* | \
79583 s390*-*-linux* | \
79584 alpha*-*-linux*)
79585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79586 /* end confdefs.h. */
79587
79588 int
79589 main ()
79590 {
79591
79592 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79593 #error no need for long double compatibility
79594 #endif
79595
79596 ;
79597 return 0;
79598 }
79599 _ACEOF
79600 if ac_fn_c_try_compile "$LINENO"; then :
79601 ac_ldbl_compat=yes
79602 else
79603 ac_ldbl_compat=no
79604 fi
79605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79606 if test "$ac_ldbl_compat" = yes; then
79607
79608 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79609
79610 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79611 case "$target" in
79612 powerpc*-*-linux*)
79613 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79614 esac
79615 fi
79616 esac
79617
79618
79619
79620 # Check if assembler supports disabling hardware capability support.
79621
79622 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79623
79624 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79625 # with a different meaning.
79626 case ${target_os} in
79627 solaris2*)
79628 ac_save_CFLAGS="$CFLAGS"
79629 CFLAGS="$CFLAGS -Wa,-nH"
79630
79631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79632 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79634 /* end confdefs.h. */
79635
79636 int
79637 main ()
79638 {
79639 return 0;
79640 ;
79641 return 0;
79642 }
79643 _ACEOF
79644 if ac_fn_c_try_compile "$LINENO"; then :
79645 ac_hwcap_flags=yes
79646 else
79647 ac_hwcap_flags=no
79648 fi
79649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79650 if test "$ac_hwcap_flags" = "yes"; then
79651 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79652 fi
79653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79654 $as_echo "$ac_hwcap_flags" >&6; }
79655
79656 CFLAGS="$ac_save_CFLAGS"
79657 ;;
79658 esac
79659
79660
79661
79662
79663 # Check if assembler supports rdrand opcode.
79664
79665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79666 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79667 if ${ac_cv_x86_rdrand+:} false; then :
79668 $as_echo_n "(cached) " >&6
79669 else
79670
79671 ac_cv_x86_rdrand=no
79672 case "$target" in
79673 i?86-*-* | \
79674 x86_64-*-*)
79675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79676 /* end confdefs.h. */
79677
79678 int
79679 main ()
79680 {
79681 asm("rdrand %eax");
79682 ;
79683 return 0;
79684 }
79685 _ACEOF
79686 if ac_fn_c_try_compile "$LINENO"; then :
79687 ac_cv_x86_rdrand=yes
79688 else
79689 ac_cv_x86_rdrand=no
79690 fi
79691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79692 esac
79693
79694 fi
79695
79696 if test $ac_cv_x86_rdrand = yes; then
79697
79698 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79699
79700 fi
79701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79702 $as_echo "$ac_cv_x86_rdrand" >&6; }
79703
79704
79705 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79706
79707 # Do checks for resource limit functions.
79708
79709 setrlimit_have_headers=yes
79710 for ac_header in unistd.h sys/time.h sys/resource.h
79711 do :
79712 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79713 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79714 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
79715 cat >>confdefs.h <<_ACEOF
79716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79717 _ACEOF
79718
79719 else
79720 setrlimit_have_headers=no
79721 fi
79722
79723 done
79724
79725 # If don't have the headers, then we can't run the tests now, and we
79726 # won't be seeing any of these during testsuite compilation.
79727 if test $setrlimit_have_headers = yes; then
79728 # Can't do these in a loop, else the resulting syntax is wrong.
79729
79730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79731 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79733 /* end confdefs.h. */
79734 #include <unistd.h>
79735 #include <sys/time.h>
79736 #include <sys/resource.h>
79737
79738 int
79739 main ()
79740 {
79741 int f = RLIMIT_DATA ;
79742 ;
79743 return 0;
79744 }
79745 _ACEOF
79746 if ac_fn_c_try_compile "$LINENO"; then :
79747 glibcxx_mresult=1
79748 else
79749 glibcxx_mresult=0
79750 fi
79751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79752
79753 cat >>confdefs.h <<_ACEOF
79754 #define HAVE_LIMIT_DATA $glibcxx_mresult
79755 _ACEOF
79756
79757 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79759 $as_echo "$res" >&6; }
79760
79761
79762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79763 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79765 /* end confdefs.h. */
79766 #include <unistd.h>
79767 #include <sys/time.h>
79768 #include <sys/resource.h>
79769
79770 int
79771 main ()
79772 {
79773 int f = RLIMIT_RSS ;
79774 ;
79775 return 0;
79776 }
79777 _ACEOF
79778 if ac_fn_c_try_compile "$LINENO"; then :
79779 glibcxx_mresult=1
79780 else
79781 glibcxx_mresult=0
79782 fi
79783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79784
79785 cat >>confdefs.h <<_ACEOF
79786 #define HAVE_LIMIT_RSS $glibcxx_mresult
79787 _ACEOF
79788
79789 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79791 $as_echo "$res" >&6; }
79792
79793
79794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79795 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79797 /* end confdefs.h. */
79798 #include <unistd.h>
79799 #include <sys/time.h>
79800 #include <sys/resource.h>
79801
79802 int
79803 main ()
79804 {
79805 int f = RLIMIT_VMEM ;
79806 ;
79807 return 0;
79808 }
79809 _ACEOF
79810 if ac_fn_c_try_compile "$LINENO"; then :
79811 glibcxx_mresult=1
79812 else
79813 glibcxx_mresult=0
79814 fi
79815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79816
79817 cat >>confdefs.h <<_ACEOF
79818 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79819 _ACEOF
79820
79821 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79823 $as_echo "$res" >&6; }
79824
79825
79826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79827 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79829 /* end confdefs.h. */
79830 #include <unistd.h>
79831 #include <sys/time.h>
79832 #include <sys/resource.h>
79833
79834 int
79835 main ()
79836 {
79837 int f = RLIMIT_AS ;
79838 ;
79839 return 0;
79840 }
79841 _ACEOF
79842 if ac_fn_c_try_compile "$LINENO"; then :
79843 glibcxx_mresult=1
79844 else
79845 glibcxx_mresult=0
79846 fi
79847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79848
79849 cat >>confdefs.h <<_ACEOF
79850 #define HAVE_LIMIT_AS $glibcxx_mresult
79851 _ACEOF
79852
79853 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79855 $as_echo "$res" >&6; }
79856
79857
79858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79859 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79861 /* end confdefs.h. */
79862 #include <unistd.h>
79863 #include <sys/time.h>
79864 #include <sys/resource.h>
79865
79866 int
79867 main ()
79868 {
79869 int f = RLIMIT_FSIZE ;
79870 ;
79871 return 0;
79872 }
79873 _ACEOF
79874 if ac_fn_c_try_compile "$LINENO"; then :
79875 glibcxx_mresult=1
79876 else
79877 glibcxx_mresult=0
79878 fi
79879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79880
79881 cat >>confdefs.h <<_ACEOF
79882 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79883 _ACEOF
79884
79885 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79887 $as_echo "$res" >&6; }
79888
79889
79890 # Check for rlimit, setrlimit.
79891 if ${glibcxx_cv_setrlimit+:} false; then :
79892 $as_echo_n "(cached) " >&6
79893 else
79894
79895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79896 /* end confdefs.h. */
79897 #include <unistd.h>
79898 #include <sys/time.h>
79899 #include <sys/resource.h>
79900
79901 int
79902 main ()
79903 {
79904 struct rlimit r;
79905 setrlimit(0, &r);
79906 ;
79907 return 0;
79908 }
79909 _ACEOF
79910 if ac_fn_c_try_compile "$LINENO"; then :
79911 glibcxx_cv_setrlimit=yes
79912 else
79913 glibcxx_cv_setrlimit=no
79914 fi
79915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79916
79917 fi
79918
79919 fi
79920
79921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79922 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79923 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79924 ac_res_limits=yes
79925
79926 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79927
79928 else
79929 ac_res_limits=no
79930 fi
79931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79932 $as_echo "$ac_res_limits" >&6; }
79933
79934
79935 if $GLIBCXX_IS_NATIVE ; then
79936 # Look for setenv, so that extended locale tests can be performed.
79937
79938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79939 $as_echo_n "checking for setenv declaration... " >&6; }
79940 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79941 if ${glibcxx_cv_func_setenv_use+:} false; then :
79942 $as_echo_n "(cached) " >&6
79943 else
79944
79945
79946 ac_ext=cpp
79947 ac_cpp='$CXXCPP $CPPFLAGS'
79948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79951
79952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79953 /* end confdefs.h. */
79954 #include <stdlib.h>
79955 int
79956 main ()
79957 {
79958 setenv(0, 0, 0);
79959 ;
79960 return 0;
79961 }
79962 _ACEOF
79963 if ac_fn_cxx_try_compile "$LINENO"; then :
79964 glibcxx_cv_func_setenv_use=yes
79965 else
79966 glibcxx_cv_func_setenv_use=no
79967 fi
79968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79969 ac_ext=c
79970 ac_cpp='$CPP $CPPFLAGS'
79971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79974
79975
79976 fi
79977
79978 fi
79979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79980 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79981 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79982 for ac_func in setenv
79983 do :
79984 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79985 if test "x$ac_cv_func_setenv" = xyes; then :
79986 cat >>confdefs.h <<_ACEOF
79987 #define HAVE_SETENV 1
79988 _ACEOF
79989
79990 fi
79991 done
79992
79993 fi
79994
79995 fi
79996
79997 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79998 test $enable_symvers != no; then
79999 case "$host" in
80000 *-*-cygwin*)
80001 enable_abi_check=no ;;
80002 *)
80003 enable_abi_check=yes ;;
80004 esac
80005 else
80006 # Only build this as native, since automake does not understand
80007 # CXX_FOR_BUILD.
80008 enable_abi_check=no
80009 fi
80010
80011 # Export file names for ABI checking.
80012 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
80013
80014 baseline_subdir_switch="$abi_baseline_subdir_switch"
80015
80016
80017
80018 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
80019
80020 # Check whether --enable-libstdcxx-threads was given.
80021 if test "${enable_libstdcxx_threads+set}" = set; then :
80022 enableval=$enable_libstdcxx_threads;
80023 case "$enableval" in
80024 yes|no) ;;
80025 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
80026 esac
80027
80028 else
80029 enable_libstdcxx_threads=auto
80030 fi
80031
80032
80033
80034 if test x$enable_libstdcxx_threads = xauto ||
80035 test x$enable_libstdcxx_threads = xyes; then
80036
80037
80038 ac_ext=cpp
80039 ac_cpp='$CXXCPP $CPPFLAGS'
80040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80043
80044
80045 ac_save_CXXFLAGS="$CXXFLAGS"
80046 CXXFLAGS="$CXXFLAGS -fno-exceptions \
80047 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
80048
80049 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
80050 case $target_thread_file in
80051 posix)
80052 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
80053 esac
80054
80055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
80056 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
80057
80058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80059 /* end confdefs.h. */
80060 #include <unistd.h>
80061 int
80062 main ()
80063 {
80064
80065 // In case of POSIX threads check _POSIX_TIMEOUTS.
80066 #if (defined(_PTHREADS) \
80067 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
80068 #error
80069 #endif
80070
80071 ;
80072 return 0;
80073 }
80074 _ACEOF
80075 if ac_fn_cxx_try_compile "$LINENO"; then :
80076 ac_gthread_use_mutex_timedlock=1
80077 else
80078 ac_gthread_use_mutex_timedlock=0
80079 fi
80080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80081
80082
80083 cat >>confdefs.h <<_ACEOF
80084 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
80085 _ACEOF
80086
80087
80088 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
80089 else res_mutex_timedlock=no ; fi
80090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
80091 $as_echo "$res_mutex_timedlock" >&6; }
80092
80093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
80094 $as_echo_n "checking for gthreads library... " >&6; }
80095
80096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80097 /* end confdefs.h. */
80098 #include "gthr.h"
80099 int
80100 main ()
80101 {
80102
80103 #ifndef __GTHREADS_CXX0X
80104 #error
80105 #endif
80106
80107 ;
80108 return 0;
80109 }
80110 _ACEOF
80111 if ac_fn_cxx_try_compile "$LINENO"; then :
80112 ac_has_gthreads=yes
80113 else
80114 ac_has_gthreads=no
80115 fi
80116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80117 else
80118 ac_has_gthreads=no
80119 fi
80120
80121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
80122 $as_echo "$ac_has_gthreads" >&6; }
80123
80124 if test x"$ac_has_gthreads" = x"yes"; then
80125
80126 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
80127
80128
80129 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
80130 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
80131 "
80132 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
80133
80134 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
80135
80136 fi
80137
80138 fi
80139
80140 CXXFLAGS="$ac_save_CXXFLAGS"
80141 ac_ext=c
80142 ac_cpp='$CPP $CPPFLAGS'
80143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80146
80147
80148
80149 # For Filesystem TS.
80150 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80151 do :
80152 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80153 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80154 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
80155 cat >>confdefs.h <<_ACEOF
80156 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80157 _ACEOF
80158
80159 fi
80160
80161 done
80162
80163
80164 # Check whether --enable-libstdcxx-filesystem-ts was given.
80165 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80166 enableval=$enable_libstdcxx_filesystem_ts;
80167 case "$enableval" in
80168 yes|no|auto) ;;
80169 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80170 esac
80171
80172 else
80173 enable_libstdcxx_filesystem_ts=auto
80174 fi
80175
80176
80177
80178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80179 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80180 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80181 enable_libstdcxx_filesystem_ts=no
80182 fi
80183 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80184 case "${target_os}" in
80185 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80186 enable_libstdcxx_filesystem_ts=yes
80187 ;;
80188 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80189 enable_libstdcxx_filesystem_ts=yes
80190 ;;
80191 rtems*)
80192 enable_libstdcxx_filesystem_ts=yes
80193 ;;
80194 solaris*)
80195 enable_libstdcxx_filesystem_ts=yes
80196 ;;
80197 *)
80198 enable_libstdcxx_filesystem_ts=no
80199 ;;
80200 esac
80201 fi
80202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80203 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80204
80205
80206 if test $enable_libstdcxx_filesystem_ts = yes; then
80207
80208 ac_ext=cpp
80209 ac_cpp='$CXXCPP $CPPFLAGS'
80210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80213
80214 ac_save_CXXFLAGS="$CXXFLAGS"
80215 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80217 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80218 if ${glibcxx_cv_dirent_d_type+:} false; then :
80219 $as_echo_n "(cached) " >&6
80220 else
80221 if test x$gcc_no_link = xyes; then
80222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80223 /* end confdefs.h. */
80224 #include <dirent.h>
80225 int
80226 main ()
80227 {
80228
80229 struct dirent d;
80230 if (sizeof d.d_type) return 0;
80231
80232 ;
80233 return 0;
80234 }
80235 _ACEOF
80236 if ac_fn_cxx_try_compile "$LINENO"; then :
80237 glibcxx_cv_dirent_d_type=yes
80238 else
80239 glibcxx_cv_dirent_d_type=no
80240 fi
80241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80242 else
80243 if test x$gcc_no_link = xyes; then
80244 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80245 fi
80246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80247 /* end confdefs.h. */
80248 #include <dirent.h>
80249 int
80250 main ()
80251 {
80252
80253 struct dirent d;
80254 if (sizeof d.d_type) return 0;
80255
80256 ;
80257 return 0;
80258 }
80259 _ACEOF
80260 if ac_fn_cxx_try_link "$LINENO"; then :
80261 glibcxx_cv_dirent_d_type=yes
80262 else
80263 glibcxx_cv_dirent_d_type=no
80264 fi
80265 rm -f core conftest.err conftest.$ac_objext \
80266 conftest$ac_exeext conftest.$ac_ext
80267 fi
80268
80269 fi
80270
80271 if test $glibcxx_cv_dirent_d_type = yes; then
80272
80273 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80274
80275 fi
80276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80277 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80279 $as_echo_n "checking for realpath... " >&6; }
80280 if ${glibcxx_cv_realpath+:} false; then :
80281 $as_echo_n "(cached) " >&6
80282 else
80283 if test x$gcc_no_link = xyes; then
80284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80285 /* end confdefs.h. */
80286
80287 #include <limits.h>
80288 #include <stdlib.h>
80289 #include <unistd.h>
80290
80291 int
80292 main ()
80293 {
80294
80295 #if _XOPEN_VERSION < 500
80296 #error
80297 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80298 char *tmp = realpath((const char*)NULL, (char*)NULL);
80299 #else
80300 #error
80301 #endif
80302
80303 ;
80304 return 0;
80305 }
80306 _ACEOF
80307 if ac_fn_cxx_try_compile "$LINENO"; then :
80308 glibcxx_cv_realpath=yes
80309 else
80310 glibcxx_cv_realpath=no
80311 fi
80312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80313 else
80314 if test x$gcc_no_link = xyes; then
80315 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80316 fi
80317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80318 /* end confdefs.h. */
80319
80320 #include <limits.h>
80321 #include <stdlib.h>
80322 #include <unistd.h>
80323
80324 int
80325 main ()
80326 {
80327
80328 #if _XOPEN_VERSION < 500
80329 #error
80330 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80331 char *tmp = realpath((const char*)NULL, (char*)NULL);
80332 #else
80333 #error
80334 #endif
80335
80336 ;
80337 return 0;
80338 }
80339 _ACEOF
80340 if ac_fn_cxx_try_link "$LINENO"; then :
80341 glibcxx_cv_realpath=yes
80342 else
80343 glibcxx_cv_realpath=no
80344 fi
80345 rm -f core conftest.err conftest.$ac_objext \
80346 conftest$ac_exeext conftest.$ac_ext
80347 fi
80348
80349 fi
80350
80351 if test $glibcxx_cv_realpath = yes; then
80352
80353 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80354
80355 fi
80356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80357 $as_echo "$glibcxx_cv_realpath" >&6; }
80358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80359 $as_echo_n "checking for utimensat... " >&6; }
80360 if ${glibcxx_cv_utimensat+:} false; then :
80361 $as_echo_n "(cached) " >&6
80362 else
80363 if test x$gcc_no_link = xyes; then
80364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80365 /* end confdefs.h. */
80366
80367 #include <fcntl.h>
80368 #include <sys/stat.h>
80369
80370 int
80371 main ()
80372 {
80373
80374 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80375 int i = utimensat(AT_FDCWD, "path", ts, 0);
80376
80377 ;
80378 return 0;
80379 }
80380 _ACEOF
80381 if ac_fn_cxx_try_compile "$LINENO"; then :
80382 glibcxx_cv_utimensat=yes
80383 else
80384 glibcxx_cv_utimensat=no
80385 fi
80386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80387 else
80388 if test x$gcc_no_link = xyes; then
80389 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80390 fi
80391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80392 /* end confdefs.h. */
80393
80394 #include <fcntl.h>
80395 #include <sys/stat.h>
80396
80397 int
80398 main ()
80399 {
80400
80401 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80402 int i = utimensat(AT_FDCWD, "path", ts, 0);
80403
80404 ;
80405 return 0;
80406 }
80407 _ACEOF
80408 if ac_fn_cxx_try_link "$LINENO"; then :
80409 glibcxx_cv_utimensat=yes
80410 else
80411 glibcxx_cv_utimensat=no
80412 fi
80413 rm -f core conftest.err conftest.$ac_objext \
80414 conftest$ac_exeext conftest.$ac_ext
80415 fi
80416
80417 fi
80418
80419 if test $glibcxx_cv_utimensat = yes; then
80420
80421 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80422
80423 fi
80424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80425 $as_echo "$glibcxx_cv_utimensat" >&6; }
80426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80427 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80428 if ${glibcxx_cv_st_mtim+:} false; then :
80429 $as_echo_n "(cached) " >&6
80430 else
80431 if test x$gcc_no_link = xyes; then
80432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80433 /* end confdefs.h. */
80434 #include <sys/stat.h>
80435 int
80436 main ()
80437 {
80438
80439 struct stat st;
80440 return st.st_mtim.tv_nsec;
80441
80442 ;
80443 return 0;
80444 }
80445 _ACEOF
80446 if ac_fn_cxx_try_compile "$LINENO"; then :
80447 glibcxx_cv_st_mtim=yes
80448 else
80449 glibcxx_cv_st_mtim=no
80450 fi
80451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80452 else
80453 if test x$gcc_no_link = xyes; then
80454 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80455 fi
80456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80457 /* end confdefs.h. */
80458 #include <sys/stat.h>
80459 int
80460 main ()
80461 {
80462
80463 struct stat st;
80464 return st.st_mtim.tv_nsec;
80465
80466 ;
80467 return 0;
80468 }
80469 _ACEOF
80470 if ac_fn_cxx_try_link "$LINENO"; then :
80471 glibcxx_cv_st_mtim=yes
80472 else
80473 glibcxx_cv_st_mtim=no
80474 fi
80475 rm -f core conftest.err conftest.$ac_objext \
80476 conftest$ac_exeext conftest.$ac_ext
80477 fi
80478
80479 fi
80480
80481 if test $glibcxx_cv_st_mtim = yes; then
80482
80483 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80484
80485 fi
80486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80487 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80489 $as_echo_n "checking for fchmod... " >&6; }
80490 if ${glibcxx_cv_fchmod+:} false; then :
80491 $as_echo_n "(cached) " >&6
80492 else
80493 if test x$gcc_no_link = xyes; then
80494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80495 /* end confdefs.h. */
80496 #include <sys/stat.h>
80497 int
80498 main ()
80499 {
80500 fchmod(1, S_IWUSR);
80501 ;
80502 return 0;
80503 }
80504 _ACEOF
80505 if ac_fn_cxx_try_compile "$LINENO"; then :
80506 glibcxx_cv_fchmod=yes
80507 else
80508 glibcxx_cv_fchmod=no
80509 fi
80510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80511 else
80512 if test x$gcc_no_link = xyes; then
80513 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80514 fi
80515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80516 /* end confdefs.h. */
80517 #include <sys/stat.h>
80518 int
80519 main ()
80520 {
80521 fchmod(1, S_IWUSR);
80522 ;
80523 return 0;
80524 }
80525 _ACEOF
80526 if ac_fn_cxx_try_link "$LINENO"; then :
80527 glibcxx_cv_fchmod=yes
80528 else
80529 glibcxx_cv_fchmod=no
80530 fi
80531 rm -f core conftest.err conftest.$ac_objext \
80532 conftest$ac_exeext conftest.$ac_ext
80533 fi
80534
80535 fi
80536
80537 if test $glibcxx_cv_fchmod = yes; then
80538
80539 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80540
80541 fi
80542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80543 $as_echo "$glibcxx_cv_fchmod" >&6; }
80544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80545 $as_echo_n "checking for fchmodat... " >&6; }
80546 if ${glibcxx_cv_fchmodat+:} false; then :
80547 $as_echo_n "(cached) " >&6
80548 else
80549 if test x$gcc_no_link = xyes; then
80550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80551 /* end confdefs.h. */
80552
80553 #include <fcntl.h>
80554 #include <sys/stat.h>
80555
80556 int
80557 main ()
80558 {
80559 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80560 ;
80561 return 0;
80562 }
80563 _ACEOF
80564 if ac_fn_cxx_try_compile "$LINENO"; then :
80565 glibcxx_cv_fchmodat=yes
80566 else
80567 glibcxx_cv_fchmodat=no
80568 fi
80569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80570 else
80571 if test x$gcc_no_link = xyes; then
80572 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80573 fi
80574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80575 /* end confdefs.h. */
80576
80577 #include <fcntl.h>
80578 #include <sys/stat.h>
80579
80580 int
80581 main ()
80582 {
80583 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80584 ;
80585 return 0;
80586 }
80587 _ACEOF
80588 if ac_fn_cxx_try_link "$LINENO"; then :
80589 glibcxx_cv_fchmodat=yes
80590 else
80591 glibcxx_cv_fchmodat=no
80592 fi
80593 rm -f core conftest.err conftest.$ac_objext \
80594 conftest$ac_exeext conftest.$ac_ext
80595 fi
80596
80597 fi
80598
80599 if test $glibcxx_cv_fchmodat = yes; then
80600
80601 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80602
80603 fi
80604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80605 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80607 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80608 if ${glibcxx_cv_sendfile+:} false; then :
80609 $as_echo_n "(cached) " >&6
80610 else
80611 case "${target_os}" in
80612 gnu* | linux* | solaris*)
80613 if test x$gcc_no_link = xyes; then
80614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80615 /* end confdefs.h. */
80616 #include <sys/sendfile.h>
80617 int
80618 main ()
80619 {
80620 sendfile(1, 2, (off_t*)0, sizeof 1);
80621 ;
80622 return 0;
80623 }
80624 _ACEOF
80625 if ac_fn_cxx_try_compile "$LINENO"; then :
80626 glibcxx_cv_sendfile=yes
80627 else
80628 glibcxx_cv_sendfile=no
80629 fi
80630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80631 else
80632 if test x$gcc_no_link = xyes; then
80633 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80634 fi
80635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80636 /* end confdefs.h. */
80637 #include <sys/sendfile.h>
80638 int
80639 main ()
80640 {
80641 sendfile(1, 2, (off_t*)0, sizeof 1);
80642 ;
80643 return 0;
80644 }
80645 _ACEOF
80646 if ac_fn_cxx_try_link "$LINENO"; then :
80647 glibcxx_cv_sendfile=yes
80648 else
80649 glibcxx_cv_sendfile=no
80650 fi
80651 rm -f core conftest.err conftest.$ac_objext \
80652 conftest$ac_exeext conftest.$ac_ext
80653 fi
80654 ;;
80655 *)
80656 glibcxx_cv_sendfile=no
80657 ;;
80658 esac
80659
80660 fi
80661
80662 if test $glibcxx_cv_sendfile = yes; then
80663
80664 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80665
80666 fi
80667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80668 $as_echo "$glibcxx_cv_sendfile" >&6; }
80669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
80670 $as_echo_n "checking for link... " >&6; }
80671 if ${glibcxx_cv_link+:} false; then :
80672 $as_echo_n "(cached) " >&6
80673 else
80674 if test x$gcc_no_link = xyes; then
80675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80676 /* end confdefs.h. */
80677 #include <unistd.h>
80678 int
80679 main ()
80680 {
80681 link("", "");
80682 ;
80683 return 0;
80684 }
80685 _ACEOF
80686 if ac_fn_cxx_try_compile "$LINENO"; then :
80687 glibcxx_cv_link=yes
80688 else
80689 glibcxx_cv_link=no
80690 fi
80691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80692 else
80693 if test x$gcc_no_link = xyes; then
80694 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80695 fi
80696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80697 /* end confdefs.h. */
80698 #include <unistd.h>
80699 int
80700 main ()
80701 {
80702 link("", "");
80703 ;
80704 return 0;
80705 }
80706 _ACEOF
80707 if ac_fn_cxx_try_link "$LINENO"; then :
80708 glibcxx_cv_link=yes
80709 else
80710 glibcxx_cv_link=no
80711 fi
80712 rm -f core conftest.err conftest.$ac_objext \
80713 conftest$ac_exeext conftest.$ac_ext
80714 fi
80715
80716 fi
80717
80718 if test $glibcxx_cv_link = yes; then
80719
80720 $as_echo "#define HAVE_LINK 1" >>confdefs.h
80721
80722 fi
80723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
80724 $as_echo "$glibcxx_cv_link" >&6; }
80725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
80726 $as_echo_n "checking for readlink... " >&6; }
80727 if ${glibcxx_cv_readlink+:} false; then :
80728 $as_echo_n "(cached) " >&6
80729 else
80730 if test x$gcc_no_link = xyes; then
80731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80732 /* end confdefs.h. */
80733 #include <unistd.h>
80734 int
80735 main ()
80736 {
80737 char buf[32]; readlink("", buf, sizeof(buf));
80738 ;
80739 return 0;
80740 }
80741 _ACEOF
80742 if ac_fn_cxx_try_compile "$LINENO"; then :
80743 glibcxx_cv_readlink=yes
80744 else
80745 glibcxx_cv_readlink=no
80746 fi
80747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80748 else
80749 if test x$gcc_no_link = xyes; then
80750 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80751 fi
80752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80753 /* end confdefs.h. */
80754 #include <unistd.h>
80755 int
80756 main ()
80757 {
80758 char buf[32]; readlink("", buf, sizeof(buf));
80759 ;
80760 return 0;
80761 }
80762 _ACEOF
80763 if ac_fn_cxx_try_link "$LINENO"; then :
80764 glibcxx_cv_readlink=yes
80765 else
80766 glibcxx_cv_readlink=no
80767 fi
80768 rm -f core conftest.err conftest.$ac_objext \
80769 conftest$ac_exeext conftest.$ac_ext
80770 fi
80771
80772 fi
80773
80774 if test $glibcxx_cv_readlink = yes; then
80775
80776 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
80777
80778 fi
80779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
80780 $as_echo "$glibcxx_cv_readlink" >&6; }
80781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
80782 $as_echo_n "checking for symlink... " >&6; }
80783 if ${glibcxx_cv_symlink+:} false; then :
80784 $as_echo_n "(cached) " >&6
80785 else
80786 if test x$gcc_no_link = xyes; then
80787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80788 /* end confdefs.h. */
80789 #include <unistd.h>
80790 int
80791 main ()
80792 {
80793 symlink("", "");
80794 ;
80795 return 0;
80796 }
80797 _ACEOF
80798 if ac_fn_cxx_try_compile "$LINENO"; then :
80799 glibcxx_cv_symlink=yes
80800 else
80801 glibcxx_cv_symlink=no
80802 fi
80803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80804 else
80805 if test x$gcc_no_link = xyes; then
80806 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80807 fi
80808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80809 /* end confdefs.h. */
80810 #include <unistd.h>
80811 int
80812 main ()
80813 {
80814 symlink("", "");
80815 ;
80816 return 0;
80817 }
80818 _ACEOF
80819 if ac_fn_cxx_try_link "$LINENO"; then :
80820 glibcxx_cv_symlink=yes
80821 else
80822 glibcxx_cv_symlink=no
80823 fi
80824 rm -f core conftest.err conftest.$ac_objext \
80825 conftest$ac_exeext conftest.$ac_ext
80826 fi
80827
80828 fi
80829
80830 if test $glibcxx_cv_symlink = yes; then
80831
80832 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
80833
80834 fi
80835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
80836 $as_echo "$glibcxx_cv_symlink" >&6; }
80837 CXXFLAGS="$ac_save_CXXFLAGS"
80838 ac_ext=c
80839 ac_cpp='$CPP $CPPFLAGS'
80840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80843
80844 fi
80845
80846
80847 # For Networking TS.
80848 for ac_header in fcntl.h sys/ioctl.h sys/socket.h sys/uio.h poll.h netdb.h arpa/inet.h netinet/in.h netinet/tcp.h
80849 do :
80850 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80851 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80852 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
80853 cat >>confdefs.h <<_ACEOF
80854 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80855 _ACEOF
80856
80857 fi
80858
80859 done
80860
80861
80862 # For Transactional Memory TS
80863
80864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80865 $as_echo_n "checking how size_t is mangled... " >&6; }
80866 if ${glibcxx_cv_size_t_mangling+:} false; then :
80867 $as_echo_n "(cached) " >&6
80868 else
80869
80870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80871 /* end confdefs.h. */
80872
80873 int
80874 main ()
80875 {
80876 extern __SIZE_TYPE__ x; extern unsigned long x;
80877 ;
80878 return 0;
80879 }
80880 _ACEOF
80881 if ac_fn_c_try_compile "$LINENO"; then :
80882 glibcxx_cv_size_t_mangling=m
80883 else
80884
80885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80886 /* end confdefs.h. */
80887
80888 int
80889 main ()
80890 {
80891 extern __SIZE_TYPE__ x; extern unsigned int x;
80892 ;
80893 return 0;
80894 }
80895 _ACEOF
80896 if ac_fn_c_try_compile "$LINENO"; then :
80897 glibcxx_cv_size_t_mangling=j
80898 else
80899
80900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80901 /* end confdefs.h. */
80902
80903 int
80904 main ()
80905 {
80906 extern __SIZE_TYPE__ x; extern unsigned long long x;
80907 ;
80908 return 0;
80909 }
80910 _ACEOF
80911 if ac_fn_c_try_compile "$LINENO"; then :
80912 glibcxx_cv_size_t_mangling=y
80913 else
80914
80915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80916 /* end confdefs.h. */
80917
80918 int
80919 main ()
80920 {
80921 extern __SIZE_TYPE__ x; extern unsigned short x;
80922 ;
80923 return 0;
80924 }
80925 _ACEOF
80926 if ac_fn_c_try_compile "$LINENO"; then :
80927 glibcxx_cv_size_t_mangling=t
80928 else
80929
80930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80931 /* end confdefs.h. */
80932
80933 int
80934 main ()
80935 {
80936 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80937 ;
80938 return 0;
80939 }
80940 _ACEOF
80941 if ac_fn_c_try_compile "$LINENO"; then :
80942 glibcxx_cv_size_t_mangling=u6uint20
80943 else
80944 glibcxx_cv_size_t_mangling=x
80945 fi
80946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80947
80948 fi
80949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80950
80951 fi
80952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80953
80954 fi
80955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80956
80957 fi
80958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80959
80960 fi
80961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80962 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80963 if test $glibcxx_cv_size_t_mangling = x; then
80964 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
80965 fi
80966
80967 cat >>confdefs.h <<_ACEOF
80968 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80969 _ACEOF
80970
80971
80972
80973 # Check which release added std::exception_ptr for the target
80974
80975 if test $enable_symvers != no; then
80976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80977 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80978 case ${target} in
80979 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80980 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80981 ac_exception_ptr_since_gcc46=yes
80982 ;;
80983 *)
80984 # If the value of this macro changes then we will need to hardcode
80985 # yes/no here for additional targets based on the original value.
80986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80987 /* end confdefs.h. */
80988
80989 int
80990 main ()
80991 {
80992
80993 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80994 # error atomic int not always lock free
80995 #endif
80996
80997 ;
80998 return 0;
80999 }
81000 _ACEOF
81001 if ac_fn_c_try_compile "$LINENO"; then :
81002 ac_exception_ptr_since_gcc46=yes
81003 else
81004 ac_exception_ptr_since_gcc46=no
81005 fi
81006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81007 ;;
81008 esac
81009 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
81010
81011 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
81012
81013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
81014 $as_echo "4.6.0" >&6; }
81015 else
81016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
81017 $as_echo "7.1.0" >&6; }
81018 fi
81019 fi
81020
81021
81022 # Define documentation rules conditionally.
81023
81024 # See if makeinfo has been installed and is modern enough
81025 # that we can use it.
81026
81027 # Extract the first word of "makeinfo", so it can be a program name with args.
81028 set dummy makeinfo; ac_word=$2
81029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81030 $as_echo_n "checking for $ac_word... " >&6; }
81031 if ${ac_cv_prog_MAKEINFO+:} false; then :
81032 $as_echo_n "(cached) " >&6
81033 else
81034 if test -n "$MAKEINFO"; then
81035 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
81036 else
81037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81038 for as_dir in $PATH
81039 do
81040 IFS=$as_save_IFS
81041 test -z "$as_dir" && as_dir=.
81042 for ac_exec_ext in '' $ac_executable_extensions; do
81043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81044 ac_cv_prog_MAKEINFO="makeinfo"
81045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81046 break 2
81047 fi
81048 done
81049 done
81050 IFS=$as_save_IFS
81051
81052 fi
81053 fi
81054 MAKEINFO=$ac_cv_prog_MAKEINFO
81055 if test -n "$MAKEINFO"; then
81056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
81057 $as_echo "$MAKEINFO" >&6; }
81058 else
81059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81060 $as_echo "no" >&6; }
81061 fi
81062
81063
81064 if test -n "$MAKEINFO"; then
81065 # Found it, now check the version.
81066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
81067 $as_echo_n "checking for modern makeinfo... " >&6; }
81068 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
81069 $as_echo_n "(cached) " >&6
81070 else
81071 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
81072 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
81073
81074 case $ac_prog_version in
81075 '') gcc_cv_prog_makeinfo_modern=no;;
81076 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
81077 *) gcc_cv_prog_makeinfo_modern=no;;
81078 esac
81079
81080 fi
81081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
81082 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
81083 else
81084 gcc_cv_prog_makeinfo_modern=no
81085 fi
81086 if test $gcc_cv_prog_makeinfo_modern = no; then
81087 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
81088 fi
81089
81090 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
81091 BUILD_INFO_TRUE=
81092 BUILD_INFO_FALSE='#'
81093 else
81094 BUILD_INFO_TRUE='#'
81095 BUILD_INFO_FALSE=
81096 fi
81097
81098
81099 # Check for doxygen
81100 # Extract the first word of "doxygen", so it can be a program name with args.
81101 set dummy doxygen; ac_word=$2
81102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81103 $as_echo_n "checking for $ac_word... " >&6; }
81104 if ${ac_cv_prog_DOXYGEN+:} false; then :
81105 $as_echo_n "(cached) " >&6
81106 else
81107 if test -n "$DOXYGEN"; then
81108 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
81109 else
81110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81111 for as_dir in $PATH
81112 do
81113 IFS=$as_save_IFS
81114 test -z "$as_dir" && as_dir=.
81115 for ac_exec_ext in '' $ac_executable_extensions; do
81116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81117 ac_cv_prog_DOXYGEN="yes"
81118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81119 break 2
81120 fi
81121 done
81122 done
81123 IFS=$as_save_IFS
81124
81125 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
81126 fi
81127 fi
81128 DOXYGEN=$ac_cv_prog_DOXYGEN
81129 if test -n "$DOXYGEN"; then
81130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
81131 $as_echo "$DOXYGEN" >&6; }
81132 else
81133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81134 $as_echo "no" >&6; }
81135 fi
81136
81137
81138 # Extract the first word of "dot", so it can be a program name with args.
81139 set dummy dot; ac_word=$2
81140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81141 $as_echo_n "checking for $ac_word... " >&6; }
81142 if ${ac_cv_prog_DOT+:} false; then :
81143 $as_echo_n "(cached) " >&6
81144 else
81145 if test -n "$DOT"; then
81146 ac_cv_prog_DOT="$DOT" # Let the user override the test.
81147 else
81148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81149 for as_dir in $PATH
81150 do
81151 IFS=$as_save_IFS
81152 test -z "$as_dir" && as_dir=.
81153 for ac_exec_ext in '' $ac_executable_extensions; do
81154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81155 ac_cv_prog_DOT="yes"
81156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81157 break 2
81158 fi
81159 done
81160 done
81161 IFS=$as_save_IFS
81162
81163 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
81164 fi
81165 fi
81166 DOT=$ac_cv_prog_DOT
81167 if test -n "$DOT"; then
81168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
81169 $as_echo "$DOT" >&6; }
81170 else
81171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81172 $as_echo "no" >&6; }
81173 fi
81174
81175
81176
81177 # Check for docbook
81178 # Extract the first word of "xsltproc", so it can be a program name with args.
81179 set dummy xsltproc; ac_word=$2
81180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81181 $as_echo_n "checking for $ac_word... " >&6; }
81182 if ${ac_cv_prog_XSLTPROC+:} false; then :
81183 $as_echo_n "(cached) " >&6
81184 else
81185 if test -n "$XSLTPROC"; then
81186 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
81187 else
81188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81189 for as_dir in $PATH
81190 do
81191 IFS=$as_save_IFS
81192 test -z "$as_dir" && as_dir=.
81193 for ac_exec_ext in '' $ac_executable_extensions; do
81194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81195 ac_cv_prog_XSLTPROC="yes"
81196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81197 break 2
81198 fi
81199 done
81200 done
81201 IFS=$as_save_IFS
81202
81203 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
81204 fi
81205 fi
81206 XSLTPROC=$ac_cv_prog_XSLTPROC
81207 if test -n "$XSLTPROC"; then
81208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
81209 $as_echo "$XSLTPROC" >&6; }
81210 else
81211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81212 $as_echo "no" >&6; }
81213 fi
81214
81215
81216 # Extract the first word of "xmllint", so it can be a program name with args.
81217 set dummy xmllint; ac_word=$2
81218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81219 $as_echo_n "checking for $ac_word... " >&6; }
81220 if ${ac_cv_prog_XMLLINT+:} false; then :
81221 $as_echo_n "(cached) " >&6
81222 else
81223 if test -n "$XMLLINT"; then
81224 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81225 else
81226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81227 for as_dir in $PATH
81228 do
81229 IFS=$as_save_IFS
81230 test -z "$as_dir" && as_dir=.
81231 for ac_exec_ext in '' $ac_executable_extensions; do
81232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81233 ac_cv_prog_XMLLINT="yes"
81234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81235 break 2
81236 fi
81237 done
81238 done
81239 IFS=$as_save_IFS
81240
81241 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81242 fi
81243 fi
81244 XMLLINT=$ac_cv_prog_XMLLINT
81245 if test -n "$XMLLINT"; then
81246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81247 $as_echo "$XMLLINT" >&6; }
81248 else
81249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81250 $as_echo "no" >&6; }
81251 fi
81252
81253
81254
81255
81256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81257 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81258 glibcxx_stylesheets=no
81259 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
81260 glibcxx_stylesheets=yes
81261 fi
81262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81263 $as_echo "$glibcxx_stylesheets" >&6; }
81264
81265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81266 $as_echo_n "checking for local stylesheet directory... " >&6; }
81267 glibcxx_local_stylesheets=no
81268 if test x"$glibcxx_stylesheets" = x"yes"; then
81269 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
81270 glibcxx_local_stylesheets=yes
81271 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
81272 fi
81273 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
81274 glibcxx_local_stylesheets=yes
81275 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
81276 fi
81277 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
81278 glibcxx_local_stylesheets=yes
81279 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
81280 fi
81281 fi
81282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81283 $as_echo "$glibcxx_local_stylesheets" >&6; }
81284
81285 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81286
81287 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81288 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81289 else
81290 glibcxx_stylesheets=no
81291 fi
81292
81293 # Check for epub3 dependencies.
81294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81295 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81296 glibcxx_epub_stylesheets=no
81297 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81298 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81299 glibcxx_epub_stylesheets=yes
81300 fi
81301 fi
81302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81303 $as_echo "$glibcxx_epub_stylesheets" >&6; }
81304 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81305 BUILD_EPUB_TRUE=
81306 BUILD_EPUB_FALSE='#'
81307 else
81308 BUILD_EPUB_TRUE='#'
81309 BUILD_EPUB_FALSE=
81310 fi
81311
81312
81313
81314
81315 # Check for xml/html dependencies.
81316 if test $ac_cv_prog_DOXYGEN = "yes" &&
81317 test $ac_cv_prog_DOT = "yes" &&
81318 test $ac_cv_prog_XSLTPROC = "yes" &&
81319 test $ac_cv_prog_XMLLINT = "yes" &&
81320 test $glibcxx_stylesheets = "yes"; then
81321 BUILD_XML_TRUE=
81322 BUILD_XML_FALSE='#'
81323 else
81324 BUILD_XML_TRUE='#'
81325 BUILD_XML_FALSE=
81326 fi
81327
81328
81329 if test $ac_cv_prog_DOXYGEN = "yes" &&
81330 test $ac_cv_prog_DOT = "yes" &&
81331 test $ac_cv_prog_XSLTPROC = "yes" &&
81332 test $ac_cv_prog_XMLLINT = "yes" &&
81333 test $glibcxx_stylesheets = "yes"; then
81334 BUILD_HTML_TRUE=
81335 BUILD_HTML_FALSE='#'
81336 else
81337 BUILD_HTML_TRUE='#'
81338 BUILD_HTML_FALSE=
81339 fi
81340
81341
81342 # Check for man dependencies.
81343 if test $ac_cv_prog_DOXYGEN = "yes" &&
81344 test $ac_cv_prog_DOT = "yes"; then
81345 BUILD_MAN_TRUE=
81346 BUILD_MAN_FALSE='#'
81347 else
81348 BUILD_MAN_TRUE='#'
81349 BUILD_MAN_FALSE=
81350 fi
81351
81352
81353 # Check for pdf dependencies.
81354 # Extract the first word of "dblatex", so it can be a program name with args.
81355 set dummy dblatex; ac_word=$2
81356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81357 $as_echo_n "checking for $ac_word... " >&6; }
81358 if ${ac_cv_prog_DBLATEX+:} false; then :
81359 $as_echo_n "(cached) " >&6
81360 else
81361 if test -n "$DBLATEX"; then
81362 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81363 else
81364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81365 for as_dir in $PATH
81366 do
81367 IFS=$as_save_IFS
81368 test -z "$as_dir" && as_dir=.
81369 for ac_exec_ext in '' $ac_executable_extensions; do
81370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81371 ac_cv_prog_DBLATEX="yes"
81372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81373 break 2
81374 fi
81375 done
81376 done
81377 IFS=$as_save_IFS
81378
81379 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81380 fi
81381 fi
81382 DBLATEX=$ac_cv_prog_DBLATEX
81383 if test -n "$DBLATEX"; then
81384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81385 $as_echo "$DBLATEX" >&6; }
81386 else
81387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81388 $as_echo "no" >&6; }
81389 fi
81390
81391
81392 # Extract the first word of "pdflatex", so it can be a program name with args.
81393 set dummy pdflatex; ac_word=$2
81394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81395 $as_echo_n "checking for $ac_word... " >&6; }
81396 if ${ac_cv_prog_PDFLATEX+:} false; then :
81397 $as_echo_n "(cached) " >&6
81398 else
81399 if test -n "$PDFLATEX"; then
81400 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81401 else
81402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81403 for as_dir in $PATH
81404 do
81405 IFS=$as_save_IFS
81406 test -z "$as_dir" && as_dir=.
81407 for ac_exec_ext in '' $ac_executable_extensions; do
81408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81409 ac_cv_prog_PDFLATEX="yes"
81410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81411 break 2
81412 fi
81413 done
81414 done
81415 IFS=$as_save_IFS
81416
81417 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81418 fi
81419 fi
81420 PDFLATEX=$ac_cv_prog_PDFLATEX
81421 if test -n "$PDFLATEX"; then
81422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81423 $as_echo "$PDFLATEX" >&6; }
81424 else
81425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81426 $as_echo "no" >&6; }
81427 fi
81428
81429
81430 if test $ac_cv_prog_DBLATEX = "yes" &&
81431 test $ac_cv_prog_PDFLATEX = "yes"; then
81432 BUILD_PDF_TRUE=
81433 BUILD_PDF_FALSE='#'
81434 else
81435 BUILD_PDF_TRUE='#'
81436 BUILD_PDF_FALSE=
81437 fi
81438
81439
81440 case "$build" in
81441 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81442 * ) glibcxx_include_dir_notparallel=no ;;
81443 esac
81444 if test $glibcxx_include_dir_notparallel = "yes"; then
81445 INCLUDE_DIR_NOTPARALLEL_TRUE=
81446 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81447 else
81448 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81449 INCLUDE_DIR_NOTPARALLEL_FALSE=
81450 fi
81451
81452
81453 # Propagate the target-specific source directories through the build chain.
81454 ATOMICITY_SRCDIR=config/${atomicity_dir}
81455 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81456 ATOMIC_FLAGS=${atomic_flags}
81457 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81458 OS_INC_SRCDIR=config/${os_include_dir}
81459 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81460 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81461 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81462 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81463
81464
81465
81466
81467
81468
81469
81470
81471
81472
81473
81474 # Add CET specific flags if Intel CET is enabled.
81475 # Check whether --enable-cet was given.
81476 if test "${enable_cet+set}" = set; then :
81477 enableval=$enable_cet;
81478 case "$enableval" in
81479 yes|no|auto) ;;
81480 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81481 esac
81482
81483 else
81484 enable_cet=no
81485 fi
81486
81487
81488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81489 $as_echo_n "checking for CET support... " >&6; }
81490
81491 case "$host" in
81492 i[34567]86-*-linux* | x86_64-*-linux*)
81493 case "$enable_cet" in
81494 auto)
81495 # Check if target supports multi-byte NOPs
81496 # and if assembler supports CET insn.
81497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81498 /* end confdefs.h. */
81499
81500 int
81501 main ()
81502 {
81503
81504 #if !defined(__SSE2__)
81505 #error target does not support multi-byte NOPs
81506 #else
81507 asm ("setssbsy");
81508 #endif
81509
81510 ;
81511 return 0;
81512 }
81513 _ACEOF
81514 if ac_fn_c_try_compile "$LINENO"; then :
81515 enable_cet=yes
81516 else
81517 enable_cet=no
81518 fi
81519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81520 ;;
81521 yes)
81522 # Check if assembler supports CET.
81523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81524 /* end confdefs.h. */
81525
81526 int
81527 main ()
81528 {
81529 asm ("setssbsy");
81530 ;
81531 return 0;
81532 }
81533 _ACEOF
81534 if ac_fn_c_try_compile "$LINENO"; then :
81535
81536 else
81537 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
81538 fi
81539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81540 ;;
81541 esac
81542 ;;
81543 *)
81544 enable_cet=no
81545 ;;
81546 esac
81547 if test x$enable_cet = xyes; then
81548 CET_FLAGS="-fcf-protection -mshstk"
81549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81550 $as_echo "yes" >&6; }
81551 else
81552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81553 $as_echo "no" >&6; }
81554 fi
81555
81556 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81557 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81558
81559
81560
81561 # Determine cross-compile flags and AM_CONDITIONALs.
81562 #AC_SUBST(GLIBCXX_IS_NATIVE)
81563 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81564 if test $is_hosted = yes; then
81565 GLIBCXX_HOSTED_TRUE=
81566 GLIBCXX_HOSTED_FALSE='#'
81567 else
81568 GLIBCXX_HOSTED_TRUE='#'
81569 GLIBCXX_HOSTED_FALSE=
81570 fi
81571
81572
81573 if test $enable_libstdcxx_pch = yes; then
81574 GLIBCXX_BUILD_PCH_TRUE=
81575 GLIBCXX_BUILD_PCH_FALSE='#'
81576 else
81577 GLIBCXX_BUILD_PCH_TRUE='#'
81578 GLIBCXX_BUILD_PCH_FALSE=
81579 fi
81580
81581
81582 if test $enable_float128 = yes; then
81583 ENABLE_FLOAT128_TRUE=
81584 ENABLE_FLOAT128_FALSE='#'
81585 else
81586 ENABLE_FLOAT128_TRUE='#'
81587 ENABLE_FLOAT128_FALSE=
81588 fi
81589
81590
81591 if test $enable_libstdcxx_allocator_flag = new; then
81592 ENABLE_ALLOCATOR_NEW_TRUE=
81593 ENABLE_ALLOCATOR_NEW_FALSE='#'
81594 else
81595 ENABLE_ALLOCATOR_NEW_TRUE='#'
81596 ENABLE_ALLOCATOR_NEW_FALSE=
81597 fi
81598
81599
81600 if test $enable_cheaders = c; then
81601 GLIBCXX_C_HEADERS_C_TRUE=
81602 GLIBCXX_C_HEADERS_C_FALSE='#'
81603 else
81604 GLIBCXX_C_HEADERS_C_TRUE='#'
81605 GLIBCXX_C_HEADERS_C_FALSE=
81606 fi
81607
81608
81609 if test $enable_cheaders = c_std; then
81610 GLIBCXX_C_HEADERS_C_STD_TRUE=
81611 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81612 else
81613 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81614 GLIBCXX_C_HEADERS_C_STD_FALSE=
81615 fi
81616
81617
81618 if test $enable_cheaders = c_global; then
81619 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81620 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81621 else
81622 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81623 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81624 fi
81625
81626
81627 if test $c_compatibility = yes; then
81628 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81629 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81630 else
81631 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81632 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81633 fi
81634
81635
81636 if test $enable_libstdcxx_debug = yes; then
81637 GLIBCXX_BUILD_DEBUG_TRUE=
81638 GLIBCXX_BUILD_DEBUG_FALSE='#'
81639 else
81640 GLIBCXX_BUILD_DEBUG_TRUE='#'
81641 GLIBCXX_BUILD_DEBUG_FALSE=
81642 fi
81643
81644
81645 if test $enable_extern_template = yes; then
81646 ENABLE_EXTERN_TEMPLATE_TRUE=
81647 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81648 else
81649 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81650 ENABLE_EXTERN_TEMPLATE_FALSE=
81651 fi
81652
81653
81654 if test $python_mod_dir != no; then
81655 ENABLE_PYTHONDIR_TRUE=
81656 ENABLE_PYTHONDIR_FALSE='#'
81657 else
81658 ENABLE_PYTHONDIR_TRUE='#'
81659 ENABLE_PYTHONDIR_FALSE=
81660 fi
81661
81662
81663 if test $enable_werror = yes; then
81664 ENABLE_WERROR_TRUE=
81665 ENABLE_WERROR_FALSE='#'
81666 else
81667 ENABLE_WERROR_TRUE='#'
81668 ENABLE_WERROR_FALSE=
81669 fi
81670
81671
81672 if test $enable_vtable_verify = yes; then
81673 ENABLE_VTABLE_VERIFY_TRUE=
81674 ENABLE_VTABLE_VERIFY_FALSE='#'
81675 else
81676 ENABLE_VTABLE_VERIFY_TRUE='#'
81677 ENABLE_VTABLE_VERIFY_FALSE=
81678 fi
81679
81680
81681 if test $enable_symvers != no; then
81682 ENABLE_SYMVERS_TRUE=
81683 ENABLE_SYMVERS_FALSE='#'
81684 else
81685 ENABLE_SYMVERS_TRUE='#'
81686 ENABLE_SYMVERS_FALSE=
81687 fi
81688
81689
81690 if test $enable_symvers = gnu; then
81691 ENABLE_SYMVERS_GNU_TRUE=
81692 ENABLE_SYMVERS_GNU_FALSE='#'
81693 else
81694 ENABLE_SYMVERS_GNU_TRUE='#'
81695 ENABLE_SYMVERS_GNU_FALSE=
81696 fi
81697
81698
81699 if test $enable_symvers = gnu-versioned-namespace; then
81700 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81701 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81702 else
81703 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81704 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81705 fi
81706
81707
81708 if test $enable_symvers = darwin; then
81709 ENABLE_SYMVERS_DARWIN_TRUE=
81710 ENABLE_SYMVERS_DARWIN_FALSE='#'
81711 else
81712 ENABLE_SYMVERS_DARWIN_TRUE='#'
81713 ENABLE_SYMVERS_DARWIN_FALSE=
81714 fi
81715
81716
81717 if test $enable_symvers = sun; then
81718 ENABLE_SYMVERS_SUN_TRUE=
81719 ENABLE_SYMVERS_SUN_FALSE='#'
81720 else
81721 ENABLE_SYMVERS_SUN_TRUE='#'
81722 ENABLE_SYMVERS_SUN_FALSE=
81723 fi
81724
81725
81726 if test $enable_libstdcxx_visibility = yes; then
81727 ENABLE_VISIBILITY_TRUE=
81728 ENABLE_VISIBILITY_FALSE='#'
81729 else
81730 ENABLE_VISIBILITY_TRUE='#'
81731 ENABLE_VISIBILITY_FALSE=
81732 fi
81733
81734
81735 if test $enable_libstdcxx_dual_abi = yes; then
81736 ENABLE_DUAL_ABI_TRUE=
81737 ENABLE_DUAL_ABI_FALSE='#'
81738 else
81739 ENABLE_DUAL_ABI_TRUE='#'
81740 ENABLE_DUAL_ABI_FALSE=
81741 fi
81742
81743
81744 if test $glibcxx_cxx11_abi = 1; then
81745 ENABLE_CXX11_ABI_TRUE=
81746 ENABLE_CXX11_ABI_FALSE='#'
81747 else
81748 ENABLE_CXX11_ABI_TRUE='#'
81749 ENABLE_CXX11_ABI_FALSE=
81750 fi
81751
81752
81753 if test $ac_ldbl_compat = yes; then
81754 GLIBCXX_LDBL_COMPAT_TRUE=
81755 GLIBCXX_LDBL_COMPAT_FALSE='#'
81756 else
81757 GLIBCXX_LDBL_COMPAT_TRUE='#'
81758 GLIBCXX_LDBL_COMPAT_FALSE=
81759 fi
81760
81761
81762 if test $enable_libstdcxx_filesystem_ts = yes; then
81763 ENABLE_FILESYSTEM_TS_TRUE=
81764 ENABLE_FILESYSTEM_TS_FALSE='#'
81765 else
81766 ENABLE_FILESYSTEM_TS_TRUE='#'
81767 ENABLE_FILESYSTEM_TS_FALSE=
81768 fi
81769
81770
81771
81772
81773 cat >confcache <<\_ACEOF
81774 # This file is a shell script that caches the results of configure
81775 # tests run on this system so they can be shared between configure
81776 # scripts and configure runs, see configure's option --config-cache.
81777 # It is not useful on other systems. If it contains results you don't
81778 # want to keep, you may remove or edit it.
81779 #
81780 # config.status only pays attention to the cache file if you give it
81781 # the --recheck option to rerun configure.
81782 #
81783 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81784 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81785 # following values.
81786
81787 _ACEOF
81788
81789 # The following way of writing the cache mishandles newlines in values,
81790 # but we know of no workaround that is simple, portable, and efficient.
81791 # So, we kill variables containing newlines.
81792 # Ultrix sh set writes to stderr and can't be redirected directly,
81793 # and sets the high bit in the cache file unless we assign to the vars.
81794 (
81795 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81796 eval ac_val=\$$ac_var
81797 case $ac_val in #(
81798 *${as_nl}*)
81799 case $ac_var in #(
81800 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81801 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81802 esac
81803 case $ac_var in #(
81804 _ | IFS | as_nl) ;; #(
81805 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81806 *) { eval $ac_var=; unset $ac_var;} ;;
81807 esac ;;
81808 esac
81809 done
81810
81811 (set) 2>&1 |
81812 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81813 *${as_nl}ac_space=\ *)
81814 # `set' does not quote correctly, so add quotes: double-quote
81815 # substitution turns \\\\ into \\, and sed turns \\ into \.
81816 sed -n \
81817 "s/'/'\\\\''/g;
81818 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81819 ;; #(
81820 *)
81821 # `set' quotes correctly as required by POSIX, so do not add quotes.
81822 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81823 ;;
81824 esac |
81825 sort
81826 ) |
81827 sed '
81828 /^ac_cv_env_/b end
81829 t clear
81830 :clear
81831 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81832 t end
81833 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81834 :end' >>confcache
81835 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81836 if test -w "$cache_file"; then
81837 if test "x$cache_file" != "x/dev/null"; then
81838 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81839 $as_echo "$as_me: updating cache $cache_file" >&6;}
81840 if test ! -f "$cache_file" || test -h "$cache_file"; then
81841 cat confcache >"$cache_file"
81842 else
81843 case $cache_file in #(
81844 */* | ?:*)
81845 mv -f confcache "$cache_file"$$ &&
81846 mv -f "$cache_file"$$ "$cache_file" ;; #(
81847 *)
81848 mv -f confcache "$cache_file" ;;
81849 esac
81850 fi
81851 fi
81852 else
81853 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81854 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81855 fi
81856 fi
81857 rm -f confcache
81858
81859 if test ${multilib} = yes; then
81860 multilib_arg="--enable-multilib"
81861 else
81862 multilib_arg=
81863 fi
81864
81865 # Export all the install information.
81866
81867 glibcxx_toolexecdir=no
81868 glibcxx_toolexeclibdir=no
81869 glibcxx_prefixdir=$prefix
81870
81871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81872 $as_echo_n "checking for gxx-include-dir... " >&6; }
81873
81874 # Check whether --with-gxx-include-dir was given.
81875 if test "${with_gxx_include_dir+set}" = set; then :
81876 withval=$with_gxx_include_dir; case "$withval" in
81877 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81878 no) gxx_include_dir=no ;;
81879 *) gxx_include_dir=$withval ;;
81880 esac
81881 else
81882 gxx_include_dir=no
81883 fi
81884
81885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81886 $as_echo "$gxx_include_dir" >&6; }
81887
81888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81889 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81890 # Check whether --enable-version-specific-runtime-libs was given.
81891 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81892 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81893 yes) version_specific_libs=yes ;;
81894 no) version_specific_libs=no ;;
81895 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81896 esac
81897 else
81898 version_specific_libs=no
81899 fi
81900
81901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81902 $as_echo "$version_specific_libs" >&6; }
81903
81904 # Default case for install directory for include files.
81905 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81906 gxx_include_dir='include/c++/${gcc_version}'
81907 if test -n "$with_cross_host" &&
81908 test x"$with_cross_host" != x"no"; then
81909 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81910 else
81911 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81912 fi
81913 fi
81914
81915 # Version-specific runtime libs processing.
81916 if test $version_specific_libs = yes; then
81917 # Need the gcc compiler version to know where to install libraries
81918 # and header files if --enable-version-specific-runtime-libs option
81919 # is selected. FIXME: these variables are misnamed, there are
81920 # no executables installed in _toolexecdir or _toolexeclibdir.
81921 if test x"$gxx_include_dir" = x"no"; then
81922 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81923 fi
81924 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81925 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81926 fi
81927
81928 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81929 # Install a library built with a cross compiler in tooldir, not libdir.
81930 if test x"$glibcxx_toolexecdir" = x"no"; then
81931 if test -n "$with_cross_host" &&
81932 test x"$with_cross_host" != x"no"; then
81933 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81934 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81935 else
81936 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81937 glibcxx_toolexeclibdir='${libdir}'
81938 fi
81939 multi_os_directory=`$CXX -print-multi-os-directory`
81940 case $multi_os_directory in
81941 .) ;; # Avoid trailing /.
81942 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81943 esac
81944 fi
81945
81946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81947 $as_echo_n "checking for install location... " >&6; }
81948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81949 $as_echo "$gxx_include_dir" >&6; }
81950
81951
81952
81953
81954
81955
81956
81957 # Export all the include and flag information to Makefiles.
81958
81959 # Used for every C++ compile we perform.
81960 GLIBCXX_INCLUDES="\
81961 -I$glibcxx_builddir/include/$host_alias \
81962 -I$glibcxx_builddir/include \
81963 -I$glibcxx_srcdir/libsupc++"
81964
81965 # For Canadian crosses, pick this up too.
81966 if test $CANADIAN = yes; then
81967 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81968 fi
81969
81970 # Stuff in the actual top level. Currently only used by libsupc++ to
81971 # get unwind* headers from the libgcc dir.
81972 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81973 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81974
81975 # Now, export this to all the little Makefiles....
81976
81977
81978
81979
81980 # Optimization flags that are probably a good idea for thrill-seekers. Just
81981 # uncomment the lines below and make, everything else is ready to go...
81982 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81983 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81984
81985
81986 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
81987
81988
81989
81990 # Determine what GCC version number to use in filesystem paths.
81991
81992 get_gcc_base_ver="cat"
81993
81994 # Check whether --with-gcc-major-version-only was given.
81995 if test "${with_gcc_major_version_only+set}" = set; then :
81996 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81997 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
81998 fi
81999
82000 fi
82001
82002
82003
82004
82005 ac_config_files="$ac_config_files Makefile"
82006
82007 ac_config_files="$ac_config_files scripts/testsuite_flags"
82008
82009 ac_config_files="$ac_config_files scripts/extract_symvers"
82010
82011 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
82012
82013
82014 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
82015 # that multilib installs will end up installed in the correct place.
82016 # The testsuite needs it for multilib-aware ABI baseline files.
82017 # To work around this not being passed down from config-ml.in ->
82018 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
82019 # append it here. Only modify Makefiles that have just been created.
82020 #
82021 # Also, get rid of this simulated-VPATH thing that automake does.
82022 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
82023
82024
82025 ac_config_commands="$ac_config_commands generate-headers"
82026
82027
82028 cat >confcache <<\_ACEOF
82029 # This file is a shell script that caches the results of configure
82030 # tests run on this system so they can be shared between configure
82031 # scripts and configure runs, see configure's option --config-cache.
82032 # It is not useful on other systems. If it contains results you don't
82033 # want to keep, you may remove or edit it.
82034 #
82035 # config.status only pays attention to the cache file if you give it
82036 # the --recheck option to rerun configure.
82037 #
82038 # `ac_cv_env_foo' variables (set or unset) will be overridden when
82039 # loading this file, other *unset* `ac_cv_foo' will be assigned the
82040 # following values.
82041
82042 _ACEOF
82043
82044 # The following way of writing the cache mishandles newlines in values,
82045 # but we know of no workaround that is simple, portable, and efficient.
82046 # So, we kill variables containing newlines.
82047 # Ultrix sh set writes to stderr and can't be redirected directly,
82048 # and sets the high bit in the cache file unless we assign to the vars.
82049 (
82050 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
82051 eval ac_val=\$$ac_var
82052 case $ac_val in #(
82053 *${as_nl}*)
82054 case $ac_var in #(
82055 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
82056 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
82057 esac
82058 case $ac_var in #(
82059 _ | IFS | as_nl) ;; #(
82060 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
82061 *) { eval $ac_var=; unset $ac_var;} ;;
82062 esac ;;
82063 esac
82064 done
82065
82066 (set) 2>&1 |
82067 case $as_nl`(ac_space=' '; set) 2>&1` in #(
82068 *${as_nl}ac_space=\ *)
82069 # `set' does not quote correctly, so add quotes: double-quote
82070 # substitution turns \\\\ into \\, and sed turns \\ into \.
82071 sed -n \
82072 "s/'/'\\\\''/g;
82073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
82074 ;; #(
82075 *)
82076 # `set' quotes correctly as required by POSIX, so do not add quotes.
82077 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
82078 ;;
82079 esac |
82080 sort
82081 ) |
82082 sed '
82083 /^ac_cv_env_/b end
82084 t clear
82085 :clear
82086 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
82087 t end
82088 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
82089 :end' >>confcache
82090 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
82091 if test -w "$cache_file"; then
82092 if test "x$cache_file" != "x/dev/null"; then
82093 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
82094 $as_echo "$as_me: updating cache $cache_file" >&6;}
82095 if test ! -f "$cache_file" || test -h "$cache_file"; then
82096 cat confcache >"$cache_file"
82097 else
82098 case $cache_file in #(
82099 */* | ?:*)
82100 mv -f confcache "$cache_file"$$ &&
82101 mv -f "$cache_file"$$ "$cache_file" ;; #(
82102 *)
82103 mv -f confcache "$cache_file" ;;
82104 esac
82105 fi
82106 fi
82107 else
82108 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
82109 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
82110 fi
82111 fi
82112 rm -f confcache
82113
82114 test "x$prefix" = xNONE && prefix=$ac_default_prefix
82115 # Let make expand exec_prefix.
82116 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
82117
82118 DEFS=-DHAVE_CONFIG_H
82119
82120 ac_libobjs=
82121 ac_ltlibobjs=
82122 U=
82123 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
82124 # 1. Remove the extension, and $U if already installed.
82125 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
82126 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
82127 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
82128 # will be set to the directory where LIBOBJS objects are built.
82129 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
82130 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
82131 done
82132 LIBOBJS=$ac_libobjs
82133
82134 LTLIBOBJS=$ac_ltlibobjs
82135
82136
82137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
82138 $as_echo_n "checking that generated files are newer than configure... " >&6; }
82139 if test -n "$am_sleep_pid"; then
82140 # Hide warnings about reused PIDs.
82141 wait $am_sleep_pid 2>/dev/null
82142 fi
82143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
82144 $as_echo "done" >&6; }
82145 if test -n "$EXEEXT"; then
82146 am__EXEEXT_TRUE=
82147 am__EXEEXT_FALSE='#'
82148 else
82149 am__EXEEXT_TRUE='#'
82150 am__EXEEXT_FALSE=
82151 fi
82152
82153 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
82154 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
82155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82156 fi
82157 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
82158 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
82159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82160 fi
82161 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
82162 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
82163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82164 fi
82165 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
82166 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
82167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82168 fi
82169 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
82170 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
82171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82172 fi
82173 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
82174 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
82175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82176 fi
82177 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
82178 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
82179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82180 fi
82181 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
82182 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
82183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82184 fi
82185 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
82186 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
82187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82188 fi
82189 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
82190 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
82191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82192 fi
82193 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
82194 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
82195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82196 fi
82197 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
82198 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
82199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82200 fi
82201 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
82202 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
82203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82204 fi
82205 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
82206 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
82207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82208 fi
82209 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
82210 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
82211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82212 fi
82213 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
82214 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
82215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82216 fi
82217 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
82218 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
82219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82220 fi
82221 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
82222 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
82223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82224 fi
82225 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
82226 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
82227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82228 fi
82229 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
82230 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
82231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82232 fi
82233 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
82234 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
82235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82236 fi
82237 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
82238 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
82239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82240 fi
82241 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
82242 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
82243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82244 fi
82245 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
82246 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
82247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82248 fi
82249 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
82250 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
82251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82252 fi
82253 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
82254 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
82255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82256 fi
82257 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
82258 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
82259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82260 fi
82261 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
82262 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
82263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82264 fi
82265 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
82266 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
82267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82268 fi
82269 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
82270 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
82271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82272 fi
82273 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
82274 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
82275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82276 fi
82277 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
82278 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
82279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82280 fi
82281
82282 : "${CONFIG_STATUS=./config.status}"
82283 ac_write_fail=0
82284 ac_clean_files_save=$ac_clean_files
82285 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
82286 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
82287 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
82288 as_write_fail=0
82289 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
82290 #! $SHELL
82291 # Generated by $as_me.
82292 # Run this file to recreate the current configuration.
82293 # Compiler output produced by configure, useful for debugging
82294 # configure, is in config.log if it exists.
82295
82296 debug=false
82297 ac_cs_recheck=false
82298 ac_cs_silent=false
82299
82300 SHELL=\${CONFIG_SHELL-$SHELL}
82301 export SHELL
82302 _ASEOF
82303 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
82304 ## -------------------- ##
82305 ## M4sh Initialization. ##
82306 ## -------------------- ##
82307
82308 # Be more Bourne compatible
82309 DUALCASE=1; export DUALCASE # for MKS sh
82310 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82311 emulate sh
82312 NULLCMD=:
82313 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82314 # is contrary to our usage. Disable this feature.
82315 alias -g '${1+"$@"}'='"$@"'
82316 setopt NO_GLOB_SUBST
82317 else
82318 case `(set -o) 2>/dev/null` in #(
82319 *posix*) :
82320 set -o posix ;; #(
82321 *) :
82322 ;;
82323 esac
82324 fi
82325
82326
82327 as_nl='
82328 '
82329 export as_nl
82330 # Printing a long string crashes Solaris 7 /usr/bin/printf.
82331 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
82332 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
82333 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
82334 # Prefer a ksh shell builtin over an external printf program on Solaris,
82335 # but without wasting forks for bash or zsh.
82336 if test -z "$BASH_VERSION$ZSH_VERSION" \
82337 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
82338 as_echo='print -r --'
82339 as_echo_n='print -rn --'
82340 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
82341 as_echo='printf %s\n'
82342 as_echo_n='printf %s'
82343 else
82344 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
82345 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
82346 as_echo_n='/usr/ucb/echo -n'
82347 else
82348 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82349 as_echo_n_body='eval
82350 arg=$1;
82351 case $arg in #(
82352 *"$as_nl"*)
82353 expr "X$arg" : "X\\(.*\\)$as_nl";
82354 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82355 esac;
82356 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
82357 '
82358 export as_echo_n_body
82359 as_echo_n='sh -c $as_echo_n_body as_echo'
82360 fi
82361 export as_echo_body
82362 as_echo='sh -c $as_echo_body as_echo'
82363 fi
82364
82365 # The user is always right.
82366 if test "${PATH_SEPARATOR+set}" != set; then
82367 PATH_SEPARATOR=:
82368 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82369 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82370 PATH_SEPARATOR=';'
82371 }
82372 fi
82373
82374
82375 # IFS
82376 # We need space, tab and new line, in precisely that order. Quoting is
82377 # there to prevent editors from complaining about space-tab.
82378 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82379 # splitting by setting IFS to empty value.)
82380 IFS=" "" $as_nl"
82381
82382 # Find who we are. Look in the path if we contain no directory separator.
82383 as_myself=
82384 case $0 in #((
82385 *[\\/]* ) as_myself=$0 ;;
82386 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82387 for as_dir in $PATH
82388 do
82389 IFS=$as_save_IFS
82390 test -z "$as_dir" && as_dir=.
82391 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82392 done
82393 IFS=$as_save_IFS
82394
82395 ;;
82396 esac
82397 # We did not find ourselves, most probably we were run as `sh COMMAND'
82398 # in which case we are not to be found in the path.
82399 if test "x$as_myself" = x; then
82400 as_myself=$0
82401 fi
82402 if test ! -f "$as_myself"; then
82403 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82404 exit 1
82405 fi
82406
82407 # Unset variables that we do not need and which cause bugs (e.g. in
82408 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82409 # suppresses any "Segmentation fault" message there. '((' could
82410 # trigger a bug in pdksh 5.2.14.
82411 for as_var in BASH_ENV ENV MAIL MAILPATH
82412 do eval test x\${$as_var+set} = xset \
82413 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82414 done
82415 PS1='$ '
82416 PS2='> '
82417 PS4='+ '
82418
82419 # NLS nuisances.
82420 LC_ALL=C
82421 export LC_ALL
82422 LANGUAGE=C
82423 export LANGUAGE
82424
82425 # CDPATH.
82426 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82427
82428
82429 # as_fn_error STATUS ERROR [LINENO LOG_FD]
82430 # ----------------------------------------
82431 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82432 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82433 # script with STATUS, using 1 if that was 0.
82434 as_fn_error ()
82435 {
82436 as_status=$1; test $as_status -eq 0 && as_status=1
82437 if test "$4"; then
82438 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82439 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
82440 fi
82441 $as_echo "$as_me: error: $2" >&2
82442 as_fn_exit $as_status
82443 } # as_fn_error
82444
82445
82446 # as_fn_set_status STATUS
82447 # -----------------------
82448 # Set $? to STATUS, without forking.
82449 as_fn_set_status ()
82450 {
82451 return $1
82452 } # as_fn_set_status
82453
82454 # as_fn_exit STATUS
82455 # -----------------
82456 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82457 as_fn_exit ()
82458 {
82459 set +e
82460 as_fn_set_status $1
82461 exit $1
82462 } # as_fn_exit
82463
82464 # as_fn_unset VAR
82465 # ---------------
82466 # Portably unset VAR.
82467 as_fn_unset ()
82468 {
82469 { eval $1=; unset $1;}
82470 }
82471 as_unset=as_fn_unset
82472 # as_fn_append VAR VALUE
82473 # ----------------------
82474 # Append the text in VALUE to the end of the definition contained in VAR. Take
82475 # advantage of any shell optimizations that allow amortized linear growth over
82476 # repeated appends, instead of the typical quadratic growth present in naive
82477 # implementations.
82478 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82479 eval 'as_fn_append ()
82480 {
82481 eval $1+=\$2
82482 }'
82483 else
82484 as_fn_append ()
82485 {
82486 eval $1=\$$1\$2
82487 }
82488 fi # as_fn_append
82489
82490 # as_fn_arith ARG...
82491 # ------------------
82492 # Perform arithmetic evaluation on the ARGs, and store the result in the
82493 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82494 # must be portable across $(()) and expr.
82495 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82496 eval 'as_fn_arith ()
82497 {
82498 as_val=$(( $* ))
82499 }'
82500 else
82501 as_fn_arith ()
82502 {
82503 as_val=`expr "$@" || test $? -eq 1`
82504 }
82505 fi # as_fn_arith
82506
82507
82508 if expr a : '\(a\)' >/dev/null 2>&1 &&
82509 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82510 as_expr=expr
82511 else
82512 as_expr=false
82513 fi
82514
82515 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82516 as_basename=basename
82517 else
82518 as_basename=false
82519 fi
82520
82521 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82522 as_dirname=dirname
82523 else
82524 as_dirname=false
82525 fi
82526
82527 as_me=`$as_basename -- "$0" ||
82528 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82529 X"$0" : 'X\(//\)$' \| \
82530 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82531 $as_echo X/"$0" |
82532 sed '/^.*\/\([^/][^/]*\)\/*$/{
82533 s//\1/
82534 q
82535 }
82536 /^X\/\(\/\/\)$/{
82537 s//\1/
82538 q
82539 }
82540 /^X\/\(\/\).*/{
82541 s//\1/
82542 q
82543 }
82544 s/.*/./; q'`
82545
82546 # Avoid depending upon Character Ranges.
82547 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82548 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82549 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82550 as_cr_digits='0123456789'
82551 as_cr_alnum=$as_cr_Letters$as_cr_digits
82552
82553 ECHO_C= ECHO_N= ECHO_T=
82554 case `echo -n x` in #(((((
82555 -n*)
82556 case `echo 'xy\c'` in
82557 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82558 xy) ECHO_C='\c';;
82559 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82560 ECHO_T=' ';;
82561 esac;;
82562 *)
82563 ECHO_N='-n';;
82564 esac
82565
82566 rm -f conf$$ conf$$.exe conf$$.file
82567 if test -d conf$$.dir; then
82568 rm -f conf$$.dir/conf$$.file
82569 else
82570 rm -f conf$$.dir
82571 mkdir conf$$.dir 2>/dev/null
82572 fi
82573 if (echo >conf$$.file) 2>/dev/null; then
82574 if ln -s conf$$.file conf$$ 2>/dev/null; then
82575 as_ln_s='ln -s'
82576 # ... but there are two gotchas:
82577 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82578 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82579 # In both cases, we have to default to `cp -pR'.
82580 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82581 as_ln_s='cp -pR'
82582 elif ln conf$$.file conf$$ 2>/dev/null; then
82583 as_ln_s=ln
82584 else
82585 as_ln_s='cp -pR'
82586 fi
82587 else
82588 as_ln_s='cp -pR'
82589 fi
82590 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82591 rmdir conf$$.dir 2>/dev/null
82592
82593
82594 # as_fn_mkdir_p
82595 # -------------
82596 # Create "$as_dir" as a directory, including parents if necessary.
82597 as_fn_mkdir_p ()
82598 {
82599
82600 case $as_dir in #(
82601 -*) as_dir=./$as_dir;;
82602 esac
82603 test -d "$as_dir" || eval $as_mkdir_p || {
82604 as_dirs=
82605 while :; do
82606 case $as_dir in #(
82607 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82608 *) as_qdir=$as_dir;;
82609 esac
82610 as_dirs="'$as_qdir' $as_dirs"
82611 as_dir=`$as_dirname -- "$as_dir" ||
82612 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82613 X"$as_dir" : 'X\(//\)[^/]' \| \
82614 X"$as_dir" : 'X\(//\)$' \| \
82615 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82616 $as_echo X"$as_dir" |
82617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82618 s//\1/
82619 q
82620 }
82621 /^X\(\/\/\)[^/].*/{
82622 s//\1/
82623 q
82624 }
82625 /^X\(\/\/\)$/{
82626 s//\1/
82627 q
82628 }
82629 /^X\(\/\).*/{
82630 s//\1/
82631 q
82632 }
82633 s/.*/./; q'`
82634 test -d "$as_dir" && break
82635 done
82636 test -z "$as_dirs" || eval "mkdir $as_dirs"
82637 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
82638
82639
82640 } # as_fn_mkdir_p
82641 if mkdir -p . 2>/dev/null; then
82642 as_mkdir_p='mkdir -p "$as_dir"'
82643 else
82644 test -d ./-p && rmdir ./-p
82645 as_mkdir_p=false
82646 fi
82647
82648
82649 # as_fn_executable_p FILE
82650 # -----------------------
82651 # Test if FILE is an executable regular file.
82652 as_fn_executable_p ()
82653 {
82654 test -f "$1" && test -x "$1"
82655 } # as_fn_executable_p
82656 as_test_x='test -x'
82657 as_executable_p=as_fn_executable_p
82658
82659 # Sed expression to map a string onto a valid CPP name.
82660 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82661
82662 # Sed expression to map a string onto a valid variable name.
82663 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82664
82665
82666 exec 6>&1
82667 ## ----------------------------------- ##
82668 ## Main body of $CONFIG_STATUS script. ##
82669 ## ----------------------------------- ##
82670 _ASEOF
82671 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82672
82673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82674 # Save the log message, to keep $0 and so on meaningful, and to
82675 # report actual input values of CONFIG_FILES etc. instead of their
82676 # values after options handling.
82677 ac_log="
82678 This file was extended by package-unused $as_me version-unused, which was
82679 generated by GNU Autoconf 2.69. Invocation command line was
82680
82681 CONFIG_FILES = $CONFIG_FILES
82682 CONFIG_HEADERS = $CONFIG_HEADERS
82683 CONFIG_LINKS = $CONFIG_LINKS
82684 CONFIG_COMMANDS = $CONFIG_COMMANDS
82685 $ $0 $@
82686
82687 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82688 "
82689
82690 _ACEOF
82691
82692 case $ac_config_files in *"
82693 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82694 esac
82695
82696 case $ac_config_headers in *"
82697 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82698 esac
82699
82700
82701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82702 # Files that config.status was made for.
82703 config_files="$ac_config_files"
82704 config_headers="$ac_config_headers"
82705 config_commands="$ac_config_commands"
82706
82707 _ACEOF
82708
82709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82710 ac_cs_usage="\
82711 \`$as_me' instantiates files and other configuration actions
82712 from templates according to the current configuration. Unless the files
82713 and actions are specified as TAGs, all are instantiated by default.
82714
82715 Usage: $0 [OPTION]... [TAG]...
82716
82717 -h, --help print this help, then exit
82718 -V, --version print version number and configuration settings, then exit
82719 --config print configuration, then exit
82720 -q, --quiet, --silent
82721 do not print progress messages
82722 -d, --debug don't remove temporary files
82723 --recheck update $as_me by reconfiguring in the same conditions
82724 --file=FILE[:TEMPLATE]
82725 instantiate the configuration file FILE
82726 --header=FILE[:TEMPLATE]
82727 instantiate the configuration header FILE
82728
82729 Configuration files:
82730 $config_files
82731
82732 Configuration headers:
82733 $config_headers
82734
82735 Configuration commands:
82736 $config_commands
82737
82738 Report bugs to the package provider."
82739
82740 _ACEOF
82741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82742 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
82743 ac_cs_version="\\
82744 package-unused config.status version-unused
82745 configured by $0, generated by GNU Autoconf 2.69,
82746 with options \\"\$ac_cs_config\\"
82747
82748 Copyright (C) 2012 Free Software Foundation, Inc.
82749 This config.status script is free software; the Free Software Foundation
82750 gives unlimited permission to copy, distribute and modify it."
82751
82752 ac_pwd='$ac_pwd'
82753 srcdir='$srcdir'
82754 INSTALL='$INSTALL'
82755 MKDIR_P='$MKDIR_P'
82756 AWK='$AWK'
82757 test -n "\$AWK" || AWK=awk
82758 _ACEOF
82759
82760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82761 # The default lists apply if the user does not specify any file.
82762 ac_need_defaults=:
82763 while test $# != 0
82764 do
82765 case $1 in
82766 --*=?*)
82767 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82768 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82769 ac_shift=:
82770 ;;
82771 --*=)
82772 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82773 ac_optarg=
82774 ac_shift=:
82775 ;;
82776 *)
82777 ac_option=$1
82778 ac_optarg=$2
82779 ac_shift=shift
82780 ;;
82781 esac
82782
82783 case $ac_option in
82784 # Handling of the options.
82785 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82786 ac_cs_recheck=: ;;
82787 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82788 $as_echo "$ac_cs_version"; exit ;;
82789 --config | --confi | --conf | --con | --co | --c )
82790 $as_echo "$ac_cs_config"; exit ;;
82791 --debug | --debu | --deb | --de | --d | -d )
82792 debug=: ;;
82793 --file | --fil | --fi | --f )
82794 $ac_shift
82795 case $ac_optarg in
82796 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82797 '') as_fn_error $? "missing file argument" ;;
82798 esac
82799 as_fn_append CONFIG_FILES " '$ac_optarg'"
82800 ac_need_defaults=false;;
82801 --header | --heade | --head | --hea )
82802 $ac_shift
82803 case $ac_optarg in
82804 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82805 esac
82806 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82807 ac_need_defaults=false;;
82808 --he | --h)
82809 # Conflict between --help and --header
82810 as_fn_error $? "ambiguous option: \`$1'
82811 Try \`$0 --help' for more information.";;
82812 --help | --hel | -h )
82813 $as_echo "$ac_cs_usage"; exit ;;
82814 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82815 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82816 ac_cs_silent=: ;;
82817
82818 # This is an error.
82819 -*) as_fn_error $? "unrecognized option: \`$1'
82820 Try \`$0 --help' for more information." ;;
82821
82822 *) as_fn_append ac_config_targets " $1"
82823 ac_need_defaults=false ;;
82824
82825 esac
82826 shift
82827 done
82828
82829 ac_configure_extra_args=
82830
82831 if $ac_cs_silent; then
82832 exec 6>/dev/null
82833 ac_configure_extra_args="$ac_configure_extra_args --silent"
82834 fi
82835
82836 _ACEOF
82837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82838 if \$ac_cs_recheck; then
82839 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82840 shift
82841 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82842 CONFIG_SHELL='$SHELL'
82843 export CONFIG_SHELL
82844 exec "\$@"
82845 fi
82846
82847 _ACEOF
82848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82849 exec 5>>config.log
82850 {
82851 echo
82852 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82853 ## Running $as_me. ##
82854 _ASBOX
82855 $as_echo "$ac_log"
82856 } >&5
82857
82858 _ACEOF
82859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82860 #
82861 # INIT-COMMANDS
82862 #
82863
82864 srcdir="$srcdir"
82865 host="$host"
82866 target="$target"
82867 with_multisubdir="$with_multisubdir"
82868 with_multisrctop="$with_multisrctop"
82869 with_target_subdir="$with_target_subdir"
82870 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82871 multi_basedir="$multi_basedir"
82872 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82873 CC="$CC"
82874 CXX="$CXX"
82875 GFORTRAN="$GFORTRAN"
82876 GDC="$GDC"
82877
82878
82879 # The HP-UX ksh and POSIX shell print the target directory to stdout
82880 # if CDPATH is set.
82881 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82882
82883 sed_quote_subst='$sed_quote_subst'
82884 double_quote_subst='$double_quote_subst'
82885 delay_variable_subst='$delay_variable_subst'
82886 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82887 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82888 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82889 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82890 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82891 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82892 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82893 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82894 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82895 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82896 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82897 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82898 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82899 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82900 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82901 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82902 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82903 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82904 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82905 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82906 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82907 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82908 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82909 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82910 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82911 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82912 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82913 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82914 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82915 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82916 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82917 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82918 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82919 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82920 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82921 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82922 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82923 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82924 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82925 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82926 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82927 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82928 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82929 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82930 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82931 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82932 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82933 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82934 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"`'
82935 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82936 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82937 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82938 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82939 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82940 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82941 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82942 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82943 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82944 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82945 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82946 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82947 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82948 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82949 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82950 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82951 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82952 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82953 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82954 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82955 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82956 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82957 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82958 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82959 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82960 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82961 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82962 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82963 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82964 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82965 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82966 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82967 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82968 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82969 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82970 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82971 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82972 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82973 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82974 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82975 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82976 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82977 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82978 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82979 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82980 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82981 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82982 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82983 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82984 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82985 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82986 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82987 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82988 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82989 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82990 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82991 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82992 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82993 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82994 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82995 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82996 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82997 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82998 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82999 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
83000 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
83001 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
83002 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
83003 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
83004 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
83005 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
83006 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
83007 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
83008 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
83009 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
83010 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
83011 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
83012 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
83013 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
83014 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83015 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83016 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
83017 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
83018 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
83019 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
83020 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
83021 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
83022 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
83023 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
83024 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
83025 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83026 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83027 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
83028 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83029 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83030 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83031 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83032 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83033 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83034 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
83035 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83036 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83037 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83038 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
83039 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
83040 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
83041 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
83042 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
83043 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
83044 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
83045 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
83046 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
83047 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
83048 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
83049 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83050 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83051 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83052 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83053 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
83054 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
83055 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
83056 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83057 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83058 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
83059 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
83060 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
83061
83062 LTCC='$LTCC'
83063 LTCFLAGS='$LTCFLAGS'
83064 compiler='$compiler_DEFAULT'
83065
83066 # A function that is used when there is no print builtin or printf.
83067 func_fallback_echo ()
83068 {
83069 eval 'cat <<_LTECHO_EOF
83070 \$1
83071 _LTECHO_EOF'
83072 }
83073
83074 # Quote evaled strings.
83075 for var in SHELL \
83076 ECHO \
83077 SED \
83078 GREP \
83079 EGREP \
83080 FGREP \
83081 LD \
83082 NM \
83083 LN_S \
83084 lt_SP2NL \
83085 lt_NL2SP \
83086 reload_flag \
83087 OBJDUMP \
83088 deplibs_check_method \
83089 file_magic_cmd \
83090 AR \
83091 AR_FLAGS \
83092 STRIP \
83093 RANLIB \
83094 CC \
83095 CFLAGS \
83096 compiler \
83097 lt_cv_sys_global_symbol_pipe \
83098 lt_cv_sys_global_symbol_to_cdecl \
83099 lt_cv_sys_global_symbol_to_c_name_address \
83100 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
83101 lt_prog_compiler_no_builtin_flag \
83102 lt_prog_compiler_wl \
83103 lt_prog_compiler_pic \
83104 lt_prog_compiler_static \
83105 lt_cv_prog_compiler_c_o \
83106 need_locks \
83107 DSYMUTIL \
83108 NMEDIT \
83109 LIPO \
83110 OTOOL \
83111 OTOOL64 \
83112 shrext_cmds \
83113 export_dynamic_flag_spec \
83114 whole_archive_flag_spec \
83115 compiler_needs_object \
83116 with_gnu_ld \
83117 allow_undefined_flag \
83118 no_undefined_flag \
83119 hardcode_libdir_flag_spec \
83120 hardcode_libdir_flag_spec_ld \
83121 hardcode_libdir_separator \
83122 fix_srcfile_path \
83123 exclude_expsyms \
83124 include_expsyms \
83125 file_list_spec \
83126 variables_saved_for_relink \
83127 libname_spec \
83128 library_names_spec \
83129 soname_spec \
83130 install_override_mode \
83131 finish_eval \
83132 old_striplib \
83133 striplib \
83134 compiler_lib_search_dirs \
83135 predep_objects \
83136 postdep_objects \
83137 predeps \
83138 postdeps \
83139 compiler_lib_search_path \
83140 LD_CXX \
83141 reload_flag_CXX \
83142 compiler_CXX \
83143 lt_prog_compiler_no_builtin_flag_CXX \
83144 lt_prog_compiler_wl_CXX \
83145 lt_prog_compiler_pic_CXX \
83146 lt_prog_compiler_static_CXX \
83147 lt_cv_prog_compiler_c_o_CXX \
83148 export_dynamic_flag_spec_CXX \
83149 whole_archive_flag_spec_CXX \
83150 compiler_needs_object_CXX \
83151 with_gnu_ld_CXX \
83152 allow_undefined_flag_CXX \
83153 no_undefined_flag_CXX \
83154 hardcode_libdir_flag_spec_CXX \
83155 hardcode_libdir_flag_spec_ld_CXX \
83156 hardcode_libdir_separator_CXX \
83157 fix_srcfile_path_CXX \
83158 exclude_expsyms_CXX \
83159 include_expsyms_CXX \
83160 file_list_spec_CXX \
83161 compiler_lib_search_dirs_CXX \
83162 predep_objects_CXX \
83163 postdep_objects_CXX \
83164 predeps_CXX \
83165 postdeps_CXX \
83166 compiler_lib_search_path_CXX; do
83167 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83168 *[\\\\\\\`\\"\\\$]*)
83169 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
83170 ;;
83171 *)
83172 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83173 ;;
83174 esac
83175 done
83176
83177 # Double-quote double-evaled strings.
83178 for var in reload_cmds \
83179 old_postinstall_cmds \
83180 old_postuninstall_cmds \
83181 old_archive_cmds \
83182 extract_expsyms_cmds \
83183 old_archive_from_new_cmds \
83184 old_archive_from_expsyms_cmds \
83185 archive_cmds \
83186 archive_expsym_cmds \
83187 module_cmds \
83188 module_expsym_cmds \
83189 export_symbols_cmds \
83190 prelink_cmds \
83191 postinstall_cmds \
83192 postuninstall_cmds \
83193 finish_cmds \
83194 sys_lib_search_path_spec \
83195 sys_lib_dlsearch_path_spec \
83196 reload_cmds_CXX \
83197 old_archive_cmds_CXX \
83198 old_archive_from_new_cmds_CXX \
83199 old_archive_from_expsyms_cmds_CXX \
83200 archive_cmds_CXX \
83201 archive_expsym_cmds_CXX \
83202 module_cmds_CXX \
83203 module_expsym_cmds_CXX \
83204 export_symbols_cmds_CXX \
83205 prelink_cmds_CXX; do
83206 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83207 *[\\\\\\\`\\"\\\$]*)
83208 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
83209 ;;
83210 *)
83211 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83212 ;;
83213 esac
83214 done
83215
83216 ac_aux_dir='$ac_aux_dir'
83217 xsi_shell='$xsi_shell'
83218 lt_shell_append='$lt_shell_append'
83219
83220 # See if we are running on zsh, and set the options which allow our
83221 # commands through without removal of \ escapes INIT.
83222 if test -n "\${ZSH_VERSION+set}" ; then
83223 setopt NO_GLOB_SUBST
83224 fi
83225
83226
83227 PACKAGE='$PACKAGE'
83228 VERSION='$VERSION'
83229 TIMESTAMP='$TIMESTAMP'
83230 RM='$RM'
83231 ofile='$ofile'
83232
83233
83234
83235
83236
83237
83238 GCC="$GCC"
83239 CC="$CC"
83240 acx_cv_header_stdint="$acx_cv_header_stdint"
83241 acx_cv_type_int8_t="$acx_cv_type_int8_t"
83242 acx_cv_type_int16_t="$acx_cv_type_int16_t"
83243 acx_cv_type_int32_t="$acx_cv_type_int32_t"
83244 acx_cv_type_int64_t="$acx_cv_type_int64_t"
83245 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
83246 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
83247 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
83248 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
83249 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
83250 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
83251 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
83252 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
83253 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
83254
83255
83256 _ACEOF
83257
83258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83259
83260 # Handling of arguments.
83261 for ac_config_target in $ac_config_targets
83262 do
83263 case $ac_config_target in
83264 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83265 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83266 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
83267 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
83268 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83269 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83270 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
83271 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
83272 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83273 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83274 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83275 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
83276 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
83277 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
83278 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
83279 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
83280 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83281 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83282 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
83283 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
83284
83285 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
83286 esac
83287 done
83288
83289
83290 # If the user did not use the arguments to specify the items to instantiate,
83291 # then the envvar interface is used. Set only those that are not.
83292 # We use the long form for the default assignment because of an extremely
83293 # bizarre bug on SunOS 4.1.3.
83294 if $ac_need_defaults; then
83295 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83296 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83297 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83298 fi
83299
83300 # Have a temporary directory for convenience. Make it in the build tree
83301 # simply because there is no reason against having it here, and in addition,
83302 # creating and moving files from /tmp can sometimes cause problems.
83303 # Hook for its removal unless debugging.
83304 # Note that there is a small window in which the directory will not be cleaned:
83305 # after its creation but before its name has been assigned to `$tmp'.
83306 $debug ||
83307 {
83308 tmp= ac_tmp=
83309 trap 'exit_status=$?
83310 : "${ac_tmp:=$tmp}"
83311 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
83312 ' 0
83313 trap 'as_fn_exit 1' 1 2 13 15
83314 }
83315 # Create a (secure) tmp directory for tmp files.
83316
83317 {
83318 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
83319 test -d "$tmp"
83320 } ||
83321 {
83322 tmp=./conf$$-$RANDOM
83323 (umask 077 && mkdir "$tmp")
83324 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
83325 ac_tmp=$tmp
83326
83327 # Set up the scripts for CONFIG_FILES section.
83328 # No need to generate them if there are no CONFIG_FILES.
83329 # This happens for instance with `./config.status config.h'.
83330 if test -n "$CONFIG_FILES"; then
83331
83332
83333 ac_cr=`echo X | tr X '\015'`
83334 # On cygwin, bash can eat \r inside `` if the user requested igncr.
83335 # But we know of no other shell where ac_cr would be empty at this
83336 # point, so we can use a bashism as a fallback.
83337 if test "x$ac_cr" = x; then
83338 eval ac_cr=\$\'\\r\'
83339 fi
83340 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
83341 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
83342 ac_cs_awk_cr='\\r'
83343 else
83344 ac_cs_awk_cr=$ac_cr
83345 fi
83346
83347 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
83348 _ACEOF
83349
83350
83351 {
83352 echo "cat >conf$$subs.awk <<_ACEOF" &&
83353 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
83354 echo "_ACEOF"
83355 } >conf$$subs.sh ||
83356 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83357 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
83358 ac_delim='%!_!# '
83359 for ac_last_try in false false false false false :; do
83360 . ./conf$$subs.sh ||
83361 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83362
83363 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
83364 if test $ac_delim_n = $ac_delim_num; then
83365 break
83366 elif $ac_last_try; then
83367 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83368 else
83369 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83370 fi
83371 done
83372 rm -f conf$$subs.sh
83373
83374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83375 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
83376 _ACEOF
83377 sed -n '
83378 h
83379 s/^/S["/; s/!.*/"]=/
83380 p
83381 g
83382 s/^[^!]*!//
83383 :repl
83384 t repl
83385 s/'"$ac_delim"'$//
83386 t delim
83387 :nl
83388 h
83389 s/\(.\{148\}\)..*/\1/
83390 t more1
83391 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83392 p
83393 n
83394 b repl
83395 :more1
83396 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83397 p
83398 g
83399 s/.\{148\}//
83400 t nl
83401 :delim
83402 h
83403 s/\(.\{148\}\)..*/\1/
83404 t more2
83405 s/["\\]/\\&/g; s/^/"/; s/$/"/
83406 p
83407 b
83408 :more2
83409 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83410 p
83411 g
83412 s/.\{148\}//
83413 t delim
83414 ' <conf$$subs.awk | sed '
83415 /^[^""]/{
83416 N
83417 s/\n//
83418 }
83419 ' >>$CONFIG_STATUS || ac_write_fail=1
83420 rm -f conf$$subs.awk
83421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83422 _ACAWK
83423 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
83424 for (key in S) S_is_set[key] = 1
83425 FS = "\a"
83426
83427 }
83428 {
83429 line = $ 0
83430 nfields = split(line, field, "@")
83431 substed = 0
83432 len = length(field[1])
83433 for (i = 2; i < nfields; i++) {
83434 key = field[i]
83435 keylen = length(key)
83436 if (S_is_set[key]) {
83437 value = S[key]
83438 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83439 len += length(value) + length(field[++i])
83440 substed = 1
83441 } else
83442 len += 1 + keylen
83443 }
83444
83445 print line
83446 }
83447
83448 _ACAWK
83449 _ACEOF
83450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83451 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83452 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83453 else
83454 cat
83455 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
83456 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
83457 _ACEOF
83458
83459 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
83460 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
83461 # trailing colons and then remove the whole line if VPATH becomes empty
83462 # (actually we leave an empty line to preserve line numbers).
83463 if test "x$srcdir" = x.; then
83464 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
83465 h
83466 s///
83467 s/^/:/
83468 s/[ ]*$/:/
83469 s/:\$(srcdir):/:/g
83470 s/:\${srcdir}:/:/g
83471 s/:@srcdir@:/:/g
83472 s/^:*//
83473 s/:*$//
83474 x
83475 s/\(=[ ]*\).*/\1/
83476 G
83477 s/\n//
83478 s/^[^=]*=[ ]*$//
83479 }'
83480 fi
83481
83482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83483 fi # test -n "$CONFIG_FILES"
83484
83485 # Set up the scripts for CONFIG_HEADERS section.
83486 # No need to generate them if there are no CONFIG_HEADERS.
83487 # This happens for instance with `./config.status Makefile'.
83488 if test -n "$CONFIG_HEADERS"; then
83489 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
83490 BEGIN {
83491 _ACEOF
83492
83493 # Transform confdefs.h into an awk script `defines.awk', embedded as
83494 # here-document in config.status, that substitutes the proper values into
83495 # config.h.in to produce config.h.
83496
83497 # Create a delimiter string that does not exist in confdefs.h, to ease
83498 # handling of long lines.
83499 ac_delim='%!_!# '
83500 for ac_last_try in false false :; do
83501 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
83502 if test -z "$ac_tt"; then
83503 break
83504 elif $ac_last_try; then
83505 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
83506 else
83507 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83508 fi
83509 done
83510
83511 # For the awk script, D is an array of macro values keyed by name,
83512 # likewise P contains macro parameters if any. Preserve backslash
83513 # newline sequences.
83514
83515 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83516 sed -n '
83517 s/.\{148\}/&'"$ac_delim"'/g
83518 t rset
83519 :rset
83520 s/^[ ]*#[ ]*define[ ][ ]*/ /
83521 t def
83522 d
83523 :def
83524 s/\\$//
83525 t bsnl
83526 s/["\\]/\\&/g
83527 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83528 D["\1"]=" \3"/p
83529 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83530 d
83531 :bsnl
83532 s/["\\]/\\&/g
83533 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83534 D["\1"]=" \3\\\\\\n"\\/p
83535 t cont
83536 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83537 t cont
83538 d
83539 :cont
83540 n
83541 s/.\{148\}/&'"$ac_delim"'/g
83542 t clear
83543 :clear
83544 s/\\$//
83545 t bsnlc
83546 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83547 d
83548 :bsnlc
83549 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83550 b cont
83551 ' <confdefs.h | sed '
83552 s/'"$ac_delim"'/"\\\
83553 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83554
83555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83556 for (key in D) D_is_set[key] = 1
83557 FS = "\a"
83558 }
83559 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83560 line = \$ 0
83561 split(line, arg, " ")
83562 if (arg[1] == "#") {
83563 defundef = arg[2]
83564 mac1 = arg[3]
83565 } else {
83566 defundef = substr(arg[1], 2)
83567 mac1 = arg[2]
83568 }
83569 split(mac1, mac2, "(") #)
83570 macro = mac2[1]
83571 prefix = substr(line, 1, index(line, defundef) - 1)
83572 if (D_is_set[macro]) {
83573 # Preserve the white space surrounding the "#".
83574 print prefix "define", macro P[macro] D[macro]
83575 next
83576 } else {
83577 # Replace #undef with comments. This is necessary, for example,
83578 # in the case of _POSIX_SOURCE, which is predefined and required
83579 # on some systems where configure will not decide to define it.
83580 if (defundef == "undef") {
83581 print "/*", prefix defundef, macro, "*/"
83582 next
83583 }
83584 }
83585 }
83586 { print }
83587 _ACAWK
83588 _ACEOF
83589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83590 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
83591 fi # test -n "$CONFIG_HEADERS"
83592
83593
83594 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83595 shift
83596 for ac_tag
83597 do
83598 case $ac_tag in
83599 :[FHLC]) ac_mode=$ac_tag; continue;;
83600 esac
83601 case $ac_mode$ac_tag in
83602 :[FHL]*:*);;
83603 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
83604 :[FH]-) ac_tag=-:-;;
83605 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83606 esac
83607 ac_save_IFS=$IFS
83608 IFS=:
83609 set x $ac_tag
83610 IFS=$ac_save_IFS
83611 shift
83612 ac_file=$1
83613 shift
83614
83615 case $ac_mode in
83616 :L) ac_source=$1;;
83617 :[FH])
83618 ac_file_inputs=
83619 for ac_f
83620 do
83621 case $ac_f in
83622 -) ac_f="$ac_tmp/stdin";;
83623 *) # Look for the file first in the build tree, then in the source tree
83624 # (if the path is not absolute). The absolute path cannot be DOS-style,
83625 # because $ac_f cannot contain `:'.
83626 test -f "$ac_f" ||
83627 case $ac_f in
83628 [\\/$]*) false;;
83629 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83630 esac ||
83631 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83632 esac
83633 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83634 as_fn_append ac_file_inputs " '$ac_f'"
83635 done
83636
83637 # Let's still pretend it is `configure' which instantiates (i.e., don't
83638 # use $as_me), people would be surprised to read:
83639 # /* config.h. Generated by config.status. */
83640 configure_input='Generated from '`
83641 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83642 `' by configure.'
83643 if test x"$ac_file" != x-; then
83644 configure_input="$ac_file. $configure_input"
83645 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83646 $as_echo "$as_me: creating $ac_file" >&6;}
83647 fi
83648 # Neutralize special characters interpreted by sed in replacement strings.
83649 case $configure_input in #(
83650 *\&* | *\|* | *\\* )
83651 ac_sed_conf_input=`$as_echo "$configure_input" |
83652 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83653 *) ac_sed_conf_input=$configure_input;;
83654 esac
83655
83656 case $ac_tag in
83657 *:-:* | *:-) cat >"$ac_tmp/stdin" \
83658 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
83659 esac
83660 ;;
83661 esac
83662
83663 ac_dir=`$as_dirname -- "$ac_file" ||
83664 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83665 X"$ac_file" : 'X\(//\)[^/]' \| \
83666 X"$ac_file" : 'X\(//\)$' \| \
83667 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83668 $as_echo X"$ac_file" |
83669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83670 s//\1/
83671 q
83672 }
83673 /^X\(\/\/\)[^/].*/{
83674 s//\1/
83675 q
83676 }
83677 /^X\(\/\/\)$/{
83678 s//\1/
83679 q
83680 }
83681 /^X\(\/\).*/{
83682 s//\1/
83683 q
83684 }
83685 s/.*/./; q'`
83686 as_dir="$ac_dir"; as_fn_mkdir_p
83687 ac_builddir=.
83688
83689 case "$ac_dir" in
83690 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83691 *)
83692 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83693 # A ".." for each directory in $ac_dir_suffix.
83694 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83695 case $ac_top_builddir_sub in
83696 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83697 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83698 esac ;;
83699 esac
83700 ac_abs_top_builddir=$ac_pwd
83701 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83702 # for backward compatibility:
83703 ac_top_builddir=$ac_top_build_prefix
83704
83705 case $srcdir in
83706 .) # We are building in place.
83707 ac_srcdir=.
83708 ac_top_srcdir=$ac_top_builddir_sub
83709 ac_abs_top_srcdir=$ac_pwd ;;
83710 [\\/]* | ?:[\\/]* ) # Absolute name.
83711 ac_srcdir=$srcdir$ac_dir_suffix;
83712 ac_top_srcdir=$srcdir
83713 ac_abs_top_srcdir=$srcdir ;;
83714 *) # Relative name.
83715 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83716 ac_top_srcdir=$ac_top_build_prefix$srcdir
83717 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83718 esac
83719 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83720
83721
83722 case $ac_mode in
83723 :F)
83724 #
83725 # CONFIG_FILE
83726 #
83727
83728 case $INSTALL in
83729 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83730 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83731 esac
83732 ac_MKDIR_P=$MKDIR_P
83733 case $MKDIR_P in
83734 [\\/$]* | ?:[\\/]* ) ;;
83735 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83736 esac
83737 _ACEOF
83738
83739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83740 # If the template does not know about datarootdir, expand it.
83741 # FIXME: This hack should be removed a few years after 2.60.
83742 ac_datarootdir_hack=; ac_datarootdir_seen=
83743 ac_sed_dataroot='
83744 /datarootdir/ {
83745 p
83746 q
83747 }
83748 /@datadir@/p
83749 /@docdir@/p
83750 /@infodir@/p
83751 /@localedir@/p
83752 /@mandir@/p'
83753 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83754 *datarootdir*) ac_datarootdir_seen=yes;;
83755 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83757 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83758 _ACEOF
83759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83760 ac_datarootdir_hack='
83761 s&@datadir@&$datadir&g
83762 s&@docdir@&$docdir&g
83763 s&@infodir@&$infodir&g
83764 s&@localedir@&$localedir&g
83765 s&@mandir@&$mandir&g
83766 s&\\\${datarootdir}&$datarootdir&g' ;;
83767 esac
83768 _ACEOF
83769
83770 # Neutralize VPATH when `$srcdir' = `.'.
83771 # Shell code in configure.ac might set extrasub.
83772 # FIXME: do we really want to maintain this feature?
83773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83774 ac_sed_extra="$ac_vpsub
83775 $extrasub
83776 _ACEOF
83777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83778 :t
83779 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83780 s|@configure_input@|$ac_sed_conf_input|;t t
83781 s&@top_builddir@&$ac_top_builddir_sub&;t t
83782 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83783 s&@srcdir@&$ac_srcdir&;t t
83784 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83785 s&@top_srcdir@&$ac_top_srcdir&;t t
83786 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83787 s&@builddir@&$ac_builddir&;t t
83788 s&@abs_builddir@&$ac_abs_builddir&;t t
83789 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83790 s&@INSTALL@&$ac_INSTALL&;t t
83791 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83792 $ac_datarootdir_hack
83793 "
83794 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
83795 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
83796
83797 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83798 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
83799 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
83800 "$ac_tmp/out"`; test -z "$ac_out"; } &&
83801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83802 which seems to be undefined. Please make sure it is defined" >&5
83803 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83804 which seems to be undefined. Please make sure it is defined" >&2;}
83805
83806 rm -f "$ac_tmp/stdin"
83807 case $ac_file in
83808 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
83809 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
83810 esac \
83811 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
83812 ;;
83813 :H)
83814 #
83815 # CONFIG_HEADER
83816 #
83817 if test x"$ac_file" != x-; then
83818 {
83819 $as_echo "/* $configure_input */" \
83820 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
83821 } >"$ac_tmp/config.h" \
83822 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
83823 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
83824 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83825 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83826 else
83827 rm -f "$ac_file"
83828 mv "$ac_tmp/config.h" "$ac_file" \
83829 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
83830 fi
83831 else
83832 $as_echo "/* $configure_input */" \
83833 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
83834 || as_fn_error $? "could not create -" "$LINENO" 5
83835 fi
83836 # Compute "$ac_file"'s index in $config_headers.
83837 _am_arg="$ac_file"
83838 _am_stamp_count=1
83839 for _am_header in $config_headers :; do
83840 case $_am_header in
83841 $_am_arg | $_am_arg:* )
83842 break ;;
83843 * )
83844 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83845 esac
83846 done
83847 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83848 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83849 X"$_am_arg" : 'X\(//\)[^/]' \| \
83850 X"$_am_arg" : 'X\(//\)$' \| \
83851 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83852 $as_echo X"$_am_arg" |
83853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83854 s//\1/
83855 q
83856 }
83857 /^X\(\/\/\)[^/].*/{
83858 s//\1/
83859 q
83860 }
83861 /^X\(\/\/\)$/{
83862 s//\1/
83863 q
83864 }
83865 /^X\(\/\).*/{
83866 s//\1/
83867 q
83868 }
83869 s/.*/./; q'`/stamp-h$_am_stamp_count
83870 ;;
83871
83872 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83873 $as_echo "$as_me: executing $ac_file commands" >&6;}
83874 ;;
83875 esac
83876
83877
83878 case $ac_file$ac_mode in
83879 "default-1":C)
83880 # Only add multilib support code if we just rebuilt the top-level
83881 # Makefile.
83882 case " $CONFIG_FILES " in
83883 *" Makefile "*)
83884 ac_file=Makefile . ${multi_basedir}/config-ml.in
83885 ;;
83886 esac ;;
83887 "libtool":C)
83888
83889 # See if we are running on zsh, and set the options which allow our
83890 # commands through without removal of \ escapes.
83891 if test -n "${ZSH_VERSION+set}" ; then
83892 setopt NO_GLOB_SUBST
83893 fi
83894
83895 cfgfile="${ofile}T"
83896 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83897 $RM "$cfgfile"
83898
83899 cat <<_LT_EOF >> "$cfgfile"
83900 #! $SHELL
83901
83902 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83903 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83904 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83905 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83906 #
83907 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83908 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83909 # Written by Gordon Matzigkeit, 1996
83910 #
83911 # This file is part of GNU Libtool.
83912 #
83913 # GNU Libtool is free software; you can redistribute it and/or
83914 # modify it under the terms of the GNU General Public License as
83915 # published by the Free Software Foundation; either version 2 of
83916 # the License, or (at your option) any later version.
83917 #
83918 # As a special exception to the GNU General Public License,
83919 # if you distribute this file as part of a program or library that
83920 # is built using GNU Libtool, you may include this file under the
83921 # same distribution terms that you use for the rest of that program.
83922 #
83923 # GNU Libtool is distributed in the hope that it will be useful,
83924 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83925 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83926 # GNU General Public License for more details.
83927 #
83928 # You should have received a copy of the GNU General Public License
83929 # along with GNU Libtool; see the file COPYING. If not, a copy
83930 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83931 # obtained by writing to the Free Software Foundation, Inc.,
83932 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83933
83934
83935 # The names of the tagged configurations supported by this script.
83936 available_tags="CXX "
83937
83938 # ### BEGIN LIBTOOL CONFIG
83939
83940 # Which release of libtool.m4 was used?
83941 macro_version=$macro_version
83942 macro_revision=$macro_revision
83943
83944 # Whether or not to build shared libraries.
83945 build_libtool_libs=$enable_shared
83946
83947 # Whether or not to build static libraries.
83948 build_old_libs=$enable_static
83949
83950 # What type of objects to build.
83951 pic_mode=$pic_mode
83952
83953 # Whether or not to optimize for fast installation.
83954 fast_install=$enable_fast_install
83955
83956 # Shell to use when invoking shell scripts.
83957 SHELL=$lt_SHELL
83958
83959 # An echo program that protects backslashes.
83960 ECHO=$lt_ECHO
83961
83962 # The host system.
83963 host_alias=$host_alias
83964 host=$host
83965 host_os=$host_os
83966
83967 # The build system.
83968 build_alias=$build_alias
83969 build=$build
83970 build_os=$build_os
83971
83972 # A sed program that does not truncate output.
83973 SED=$lt_SED
83974
83975 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83976 Xsed="\$SED -e 1s/^X//"
83977
83978 # A grep program that handles long lines.
83979 GREP=$lt_GREP
83980
83981 # An ERE matcher.
83982 EGREP=$lt_EGREP
83983
83984 # A literal string matcher.
83985 FGREP=$lt_FGREP
83986
83987 # A BSD- or MS-compatible name lister.
83988 NM=$lt_NM
83989
83990 # Whether we need soft or hard links.
83991 LN_S=$lt_LN_S
83992
83993 # What is the maximum length of a command?
83994 max_cmd_len=$max_cmd_len
83995
83996 # Object file suffix (normally "o").
83997 objext=$ac_objext
83998
83999 # Executable file suffix (normally "").
84000 exeext=$exeext
84001
84002 # whether the shell understands "unset".
84003 lt_unset=$lt_unset
84004
84005 # turn spaces into newlines.
84006 SP2NL=$lt_lt_SP2NL
84007
84008 # turn newlines into spaces.
84009 NL2SP=$lt_lt_NL2SP
84010
84011 # An object symbol dumper.
84012 OBJDUMP=$lt_OBJDUMP
84013
84014 # Method to check whether dependent libraries are shared objects.
84015 deplibs_check_method=$lt_deplibs_check_method
84016
84017 # Command to use when deplibs_check_method == "file_magic".
84018 file_magic_cmd=$lt_file_magic_cmd
84019
84020 # The archiver.
84021 AR=$lt_AR
84022 AR_FLAGS=$lt_AR_FLAGS
84023
84024 # A symbol stripping program.
84025 STRIP=$lt_STRIP
84026
84027 # Commands used to install an old-style archive.
84028 RANLIB=$lt_RANLIB
84029 old_postinstall_cmds=$lt_old_postinstall_cmds
84030 old_postuninstall_cmds=$lt_old_postuninstall_cmds
84031
84032 # Whether to use a lock for old archive extraction.
84033 lock_old_archive_extraction=$lock_old_archive_extraction
84034
84035 # A C compiler.
84036 LTCC=$lt_CC
84037
84038 # LTCC compiler flags.
84039 LTCFLAGS=$lt_CFLAGS
84040
84041 # Take the output of nm and produce a listing of raw symbols and C names.
84042 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
84043
84044 # Transform the output of nm in a proper C declaration.
84045 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
84046
84047 # Transform the output of nm in a C name address pair.
84048 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
84049
84050 # Transform the output of nm in a C name address pair when lib prefix is needed.
84051 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
84052
84053 # The name of the directory that contains temporary libtool files.
84054 objdir=$objdir
84055
84056 # Used to examine libraries when file_magic_cmd begins with "file".
84057 MAGIC_CMD=$MAGIC_CMD
84058
84059 # Must we lock files when doing compilation?
84060 need_locks=$lt_need_locks
84061
84062 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
84063 DSYMUTIL=$lt_DSYMUTIL
84064
84065 # Tool to change global to local symbols on Mac OS X.
84066 NMEDIT=$lt_NMEDIT
84067
84068 # Tool to manipulate fat objects and archives on Mac OS X.
84069 LIPO=$lt_LIPO
84070
84071 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
84072 OTOOL=$lt_OTOOL
84073
84074 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
84075 OTOOL64=$lt_OTOOL64
84076
84077 # Old archive suffix (normally "a").
84078 libext=$libext
84079
84080 # Shared library suffix (normally ".so").
84081 shrext_cmds=$lt_shrext_cmds
84082
84083 # The commands to extract the exported symbol list from a shared archive.
84084 extract_expsyms_cmds=$lt_extract_expsyms_cmds
84085
84086 # Variables whose values should be saved in libtool wrapper scripts and
84087 # restored at link time.
84088 variables_saved_for_relink=$lt_variables_saved_for_relink
84089
84090 # Do we need the "lib" prefix for modules?
84091 need_lib_prefix=$need_lib_prefix
84092
84093 # Do we need a version for libraries?
84094 need_version=$need_version
84095
84096 # Library versioning type.
84097 version_type=$version_type
84098
84099 # Shared library runtime path variable.
84100 runpath_var=$runpath_var
84101
84102 # Shared library path variable.
84103 shlibpath_var=$shlibpath_var
84104
84105 # Is shlibpath searched before the hard-coded library search path?
84106 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
84107
84108 # Format of library name prefix.
84109 libname_spec=$lt_libname_spec
84110
84111 # List of archive names. First name is the real one, the rest are links.
84112 # The last name is the one that the linker finds with -lNAME
84113 library_names_spec=$lt_library_names_spec
84114
84115 # The coded name of the library, if different from the real name.
84116 soname_spec=$lt_soname_spec
84117
84118 # Permission mode override for installation of shared libraries.
84119 install_override_mode=$lt_install_override_mode
84120
84121 # Command to use after installation of a shared archive.
84122 postinstall_cmds=$lt_postinstall_cmds
84123
84124 # Command to use after uninstallation of a shared archive.
84125 postuninstall_cmds=$lt_postuninstall_cmds
84126
84127 # Commands used to finish a libtool library installation in a directory.
84128 finish_cmds=$lt_finish_cmds
84129
84130 # As "finish_cmds", except a single script fragment to be evaled but
84131 # not shown.
84132 finish_eval=$lt_finish_eval
84133
84134 # Whether we should hardcode library paths into libraries.
84135 hardcode_into_libs=$hardcode_into_libs
84136
84137 # Compile-time system search path for libraries.
84138 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
84139
84140 # Run-time system search path for libraries.
84141 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
84142
84143 # Whether dlopen is supported.
84144 dlopen_support=$enable_dlopen
84145
84146 # Whether dlopen of programs is supported.
84147 dlopen_self=$enable_dlopen_self
84148
84149 # Whether dlopen of statically linked programs is supported.
84150 dlopen_self_static=$enable_dlopen_self_static
84151
84152 # Commands to strip libraries.
84153 old_striplib=$lt_old_striplib
84154 striplib=$lt_striplib
84155
84156
84157 # The linker used to build libraries.
84158 LD=$lt_LD
84159
84160 # How to create reloadable object files.
84161 reload_flag=$lt_reload_flag
84162 reload_cmds=$lt_reload_cmds
84163
84164 # Commands used to build an old-style archive.
84165 old_archive_cmds=$lt_old_archive_cmds
84166
84167 # A language specific compiler.
84168 CC=$lt_compiler
84169
84170 # Is the compiler the GNU compiler?
84171 with_gcc=$GCC
84172
84173 # Compiler flag to turn off builtin functions.
84174 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
84175
84176 # How to pass a linker flag through the compiler.
84177 wl=$lt_lt_prog_compiler_wl
84178
84179 # Additional compiler flags for building library objects.
84180 pic_flag=$lt_lt_prog_compiler_pic
84181
84182 # Compiler flag to prevent dynamic linking.
84183 link_static_flag=$lt_lt_prog_compiler_static
84184
84185 # Does compiler simultaneously support -c and -o options?
84186 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
84187
84188 # Whether or not to add -lc for building shared libraries.
84189 build_libtool_need_lc=$archive_cmds_need_lc
84190
84191 # Whether or not to disallow shared libs when runtime libs are static.
84192 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
84193
84194 # Compiler flag to allow reflexive dlopens.
84195 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
84196
84197 # Compiler flag to generate shared objects directly from archives.
84198 whole_archive_flag_spec=$lt_whole_archive_flag_spec
84199
84200 # Whether the compiler copes with passing no objects directly.
84201 compiler_needs_object=$lt_compiler_needs_object
84202
84203 # Create an old-style archive from a shared archive.
84204 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
84205
84206 # Create a temporary old-style archive to link instead of a shared archive.
84207 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
84208
84209 # Commands used to build a shared archive.
84210 archive_cmds=$lt_archive_cmds
84211 archive_expsym_cmds=$lt_archive_expsym_cmds
84212
84213 # Commands used to build a loadable module if different from building
84214 # a shared archive.
84215 module_cmds=$lt_module_cmds
84216 module_expsym_cmds=$lt_module_expsym_cmds
84217
84218 # Whether we are building with GNU ld or not.
84219 with_gnu_ld=$lt_with_gnu_ld
84220
84221 # Flag that allows shared libraries with undefined symbols to be built.
84222 allow_undefined_flag=$lt_allow_undefined_flag
84223
84224 # Flag that enforces no undefined symbols.
84225 no_undefined_flag=$lt_no_undefined_flag
84226
84227 # Flag to hardcode \$libdir into a binary during linking.
84228 # This must work even if \$libdir does not exist
84229 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
84230
84231 # If ld is used when linking, flag to hardcode \$libdir into a binary
84232 # during linking. This must work even if \$libdir does not exist.
84233 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
84234
84235 # Whether we need a single "-rpath" flag with a separated argument.
84236 hardcode_libdir_separator=$lt_hardcode_libdir_separator
84237
84238 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84239 # DIR into the resulting binary.
84240 hardcode_direct=$hardcode_direct
84241
84242 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84243 # DIR into the resulting binary and the resulting library dependency is
84244 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84245 # library is relocated.
84246 hardcode_direct_absolute=$hardcode_direct_absolute
84247
84248 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84249 # into the resulting binary.
84250 hardcode_minus_L=$hardcode_minus_L
84251
84252 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84253 # into the resulting binary.
84254 hardcode_shlibpath_var=$hardcode_shlibpath_var
84255
84256 # Set to "yes" if building a shared library automatically hardcodes DIR
84257 # into the library and all subsequent libraries and executables linked
84258 # against it.
84259 hardcode_automatic=$hardcode_automatic
84260
84261 # Set to yes if linker adds runtime paths of dependent libraries
84262 # to runtime path list.
84263 inherit_rpath=$inherit_rpath
84264
84265 # Whether libtool must link a program against all its dependency libraries.
84266 link_all_deplibs=$link_all_deplibs
84267
84268 # Fix the shell variable \$srcfile for the compiler.
84269 fix_srcfile_path=$lt_fix_srcfile_path
84270
84271 # Set to "yes" if exported symbols are required.
84272 always_export_symbols=$always_export_symbols
84273
84274 # The commands to list exported symbols.
84275 export_symbols_cmds=$lt_export_symbols_cmds
84276
84277 # Symbols that should not be listed in the preloaded symbols.
84278 exclude_expsyms=$lt_exclude_expsyms
84279
84280 # Symbols that must always be exported.
84281 include_expsyms=$lt_include_expsyms
84282
84283 # Commands necessary for linking programs (against libraries) with templates.
84284 prelink_cmds=$lt_prelink_cmds
84285
84286 # Specify filename containing input files.
84287 file_list_spec=$lt_file_list_spec
84288
84289 # How to hardcode a shared library path into an executable.
84290 hardcode_action=$hardcode_action
84291
84292 # The directories searched by this compiler when creating a shared library.
84293 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
84294
84295 # Dependencies to place before and after the objects being linked to
84296 # create a shared library.
84297 predep_objects=$lt_predep_objects
84298 postdep_objects=$lt_postdep_objects
84299 predeps=$lt_predeps
84300 postdeps=$lt_postdeps
84301
84302 # The library search path used internally by the compiler when linking
84303 # a shared library.
84304 compiler_lib_search_path=$lt_compiler_lib_search_path
84305
84306 # ### END LIBTOOL CONFIG
84307
84308 _LT_EOF
84309
84310 case $host_os in
84311 aix3*)
84312 cat <<\_LT_EOF >> "$cfgfile"
84313 # AIX sometimes has problems with the GCC collect2 program. For some
84314 # reason, if we set the COLLECT_NAMES environment variable, the problems
84315 # vanish in a puff of smoke.
84316 if test "X${COLLECT_NAMES+set}" != Xset; then
84317 COLLECT_NAMES=
84318 export COLLECT_NAMES
84319 fi
84320 _LT_EOF
84321 ;;
84322 esac
84323
84324
84325 ltmain="$ac_aux_dir/ltmain.sh"
84326
84327
84328 # We use sed instead of cat because bash on DJGPP gets confused if
84329 # if finds mixed CR/LF and LF-only lines. Since sed operates in
84330 # text mode, it properly converts lines to CR/LF. This bash problem
84331 # is reportedly fixed, but why not run on old versions too?
84332 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
84333 || (rm -f "$cfgfile"; exit 1)
84334
84335 case $xsi_shell in
84336 yes)
84337 cat << \_LT_EOF >> "$cfgfile"
84338
84339 # func_dirname file append nondir_replacement
84340 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84341 # otherwise set result to NONDIR_REPLACEMENT.
84342 func_dirname ()
84343 {
84344 case ${1} in
84345 */*) func_dirname_result="${1%/*}${2}" ;;
84346 * ) func_dirname_result="${3}" ;;
84347 esac
84348 }
84349
84350 # func_basename file
84351 func_basename ()
84352 {
84353 func_basename_result="${1##*/}"
84354 }
84355
84356 # func_dirname_and_basename file append nondir_replacement
84357 # perform func_basename and func_dirname in a single function
84358 # call:
84359 # dirname: Compute the dirname of FILE. If nonempty,
84360 # add APPEND to the result, otherwise set result
84361 # to NONDIR_REPLACEMENT.
84362 # value returned in "$func_dirname_result"
84363 # basename: Compute filename of FILE.
84364 # value retuned in "$func_basename_result"
84365 # Implementation must be kept synchronized with func_dirname
84366 # and func_basename. For efficiency, we do not delegate to
84367 # those functions but instead duplicate the functionality here.
84368 func_dirname_and_basename ()
84369 {
84370 case ${1} in
84371 */*) func_dirname_result="${1%/*}${2}" ;;
84372 * ) func_dirname_result="${3}" ;;
84373 esac
84374 func_basename_result="${1##*/}"
84375 }
84376
84377 # func_stripname prefix suffix name
84378 # strip PREFIX and SUFFIX off of NAME.
84379 # PREFIX and SUFFIX must not contain globbing or regex special
84380 # characters, hashes, percent signs, but SUFFIX may contain a leading
84381 # dot (in which case that matches only a dot).
84382 func_stripname ()
84383 {
84384 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84385 # positional parameters, so assign one to ordinary parameter first.
84386 func_stripname_result=${3}
84387 func_stripname_result=${func_stripname_result#"${1}"}
84388 func_stripname_result=${func_stripname_result%"${2}"}
84389 }
84390
84391 # func_opt_split
84392 func_opt_split ()
84393 {
84394 func_opt_split_opt=${1%%=*}
84395 func_opt_split_arg=${1#*=}
84396 }
84397
84398 # func_lo2o object
84399 func_lo2o ()
84400 {
84401 case ${1} in
84402 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84403 *) func_lo2o_result=${1} ;;
84404 esac
84405 }
84406
84407 # func_xform libobj-or-source
84408 func_xform ()
84409 {
84410 func_xform_result=${1%.*}.lo
84411 }
84412
84413 # func_arith arithmetic-term...
84414 func_arith ()
84415 {
84416 func_arith_result=$(( $* ))
84417 }
84418
84419 # func_len string
84420 # STRING may not start with a hyphen.
84421 func_len ()
84422 {
84423 func_len_result=${#1}
84424 }
84425
84426 _LT_EOF
84427 ;;
84428 *) # Bourne compatible functions.
84429 cat << \_LT_EOF >> "$cfgfile"
84430
84431 # func_dirname file append nondir_replacement
84432 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84433 # otherwise set result to NONDIR_REPLACEMENT.
84434 func_dirname ()
84435 {
84436 # Extract subdirectory from the argument.
84437 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84438 if test "X$func_dirname_result" = "X${1}"; then
84439 func_dirname_result="${3}"
84440 else
84441 func_dirname_result="$func_dirname_result${2}"
84442 fi
84443 }
84444
84445 # func_basename file
84446 func_basename ()
84447 {
84448 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84449 }
84450
84451
84452 # func_stripname prefix suffix name
84453 # strip PREFIX and SUFFIX off of NAME.
84454 # PREFIX and SUFFIX must not contain globbing or regex special
84455 # characters, hashes, percent signs, but SUFFIX may contain a leading
84456 # dot (in which case that matches only a dot).
84457 # func_strip_suffix prefix name
84458 func_stripname ()
84459 {
84460 case ${2} in
84461 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84462 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84463 esac
84464 }
84465
84466 # sed scripts:
84467 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84468 my_sed_long_arg='1s/^-[^=]*=//'
84469
84470 # func_opt_split
84471 func_opt_split ()
84472 {
84473 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84474 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84475 }
84476
84477 # func_lo2o object
84478 func_lo2o ()
84479 {
84480 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84481 }
84482
84483 # func_xform libobj-or-source
84484 func_xform ()
84485 {
84486 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84487 }
84488
84489 # func_arith arithmetic-term...
84490 func_arith ()
84491 {
84492 func_arith_result=`expr "$@"`
84493 }
84494
84495 # func_len string
84496 # STRING may not start with a hyphen.
84497 func_len ()
84498 {
84499 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84500 }
84501
84502 _LT_EOF
84503 esac
84504
84505 case $lt_shell_append in
84506 yes)
84507 cat << \_LT_EOF >> "$cfgfile"
84508
84509 # func_append var value
84510 # Append VALUE to the end of shell variable VAR.
84511 func_append ()
84512 {
84513 eval "$1+=\$2"
84514 }
84515 _LT_EOF
84516 ;;
84517 *)
84518 cat << \_LT_EOF >> "$cfgfile"
84519
84520 # func_append var value
84521 # Append VALUE to the end of shell variable VAR.
84522 func_append ()
84523 {
84524 eval "$1=\$$1\$2"
84525 }
84526
84527 _LT_EOF
84528 ;;
84529 esac
84530
84531
84532 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84533 || (rm -f "$cfgfile"; exit 1)
84534
84535 mv -f "$cfgfile" "$ofile" ||
84536 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84537 chmod +x "$ofile"
84538
84539
84540 cat <<_LT_EOF >> "$ofile"
84541
84542 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84543
84544 # The linker used to build libraries.
84545 LD=$lt_LD_CXX
84546
84547 # How to create reloadable object files.
84548 reload_flag=$lt_reload_flag_CXX
84549 reload_cmds=$lt_reload_cmds_CXX
84550
84551 # Commands used to build an old-style archive.
84552 old_archive_cmds=$lt_old_archive_cmds_CXX
84553
84554 # A language specific compiler.
84555 CC=$lt_compiler_CXX
84556
84557 # Is the compiler the GNU compiler?
84558 with_gcc=$GCC_CXX
84559
84560 # Compiler flag to turn off builtin functions.
84561 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84562
84563 # How to pass a linker flag through the compiler.
84564 wl=$lt_lt_prog_compiler_wl_CXX
84565
84566 # Additional compiler flags for building library objects.
84567 pic_flag=$lt_lt_prog_compiler_pic_CXX
84568
84569 # Compiler flag to prevent dynamic linking.
84570 link_static_flag=$lt_lt_prog_compiler_static_CXX
84571
84572 # Does compiler simultaneously support -c and -o options?
84573 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84574
84575 # Whether or not to add -lc for building shared libraries.
84576 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84577
84578 # Whether or not to disallow shared libs when runtime libs are static.
84579 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84580
84581 # Compiler flag to allow reflexive dlopens.
84582 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84583
84584 # Compiler flag to generate shared objects directly from archives.
84585 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84586
84587 # Whether the compiler copes with passing no objects directly.
84588 compiler_needs_object=$lt_compiler_needs_object_CXX
84589
84590 # Create an old-style archive from a shared archive.
84591 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84592
84593 # Create a temporary old-style archive to link instead of a shared archive.
84594 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84595
84596 # Commands used to build a shared archive.
84597 archive_cmds=$lt_archive_cmds_CXX
84598 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84599
84600 # Commands used to build a loadable module if different from building
84601 # a shared archive.
84602 module_cmds=$lt_module_cmds_CXX
84603 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84604
84605 # Whether we are building with GNU ld or not.
84606 with_gnu_ld=$lt_with_gnu_ld_CXX
84607
84608 # Flag that allows shared libraries with undefined symbols to be built.
84609 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84610
84611 # Flag that enforces no undefined symbols.
84612 no_undefined_flag=$lt_no_undefined_flag_CXX
84613
84614 # Flag to hardcode \$libdir into a binary during linking.
84615 # This must work even if \$libdir does not exist
84616 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84617
84618 # If ld is used when linking, flag to hardcode \$libdir into a binary
84619 # during linking. This must work even if \$libdir does not exist.
84620 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84621
84622 # Whether we need a single "-rpath" flag with a separated argument.
84623 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84624
84625 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84626 # DIR into the resulting binary.
84627 hardcode_direct=$hardcode_direct_CXX
84628
84629 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84630 # DIR into the resulting binary and the resulting library dependency is
84631 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84632 # library is relocated.
84633 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84634
84635 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84636 # into the resulting binary.
84637 hardcode_minus_L=$hardcode_minus_L_CXX
84638
84639 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84640 # into the resulting binary.
84641 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84642
84643 # Set to "yes" if building a shared library automatically hardcodes DIR
84644 # into the library and all subsequent libraries and executables linked
84645 # against it.
84646 hardcode_automatic=$hardcode_automatic_CXX
84647
84648 # Set to yes if linker adds runtime paths of dependent libraries
84649 # to runtime path list.
84650 inherit_rpath=$inherit_rpath_CXX
84651
84652 # Whether libtool must link a program against all its dependency libraries.
84653 link_all_deplibs=$link_all_deplibs_CXX
84654
84655 # Fix the shell variable \$srcfile for the compiler.
84656 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84657
84658 # Set to "yes" if exported symbols are required.
84659 always_export_symbols=$always_export_symbols_CXX
84660
84661 # The commands to list exported symbols.
84662 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84663
84664 # Symbols that should not be listed in the preloaded symbols.
84665 exclude_expsyms=$lt_exclude_expsyms_CXX
84666
84667 # Symbols that must always be exported.
84668 include_expsyms=$lt_include_expsyms_CXX
84669
84670 # Commands necessary for linking programs (against libraries) with templates.
84671 prelink_cmds=$lt_prelink_cmds_CXX
84672
84673 # Specify filename containing input files.
84674 file_list_spec=$lt_file_list_spec_CXX
84675
84676 # How to hardcode a shared library path into an executable.
84677 hardcode_action=$hardcode_action_CXX
84678
84679 # The directories searched by this compiler when creating a shared library.
84680 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84681
84682 # Dependencies to place before and after the objects being linked to
84683 # create a shared library.
84684 predep_objects=$lt_predep_objects_CXX
84685 postdep_objects=$lt_postdep_objects_CXX
84686 predeps=$lt_predeps_CXX
84687 postdeps=$lt_postdeps_CXX
84688
84689 # The library search path used internally by the compiler when linking
84690 # a shared library.
84691 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84692
84693 # ### END LIBTOOL TAG CONFIG: CXX
84694 _LT_EOF
84695
84696 ;;
84697 "include/gstdint.h":C)
84698 if test "$GCC" = yes; then
84699 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84700 else
84701 echo "/* generated for $CC */" > tmp-stdint.h
84702 fi
84703
84704 sed 's/^ *//' >> tmp-stdint.h <<EOF
84705
84706 #ifndef GCC_GENERATED_STDINT_H
84707 #define GCC_GENERATED_STDINT_H 1
84708
84709 #include <sys/types.h>
84710 EOF
84711
84712 if test "$acx_cv_header_stdint" != stdint.h; then
84713 echo "#include <stddef.h>" >> tmp-stdint.h
84714 fi
84715 if test "$acx_cv_header_stdint" != stddef.h; then
84716 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84717 fi
84718
84719 sed 's/^ *//' >> tmp-stdint.h <<EOF
84720 /* glibc uses these symbols as guards to prevent redefinitions. */
84721 #ifdef __int8_t_defined
84722 #define _INT8_T
84723 #define _INT16_T
84724 #define _INT32_T
84725 #endif
84726 #ifdef __uint32_t_defined
84727 #define _UINT32_T
84728 #endif
84729
84730 EOF
84731
84732 # ----------------- done header, emit basic int types -------------
84733 if test "$acx_cv_header_stdint" = stddef.h; then
84734 sed 's/^ *//' >> tmp-stdint.h <<EOF
84735
84736 #ifndef _UINT8_T
84737 #define _UINT8_T
84738 #ifndef __uint8_t_defined
84739 #define __uint8_t_defined
84740 #ifndef uint8_t
84741 typedef unsigned $acx_cv_type_int8_t uint8_t;
84742 #endif
84743 #endif
84744 #endif
84745
84746 #ifndef _UINT16_T
84747 #define _UINT16_T
84748 #ifndef __uint16_t_defined
84749 #define __uint16_t_defined
84750 #ifndef uint16_t
84751 typedef unsigned $acx_cv_type_int16_t uint16_t;
84752 #endif
84753 #endif
84754 #endif
84755
84756 #ifndef _UINT32_T
84757 #define _UINT32_T
84758 #ifndef __uint32_t_defined
84759 #define __uint32_t_defined
84760 #ifndef uint32_t
84761 typedef unsigned $acx_cv_type_int32_t uint32_t;
84762 #endif
84763 #endif
84764 #endif
84765
84766 #ifndef _INT8_T
84767 #define _INT8_T
84768 #ifndef __int8_t_defined
84769 #define __int8_t_defined
84770 #ifndef int8_t
84771 typedef $acx_cv_type_int8_t int8_t;
84772 #endif
84773 #endif
84774 #endif
84775
84776 #ifndef _INT16_T
84777 #define _INT16_T
84778 #ifndef __int16_t_defined
84779 #define __int16_t_defined
84780 #ifndef int16_t
84781 typedef $acx_cv_type_int16_t int16_t;
84782 #endif
84783 #endif
84784 #endif
84785
84786 #ifndef _INT32_T
84787 #define _INT32_T
84788 #ifndef __int32_t_defined
84789 #define __int32_t_defined
84790 #ifndef int32_t
84791 typedef $acx_cv_type_int32_t int32_t;
84792 #endif
84793 #endif
84794 #endif
84795 EOF
84796 elif test "$ac_cv_type_u_int32_t" = yes; then
84797 sed 's/^ *//' >> tmp-stdint.h <<EOF
84798
84799 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84800 #ifndef _INT8_T
84801 #define _INT8_T
84802 #endif
84803 #ifndef _INT16_T
84804 #define _INT16_T
84805 #endif
84806 #ifndef _INT32_T
84807 #define _INT32_T
84808 #endif
84809
84810 #ifndef _UINT8_T
84811 #define _UINT8_T
84812 #ifndef __uint8_t_defined
84813 #define __uint8_t_defined
84814 #ifndef uint8_t
84815 typedef u_int8_t uint8_t;
84816 #endif
84817 #endif
84818 #endif
84819
84820 #ifndef _UINT16_T
84821 #define _UINT16_T
84822 #ifndef __uint16_t_defined
84823 #define __uint16_t_defined
84824 #ifndef uint16_t
84825 typedef u_int16_t uint16_t;
84826 #endif
84827 #endif
84828 #endif
84829
84830 #ifndef _UINT32_T
84831 #define _UINT32_T
84832 #ifndef __uint32_t_defined
84833 #define __uint32_t_defined
84834 #ifndef uint32_t
84835 typedef u_int32_t uint32_t;
84836 #endif
84837 #endif
84838 #endif
84839 EOF
84840 else
84841 sed 's/^ *//' >> tmp-stdint.h <<EOF
84842
84843 /* Some systems have guard macros to prevent redefinitions, define them. */
84844 #ifndef _INT8_T
84845 #define _INT8_T
84846 #endif
84847 #ifndef _INT16_T
84848 #define _INT16_T
84849 #endif
84850 #ifndef _INT32_T
84851 #define _INT32_T
84852 #endif
84853 #ifndef _UINT8_T
84854 #define _UINT8_T
84855 #endif
84856 #ifndef _UINT16_T
84857 #define _UINT16_T
84858 #endif
84859 #ifndef _UINT32_T
84860 #define _UINT32_T
84861 #endif
84862 EOF
84863 fi
84864
84865 # ------------- done basic int types, emit int64_t types ------------
84866 if test "$ac_cv_type_uint64_t" = yes; then
84867 sed 's/^ *//' >> tmp-stdint.h <<EOF
84868
84869 /* system headers have good uint64_t and int64_t */
84870 #ifndef _INT64_T
84871 #define _INT64_T
84872 #endif
84873 #ifndef _UINT64_T
84874 #define _UINT64_T
84875 #endif
84876 EOF
84877 elif test "$ac_cv_type_u_int64_t" = yes; then
84878 sed 's/^ *//' >> tmp-stdint.h <<EOF
84879
84880 /* system headers have an u_int64_t (and int64_t) */
84881 #ifndef _INT64_T
84882 #define _INT64_T
84883 #endif
84884 #ifndef _UINT64_T
84885 #define _UINT64_T
84886 #ifndef __uint64_t_defined
84887 #define __uint64_t_defined
84888 #ifndef uint64_t
84889 typedef u_int64_t uint64_t;
84890 #endif
84891 #endif
84892 #endif
84893 EOF
84894 elif test -n "$acx_cv_type_int64_t"; then
84895 sed 's/^ *//' >> tmp-stdint.h <<EOF
84896
84897 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84898 #ifndef _INT64_T
84899 #define _INT64_T
84900 #ifndef int64_t
84901 typedef $acx_cv_type_int64_t int64_t;
84902 #endif
84903 #endif
84904 #ifndef _UINT64_T
84905 #define _UINT64_T
84906 #ifndef __uint64_t_defined
84907 #define __uint64_t_defined
84908 #ifndef uint64_t
84909 typedef unsigned $acx_cv_type_int64_t uint64_t;
84910 #endif
84911 #endif
84912 #endif
84913 EOF
84914 else
84915 sed 's/^ *//' >> tmp-stdint.h <<EOF
84916
84917 /* some common heuristics for int64_t, using compiler-specific tests */
84918 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84919 #ifndef _INT64_T
84920 #define _INT64_T
84921 #ifndef __int64_t_defined
84922 #ifndef int64_t
84923 typedef long long int64_t;
84924 #endif
84925 #endif
84926 #endif
84927 #ifndef _UINT64_T
84928 #define _UINT64_T
84929 #ifndef uint64_t
84930 typedef unsigned long long uint64_t;
84931 #endif
84932 #endif
84933
84934 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84935 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84936 does not implement __extension__. But that compiler doesn't define
84937 __GNUC_MINOR__. */
84938 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84939 # define __extension__
84940 # endif
84941
84942 # ifndef _INT64_T
84943 # define _INT64_T
84944 # ifndef int64_t
84945 __extension__ typedef long long int64_t;
84946 # endif
84947 # endif
84948 # ifndef _UINT64_T
84949 # define _UINT64_T
84950 # ifndef uint64_t
84951 __extension__ typedef unsigned long long uint64_t;
84952 # endif
84953 # endif
84954
84955 #elif !defined __STRICT_ANSI__
84956 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84957
84958 # ifndef _INT64_T
84959 # define _INT64_T
84960 # ifndef int64_t
84961 typedef __int64 int64_t;
84962 # endif
84963 # endif
84964 # ifndef _UINT64_T
84965 # define _UINT64_T
84966 # ifndef uint64_t
84967 typedef unsigned __int64 uint64_t;
84968 # endif
84969 # endif
84970 # endif /* compiler */
84971
84972 #endif /* ANSI version */
84973 EOF
84974 fi
84975
84976 # ------------- done int64_t types, emit intptr types ------------
84977 if test "$ac_cv_type_uintptr_t" != yes; then
84978 sed 's/^ *//' >> tmp-stdint.h <<EOF
84979
84980 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84981 #ifndef __uintptr_t_defined
84982 #ifndef uintptr_t
84983 typedef u$acx_cv_type_intptr_t uintptr_t;
84984 #endif
84985 #endif
84986 #ifndef __intptr_t_defined
84987 #ifndef intptr_t
84988 typedef $acx_cv_type_intptr_t intptr_t;
84989 #endif
84990 #endif
84991 EOF
84992 fi
84993
84994 # ------------- done intptr types, emit int_least types ------------
84995 if test "$ac_cv_type_int_least32_t" != yes; then
84996 sed 's/^ *//' >> tmp-stdint.h <<EOF
84997
84998 /* Define int_least types */
84999 typedef int8_t int_least8_t;
85000 typedef int16_t int_least16_t;
85001 typedef int32_t int_least32_t;
85002 #ifdef _INT64_T
85003 typedef int64_t int_least64_t;
85004 #endif
85005
85006 typedef uint8_t uint_least8_t;
85007 typedef uint16_t uint_least16_t;
85008 typedef uint32_t uint_least32_t;
85009 #ifdef _UINT64_T
85010 typedef uint64_t uint_least64_t;
85011 #endif
85012 EOF
85013 fi
85014
85015 # ------------- done intptr types, emit int_fast types ------------
85016 if test "$ac_cv_type_int_fast32_t" != yes; then
85017 sed 's/^ *//' >> tmp-stdint.h <<EOF
85018
85019 /* Define int_fast types. short is often slow */
85020 typedef int8_t int_fast8_t;
85021 typedef int int_fast16_t;
85022 typedef int32_t int_fast32_t;
85023 #ifdef _INT64_T
85024 typedef int64_t int_fast64_t;
85025 #endif
85026
85027 typedef uint8_t uint_fast8_t;
85028 typedef unsigned int uint_fast16_t;
85029 typedef uint32_t uint_fast32_t;
85030 #ifdef _UINT64_T
85031 typedef uint64_t uint_fast64_t;
85032 #endif
85033 EOF
85034 fi
85035
85036 if test "$ac_cv_type_uintmax_t" != yes; then
85037 sed 's/^ *//' >> tmp-stdint.h <<EOF
85038
85039 /* Define intmax based on what we found */
85040 #ifndef intmax_t
85041 #ifdef _INT64_T
85042 typedef int64_t intmax_t;
85043 #else
85044 typedef long intmax_t;
85045 #endif
85046 #endif
85047 #ifndef uintmax_t
85048 #ifdef _UINT64_T
85049 typedef uint64_t uintmax_t;
85050 #else
85051 typedef unsigned long uintmax_t;
85052 #endif
85053 #endif
85054 EOF
85055 fi
85056
85057 sed 's/^ *//' >> tmp-stdint.h <<EOF
85058
85059 #endif /* GCC_GENERATED_STDINT_H */
85060 EOF
85061
85062 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
85063 rm -f tmp-stdint.h
85064 else
85065 mv -f tmp-stdint.h include/gstdint.h
85066 fi
85067
85068 ;;
85069 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
85070 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
85071 "include/Makefile":F) cat > vpsed$$ << \_EOF
85072 s!`test -f '$<' || echo '$(srcdir)/'`!!
85073 _EOF
85074 sed -f vpsed$$ $ac_file > tmp$$
85075 mv tmp$$ $ac_file
85076 rm vpsed$$
85077 echo 'MULTISUBDIR =' >> $ac_file
85078 ml_norecursion=yes
85079 . ${multi_basedir}/config-ml.in
85080 { ml_norecursion=; unset ml_norecursion;}
85081 ;;
85082 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
85083 s!`test -f '$<' || echo '$(srcdir)/'`!!
85084 _EOF
85085 sed -f vpsed$$ $ac_file > tmp$$
85086 mv tmp$$ $ac_file
85087 rm vpsed$$
85088 echo 'MULTISUBDIR =' >> $ac_file
85089 ml_norecursion=yes
85090 . ${multi_basedir}/config-ml.in
85091 { ml_norecursion=; unset ml_norecursion;}
85092 ;;
85093 "src/Makefile":F) cat > vpsed$$ << \_EOF
85094 s!`test -f '$<' || echo '$(srcdir)/'`!!
85095 _EOF
85096 sed -f vpsed$$ $ac_file > tmp$$
85097 mv tmp$$ $ac_file
85098 rm vpsed$$
85099 echo 'MULTISUBDIR =' >> $ac_file
85100 ml_norecursion=yes
85101 . ${multi_basedir}/config-ml.in
85102 { ml_norecursion=; unset ml_norecursion;}
85103 ;;
85104 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
85105 s!`test -f '$<' || echo '$(srcdir)/'`!!
85106 _EOF
85107 sed -f vpsed$$ $ac_file > tmp$$
85108 mv tmp$$ $ac_file
85109 rm vpsed$$
85110 echo 'MULTISUBDIR =' >> $ac_file
85111 ml_norecursion=yes
85112 . ${multi_basedir}/config-ml.in
85113 { ml_norecursion=; unset ml_norecursion;}
85114 ;;
85115 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
85116 s!`test -f '$<' || echo '$(srcdir)/'`!!
85117 _EOF
85118 sed -f vpsed$$ $ac_file > tmp$$
85119 mv tmp$$ $ac_file
85120 rm vpsed$$
85121 echo 'MULTISUBDIR =' >> $ac_file
85122 ml_norecursion=yes
85123 . ${multi_basedir}/config-ml.in
85124 { ml_norecursion=; unset ml_norecursion;}
85125 ;;
85126 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
85127 s!`test -f '$<' || echo '$(srcdir)/'`!!
85128 _EOF
85129 sed -f vpsed$$ $ac_file > tmp$$
85130 mv tmp$$ $ac_file
85131 rm vpsed$$
85132 echo 'MULTISUBDIR =' >> $ac_file
85133 ml_norecursion=yes
85134 . ${multi_basedir}/config-ml.in
85135 { ml_norecursion=; unset ml_norecursion;}
85136 ;;
85137 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
85138 s!`test -f '$<' || echo '$(srcdir)/'`!!
85139 _EOF
85140 sed -f vpsed$$ $ac_file > tmp$$
85141 mv tmp$$ $ac_file
85142 rm vpsed$$
85143 echo 'MULTISUBDIR =' >> $ac_file
85144 ml_norecursion=yes
85145 . ${multi_basedir}/config-ml.in
85146 { ml_norecursion=; unset ml_norecursion;}
85147 ;;
85148 "doc/Makefile":F) cat > vpsed$$ << \_EOF
85149 s!`test -f '$<' || echo '$(srcdir)/'`!!
85150 _EOF
85151 sed -f vpsed$$ $ac_file > tmp$$
85152 mv tmp$$ $ac_file
85153 rm vpsed$$
85154 echo 'MULTISUBDIR =' >> $ac_file
85155 ml_norecursion=yes
85156 . ${multi_basedir}/config-ml.in
85157 { ml_norecursion=; unset ml_norecursion;}
85158 ;;
85159 "po/Makefile":F) cat > vpsed$$ << \_EOF
85160 s!`test -f '$<' || echo '$(srcdir)/'`!!
85161 _EOF
85162 sed -f vpsed$$ $ac_file > tmp$$
85163 mv tmp$$ $ac_file
85164 rm vpsed$$
85165 echo 'MULTISUBDIR =' >> $ac_file
85166 ml_norecursion=yes
85167 . ${multi_basedir}/config-ml.in
85168 { ml_norecursion=; unset ml_norecursion;}
85169 ;;
85170 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
85171 s!`test -f '$<' || echo '$(srcdir)/'`!!
85172 _EOF
85173 sed -f vpsed$$ $ac_file > tmp$$
85174 mv tmp$$ $ac_file
85175 rm vpsed$$
85176 echo 'MULTISUBDIR =' >> $ac_file
85177 ml_norecursion=yes
85178 . ${multi_basedir}/config-ml.in
85179 { ml_norecursion=; unset ml_norecursion;}
85180 ;;
85181 "python/Makefile":F) cat > vpsed$$ << \_EOF
85182 s!`test -f '$<' || echo '$(srcdir)/'`!!
85183 _EOF
85184 sed -f vpsed$$ $ac_file > tmp$$
85185 mv tmp$$ $ac_file
85186 rm vpsed$$
85187 echo 'MULTISUBDIR =' >> $ac_file
85188 ml_norecursion=yes
85189 . ${multi_basedir}/config-ml.in
85190 { ml_norecursion=; unset ml_norecursion;}
85191 ;;
85192 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
85193
85194 esac
85195 done # for ac_tag
85196
85197
85198 as_fn_exit 0
85199 _ACEOF
85200 ac_clean_files=$ac_clean_files_save
85201
85202 test $ac_write_fail = 0 ||
85203 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
85204
85205
85206 # configure is writing to config.log, and then calls config.status.
85207 # config.status does its own redirection, appending to config.log.
85208 # Unfortunately, on DOS this fails, as config.log is still kept open
85209 # by configure, so config.status won't be able to write to it; its
85210 # output is simply discarded. So we exec the FD to /dev/null,
85211 # effectively closing config.log, so it can be properly (re)opened and
85212 # appended to by config.status. When coming back to configure, we
85213 # need to make the FD available again.
85214 if test "$no_create" != yes; then
85215 ac_cs_success=:
85216 ac_config_status_args=
85217 test "$silent" = yes &&
85218 ac_config_status_args="$ac_config_status_args --quiet"
85219 exec 5>/dev/null
85220 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
85221 exec 5>>config.log
85222 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85223 # would make configure fail if this is the last instruction.
85224 $ac_cs_success || as_fn_exit 1
85225 fi
85226 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
85227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
85228 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
85229 fi
85230